mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-06 03:22:39 +08:00
25 lines
458 B
C++
25 lines
458 B
C++
#pragma once
|
|
|
|
#include "libplatform/libplatform.h"
|
|
|
|
//#define V8_DEPRECATION_WARNINGS 1
|
|
//#define V8_IMMINENT_DEPRECATION_WARNINGS 1
|
|
//#define V8_HAS_ATTRIBUTE_DEPRECATED_MESSAGE 1
|
|
|
|
#include "v8.h"
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <unordered_map>
|
|
#include <functional>
|
|
#include <algorithm> // for std::find
|
|
#include <chrono>
|
|
#include <assert.h>
|
|
|
|
#include "HelperMacros.h"
|
|
|
|
|
|
namespace se {
|
|
using V8FinalizeFunc = void (*)(void* nativeObj);
|
|
}
|