diff options
author | Tim Murray <timmurray@google.com> | 2013-03-11 12:12:03 -0700 |
---|---|---|
committer | Tim Murray <timmurray@google.com> | 2013-03-11 12:12:35 -0700 |
commit | 34689388556747b52c3c2f1c894929fb44580898 (patch) | |
tree | 9dd40e81d828353f2da6d6b975159dce898c284d /rs_hal.h | |
parent | cadfac411e6690e39de36c4f9e94deb9b7d2d08e (diff) | |
download | rs-34689388556747b52c3c2f1c894929fb44580898.tar.gz |
Add custom allocator support for Allocation objects.
Change-Id: Iab546455354c2ee72797658fdcd49c90a5893527
Diffstat (limited to 'rs_hal.h')
-rw-r--r-- | rs_hal.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -87,7 +87,8 @@ typedef struct { void (*getVersion)(unsigned int *major, unsigned int *minor); void (*setPriority)(const Context *, int32_t priority); - + void* (*allocRuntimeMem)(size_t size, uint32_t flags); + void (*freeRuntimeMem)(void* ptr); struct { bool (*init)(const Context *rsc, ScriptC *s, |