From b724694f3aed638466dc1de9ff8902aa392347a7 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Wed, 3 Feb 2010 12:57:49 +0000 Subject: os: Also add the aligned memory prototypes to the embedded section. --- src/gallium/auxiliary/os/os_memory.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/gallium/auxiliary/os/os_memory.h b/src/gallium/auxiliary/os/os_memory.h index f18d5a3d9b9..704aa0762be 100644 --- a/src/gallium/auxiliary/os/os_memory.h +++ b/src/gallium/auxiliary/os/os_memory.h @@ -57,6 +57,12 @@ os_free(void *ptr); void * os_realloc(void *ptr, size_t old_size, size_t new_size); +void * +os_malloc_aligned(size_t size, uint alignment); + +void +os_free_aligned(void *ptr); + #ifdef __cplusplus } #endif -- cgit v1.2.3