Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git] / src / simix / simcalls.py
index e1c55e4..815bb2f 100755 (executable)
@@ -316,7 +316,7 @@ if __name__=='__main__':
   fd.write('    case SIMCALL_NONE:\n');
   fd.write('      THROWF(arg_error,0,"Asked to do the noop syscall on %s@%s",\n');
   fd.write('          SIMIX_process_get_name(simcall->issuer),\n');
-  fd.write('          SIMIX_host_get_name(SIMIX_process_get_host(simcall->issuer))\n');
+  fd.write('          sg_host_get_name(SIMIX_process_get_host(simcall->issuer))\n');
   fd.write('          );\n');
   fd.write('      break;\n');
   fd.write('\n');
@@ -332,5 +332,6 @@ if __name__=='__main__':
   fd.write('#include "smx_private.h"\n')
   fd.write('#include "src/mc/mc_forward.h"\n')
   fd.write('#include "xbt/ex.h"\n')
+  fd.write('#include <simgrid/simix.hpp>\n')
   handle(fd, Simcall.body, simcalls, simcalls_dict)
   fd.close()