diff -r 590de7108b2d -r 44f2000e6d64 src/dbus-bindings.h --- 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 #include +#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