aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-05-20 12:35:19 +0100
committerRichard van der Hoff <richard@matrix.org>2016-05-23 18:55:05 +0100
commita1855b99b92d2081aed477686d843d1d1f56d3b8 (patch)
tree48f8f0636dc537882d61d9b2d6cd8fafd8e8f829 /src
parent07b33acee5463c64ca5fa0021128f821dc5aa104 (diff)
C binding for olm::unset
Diffstat (limited to 'src')
-rw-r--r--src/memory.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/memory.cpp b/src/memory.cpp
index 16a4683..20e0683 100644
--- a/src/memory.cpp
+++ b/src/memory.cpp
@@ -13,7 +13,13 @@
* limitations under the License.
*/
#include "olm/memory.hh"
+#include "olm/memory.h"
+void _olm_unset(
+ void volatile * buffer, size_t buffer_length
+) {
+ olm::unset(buffer, buffer_length);
+}
void olm::unset(
void volatile * buffer, std::size_t buffer_length