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,13 +3,25 @@
|
||||
* @Author: ekibun
|
||||
* @Date: 2020-08-07 13:55:52
|
||||
* @LastEditors: ekibun
|
||||
* @LastEditTime: 2020-08-20 11:10:20
|
||||
* @LastEditTime: 2020-08-20 13:09:52
|
||||
*/
|
||||
#pragma once
|
||||
#include "quickjs/quickjspp.hpp"
|
||||
#include <future>
|
||||
#include <string.h>
|
||||
|
||||
namespace std
|
||||
{
|
||||
template <>
|
||||
struct hash<qjs::Value>
|
||||
{
|
||||
size_t operator()(const qjs::Value &key) const
|
||||
{
|
||||
return (size_t) JS_VALUE_GET_PTR(key.v);
|
||||
}
|
||||
};
|
||||
} // namespace std
|
||||
|
||||
namespace qjs
|
||||
{
|
||||
#include "quickjs/list.h"
|
||||
|
Reference in New Issue
Block a user