mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-16 08:37:12 -06:00
macOS native:
- removed `FlatNativeMacLibrary.getWindowPtr()` because it is too dangerous to use `windowPtr` (which is `NSWindow*`) in Java (using invalid window pointer would crash app) - made `getNSWindow()` 20x faster - catch exceptions in `getNSWindow()` - digitally signed dylibs
This commit is contained in:
@@ -23,9 +23,9 @@
|
||||
*/
|
||||
|
||||
|
||||
// from JNFJNI.h
|
||||
// from jlong_md.h
|
||||
#ifndef jlong_to_ptr
|
||||
#define jlong_to_ptr(a) ((void *)(uintptr_t)(a))
|
||||
#define jlong_to_ptr(a) ((void*)(a))
|
||||
#endif
|
||||
|
||||
|
||||
@@ -39,3 +39,6 @@
|
||||
[ex name], [ex reason], [ex userInfo], [ex callStackSymbols] ); \
|
||||
} \
|
||||
}
|
||||
|
||||
|
||||
jfieldID getFieldID( JNIEnv *env, const char* className, const char* fieldName, const char* fieldSignature );
|
||||
|
||||
Reference in New Issue
Block a user