summaryrefslogtreecommitdiffstats
path: root/polyp/typeid.h
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/typeid.h')
-rw-r--r--polyp/typeid.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/polyp/typeid.h b/polyp/typeid.h
index bd10b2e4..cc1676bc 100644
--- a/polyp/typeid.h
+++ b/polyp/typeid.h
@@ -25,6 +25,10 @@
#include <inttypes.h>
#include <sys/types.h>
+#include <polyp/cdecl.h>
+
+PA_C_DECL_BEGIN
+
typedef uint32_t pa_typeid_t;
#define PA_TYPEID_UNKNOWN ((pa_typeid_t) -1)
@@ -37,4 +41,6 @@ char *pa_typeid_to_string(pa_typeid_t id, char *ret_s, size_t length);
(((pa_typeid_t) c & 0xFF) << 8) | \
(((pa_typeid_t) d & 0xFF)))
+PA_C_DECL_END
+
#endif