[gjs/wip/ptomato/mozjs45prep: 6/23] mozjs38 improvement
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/ptomato/mozjs45prep: 6/23] mozjs38 improvement
- Date: Tue, 21 Mar 2017 10:57:04 +0000 (UTC)
commit 37a7dff61b8bd0f88d66ece55c479b8098d07550
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]