git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@921
fefdeb5f-60dc-0310-8127-
8f9354f1896f
#include <stdlib.h>
#include <limits.h>
#include <assert.h>
+#include <polyp/cdecl.h>
/** \file
* Memory allocation functions.
*/
+PA_C_DECL_BEGIN
+
/** Allocate the specified number of bytes, just like malloc() does. However, in case of OOM, terminate */
void* pa_xmalloc(size_t l);
/** Same as pa_xnew() but set the memory to zero */
#define pa_xnew0(type, n) ((type*) pa_xnew0_internal((n), sizeof(type)))
+PA_C_DECL_END
+
#endif