mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-12-25 00:29:14 -05:00
Format source code (#348)
This commit is contained in:
parent
7b1cd84f4f
commit
2b08fd1651
2 changed files with 10 additions and 17 deletions
4
BUILD.gn
4
BUILD.gn
|
@ -2,9 +2,7 @@
|
||||||
import("//v8/gni/v8.gni")
|
import("//v8/gni/v8.gni")
|
||||||
|
|
||||||
v8_static_library("rusty_v8") {
|
v8_static_library("rusty_v8") {
|
||||||
sources = [
|
sources = [ "src/binding.cc" ]
|
||||||
"src/binding.cc",
|
|
||||||
]
|
|
||||||
deps = [
|
deps = [
|
||||||
":v8",
|
":v8",
|
||||||
"//build/config:shared_library_deps",
|
"//build/config:shared_library_deps",
|
||||||
|
|
|
@ -987,8 +987,8 @@ v8::Function* v8__Function__New(v8::Local<v8::Context> context,
|
||||||
}
|
}
|
||||||
|
|
||||||
v8::Function* v8__Function__NewWithData(v8::Local<v8::Context> context,
|
v8::Function* v8__Function__NewWithData(v8::Local<v8::Context> context,
|
||||||
v8::FunctionCallback callback,
|
v8::FunctionCallback callback,
|
||||||
v8::Local<v8::Value> data) {
|
v8::Local<v8::Value> data) {
|
||||||
return maybe_local_to_ptr(v8::Function::New(context, callback, data));
|
return maybe_local_to_ptr(v8::Function::New(context, callback, data));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1315,22 +1315,17 @@ v8::Proxy* v8__Proxy__New(v8::Local<v8::Context> context,
|
||||||
return maybe_local_to_ptr(v8::Proxy::New(context, target, handler));
|
return maybe_local_to_ptr(v8::Proxy::New(context, target, handler));
|
||||||
}
|
}
|
||||||
|
|
||||||
v8::Value* v8__Proxy__GetHandler(v8::Proxy* self){
|
v8::Value* v8__Proxy__GetHandler(v8::Proxy* self) {
|
||||||
return local_to_ptr(self->GetHandler());
|
return local_to_ptr(self->GetHandler());
|
||||||
}
|
}
|
||||||
|
|
||||||
v8::Value* v8__Proxy__GetTarget(v8::Proxy* self){
|
v8::Value* v8__Proxy__GetTarget(v8::Proxy* self) {
|
||||||
return local_to_ptr(self->GetTarget());
|
return local_to_ptr(self->GetTarget());
|
||||||
}
|
}
|
||||||
|
|
||||||
bool v8__Proxy__IsRevoked(v8::Proxy* self) {
|
bool v8__Proxy__IsRevoked(v8::Proxy* self) { return self->IsRevoked(); }
|
||||||
return self->IsRevoked();
|
|
||||||
}
|
|
||||||
|
|
||||||
void v8__Proxy__Revoke(v8::Proxy* self) {
|
|
||||||
self->Revoke();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
void v8__Proxy__Revoke(v8::Proxy* self) { self->Revoke(); }
|
||||||
|
|
||||||
void v8__SnapshotCreator__CONSTRUCT(uninit_t<v8::SnapshotCreator>& buf,
|
void v8__SnapshotCreator__CONSTRUCT(uninit_t<v8::SnapshotCreator>& buf,
|
||||||
const intptr_t* external_references) {
|
const intptr_t* external_references) {
|
||||||
|
|
Loading…
Reference in a new issue