Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dziobian:gulgul-ultron:19
code
remove-deprecated-AccessorSignatures.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File remove-deprecated-AccessorSignatures.patch of Package code
From 6a2f95a6a2209d8aa7542fb18099fd808a802059 Mon Sep 17 00:00:00 2001 From: John Kleinschmidt <jkleinsc@electronjs.org> Date: Tue, 21 Jun 2022 16:21:53 -0400 Subject: [PATCH] chore: remove deprecated AccessorSignatures Removed in https://chromium-review.googlesource.com/c/v8/v8/+/3654096 Co-Authored-By: Shelley Vohr <shelley.vohr@gmail.com> --- nan.h | 6 +----- nan_callbacks.h | 2 -- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/nan.h b/nan.h index 9e7c59e4..0326246a 100644 --- a/build/node_modules/nan/nan.h +++ b/build/node_modules/nan/nan.h @@ -2516,8 +2516,7 @@ inline void SetAccessor( , SetterCallback setter = 0 , v8::Local<v8::Value> data = v8::Local<v8::Value>() , v8::AccessControl settings = v8::DEFAULT - , v8::PropertyAttribute attribute = v8::None - , imp::Sig signature = imp::Sig()) { + , v8::PropertyAttribute attribute = v8::None) { HandleScope scope; imp::NativeGetter getter_ = @@ -2550,7 +2549,7 @@ inline void SetAccessor( , obj , settings , attribute - , signature); + ); } inline bool SetAccessor( --- a/build/node_modules/nan/nan_callbacks.h +++ b/build/node_modules/nan/nan_callbacks.h @@ -52,8 +52,6 @@ typedef void(*IndexQueryCallback)( const PropertyCallbackInfo<v8::Integer>&); namespace imp { -typedef v8::Local<v8::AccessorSignature> Sig; - static const int kDataIndex = 0; static const int kFunctionIndex = 1; --- a/node_modules/nan/nan.h +++ b/node_modules/nan/nan.h @@ -2516,8 +2516,7 @@ inline void SetAccessor( , SetterCallback setter = 0 , v8::Local<v8::Value> data = v8::Local<v8::Value>() , v8::AccessControl settings = v8::DEFAULT - , v8::PropertyAttribute attribute = v8::None - , imp::Sig signature = imp::Sig()) { + , v8::PropertyAttribute attribute = v8::None) { HandleScope scope; imp::NativeGetter getter_ = @@ -2550,7 +2549,7 @@ inline void SetAccessor( , obj , settings , attribute - , signature); + ); } inline bool SetAccessor( --- a/node_modules/nan/nan_callbacks.h +++ b/node_modules/nan/nan_callbacks.h @@ -52,8 +52,6 @@ typedef void(*IndexQueryCallback)( const PropertyCallbackInfo<v8::Integer>&); namespace imp { -typedef v8::Local<v8::AccessorSignature> Sig; - static const int kDataIndex = 0; static const int kFunctionIndex = 1;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor