diff src/dbus-bindings.h @ 11884:b1099e09eb33

[gaim-migrate @ 14175] I *think* this will make sure we distribute the right pieces for dbus support, but I don't currently have a sensible way of testing. Also, I suspect we may want some of the code generation to happen at dist time instead of build time. Something to think about. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 29 Oct 2005 02:06:36 +0000
parents 9563b768e8e2
children
line wrap: on
line diff
--- a/src/dbus-bindings.h	Sat Oct 29 02:03:24 2005 +0000
+++ b/src/dbus-bindings.h	Sat Oct 29 02:06:36 2005 +0000
@@ -31,6 +31,10 @@
 #include <dbus/dbus-glib-lowlevel.h>
 #include <glib.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 gint gaim_dbus_pointer_to_id(gpointer node);
 gpointer gaim_dbus_id_to_pointer(gint id, GaimDBusType *type);
 gint  gaim_dbus_pointer_to_id_error(gpointer ptr, DBusError *error);
@@ -47,7 +51,6 @@
 	    (id, GAIM_DBUS_TYPE(type), #type, error);			\
 	CHECK_ERROR(error);						\
     } G_STMT_END
-	       
 
 
 #define GAIM_DBUS_POINTER_TO_ID(id, ptr, error)				\
@@ -103,4 +106,8 @@
 
 DBusConnection *gaim_dbus_get_connection(void);
 
+#ifdef __cplusplus
+}
 #endif
+
+#endif