projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move PBD::canonical_path to pbd/file_utils.h/cc and reimplement for Windows
[ardour.git]
/
libs
/
pbd
/
pbd
/
malign.h
diff --git
a/libs/pbd/pbd/malign.h
b/libs/pbd/pbd/malign.h
index 07f42f586f40fe39b18c2b04e45b3279a399e7d2..8676c801bdc41d262d22ae701f5f180db4fa3179 100644
(file)
--- a/
libs/pbd/pbd/malign.h
+++ b/
libs/pbd/pbd/malign.h
@@
-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
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
@@
-24,6
+24,10
@@
#include "pbd/libpbd_visibility.h"
#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__ */
#endif /* __pbd_malign_h__ */