mirror of
https://github.com/wgh136/flutter_qjs.git
synced 2025-09-27 13:27:24 +00:00
update readme
This commit is contained in:
@@ -3,23 +3,11 @@
|
||||
* @Author: ekibun
|
||||
* @Date: 2020-08-14 21:45:02
|
||||
* @LastEditors: ekibun
|
||||
* @LastEditTime: 2020-08-19 00:34:43
|
||||
* @LastEditTime: 2020-08-20 13:09:21
|
||||
*/
|
||||
#include "../cxx/js_engine.hpp"
|
||||
#include <flutter_linux/flutter_linux.h>
|
||||
|
||||
namespace std
|
||||
{
|
||||
template <>
|
||||
struct hash<qjs::Value>
|
||||
{
|
||||
size_t operator()(const qjs::Value &key) const
|
||||
{
|
||||
return JS_VALUE_GET_TAG(key.v);
|
||||
}
|
||||
};
|
||||
} // namespace std
|
||||
|
||||
namespace qjs
|
||||
{
|
||||
JSValue dartToJs(JSContext *ctx, FlValue *val)
|
||||
|
Reference in New Issue
Block a user