[gjs/wip/js24: 14/29] update delete property in JSClass definitions to use JS_DeletePropertyStub
- From: Tim Lunn <timl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/js24: 14/29] update delete property in JSClass definitions to use JS_DeletePropertyStub
- Date: Tue, 15 Oct 2013 02:14:11 +0000 (UTC)
commit 0d8aadef6e658a84957fa9c65aa84d758c00727b
Author: Tim Lunn <tim feathertop org>
Date: Sat Sep 28 09:33:44 2013 +1000
update delete property in JSClass definitions to use JS_DeletePropertyStub
gi/boxed.cpp | 2 +-
gi/function.cpp | 2 +-
gi/gerror.cpp | 2 +-
gi/interface.cpp | 2 +-
gi/keep-alive.cpp | 2 +-
gi/ns.cpp | 2 +-
gi/object.cpp | 2 +-
gi/param.cpp | 2 +-
gi/repo.cpp | 2 +-
gi/union.cpp | 2 +-
gjs/byteArray.cpp | 2 +-
gjs/importer.cpp | 2 +-
gjs/jsapi-util.cpp | 2 +-
gjs/jsapi-util.h | 2 +-
14 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/gi/boxed.cpp b/gi/boxed.cpp
index 8598520..fc8208e 100644
--- a/gi/boxed.cpp
+++ b/gi/boxed.cpp
@@ -931,7 +931,7 @@ struct JSClass gjs_boxed_class = {
JSCLASS_NEW_RESOLVE |
JSCLASS_HAS_RESERVED_SLOTS(1),
JS_PropertyStub,
- JS_PropertyStub,
+ JS_DeletePropertyStub,
JS_PropertyStub,
JS_StrictPropertyStub,
JS_EnumerateStub,
diff --git a/gi/function.cpp b/gi/function.cpp
index e2e731f..7ea6de9 100644
--- a/gi/function.cpp
+++ b/gi/function.cpp
@@ -1359,7 +1359,7 @@ struct JSClass gjs_function_class = {
"GIRepositoryFunction", /* means "new GIRepositoryFunction()" works */
JSCLASS_HAS_PRIVATE,
JS_PropertyStub,
- JS_PropertyStub,
+ JS_DeletePropertyStub,
JS_PropertyStub,
JS_StrictPropertyStub,
JS_EnumerateStub,
diff --git a/gi/gerror.cpp b/gi/gerror.cpp
index eb6fa1c..ac6ef03 100644
--- a/gi/gerror.cpp
+++ b/gi/gerror.cpp
@@ -310,7 +310,7 @@ struct JSClass gjs_error_class = {
JSCLASS_HAS_PRIVATE |
JSCLASS_NEW_RESOLVE,
JS_PropertyStub,
- JS_PropertyStub,
+ JS_DeletePropertyStub,
JS_PropertyStub,
JS_StrictPropertyStub,
JS_EnumerateStub,
diff --git a/gi/interface.cpp b/gi/interface.cpp
index 2766304..e2707e8 100644
--- a/gi/interface.cpp
+++ b/gi/interface.cpp
@@ -147,7 +147,7 @@ struct JSClass gjs_interface_class = {
JSCLASS_HAS_PRIVATE |
JSCLASS_NEW_RESOLVE,
JS_PropertyStub,
- JS_PropertyStub,
+ JS_DeletePropertyStub,
JS_PropertyStub,
JS_StrictPropertyStub,
JS_EnumerateStub,
diff --git a/gi/keep-alive.cpp b/gi/keep-alive.cpp
index 728f467..8eee636 100644
--- a/gi/keep-alive.cpp
+++ b/gi/keep-alive.cpp
@@ -154,7 +154,7 @@ struct JSClass gjs_keep_alive_class = {
"__private_GjsKeepAlive", /* means "new __private_GjsKeepAlive()" works */
JSCLASS_HAS_PRIVATE,
JS_PropertyStub,
- JS_PropertyStub,
+ JS_DeletePropertyStub,
JS_PropertyStub,
JS_StrictPropertyStub,
JS_EnumerateStub,
diff --git a/gi/ns.cpp b/gi/ns.cpp
index 64385dd..c7ad03e 100644
--- a/gi/ns.cpp
+++ b/gi/ns.cpp
@@ -158,7 +158,7 @@ struct JSClass gjs_ns_class = {
JSCLASS_HAS_PRIVATE |
JSCLASS_NEW_RESOLVE,
JS_PropertyStub,
- JS_PropertyStub,
+ JS_DeletePropertyStub,
JS_PropertyStub,
JS_StrictPropertyStub,
JS_EnumerateStub,
diff --git a/gi/object.cpp b/gi/object.cpp
index 00c7f9e..266328b 100644
--- a/gi/object.cpp
+++ b/gi/object.cpp
@@ -1773,7 +1773,7 @@ struct JSClass gjs_object_instance_class = {
JSCLASS_HAS_PRIVATE |
JSCLASS_NEW_RESOLVE,
JS_PropertyStub,
- JS_PropertyStub,
+ JS_DeletePropertyStub,
object_instance_get_prop,
object_instance_set_prop,
JS_EnumerateStub,
diff --git a/gi/param.cpp b/gi/param.cpp
index 18b95b9..c906a15 100644
--- a/gi/param.cpp
+++ b/gi/param.cpp
@@ -414,7 +414,7 @@ struct JSClass gjs_param_class = {
"GObject_ParamSpec",
JSCLASS_HAS_PRIVATE,
JS_PropertyStub,
- JS_PropertyStub,
+ JS_DeletePropertyStub,
param_get_prop,
JS_StrictPropertyStub,
JS_EnumerateStub,
diff --git a/gi/repo.cpp b/gi/repo.cpp
index 17f60fd..61d3a8a 100644
--- a/gi/repo.cpp
+++ b/gi/repo.cpp
@@ -235,7 +235,7 @@ struct JSClass gjs_repo_class = {
JSCLASS_HAS_PRIVATE |
JSCLASS_NEW_RESOLVE,
JS_PropertyStub,
- JS_PropertyStub,
+ JS_DeletePropertyStub,
JS_PropertyStub,
JS_StrictPropertyStub,
JS_EnumerateStub,
diff --git a/gi/union.cpp b/gi/union.cpp
index 31550cd..82ba852 100644
--- a/gi/union.cpp
+++ b/gi/union.cpp
@@ -312,7 +312,7 @@ struct JSClass gjs_union_class = {
JSCLASS_HAS_PRIVATE |
JSCLASS_NEW_RESOLVE,
JS_PropertyStub,
- JS_PropertyStub,
+ JS_DeletePropertyStub,
JS_PropertyStub,
JS_StrictPropertyStub,
JS_EnumerateStub,
diff --git a/gjs/byteArray.cpp b/gjs/byteArray.cpp
index f7648ab..57d27a5 100644
--- a/gjs/byteArray.cpp
+++ b/gjs/byteArray.cpp
@@ -58,7 +58,7 @@ struct JSClass gjs_byte_array_class = {
"ByteArray",
JSCLASS_HAS_PRIVATE,
JS_PropertyStub,
- JS_PropertyStub,
+ JS_DeletePropertyStub,
(JSPropertyOp)byte_array_get_prop,
(JSStrictPropertyOp)byte_array_set_prop,
JS_EnumerateStub,
diff --git a/gjs/importer.cpp b/gjs/importer.cpp
index b073c5c..3941d18 100644
--- a/gjs/importer.cpp
+++ b/gjs/importer.cpp
@@ -949,7 +949,7 @@ struct JSClass gjs_importer_class = {
JSCLASS_NEW_RESOLVE |
JSCLASS_NEW_ENUMERATE,
JS_PropertyStub,
- JS_PropertyStub,
+ JS_DeletePropertyStub,
JS_PropertyStub,
JS_StrictPropertyStub,
(JSEnumerateOp) importer_new_enumerate, /* needs cast since it's the new enumerate signature */
diff --git a/gjs/jsapi-util.cpp b/gjs/jsapi-util.cpp
index 0a58669..67de0f3 100644
--- a/gjs/jsapi-util.cpp
+++ b/gjs/jsapi-util.cpp
@@ -72,7 +72,7 @@ gjs_get_import_global(JSContext *context)
static JSClass global_class = {
"GjsGlobal", JSCLASS_GLOBAL_FLAGS_WITH_SLOTS(GJS_GLOBAL_SLOT_LAST),
- JS_PropertyStub, JS_PropertyStub, JS_PropertyStub, JS_StrictPropertyStub,
+ JS_PropertyStub, JS_DeletePropertyStub, JS_PropertyStub, JS_StrictPropertyStub,
JS_EnumerateStub, JS_ResolveStub, JS_ConvertStub, NULL,
NULL /* checkAccess */, NULL /* call */, NULL /* hasInstance */, NULL /* construct */, NULL,
{ NULL }
diff --git a/gjs/jsapi-util.h b/gjs/jsapi-util.h
index d666aaa..83ce3d3 100644
--- a/gjs/jsapi-util.h
+++ b/gjs/jsapi-util.h
@@ -143,7 +143,7 @@ static struct JSClass gjs_##cname##_class = { \
JSCLASS_HAS_PRIVATE | \
JSCLASS_NEW_RESOLVE, \
JS_PropertyStub, \
- JS_PropertyStub, \
+ JS_DeletePropertyStub, \
JS_PropertyStub, \
JS_StrictPropertyStub, \
JS_EnumerateStub,\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]