[gjs] Fix system module
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] Fix system module
- Date: Fri, 3 Feb 2012 19:19:14 +0000 (UTC)
commit d334f83d66cd589a867ae3b7f2dd0f7a535cc72d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Feb 3 14:18:07 2012 -0500
Fix system module
modules/system.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/modules/system.c b/modules/system.c
index 5a19929..ea8a9a8 100644
--- a/modules/system.c
+++ b/modules/system.c
@@ -32,8 +32,9 @@
static JSBool
gjs_address_of(JSContext *context,
uintN argc,
- jsval *argv)
+ jsval *vp)
{
+ jsval *argv = JS_ARGV(cx, vp);
JSObject *target_obj;
JSBool ret;
char *pointer_string;
@@ -54,8 +55,9 @@ gjs_address_of(JSContext *context,
static JSBool
gjs_breakpoint(JSContext *context,
uintN argc,
- jsval *argv)
+ jsval *vp)
{
+ jsval *argv = JS_ARGV(cx, vp);
if (!gjs_parse_args(context, "breakpoint", "", argc, argv))
return JS_FALSE;
G_BREAKPOINT();
@@ -65,8 +67,9 @@ gjs_breakpoint(JSContext *context,
static JSBool
gjs_gc(JSContext *context,
uintN argc,
- jsval *argv)
+ jsval *vp)
{
+ jsval *argv = JS_ARGV(cx, vp);
if (!gjs_parse_args(context, "gc", "", argc, argv))
return JS_FALSE;
JS_GC(context);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]