| EM_moveSymToExtMem | Function (ROM Call 0x162)

vat.h

short EM_moveSymToExtMem (SYM_STR SymName, HSym Sym);

Moves a symbol from the RAM to the archive memory.

EM_moveSymToExtMem archives a symbol. The symbol may be described either by symbol name SymName (in this case, parameter Sym should be set to HS_NULL) or by HSym structure Sym (in this case, SymName must be NULL). See SYMSTR for rules about SymName. EM_moveSymToExtMem returns TRUE if the operation was successful, else returns FALSE.

Uses: DerefSym, HSYMtoName, SymFind, HeapFree, HeapSize, cmd_archive, HToESI, EM_findEmptySlot, EM_GC, EM_write, memcpy, memset, strchr, strncpy
Used by: cmd_archive, cmd_unarchiv