Wrap entry point main around the C style main in the IR

This commit is contained in:
Ginger Bill
2017-09-30 11:20:35 +01:00
parent 8c7cf0dbb0
commit e2b9c87aa8
5 changed files with 191 additions and 95 deletions
+1 -1
View File
@@ -138,8 +138,8 @@ Type_Info :: struct #ordered {
// This will be set by the compiler
__type_table: []Type_Info;
__argv__: ^^u8;
__argc__: i32;
__argv__: ^^u8;
// IMPORTANT NOTE(bill): Must be in this order (as the compiler relies upon it)