diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-11-07 10:45:58 -0500 |
---|---|---|
committer | Ry Dahl <ry@tinyclouds.org> | 2019-11-07 17:58:05 -0500 |
commit | 508d728b5e27fd0c81669050869cf52c41538a87 (patch) | |
tree | 558c6350dd24f91daa238293e76096e85912e16e /core/libdeno/internal.h | |
parent | e1d1836854f36c357756f204b4b88ea41e08b251 (diff) |
upgrade: V8 8.0.192
Diffstat (limited to 'core/libdeno/internal.h')
-rw-r--r-- | core/libdeno/internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/libdeno/internal.h b/core/libdeno/internal.h index 89c746d04..7f29f4d81 100644 --- a/core/libdeno/internal.h +++ b/core/libdeno/internal.h @@ -148,6 +148,12 @@ static inline v8::Local<v8::String> v8_str(const char* x) { .ToLocalChecked(); } +static inline DenoIsolate* unwrap(Deno* d_) { + return reinterpret_cast<deno::DenoIsolate*>(d_); +} + +const char* ToCString(const v8::String::Utf8Value& value); + void Print(const v8::FunctionCallbackInfo<v8::Value>& args); void Recv(const v8::FunctionCallbackInfo<v8::Value>& args); void Send(const v8::FunctionCallbackInfo<v8::Value>& args); |