From: navarro Date: Tue, 25 Sep 2012 12:26:55 +0000 (+0200) Subject: We need to have this function public for ruby binding X-Git-Tag: v3_8~146^2~32 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/6c852fa2bab419ab0a7db189667ebf4f4a57ca8a We need to have this function public for ruby binding --- diff --git a/include/simgrid/platf.h b/include/simgrid/platf.h index 9734e704e5..574b0f99c3 100644 --- a/include/simgrid/platf.h +++ b/include/simgrid/platf.h @@ -328,4 +328,8 @@ XBT_PUBLIC(void) sg_platf_ASroute_end (sg_platf_route_cbarg_t ASroute); // Final XBT_PUBLIC(void) sg_platf_route_add_link (const char* link_id, sg_platf_route_cbarg_t route); // Add a link to link list XBT_PUBLIC(void) sg_platf_ASroute_add_link (const char* link_id, sg_platf_route_cbarg_t ASroute); // Add a link to link list +typedef void (*sg_platf_process_cb_t)(sg_platf_process_cbarg_t); +XBT_PUBLIC(void) sg_platf_process_add_cb(sg_platf_process_cb_t fct); + + #endif /* SG_PLATF_H */ diff --git a/src/include/simgrid/platf_interface.h b/src/include/simgrid/platf_interface.h index 86514b5351..a92b8ef1cf 100644 --- a/src/include/simgrid/platf_interface.h +++ b/src/include/simgrid/platf_interface.h @@ -38,8 +38,6 @@ typedef void (*sg_platf_storage_type_cb_t)(sg_platf_storage_type_cbarg_t); typedef void (*sg_platf_mount_cb_t)(sg_platf_mount_cbarg_t); typedef void (*sg_platf_mstorage_cb_t)(sg_platf_mstorage_cbarg_t); -typedef void (*sg_platf_process_cb_t)(sg_platf_process_cbarg_t); - void sg_platf_host_add_cb(sg_platf_host_cb_t); void sg_platf_host_link_add_cb(sg_platf_host_link_cb_t); void sg_platf_router_add_cb(sg_platf_router_cb_t); @@ -65,8 +63,6 @@ void sg_platf_mstorage_add_cb(sg_platf_mstorage_cb_t fct); void sg_platf_storage_type_add_cb(sg_platf_storage_type_cb_t fct); void sg_platf_mount_add_cb(sg_platf_mount_cb_t fct); -void sg_platf_process_add_cb(sg_platf_process_cb_t fct); - /** \brief Pick the right models for CPU, net and workstation, and call their model_init_preparse * * Must be called within parsing/creating the environment (after the s, if any, and before or friends such as )