Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Test using macros for arguments checking, saves some duplicated lines.
[simgrid.git] / include / smpi / smpi_main.h
1 /* Copyright (c) 2012-2019. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #define main smpi_windows_main__(int argc, char **argv);\
8 int main(int argc, char **argv){\
9 smpi_main(&smpi_windows_main__,argc,argv);\
10 return 0;\
11 }\
12 int smpi_windows_main__