lwjgl/src/native/macosx/tools.h

18 lines
489 B
C
Raw Normal View History

2003-10-01 05:02:52 -04:00
#ifndef TOOLS_H
#define TOOLS_H
#include <JavaVM/jni.h>
2003-10-07 08:12:08 -04:00
#include <Carbon/Carbon.h>
2003-10-01 05:02:52 -04:00
2003-10-07 06:04:38 -04:00
#define lock() {lockLWJGL();
#define unlock() unlockLWJGL();}
2003-10-15 07:44:05 -04:00
extern bool getDictLong(CFDictionaryRef dict, CFStringRef key, long *key_value);
2003-10-07 11:10:24 -04:00
extern bool registerHandler(JNIEnv* env, WindowRef win_ref, EventHandlerProcPtr func, UInt32 event_class, UInt32 event_kind);
2003-10-06 10:00:44 -04:00
extern bool initLock(JNIEnv* env);
extern void destroyLock(void);
2003-10-07 06:04:38 -04:00
extern void lockLWJGL(void);
extern void unlockLWJGL(void);
2003-10-01 05:02:52 -04:00
#endif