]> code.delx.au - pulseaudio/blob - polyp/xmalloc.h
45209b05efc01805af4072616f667b582b792c5a
[pulseaudio] / polyp / xmalloc.h
1 #ifndef foomemoryhfoo
2 #define foomemoryhfoo
3
4 #include <sys/types.h>
5 #include <stdlib.h>
6
7 void* pa_xmalloc(size_t l);
8 void *pa_xmalloc0(size_t l);
9 void *pa_xrealloc(void *ptr, size_t size);
10 #define pa_xfree free
11
12 char *pa_xstrdup(const char *s);
13 char *pa_xstrndup(const char *s, size_t l);
14
15 #endif