mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-12-23 15:50:11 -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")
|
||||
|
||||
v8_static_library("rusty_v8") {
|
||||
sources = [
|
||||
"src/binding.cc",
|
||||
]
|
||||
sources = [ "src/binding.cc" ]
|
||||
deps = [
|
||||
":v8",
|
||||
"//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::FunctionCallback callback,
|
||||
v8::Local<v8::Value> data) {
|
||||
v8::FunctionCallback callback,
|
||||
v8::Local<v8::Value> data) {
|
||||
return maybe_local_to_ptr(v8::Function::New(context, callback, data));
|
||||
}
|
||||
|
||||
|
@ -1309,28 +1309,23 @@ v8::Object* v8__PropertyCallbackInfo__This(
|
|||
return local_to_ptr(self.This());
|
||||
}
|
||||
|
||||
v8::Proxy* v8__Proxy__New(v8::Local<v8::Context> context,
|
||||
v8::Proxy* v8__Proxy__New(v8::Local<v8::Context> context,
|
||||
v8::Local<v8::Object> target,
|
||||
v8::Local<v8::Object> handler) {
|
||||
return maybe_local_to_ptr(v8::Proxy::New(context, target, handler));
|
||||
}
|
||||
|
||||
v8::Value* v8__Proxy__GetHandler(v8::Proxy* self){
|
||||
return local_to_ptr(self->GetHandler());
|
||||
v8::Value* v8__Proxy__GetHandler(v8::Proxy* self) {
|
||||
return local_to_ptr(self->GetHandler());
|
||||
}
|
||||
|
||||
v8::Value* v8__Proxy__GetTarget(v8::Proxy* self){
|
||||
return local_to_ptr(self->GetTarget());
|
||||
v8::Value* v8__Proxy__GetTarget(v8::Proxy* self) {
|
||||
return local_to_ptr(self->GetTarget());
|
||||
}
|
||||
|
||||
bool v8__Proxy__IsRevoked(v8::Proxy* self) {
|
||||
return self->IsRevoked();
|
||||
}
|
||||
|
||||
void v8__Proxy__Revoke(v8::Proxy* self) {
|
||||
self->Revoke();
|
||||
}
|
||||
bool v8__Proxy__IsRevoked(v8::Proxy* self) { return self->IsRevoked(); }
|
||||
|
||||
void v8__Proxy__Revoke(v8::Proxy* self) { self->Revoke(); }
|
||||
|
||||
void v8__SnapshotCreator__CONSTRUCT(uninit_t<v8::SnapshotCreator>& buf,
|
||||
const intptr_t* external_references) {
|
||||
|
|
Loading…
Reference in a new issue