summaryrefslogtreecommitdiffstats
path: root/polyp/typeid.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-01-08 22:32:53 +0000
committerLennart Poettering <lennart@poettering.net>2005-01-08 22:32:53 +0000
commit474b5683e957471d060ee030e5c19a6f6d73a1a2 (patch)
tree849dc0ca6955a08befb5e56b290d89fb154eebbf /polyp/typeid.h
parent6911d7e981c9314ea62ec5fe5adf6bec1d4f7f4f (diff)
* todo update
* lirc warning fix * c++ compat git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@336 fefdeb5f-60dc-0310-8127-8f9354f1896f
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