mirror of
https://github.com/wgh136/flutter_qjs.git
synced 2025-09-27 05:27:23 +00:00
(WIP) macos ffi
This commit is contained in:
@@ -57,7 +57,9 @@ final DynamicLibrary qjsLib = Platform.environment['FLUTTER_TEST'] == 'true'
|
||||
? DynamicLibrary.open("flutter_qjs_plugin.dll")
|
||||
: Platform.isAndroid
|
||||
? DynamicLibrary.open("libqjs.so")
|
||||
: DynamicLibrary.process());
|
||||
: Platform.isIOS || Platform.isMacOS
|
||||
? DynamicLibrary.open("flutterqjs.framework/flutterqjs")
|
||||
: DynamicLibrary.process());
|
||||
|
||||
/// JSValue *jsThrowInternalError(JSContext *ctx, char *message)
|
||||
final Pointer Function(
|
||||
|
Reference in New Issue
Block a user