From 0a6e191eaebcc8edc2611dbedab6fd04a615fc2f Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Thu, 26 Jun 2003 13:21:12 +0000 Subject: Initial Mac OS X port of Jogl by Gerard Ziemski and Kenneth Russell, subsuming the previous prototype implementation (no GLCanvas support) done by Marc Downie. Added user's guide (HTML format) under doc/userguide/index.html. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@13 232f8b59-042b-4e1e-8c03-345bb8c30851 --- make/stub_includes/macosx/window-system.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'make/stub_includes/macosx/window-system.c') 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); -- cgit v1.2.3