Subj : Re: js_GetSlotThreadSafe problems To : netscape.public.mozilla.jseng From : Mike Moening Date : Thu Mar 17 2005 12:14 pm I changed it to read like this: JS_snprintf(buf, sizeof buf, "[object %s]", JS_GET_CLASS(pJSContext, JSVAL_TO_OBJECT(v))->name); Still the same linker error. Something else is suckin it in yet... "Brendan Eich" wrote in message news:4239C7D0.3010702@meer.net... > Mike Moening wrote: > > > JS_snprintf(buf, sizeof buf, "[object %s]", > > OBJ_GET_CLASS(pJSContext, JSVAL_TO_OBJECT(v))->name); > > OBJ_GET_CLASS calls OBJ_GET_SLOT. > > Please don't include private headers if you can help it. Above, you > could use JS_GET_CLASS instead, which is public API. > > /be .