Ignore:
Timestamp:
Aug 11, 2020, 5:33:21 PM (18 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast, new-ast-unique-expr
Children:
cd9ee44
Parents:
8e516fd
Message:

Parseargs now magically figures out argc/argv

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/prelude/bootloader.cf

    r8e516fd r7874d77  
    11extern "C" { static inline int invoke_main(int argc, char* argv[], char* envp[]); }
     2int cfa_args_argc;
     3char ** cfa_args_argv;
     4char ** cfa_args_envp;
    25
    36int main(int argc, char* argv[], char* envp[]) {
     7        cfa_args_argc = argc;
     8        cfa_args_argv = argv;
     9        cfa_args_envp = envp;
    410        return invoke_main(argc, argv, envp);
    511}
Note: See TracChangeset for help on using the changeset viewer.