[gjs/wip/ptomato/mozjs45prep: 2/18] mozjs38 improvement
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/ptomato/mozjs45prep: 2/18] mozjs38 improvement
- Date: Sun, 19 Mar 2017 08:03:51 +0000 (UTC)
commit 9ac6e6ebef810da4b338cc1ee1156be76df4b6c6
Author: Philip Chimento <philip endlessm com>
Date: Sun Mar 19 05:19:41 2017 +0000
mozjs38 improvement
gjs/jsapi-util.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gjs/jsapi-util.h b/gjs/jsapi-util.h
index 912db24..52efee1 100644
--- a/gjs/jsapi-util.h
+++ b/gjs/jsapi-util.h
@@ -275,7 +275,7 @@ gjs_##name##_constructor(JSContext *context, \
* be at the very top.
*/
#define GJS_NATIVE_CONSTRUCTOR_VARIABLES(name) \
- JS::RootedObject object(context, NULL); \
+ JS::RootedObject object(context); \
JS::CallArgs argv G_GNUC_UNUSED = JS::CallArgsFromVp(argc, vp);
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]