(WIP) macos ffi

This commit is contained in:
ekibun
2020-09-23 22:32:11 -07:00
parent ab6c5ac3cc
commit 71bb456140
20 changed files with 351 additions and 116 deletions

View File

@@ -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(