Skip to content
Snippets Groups Projects
Commit 2b5a2e7b authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Fix accidental change of celt_alloc() to non-inline

parent d43d0958
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@
/** CELT wrapper for calloc(). To do your own dynamic allocation, all you need to do is replace this function, celt_realloc and celt_free
NOTE: celt_alloc needs to CLEAR THE MEMORY */
#ifndef OVERRIDE_CELT_ALLOC
static void *celt_alloc (int size)
static inline void *celt_alloc (int size)
{
/* WARNING: this is not equivalent to malloc(). If you want to use malloc()
or your own allocator, YOU NEED TO CLEAR THE MEMORY ALLOCATED. Otherwise
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment