aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/macosx/window-system.c
blob: d1287f53f4e96d50c2bdc710ec90f7e3ba3039d6 (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);
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);