0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-24 08:09:16 -05:00

Format source code (#348)

This commit is contained in:
Bert Belder 2020-04-13 00:48:47 +02:00
parent 7b1cd84f4f
commit 2b08fd1651
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461
2 changed files with 10 additions and 17 deletions

View file

@ -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",

View file

@ -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));
}
v8::Value* v8__Proxy__GetHandler(v8::Proxy* self){
v8::Value* v8__Proxy__GetHandler(v8::Proxy* self) {
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());
}
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) {