summaryrefslogtreecommitdiffstats
path: root/osdep/main-fn.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-02 18:47:57 +0200
committerwm4 <wm4@nowhere>2015-05-02 18:59:58 +0200
commit1e7831070f6ae1af0a1a29b0d680ef2907bf8cf6 (patch)
tree0d5bc34cfcdf029b8a22deb98c4f0e73c4266d57 /osdep/main-fn.h
parent19a5b20752ecc7465cf17781f908e12bf4ca136d (diff)
downloadmpv-1e7831070f6ae1af0a1a29b0d680ef2907bf8cf6.tar.bz2
mpv-1e7831070f6ae1af0a1a29b0d680ef2907bf8cf6.tar.xz
build: move main-fn files to osdep
And split the Cocoa and Unix cases. Simplify the Cocoa case slightly by calling mpv_main directly, instead of passing a function pointer. Also add a comment explaining why Cocoa needs a special case at all.
Diffstat (limited to 'osdep/main-fn.h')
-rw-r--r--osdep/main-fn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/osdep/main-fn.h b/osdep/main-fn.h
new file mode 100644
index 0000000000..8f20308c8b
--- /dev/null
+++ b/osdep/main-fn.h
@@ -0,0 +1 @@
+int mpv_main(int argc, char *argv[]);