Subj : Re: AddRoot on the table of pointers To : Aleksander Wysocki From : Brendan Eich Date : Mon Jan 26 2004 11:22 am Aleksander Wysocki wrote: > i haven't found any legal (or illegal) function: > > JS_AddRoot(ctxt, table, table_len) to add whole table > as set of roots. > > does anybody know how to do it? (if possible) There's no such "JS_AddRootArray" API. There could be, but it adds code bloat for something no one has requested until now (in > 6 years). > or maybe there are some alternative solutions? Is this table of roots part of the private data of a native object? If so, you can implement JSClass.mark and avoid adding roots altogether. /be .