[gjs/mozjs102: 9/14] js: Remove hasInstance member from JSClassOps




commit a4f570f5fb76943b064e8867bacd3b4857841443
Author: Evan Welsh <contact evanwelsh com>
Date:   Fri Jul 22 10:36:47 2022 -0700

    js: Remove hasInstance member from JSClassOps

 gi/boxed.cpp       | 1 -
 gi/fundamental.cpp | 1 -
 gi/object.cpp      | 1 -
 3 files changed, 3 deletions(-)
---
diff --git a/gi/boxed.cpp b/gi/boxed.cpp
index b3d23f4ab..378abb19e 100644
--- a/gi/boxed.cpp
+++ b/gi/boxed.cpp
@@ -764,7 +764,6 @@ const struct JSClassOps BoxedBase::class_ops = {
     nullptr,  // mayResolve
     &BoxedBase::finalize,
     nullptr,  // call
-    nullptr,  // hasInstance
     nullptr,  // construct
     &BoxedBase::trace
 };
diff --git a/gi/fundamental.cpp b/gi/fundamental.cpp
index ae8001586..9705ca9c6 100644
--- a/gi/fundamental.cpp
+++ b/gi/fundamental.cpp
@@ -244,7 +244,6 @@ const struct JSClassOps FundamentalBase::class_ops = {
     nullptr,  // mayResolve
     &FundamentalBase::finalize,
     nullptr,  // call
-    nullptr,  // hasInstance
     nullptr,  // construct
     &FundamentalBase::trace
 };
diff --git a/gi/object.cpp b/gi/object.cpp
index c69e42727..f0f5c4979 100644
--- a/gi/object.cpp
+++ b/gi/object.cpp
@@ -2534,7 +2534,6 @@ const struct JSClassOps ObjectBase::class_ops = {
     &ObjectBase::finalize,
     NULL,
     NULL,
-    NULL,
     &ObjectBase::trace,
 };
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]