Downgrade some ERRs to TRACEs
[openal-soft.git] / common / almalloc.h
blob8eadb5b39352ca5d47bdf6d7dcabec6511a565cd
1 #ifndef AL_MALLOC_H
2 #define AL_MALLOC_H
4 #include <stddef.h>
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
10 /* Minimum alignment required by posix_memalign. */
11 #define DEF_ALIGN sizeof(void*)
13 void *al_malloc(size_t alignment, size_t size);
14 void *al_calloc(size_t alignment, size_t size);
15 void al_free(void *ptr);
17 #ifdef __cplusplus
19 #endif
21 #endif /* AL_MALLOC_H */