0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2025-03-10 14:06:53 -04:00
rusty-v8/src/isolate.cc

14 lines
240 B
C++
Raw Normal View History

#include "third_party/v8/include/v8.h"
using namespace v8;
extern "C" {
Isolate* v8__Isolate__New() {
Isolate::CreateParams params;
return Isolate::New(params);
}
void v8__Isolate__Dispose(Isolate& isolate) {
isolate.Dispose();
}
}