[PATCH 42/50] [common] C Linkage for Detroy Handle


Michael Schonberg <mschonberg@...>
 

From: Mike Schonberg <mschonberg@nyx.com>


Signed-off-by: Mike Schonberg <mschonberg@nyx.com>
---
common/c_cpp/src/c/destroyHandle.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/common/c_cpp/src/c/destroyHandle.h b/common/c_cpp/src/c/destroyHandle.h
index 08d2067..80c008d 100644
--- a/common/c_cpp/src/c/destroyHandle.h
+++ b/common/c_cpp/src/c/destroyHandle.h
@@ -33,6 +33,9 @@
* although the object may be gone the thread will have valid memory to access.
*/

+#if defined(__cplusplus)
+extern "C" {
+#endif
/* ************************************************************** */
/* Includes. */
/* ************************************************************** */
@@ -121,5 +124,8 @@ extern
void *
destroyHandle_removeReference(
pDestroyHandle handle);
+#if defined(__cplusplus)
+}
+#endif

#endif
--
1.7.7.6