C-support for saved states.¶
- import_dbref_hash_entry_struct
- export_dbref_hash_entry_struct
- import_pred_entry_hash_entry_struct
- export_pred_entry_hash_entry_struct
- import_opcode_hash_entry_struct
- import_functor_hash_entry_struct
- export_functor_hash_entry_struct
- import_atom_hash_entry_struct
- export_atom_hash_entry_struct
Define:¶
1. EXPORT_PRED_ENTRY_TABLE_SIZE:
Functions:¶
1. static void RestoreEntries(PropEntry *, int USES_REGS):
1. static void CleanCode(PredEntry *USES_REGS):
1. static void GrowAtomTable(void):
1. static void LookupAtom(Atom at):
1. static void GrowFunctorTable(void):
1. static void LookupFunctor(Functor fun):
1. static void GrowPredTable(void):
1. static void LookupPredEntry(PredEntry *pe):
1. static void GrowDBRefTable(void):
1. static void LookupDBRef(DBRef ref):
1. static void InitHash(void):
1. static void CloseHash(void):
1. static Atom AtomAdjust(Atom a):
1. static Functor FuncAdjust(Functor f):
1. static Term AtomTermAdjust(Term t):
1. static Term TermToGlobalOrAtomAdjust(Term t):
1. static Term ModuleAdjust(Term t):
1. static PredEntry * PredEntryAdjust(PredEntry *pe):
1. static PredEntry * PtoPredAdjust(PredEntry *pe):
1. static DBRef DBRefAdjust__(DBRef dbt USES_REGS):
1. static void RestoreFlags(UInt NFlags):
1. static void RestoreHashPreds(USES_REGS1):
1. static void RestoreAtomList(Atom atm USES_REGS):
1. static size_t save_bytes(FILE stream, void ptr, size_t sz):
1. static size_t save_byte(FILE *stream, int byte):
1. static size_t save_bits/6(FILE *stream, BITS16 val):
1. static size_t save_UInt(FILE *stream, UInt val):
1. static size_t save_Int(FILE *stream, Int val):
1. static size_t save_tag(FILE *stream, qlf_tag_t tag):
1. static size_t save_predFlags(FILE *stream, pred_flags_t predFlags):
1. static int SaveHash(FILE *stream):
1. static size_t save_clauses(FILE stream, PredEntry pp):
1. static size_t save_pred(FILE stream, PredEntry ap):
1. static int clean_pred(PredEntry *pp USES_REGS):
1. static size_t mark_pred(PredEntry *ap):
1. static size_t mark_ops(FILE *stream, Term mod):
1. static size_t save_ops(FILE *stream, Term mod):
1. static size_t save_header(FILE *stream, char type[]):
1. static size_t save_module(FILE *stream, Term mod):
1. static size_t save_program(FILE *stream):
1. static size_t save_file(FILE *stream, Atom FileName):
1. static Int qsave_module_preds(USES_REGS1):
1. static Int qsave_program(USES_REGS1):
1. static Int qsave_file(USES_REGS1):
Typedef:¶
1. typedef struct export_atom_hash_entry_struct export_atom_hash_entry_t:
1. typedef struct import_atom_hash_entry_struct import_atom_hash_entry_t:
1. typedef struct export_functor_hash_entry_struct export_functor_hash_entry_t:
1. typedef struct import_functor_hash_entry_struct import_functor_hash_entry_t:
1. typedef struct import_opcode_hash_entry_struct import_opcode_hash_entry_t:
1. typedef struct export_pred_entry_hash_entry_struct export_pred_entry_hash_entry_t:
1. typedef struct import_pred_entry_hash_entry_struct import_pred_entry_hash_entry_t:
1. typedef struct export_dbref_hash_entry_struct export_dbref_hash_entry_t:
1. typedef struct import_dbref_hash_entry_struct import_dbref_hash_entry_t: