Mesa (master): os: Also add the aligned memory prototypes to the embedded section.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Wed Feb 3 19:37:06 UTC 2010


Module: Mesa
Branch: master
Commit: b724694f3aed638466dc1de9ff8902aa392347a7
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b724694f3aed638466dc1de9ff8902aa392347a7

Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Feb  3 12:57:49 2010 +0000

os: Also add the aligned memory prototypes to the embedded section.

---

 src/gallium/auxiliary/os/os_memory.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/gallium/auxiliary/os/os_memory.h b/src/gallium/auxiliary/os/os_memory.h
index f18d5a3..704aa07 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




More information about the mesa-commit mailing list