summaryrefslogtreecommitdiff
path: root/c2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c2.cpp')
-rw-r--r--c2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/c2.cpp b/c2.cpp
index 223e0b0..ba07606 100644
--- a/c2.cpp
+++ b/c2.cpp
@@ -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;
}