search for: jschar

Displaying 2 results from an estimated 2 matches for "jschar".

Did you mean: uschar
2007 Mar 11
0
10 commits - libswfdec/js libswfdec/swfdec_js_color.c libswfdec/swfdec_js_connection.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_js_video.c libswfdec/swfdec_js_xml.c libswfdec/swfdec_script.c player/.gitignore
...} #endif /* JS_HAS_INITIALIZERS || JS_HAS_TOSOURCE */ +extern const JSClass movieclip_class; +extern char *swfdec_movie_get_path (void *movieclip); +extern void g_free (void *p); JSBool js_obj_toString(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) { - jschar *chars; - size_t nchars; - const char *clazz, *prefix; + const char *name; JSString *str; JSClass *clasp; -#if JS_HAS_INITIALIZERS - if (cx->version == JSVERSION_1_2) - return js_obj_toSource(cx, obj, argc, argv, rval); -#endif - clasp = OBJ_GET_CLASS(cx, obj)...
2007 Feb 19
0
22 commits - libswfdec/js libswfdec/swfdec_debugger.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_script.c
...+ clazz = clasp->name; + /* special case in here (woohoo) */ + if (clasp == &js_ArgumentsClass) { + *rval = STRING_TO_JSVAL(cx->runtime->emptyString); + return JS_TRUE; + } + nchars = 9 + strlen(clazz); /* 9 for "[object ]" */ chars = (jschar *) JS_malloc(cx, (nchars + 1) * sizeof(jschar)); if (!chars) diff-tree ea81d2b805d5db2b7506c1c817efb5f9b8041b3c (from 0ff56e6acbc042b3b914242565414a349796ca6f) Author: Benjamin Otte <otte@gnome.org> Date: Mon Feb 19 17:38:24 2007 +0100 shuffle disposing around again so timeouts ge...