Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add extern "C" declaration to preserve the compatibility of the C code on C++ compilers.
[simgrid.git] / include / surf / surfxml_parse.h
index e7085e2..421845e 100644 (file)
@@ -13,6 +13,9 @@
 #include "xbt/function_types.h"
 #include "xbt/dict.h"
 
+
+SG_BEGIN_DECL()
+
 /* Hook for the different tags. All the functions which pointer to are push into here are run when the tag is encountered */
 XBT_PUBLIC(xbt_dynar_t) STag_surfxml_platform_cb_list;
 XBT_PUBLIC(xbt_dynar_t) ETag_surfxml_platform_cb_list;
@@ -88,4 +91,7 @@ XBT_PUBLIC_DATA(int_f_void_t) surf_parse; /* Entry-point to the parser. Set this
 XBT_PUBLIC(void) surfxml_add_callback(xbt_dynar_t cb_list, void_f_void_t function);
 
 
+SG_END_DECL()
+
+
 #endif