conversions


git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@913 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/asn_SEQUENCE_OF.h b/skeletons/asn_SEQUENCE_OF.h
index e996734..1109f23 100644
--- a/skeletons/asn_SEQUENCE_OF.h
+++ b/skeletons/asn_SEQUENCE_OF.h
@@ -33,4 +33,12 @@
  */
 void asn_sequence_del(void *asn_sequence_of_x, int number, int _do_free);
 
+/*
+ * Cope with different conversions requirements to/from void in C and C++.
+ * This is mostly useful for support library.
+ */
+typedef A_SEQUENCE_OF(void) asn_anonymous_sequence_;
+#define _A_SEQUENCE_FROM_VOID(ptr)	((asn_anonymous_sequence_ *)(ptr))
+#define _A_CSEQUENCE_FROM_VOID(ptr) 	((const asn_anonymous_sequence_ *)(ptr))
+
 #endif	/* ASN_SEQUENCE_OF_H */