Move PBD::canonical_path to pbd/file_utils.h/cc and reimplement for Windows
[ardour.git] / libs / pbd / pbd / malign.h
index 07f42f586f40fe39b18c2b04e45b3279a399e7d2..8676c801bdc41d262d22ae701f5f180db4fa3179 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012 Paul Davis 
+    Copyright (C) 2012 Paul Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 
 #include "pbd/libpbd_visibility.h"
 
-LIBPBD_API int cache_aligned_malloc (void** memptr, size_t size);
+LIBPBD_API int  cache_aligned_malloc (void** memptr, size_t size);
+LIBPBD_API void cache_aligned_free (void* memptr);
+
+LIBPBD_API int  aligned_malloc (void** memptr, size_t size, size_t alignment);
+LIBPBD_API void aligned_free (void* memptr);
 
 #endif /* __pbd_malign_h__ */