ossp-pkg/js/src/jscntxt.c 1.4 -> 1.5
--- jscntxt.c 2006/07/24 19:04:50 1.4
+++ jscntxt.c 2006/08/03 12:30:16 1.5
@@ -1062,6 +1062,10 @@
#if defined DEBUG && defined XP_UNIX
/* For gdb usage. */
+#ifdef OSSP
+void js_traceon(JSContext *cx);
+void js_traceoff(JSContext *cx);
+#endif
void js_traceon(JSContext *cx) { cx->tracefp = stderr; }
void js_traceoff(JSContext *cx) { cx->tracefp = NULL; }
#endif
|
|