Subj : Re: js_GetSlotThreadSafe problems To : Mike Moening From : Brendan Eich Date : Thu Mar 17 2005 04:06 pm Mike Moening wrote: > The change outlined below, substituting JS_GET_CLASS for OBJ_GET_CLASS, in > the macro fixes the problem! > How does one go about "patching" Spidermonkey? > I don't really want to have my own modified version of the source... Then stop hacking around in private headers and using their private APIs, for crying out loud! Your previous post asked how to detect a function given a jsval. Use JS_TypeOfValue. /be .