Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI] Reverted removal of 'extern C' as this broke things.
[simgrid.git] / src / smpi / private.hpp
index 5323374..a384ac7 100644 (file)
@@ -19,6 +19,8 @@ XBT_PRIVATE int smpi_process_event_set(void);
 extern std::unordered_map<std::string, double> location2speedup;
 
 /** @brief Returns the last call location (filename, linenumber). Process-specific. */
+extern "C" {
 XBT_PUBLIC(smpi_trace_call_location_t*) smpi_process_get_call_location(void);
 XBT_PUBLIC(smpi_trace_call_location_t*) smpi_trace_get_call_location();
+}
 #endif