]> AND Public Git Repository - simgrid.git/blobdiff - include/gras/module.h
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
tiny documentation improvement
[simgrid.git] / include / gras / module.h
index df21bc34a5e7205e764f4148454b9fb34d0f9c69..3e45c9bddfe7fac58180430fd53a541b70593b0e 100644 (file)
@@ -5,17 +5,17 @@
 #include <xbt.h>
 
 /* Function users of module should use */
-void gras_module_join(const char *name);
-void gras_module_leave(const char *name);
+XBT_PUBLIC(void) gras_module_join(const char *name);
+XBT_PUBLIC(void) gras_module_leave(const char *name);
 
 
 /* Functions module implementor should use */
-void gras_module_add(const char *name, unsigned int data_size, int *ID,
-                    void_f_void_t  *init_f, void_f_void_t  *exit_f,
-                    void_f_pvoid_t *join_f, void_f_pvoid_t *leave_f) ;
+XBT_PUBLIC(void) gras_module_add(const char *name, unsigned int data_size, int *ID,
+                    void_f_void_t  init_f, void_f_void_t  exit_f,
+                    void_f_pvoid_t join_f, void_f_pvoid_t leave_f) ;
 
 
-void *gras_moddata_by_id(unsigned int ID);
+XBT_PUBLIC(void*)gras_moddata_by_id(unsigned int ID);
 
 
 #endif /* GRAS_MODULE_H */