summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/malign.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-04-23 17:43:39 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-04-23 17:43:39 +0000
commit0a22716b74d52fcbef37bebf529048f7f3bc79e0 (patch)
treed8a40cfbeff1b0e155b28e45724de362cebcd122 /libs/pbd/pbd/malign.h
parent7c4bfd9b24092d4e57b9cd093ac616dd007dbb69 (diff)
new file to encapsulate posix_memalign() hackery
git-svn-id: svn://localhost/ardour2/branches/3.0@4998 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/pbd/malign.h')
-rw-r--r--libs/pbd/pbd/malign.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/pbd/pbd/malign.h b/libs/pbd/pbd/malign.h
new file mode 100644
index 0000000000..97e68c076e
--- /dev/null
+++ b/libs/pbd/pbd/malign.h
@@ -0,0 +1,8 @@
+#ifndef __pbd_malign_h__
+#define __pbd_malign_h__
+
+#include <stdlib.h>
+
+int cache_aligned_malloc (void** memptr, size_t size);
+
+#endif /* __pbd_malign_h__ */