X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a56afec84c545bff8857ec1ebc33a0db038aad37..5991e068e19c81bce114d7ba8ae9d9a6afb729f1:/src/simix/popping_generated.cpp diff --git a/src/simix/popping_generated.cpp b/src/simix/popping_generated.cpp index 3837fc88ca..69c9e26b71 100644 --- a/src/simix/popping_generated.cpp +++ b/src/simix/popping_generated.cpp @@ -72,9 +72,6 @@ const char* simcall_names[] = { "SIMCALL_FILE_OPEN", "SIMCALL_FILE_CLOSE", "SIMCALL_FILE_UNLINK", - "SIMCALL_FILE_GET_SIZE", - "SIMCALL_FILE_TELL", - "SIMCALL_FILE_SEEK", "SIMCALL_FILE_MOVE", "SIMCALL_MC_RANDOM", "SIMCALL_SET_CATEGORY", @@ -339,12 +336,16 @@ case SIMCALL_SEM_GET_CAPACITY: break; case SIMCALL_FILE_READ: - simcall_HANDLER_file_read(simcall, simgrid::simix::unmarshal(simcall->args[0]), simgrid::simix::unmarshal(simcall->args[1]), simgrid::simix::unmarshal(simcall->args[2])); - break; + simcall_HANDLER_file_read(simcall, simgrid::simix::unmarshal(simcall->args[0]), + simgrid::simix::unmarshal(simcall->args[1]), + simgrid::simix::unmarshal(simcall->args[2])); + break; case SIMCALL_FILE_WRITE: - simcall_HANDLER_file_write(simcall, simgrid::simix::unmarshal(simcall->args[0]), simgrid::simix::unmarshal(simcall->args[1]), simgrid::simix::unmarshal(simcall->args[2])); - break; + simcall_HANDLER_file_write(simcall, simgrid::simix::unmarshal(simcall->args[0]), + simgrid::simix::unmarshal(simcall->args[1]), + simgrid::simix::unmarshal(simcall->args[2])); + break; case SIMCALL_FILE_OPEN: simcall_HANDLER_file_open(simcall, simgrid::simix::unmarshal(simcall->args[0]), @@ -353,38 +354,23 @@ case SIMCALL_FILE_OPEN: break; case SIMCALL_FILE_CLOSE: - simcall_HANDLER_file_close(simcall, simgrid::simix::unmarshal(simcall->args[0]), simgrid::simix::unmarshal(simcall->args[1])); - break; - -case SIMCALL_FILE_UNLINK: - simgrid::simix::marshal(simcall->result, SIMIX_file_unlink(simgrid::simix::unmarshal(simcall->args[0]), simgrid::simix::unmarshal(simcall->args[1]))); - SIMIX_simcall_answer(simcall); - break; - -case SIMCALL_FILE_GET_SIZE: - simgrid::simix::marshal(simcall->result, - SIMIX_file_get_size(simgrid::simix::unmarshal(simcall->args[0]))); - SIMIX_simcall_answer(simcall); + simcall_HANDLER_file_close(simcall, simgrid::simix::unmarshal(simcall->args[0]), + simgrid::simix::unmarshal(simcall->args[1])); break; -case SIMCALL_FILE_TELL: - simgrid::simix::marshal(simcall->result, - SIMIX_file_tell(simgrid::simix::unmarshal(simcall->args[0]))); - SIMIX_simcall_answer(simcall); - break; - -case SIMCALL_FILE_SEEK: +case SIMCALL_FILE_UNLINK: simgrid::simix::marshal(simcall->result, - SIMIX_file_seek(simgrid::simix::unmarshal(simcall->args[0]), - simgrid::simix::unmarshal(simcall->args[1]), - simgrid::simix::unmarshal(simcall->args[2]))); + SIMIX_file_unlink(simgrid::simix::unmarshal(simcall->args[0]), + simgrid::simix::unmarshal(simcall->args[1]))); SIMIX_simcall_answer(simcall); break; case SIMCALL_FILE_MOVE: - simgrid::simix::marshal(simcall->result, simcall_HANDLER_file_move(simcall, simgrid::simix::unmarshal(simcall->args[0]), simgrid::simix::unmarshal(simcall->args[1]))); - SIMIX_simcall_answer(simcall); - break; + simgrid::simix::marshal( + simcall->result, simcall_HANDLER_file_move(simcall, simgrid::simix::unmarshal(simcall->args[0]), + simgrid::simix::unmarshal(simcall->args[1]))); + SIMIX_simcall_answer(simcall); + break; case SIMCALL_MC_RANDOM: simgrid::simix::marshal(simcall->result, simcall_HANDLER_mc_random(simcall, simgrid::simix::unmarshal(simcall->args[0]), simgrid::simix::unmarshal(simcall->args[1])));