diff options
author | Kenneth Russel <[email protected]> | 2003-06-26 13:21:12 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2003-06-26 13:21:12 +0000 |
commit | 0a6e191eaebcc8edc2611dbedab6fd04a615fc2f (patch) | |
tree | 7f8a9b8e88a6bc6662827d3f092b943b1ea893fb /make/stub_includes/macosx/window-system.c | |
parent | 2b54833bb15d6cae356fa0c5777d11e152d774cb (diff) |
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
Diffstat (limited to 'make/stub_includes/macosx/window-system.c')
-rw-r--r-- | make/stub_includes/macosx/window-system.c | 13 |
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); |