ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since d4a4b17 was
7874d77,
checked in by Thierry Delisle <tdelisle@…>, 4 years ago
|
Parseargs now magically figures out argc/argv
|
-
Property mode set to
100644
|
File size:
309 bytes
|
Rev | Line | |
---|
[13de47bc] | 1 | extern "C" { static inline int invoke_main(int argc, char* argv[], char* envp[]); } |
---|
[7874d77] | 2 | int cfa_args_argc; |
---|
| 3 | char ** cfa_args_argv; |
---|
| 4 | char ** cfa_args_envp; |
---|
[3fe34ae] | 5 | |
---|
| 6 | int main(int argc, char* argv[], char* envp[]) { |
---|
[7874d77] | 7 | cfa_args_argc = argc; |
---|
| 8 | cfa_args_argv = argv; |
---|
| 9 | cfa_args_envp = envp; |
---|
[3fe34ae] | 10 | return invoke_main(argc, argv, envp); |
---|
| 11 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.