From d0c4f95be9f8ac9f98a991e8261579f1e2e66487 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 16 Jul 2018 11:54:32 +0200 Subject: [PATCH] Restore C linkage for simcall_process_create. --- include/simgrid/simix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/simgrid/simix.h b/include/simgrid/simix.h index bef172b811..4f88d6b094 100644 --- a/include/simgrid/simix.h +++ b/include/simgrid/simix.h @@ -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* 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 */ -- 2.20.1