diff options
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-util.h | 10 | ||||
-rw-r--r-- | e-util/e-xml-utils.h | 4 |
2 files changed, 14 insertions, 0 deletions
diff --git a/e-util/e-util.h b/e-util/e-util.h index 5e8e250799..4e93639e9c 100644 --- a/e-util/e-util.h +++ b/e-util/e-util.h @@ -5,6 +5,11 @@ #include <gtk/gtktypeutils.h> #include <sys/types.h> +#ifdef __cplusplus +extern "C" { +#pragma } +#endif /* __cplusplus */ + #define E_MAKE_TYPE(l,str,t,ci,i,parent) \ GtkType l##_get_type(void)\ {\ @@ -88,6 +93,11 @@ void e_marshal_BOOL__INT_INT_POINTER_INT_INT_INT (GtkObject gpointer func_data, GtkArg *args); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + + #define e_marshal_NONE__INT_INT_POINTER_INT_INT_POINTER_UINT_UINT e_marshal_NONE__INT_INT_POINTER_INT_INT_POINTER_INT_INT void e_marshal_NONE__INT_INT_POINTER_INT_INT_POINTER_INT_INT (GtkObject *object, diff --git a/e-util/e-xml-utils.h b/e-util/e-xml-utils.h index d08e99afb0..bdcd756f3b 100644 --- a/e-util/e-xml-utils.h +++ b/e-util/e-xml-utils.h @@ -26,6 +26,8 @@ #include <gnome.h> #include <gnome-xml/tree.h> +BEGIN_GNOME_DECLS + xmlNode *e_xml_get_child_by_name (const xmlNode *parent, const xmlChar *child_name); /* lang set to NULL means use the current locale. */ @@ -87,4 +89,6 @@ void e_xml_set_string_prop_by_name (xmlNode *parent, gchar *e_xml_get_translated_string_prop_by_name (const xmlNode *parent, const xmlChar *prop_name); +END_GNOME_DECLS + #endif /* __E_XML_UTILS__ */ |