repo.or.cz
/
eruntime.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Improve.
[eruntime.git]
/
include
/
eruntime
/
smalloc.h
blob
1c65d1fa77424d5befc0c1ae29d68b7f394f7502
1
#ifndef ERUNTIME_SMALLOC_H
2
# define ERUNTIME_SMALLOC_H
3
4
# include <stddef.h>
5
6
# ifdef __ERUNTIME__
7
typedef
struct
_oom_data_struct
8
{
9
enum
10
{
11
OOM_SMALLOC
12
13
}
caller
;
14
15
union
16
{
17
size_t
size
;
18
19
}
a
;
20
21
}
oom_data_t
;
22
# endif
/* ! __ERUNTIME__ */
23
24
void
*
smalloc
(
size_t
);
25
void
sfree
(
void
*);
26
27
#endif
/* ! ERUNTIME_SMALLOC_H */
28
29
/*
30
* vim: ts=8 sw=8 noet fdm=marker tw=80
31
*/