diff options
author | Jean-Marc Valin <jean-marc.valin@octasic.com> | 2010-07-08 22:35:29 +0400 |
---|---|---|
committer | Jean-Marc Valin <jean-marc.valin@octasic.com> | 2010-07-08 22:35:29 +0400 |
commit | 2b5a2e7be9c08e70884b7d5673c80ac617827969 (patch) | |
tree | 687f1482447e475d9faf3d3af0b77b9648842d04 /libcelt/os_support.h | |
parent | d43d09587ae3233f89b6e06a31d21094e677aad2 (diff) |
Fix accidental change of celt_alloc() to non-inline
Diffstat (limited to 'libcelt/os_support.h')
-rw-r--r-- | libcelt/os_support.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcelt/os_support.h b/libcelt/os_support.h index a02c131..8a47df9 100644 --- a/libcelt/os_support.h +++ b/libcelt/os_support.h @@ -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 |