diff options
author | Chris Robinson <[email protected]> | 2012-08-15 05:50:40 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-08-15 05:50:40 -0700 |
commit | 28593579394d9dcf489ed190dca9b14cdc2340d9 (patch) | |
tree | f5e09e3df841b68e706a60a5637c9d579c9e946e /OpenAL32 | |
parent | 2cbb565d09425115590ad8845dda2a3e353d74df (diff) |
Add wrapper methods to ensure aligned allocations
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 5665a458..8b1bcc0f 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -685,6 +685,10 @@ static __inline void UnlockContext(ALCcontext *context) { UnlockDevice(context->Device); } +void *al_malloc(size_t alignment, size_t size); +void *al_calloc(size_t alignment, size_t size); +void al_free(void *ptr); + ALvoid *StartThread(ALuint (*func)(ALvoid*), ALvoid *ptr); ALuint StopThread(ALvoid *thread); |