summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/macosx/window-system.c
diff options
context:
space:
mode:
Diffstat (limited to 'make/stub_includes/macosx/window-system.c')
-rw-r--r--make/stub_includes/macosx/window-system.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/make/stub_includes/macosx/window-system.c b/make/stub_includes/macosx/window-system.c
index e69de29bb..d1287f53f 100644
--- a/make/stub_includes/macosx/window-system.c
+++ b/make/stub_includes/macosx/window-system.c
@@ -0,0 +1,13 @@
+/* C routines encapsulating small amounts of Objective C code to allow
+ nsContext creation and manipulation to occur from Java */
+
+typedef int Bool;
+
+void* createContext(void* nsView);
+Bool makeCurrentContext(void* nsView, void* nsContext);
+Bool clearCurrentContext(void* nsView, void* nsContext);
+void updateContext(void* nsView, void* nsContext);
+Bool deleteContext(void* nsView, void* nsContext);
+Bool flushBuffer(void* nsView, void* nsContext);
+
+void* getProcAddress(const char *procName);