extern "C" used in skeletons
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@943 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/asn_SET_OF.h b/skeletons/asn_SET_OF.h
index 774549f..7edf14b 100644
--- a/skeletons/asn_SET_OF.h
+++ b/skeletons/asn_SET_OF.h
@@ -5,6 +5,10 @@
#ifndef ASN_SET_OF_H
#define ASN_SET_OF_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define A_SET_OF(type) \
struct { \
type **array; \
@@ -51,4 +55,8 @@
#define _A_SET_FROM_VOID(ptr) ((asn_anonymous_set_ *)(ptr))
#define _A_CSET_FROM_VOID(ptr) ((const asn_anonymous_set_ *)(ptr))
+#ifdef __cplusplus
+}
+#endif
+
#endif /* ASN_SET_OF_H */