Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Restore C linkage for simcall_process_create.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 16 Jul 2018 09:54:32 +0000 (11:54 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 16 Jul 2018 09:55:00 +0000 (11:55 +0200)
include/simgrid/simix.h

index bef172b..4f88d6b 100644 (file)
@@ -205,6 +205,7 @@ XBT_PUBLIC e_smx_state_t simcall_execution_wait(smx_activity_t execution);
 XBT_PUBLIC e_smx_state_t simcall_execution_test(smx_activity_t execution);
 
 /**************************** Process simcalls ********************************/
+SG_BEGIN_DECL()
 /* Constructor and Destructor */
 #ifdef __cplusplus
 XBT_PUBLIC smx_actor_t simcall_process_create(std::string name, xbt_main_func_t code, void* data, sg_host_t host,
@@ -212,7 +213,6 @@ XBT_PUBLIC smx_actor_t simcall_process_create(std::string name, xbt_main_func_t
                                               std::unordered_map<std::string, std::string>* properties);
 #endif
 
-SG_BEGIN_DECL()
 XBT_PUBLIC void SIMIX_process_throw(smx_actor_t process, xbt_errcat_t cat, int value, const char* mesg);
 
 /* Process handling */