summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/opj_malloc.h
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2015-10-10 17:51:29 +0200
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2015-10-10 17:51:29 +0200
commitd753441028e7c4f8efe84c043eff9c3e27e17c30 (patch)
tree2e0dbf5b8552230ad7d1b65bf6869acc59251b14 /src/lib/openjp2/opj_malloc.h
parent2d410fc74b6b1f4b031b6341f989a9bf7049b179 (diff)
implement a portable aligned realloc
Diffstat (limited to 'src/lib/openjp2/opj_malloc.h')
-rw-r--r--src/lib/openjp2/opj_malloc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/openjp2/opj_malloc.h b/src/lib/openjp2/opj_malloc.h
index 640946dd..1b3fced9 100644
--- a/src/lib/openjp2/opj_malloc.h
+++ b/src/lib/openjp2/opj_malloc.h
@@ -68,6 +68,7 @@ Allocate memory aligned to a 16 byte boundary
@return Returns a void pointer to the allocated space, or NULL if there is insufficient memory available
*/
void * opj_aligned_malloc(size_t size);
+void * opj_aligned_realloc(void *ptr, size_t size);
void opj_aligned_free(void* ptr);
/**