[gjs/wip/ptomato/mozjs45prep: 7/16] js: JSCLASS_IMPLEMENTS_BARRIERS now implicit?
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/ptomato/mozjs45prep: 7/16] js: JSCLASS_IMPLEMENTS_BARRIERS now implicit?
- Date: Sun, 19 Mar 2017 05:21:26 +0000 (UTC)
commit 95c3fd6708053ceed1b991321eb1e0f2f549d06e
Author: Philip Chimento <philip endlessm com>
Date: Sun Mar 19 05:10:08 2017 +0000
js: JSCLASS_IMPLEMENTS_BARRIERS now implicit?
gi/boxed.cpp | 3 +--
gi/function.cpp | 3 +--
gi/fundamental.cpp | 3 +--
gi/gerror.cpp | 3 +--
gi/interface.cpp | 3 +--
gi/ns.cpp | 3 +--
gi/object.cpp | 3 +--
gi/param.cpp | 3 +--
gi/repo.cpp | 3 +--
gi/union.cpp | 3 +--
gjs/byteArray.cpp | 3 +--
gjs/coverage.cpp | 3 +--
gjs/importer.cpp | 3 +--
gjs/jsapi-util.cpp | 3 +--
14 files changed, 14 insertions(+), 28 deletions(-)
---
diff --git a/gi/boxed.cpp b/gi/boxed.cpp
index f986dd2..194112e 100644
--- a/gi/boxed.cpp
+++ b/gi/boxed.cpp
@@ -933,8 +933,7 @@ boxed_trace(JSTracer *tracer,
struct JSClass gjs_boxed_class = {
"GObject_Boxed",
JSCLASS_HAS_PRIVATE |
- JSCLASS_HAS_RESERVED_SLOTS(1) |
- JSCLASS_IMPLEMENTS_BARRIERS,
+ JSCLASS_HAS_RESERVED_SLOTS(1),
NULL, /* addProperty */
NULL, /* deleteProperty */
NULL, /* getProperty */
diff --git a/gi/function.cpp b/gi/function.cpp
index 7768ab2..80d8464 100644
--- a/gi/function.cpp
+++ b/gi/function.cpp
@@ -1481,8 +1481,7 @@ function_to_string (JSContext *context,
struct JSClass gjs_function_class = {
"GIRepositoryFunction", /* means "new GIRepositoryFunction()" works */
JSCLASS_HAS_PRIVATE |
- JSCLASS_BACKGROUND_FINALIZE |
- JSCLASS_IMPLEMENTS_BARRIERS,
+ JSCLASS_BACKGROUND_FINALIZE,
NULL, /* addProperty */
NULL, /* deleteProperty */
NULL, /* getProperty */
diff --git a/gi/fundamental.cpp b/gi/fundamental.cpp
index 8c3b201..e0bb51b 100644
--- a/gi/fundamental.cpp
+++ b/gi/fundamental.cpp
@@ -556,8 +556,7 @@ fundamental_trace(JSTracer *tracer,
*/
struct JSClass gjs_fundamental_instance_class = {
"GFundamental_Object",
- JSCLASS_HAS_PRIVATE |
- JSCLASS_IMPLEMENTS_BARRIERS,
+ JSCLASS_HAS_PRIVATE,
NULL, /* addProperty */
NULL, /* deleteProperty */
NULL, /* getProperty */
diff --git a/gi/gerror.cpp b/gi/gerror.cpp
index f6c7aa5..61ab54a 100644
--- a/gi/gerror.cpp
+++ b/gi/gerror.cpp
@@ -271,8 +271,7 @@ error_constructor_value_of(JSContext *context,
struct JSClass gjs_error_class = {
"GLib_Error",
JSCLASS_HAS_PRIVATE |
- JSCLASS_BACKGROUND_FINALIZE |
- JSCLASS_IMPLEMENTS_BARRIERS,
+ JSCLASS_BACKGROUND_FINALIZE,
NULL, /* addProperty */
NULL, /* deleteProperty */
NULL, /* getProperty */
diff --git a/gi/interface.cpp b/gi/interface.cpp
index b2d04b5..118919c 100644
--- a/gi/interface.cpp
+++ b/gi/interface.cpp
@@ -164,8 +164,7 @@ interface_resolve(JSContext *context,
struct JSClass gjs_interface_class = {
"GObject_Interface",
JSCLASS_HAS_PRIVATE |
- JSCLASS_BACKGROUND_FINALIZE |
- JSCLASS_IMPLEMENTS_BARRIERS,
+ JSCLASS_BACKGROUND_FINALIZE,
NULL, /* addProperty */
NULL, /* deleteProperty */
NULL, /* getProperty */
diff --git a/gi/ns.cpp b/gi/ns.cpp
index 23cc2f0..f758e2c 100644
--- a/gi/ns.cpp
+++ b/gi/ns.cpp
@@ -157,8 +157,7 @@ ns_finalize(JSFreeOp *fop,
*/
struct JSClass gjs_ns_class = {
"GIRepositoryNamespace",
- JSCLASS_HAS_PRIVATE |
- JSCLASS_IMPLEMENTS_BARRIERS,
+ JSCLASS_HAS_PRIVATE,
NULL, /* addProperty */
NULL, /* deleteProperty */
NULL, /* getProperty */
diff --git a/gi/object.cpp b/gi/object.cpp
index 90a25bc..670c620 100644
--- a/gi/object.cpp
+++ b/gi/object.cpp
@@ -1965,8 +1965,7 @@ to_string_func(JSContext *context,
struct JSClass gjs_object_instance_class = {
"GObject_Object",
- JSCLASS_HAS_PRIVATE |
- JSCLASS_IMPLEMENTS_BARRIERS,
+ JSCLASS_HAS_PRIVATE,
NULL, /* addProperty */
NULL, /* deleteProperty */
object_instance_get_prop,
diff --git a/gi/param.cpp b/gi/param.cpp
index 2f11e25..80bb7b6 100644
--- a/gi/param.cpp
+++ b/gi/param.cpp
@@ -146,8 +146,7 @@ param_finalize(JSFreeOp *fop,
struct JSClass gjs_param_class = {
"GObject_ParamSpec",
JSCLASS_HAS_PRIVATE |
- JSCLASS_BACKGROUND_FINALIZE |
- JSCLASS_IMPLEMENTS_BARRIERS,
+ JSCLASS_BACKGROUND_FINALIZE,
NULL, /* addProperty */
NULL, /* deleteProperty */
NULL, /* getProperty */
diff --git a/gi/repo.cpp b/gi/repo.cpp
index 7ea15b2..a641aaa 100644
--- a/gi/repo.cpp
+++ b/gi/repo.cpp
@@ -215,8 +215,7 @@ repo_finalize(JSFreeOp *fop,
*/
struct JSClass gjs_repo_class = {
"GIRepository", /* means "new GIRepository()" works */
- JSCLASS_HAS_PRIVATE |
- JSCLASS_IMPLEMENTS_BARRIERS,
+ JSCLASS_HAS_PRIVATE,
NULL, /* addProperty */
NULL, /* deleteProperty */
NULL, /* getProperty */
diff --git a/gi/union.cpp b/gi/union.cpp
index 145edfe..59422e0 100644
--- a/gi/union.cpp
+++ b/gi/union.cpp
@@ -293,8 +293,7 @@ to_string_func(JSContext *context,
*/
struct JSClass gjs_union_class = {
"GObject_Union",
- JSCLASS_HAS_PRIVATE |
- JSCLASS_IMPLEMENTS_BARRIERS,
+ JSCLASS_HAS_PRIVATE,
NULL, /* addProperty */
NULL, /* deleteProperty */
NULL, /* getProperty */
diff --git a/gjs/byteArray.cpp b/gjs/byteArray.cpp
index 9127101..5e86f0c 100644
--- a/gjs/byteArray.cpp
+++ b/gjs/byteArray.cpp
@@ -56,8 +56,7 @@ static void byte_array_finalize (JSFreeOp *fop,
struct JSClass gjs_byte_array_class = {
"ByteArray",
JSCLASS_HAS_PRIVATE |
- JSCLASS_BACKGROUND_FINALIZE |
- JSCLASS_IMPLEMENTS_BARRIERS,
+ JSCLASS_BACKGROUND_FINALIZE,
NULL, /* addProperty */
NULL, /* deleteProperty */
(JSPropertyOp)byte_array_get_prop,
diff --git a/gjs/coverage.cpp b/gjs/coverage.cpp
index 09a6fc3..c75cb8c 100644
--- a/gjs/coverage.cpp
+++ b/gjs/coverage.cpp
@@ -1259,8 +1259,7 @@ gjs_coverage_init(GjsCoverage *self)
static JSClass coverage_global_class = {
"GjsCoverageGlobal",
- JSCLASS_GLOBAL_FLAGS_WITH_SLOTS(GJS_GLOBAL_SLOT_LAST) |
- JSCLASS_IMPLEMENTS_BARRIERS,
+ JSCLASS_GLOBAL_FLAGS_WITH_SLOTS(GJS_GLOBAL_SLOT_LAST),
NULL, /* addProperty */
NULL, /* deleteProperty */
NULL, /* getProperty */
diff --git a/gjs/importer.cpp b/gjs/importer.cpp
index 19c9b00..e04ac63 100644
--- a/gjs/importer.cpp
+++ b/gjs/importer.cpp
@@ -857,8 +857,7 @@ importer_finalize(js::FreeOp *fop,
*/
const js::Class gjs_importer_class = {
"GjsFileImporter",
- JSCLASS_HAS_PRIVATE |
- JSCLASS_IMPLEMENTS_BARRIERS,
+ JSCLASS_HAS_PRIVATE,
NULL, /* addProperty */
NULL, /* deleteProperty */
NULL, /* getProperty */
diff --git a/gjs/jsapi-util.cpp b/gjs/jsapi-util.cpp
index 714bd5c..a835533 100644
--- a/gjs/jsapi-util.cpp
+++ b/gjs/jsapi-util.cpp
@@ -46,8 +46,7 @@ gjs_util_error_quark (void)
static JSClass global_class = {
"GjsGlobal",
- JSCLASS_GLOBAL_FLAGS_WITH_SLOTS(GJS_GLOBAL_SLOT_LAST) |
- JSCLASS_IMPLEMENTS_BARRIERS,
+ JSCLASS_GLOBAL_FLAGS_WITH_SLOTS(GJS_GLOBAL_SLOT_LAST),
NULL, /* addProperty */
NULL, /* deleteProperty */
NULL, /* getProperty */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]