Subj : Re: js_GetSlotThreadSafe problems To : Mike Moening From : Brendan Eich Date : Thu Mar 17 2005 10:09 am 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 .