We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e616f2e + 2a79988 commit f7df436Copy full SHA for f7df436
src/binding.cpp
@@ -1621,6 +1621,12 @@ const v8::Data* v8__Global__Get(
1621
return local_to_ptr(self->Get(isolate));
1622
}
1623
1624
+bool v8__Global__IsEqual(
1625
+ const v8::Global<v8::Data>* self,
1626
+ const v8::Data* other) {
1627
+ return *self == ptr_to_local(other);
1628
+}
1629
+
1630
// Eternal
1631
1632
void v8__Eternal__New(
src/binding.h
@@ -895,6 +895,9 @@ void v8__Global__SetWeakFinalizer(
895
const Data* v8__Global__Get(
896
const Global* self,
897
Isolate* isolate);
898
899
+ const Global* self,
900
+ const Data*);
901
902
903
typedef struct Eternal {
0 commit comments