summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/macosx/window-system.c
blob: f49fd3d114d6f67441ba1034f80dbe45f482ca9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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, void* shareContext);
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);