[Swfdec] player/swfdec_debug_stack.c
Benjamin Otte
company at kemper.freedesktop.org
Thu Mar 1 04:19:56 PST 2007
player/swfdec_debug_stack.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
New commits:
diff-tree c87585512fddb167171f7762b4a87598e0b0447d (from 66e63dc1d746e5b3d5bffd3b780a028aa6b995be)
Author: Benjamin Otte <otte at gnome.org>
Date: Thu Mar 1 13:20:11 2007 +0100
print the class name instead of "Object" as the type
diff --git a/player/swfdec_debug_stack.c b/player/swfdec_debug_stack.c
index 5b25626..cbc4f6e 100644
--- a/player/swfdec_debug_stack.c
+++ b/player/swfdec_debug_stack.c
@@ -51,7 +51,7 @@ swfdec_get_jsval_type (JSContext *cx, js
if (JSVAL_IS_STRING (val))
return "String";
g_assert (JSVAL_IS_OBJECT (val));
- return "Object";
+ return JS_GetClass (JSVAL_TO_OBJECT (val))->name;
}
static void
More information about the Swfdec
mailing list