X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Fpbd%2Fmalign.h;h=8676c801bdc41d262d22ae701f5f180db4fa3179;hb=569167a603ef812a234d3c02f6a94976571a70ea;hp=07f42f586f40fe39b18c2b04e45b3279a399e7d2;hpb=c5115c9a3c8ce6639f37e0b429e0498bb522d913;p=ardour.git diff --git a/libs/pbd/pbd/malign.h b/libs/pbd/pbd/malign.h index 07f42f586f..8676c801bd 100644 --- 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 @@ -24,6 +24,10 @@ #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__ */