summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Nim/Cocoa/main.m')
-rw-r--r--Nim/Cocoa/main.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/Nim/Cocoa/main.m b/Nim/Cocoa/main.m
new file mode 100644
index 0000000..1e887a0
--- /dev/null
+++ b/Nim/Cocoa/main.m
@@ -0,0 +1,6 @@
+#import <Cocoa/Cocoa.h>
+
+int main(int argc, char *argv[])
+{
+ return NSApplicationMain(argc, (const char **) argv);
+}