diff options
Diffstat (limited to 'c2.cpp')
-rw-r--r-- | c2.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -65,7 +65,7 @@ struct Config_Buffer { float offset[2]; }; -int main() { +extern "C" int entrypoint() { Arena video_arena, asset_arena, ui_arena; Asset_Arena assets; Device* dev; @@ -180,4 +180,5 @@ int main() { dev->destroy_buffer(cbuf); dev->destroy(); app->destroy(); + return 0; } |