Subj : Re: Persisting a JSScript To : Sterling Bates From : Brendan Eich Date : Wed Aug 13 2003 03:56 pm Sterling Bates wrote: >"Louis Paul Santillan" wrote in message >news:Pine.GSO.4.44.0308131359040.10896-100000@neptune.calstatela.edu... > > >>Is there a similar process available to SpiderMonkey users? >> Of course, see jsxdrapi.h. >> There seems >>to have been similar posts in the past but no sort of real documentation. >> >> > >If you're using C++, check out the following post in Google groups: > >http://groups.google.ca/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=bf7c793d.0306171049.715332b6%40posting.google.com > >My translation to Delphi works well from the serialization standpoint, but >not deserialization, but Forest also uses a private function >(script_static_thaw) to do the dirty work. (Shouldn't matter in either >case, but his works and mine don't ) > Why can't you (or Forest) use JS_XDRScript from jsxdrapi.h? /be .