The following lines of code have been added to the original JavaScript Interpreter source code supplied herewith:
--------------------------------------------------------------
jsapi.c – modified 11/15/2001

- lines 819-822
-> #if XP_MAC //AJFMOD
-> #pragma export on
-> #endif
->

lines 835-839
-> #if XP_MAC //AJFMOD
-> #pragma export reset
-> #endif
->

--------------------------------------------------------------------
jsapi.h – modified 11/15/2001

lines 921-932
-> #if XP_MAC
-> /************************************************************************/
->
-> /*
-> * Fireworks specific
-> */
-> typedef JSBool (*EnumDestroyerProcPtr)(jsval iter_state);
->
-> extern JS_PUBLIC_API(void)
-> js_SetFwEnumDestroyer(EnumDestroyerProcPtr destroyer);
->
-> #endif
->

----------------------------------------------------------------------
jsinterp.c – modified 11/15/2001

lines 114-122
-> #if XP_MAC //SRJMOD
-> static EnumDestroyerProcPtr FwEnumDestroyer;
->
-> void js_SetFwEnumDestroyer(EnumDestroyerProcPtr destroyer)
-> {
-> FwEnumDestroyer = destroyer;
-> }
-> #else
extern JSBool FwEnumDestroyer(jsval iter_state);
-> #endif

lines 140-144
-> #if XP_MAC
-> if((*FwEnumDestroyer)(iter_state))
-> #else
if (FwEnumDestroyer(iter_state))
-> #endif

-----------------------------------------------------------------------------
jsinterp.h – modified 11/15/2001

lines 209-213
-> #if XP_MAC //AJFMOD
-> typedef JSBool (*EnumDestroyerProcPtr)(jsval iter_state);
->
-> extern void js_SetFwEnumDestroyer(EnumDestroyerProcPtr destroyer);
->
-> #endif