mirror of
https://github.com/wgh136/flutter_qjs.git
synced 2025-09-27 05:27:23 +00:00
fix crash on android x86
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* @Author: ekibun
|
||||
* @Date: 2020-09-06 18:32:45
|
||||
* @LastEditors: ekibun
|
||||
* @LastEditTime: 2020-10-07 00:03:41
|
||||
* @LastEditTime: 2020-12-02 11:11:42
|
||||
*/
|
||||
#include "ffi.h"
|
||||
#include <functional>
|
||||
@@ -197,7 +197,6 @@ extern "C"
|
||||
|
||||
DLLEXPORT const char *jsToCString(JSContext *ctx, JSValueConst *val)
|
||||
{
|
||||
JS_ResetStackTop(JS_GetRuntime(ctx));
|
||||
return JS_ToCString(ctx, *val);
|
||||
}
|
||||
|
||||
|
Submodule cxx/quickjs updated: 5e8a1f421c...5143636b2d
Reference in New Issue
Block a user