Subj : Re: jsval to C string To : netscape.public.mozilla.jseng From : Sterling Bates Date : Tue Apr 13 2004 11:57 am Thibaut wrote: > Hi i'm searching how to convert a jsval to a C string. > To convert a C string to a jsval , i first convert it to a JSString and then > call STRING_TO_JSVAL . is it the only way to do or is there something easier > ? JS_GetStringChars(JS_ValueToString(cx, v)); Sterling .