lwjgl2-arm64/src/native/macosx/tools.h

18 lines
489 B
C
Raw Normal View History

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