From 4dea13e3cd25b6de602ffb53be5e60005b6ba10b Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Mon, 29 Aug 2016 15:33:00 +0200 Subject: Cleaned up cmix libraries, added extern "C" linkage when included from c++ --- libcmix-crypto/message.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libcmix-crypto') diff --git a/libcmix-crypto/message.h b/libcmix-crypto/message.h index 98cdb9a..2c483e9 100644 --- a/libcmix-crypto/message.h +++ b/libcmix-crypto/message.h @@ -1,3 +1,8 @@ +#pragma once + +#ifdef __cplusplus +extern "C" { +#endif #include #include @@ -83,3 +88,7 @@ struct CmixBufferImpl get_cmix_curve25519_buffer_implementation() { }; } */ + +#ifdef __cplusplus +} // extern "C" +#endif -- cgit v1.2.3-70-g09d2