[gjs] Make gjs_debugger_native_trap a JSFastNative
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] Make gjs_debugger_native_trap a JSFastNative
- Date: Thu, 10 Mar 2011 21:30:04 +0000 (UTC)
commit dbcc93785a9170e0066e20eb0419d49d574e79a1
Author: Marc-Antoine Perennou <Marc-Antoine Perennou com>
Date: Fri Mar 4 17:48:13 2011 +0100
Make gjs_debugger_native_trap a JSFastNative
JSNative is now in hg what JSFastNative used to be, the old JSNative has gone
This silence a gcc warning of wrong callback type
https://bugzilla.gnome.org/show_bug.cgi?id=643325
modules/debugger.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/modules/debugger.c b/modules/debugger.c
index a8a357a..b1672c3 100644
--- a/modules/debugger.c
+++ b/modules/debugger.c
@@ -31,8 +31,7 @@
#include "debugger.h"
static JSBool
-gjs_debugger_native_trap(JSContext *cx, JSObject *obj, uintN argc,
- jsval *argv, jsval *retval)
+gjs_debugger_native_trap(JSContext *cx, uintN argc, jsval *vp)
{
G_BREAKPOINT();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]