Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 committed Aug 30, 2023
1 parent dee4512 commit bce3b92
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
5 changes: 2 additions & 3 deletions examples/xtd.core.examples/mains/main1/src/main1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ namespace main1_example {
}

startup_(main1_example::program);
// startup_(main1_example::program); is same as :
// Is the same as :
//
// auto main(int argc, char* argv[])->int {
// main1_example::program::main();
// return environment::exit_code();
// return startup::safe_run(main1_example::program::main, argc, argv);
// }


Expand Down
4 changes: 2 additions & 2 deletions examples/xtd.core.examples/mains/main2/src/main2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ namespace main2_example {
}

startup_(main2_example::program);
// startup_(main2_example::program); is same as :
// Is the same as :
//
// auto main(int argc, char* argv[])->int {
// return main2_example::program::main();
// return startup::safe_run(main2_example::program::main, argc, argv);
// }


Expand Down
5 changes: 2 additions & 3 deletions examples/xtd.core.examples/mains/main3/src/main3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ namespace main3_example {
}

startup_(main3_example::program);
// startup_(main3_example::program); is same as :
// Is the same as :
//
// auto main(int argc, char* argv[])->int {
// main3_example::program::main({argv + 1, argv + argc});
// return environment::exit_code();
// return startup::safe_run(main3_example::program::main, argc, argv);
// }


Expand Down
4 changes: 2 additions & 2 deletions examples/xtd.core.examples/mains/main4/src/main4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ namespace main4_example {
}

startup_(main4_example::program);
// startup_(main4_example::program); is same as :
// Is the same as :
//
// auto main(int argc, char* argv[])->int {
// return main4_example::program::main({argv + 1, argv + argc});
// return startup::safe_run(main4_example::program::main, argc, argv);
// }


Expand Down

0 comments on commit bce3b92

Please sign in to comment.