/**************************************************************************** ** *F InitLibrary( <module> ) . . . . . . . initialise library data structures */ static Int InitLibrary ( StructInitInfo * module ) { ExportAsConstantGVar(PC_NUMBER_OF_GENERATORS); ExportAsConstantGVar(PC_GENERATORS); ExportAsConstantGVar(PC_INVERSES); ExportAsConstantGVar(PC_COMMUTE); ExportAsConstantGVar(PC_POWERS); ExportAsConstantGVar(PC_INVERSEPOWERS); ExportAsConstantGVar(PC_EXPONENTS); ExportAsConstantGVar(PC_CONJUGATES); ExportAsConstantGVar(PC_INVERSECONJUGATES); ExportAsConstantGVar(PC_CONJUGATESINVERSE); ExportAsConstantGVar(PC_INVERSECONJUGATESINVERSE); ExportAsConstantGVar(PC_DEEP_THOUGHT_POLS); ExportAsConstantGVar(PC_DEEP_THOUGHT_BOUND); ExportAsConstantGVar(PC_ORDERS); ExportAsConstantGVar(PC_WORD_STACK); ExportAsConstantGVar(PC_STACK_SIZE); ExportAsConstantGVar(PC_WORD_EXPONENT_STACK); ExportAsConstantGVar(PC_SYLLABLE_STACK); ExportAsConstantGVar(PC_EXPONENT_STACK); ExportAsConstantGVar(PC_STACK_POINTER); ExportAsConstantGVar(PC_DEFAULT_TYPE); /* init filters and functions */ InitGVarFuncsFromTable( GVarFuncs ); /* return success */ return 0; }
/**************************************************************************** ** *F InitLibrary( <module> ) . . . . . . . initialise library data structures */ static Int InitLibrary ( StructInitInfo * module ) { ExportAsConstantGVar(PC_NUMBER_OF_GENERATORS); ExportAsConstantGVar(PC_GENERATORS); ExportAsConstantGVar(PC_INVERSES); ExportAsConstantGVar(PC_COMMUTE); ExportAsConstantGVar(PC_POWERS); ExportAsConstantGVar(PC_INVERSEPOWERS); ExportAsConstantGVar(PC_EXPONENTS); ExportAsConstantGVar(PC_CONJUGATES); ExportAsConstantGVar(PC_INVERSECONJUGATES); ExportAsConstantGVar(PC_CONJUGATESINVERSE); ExportAsConstantGVar(PC_INVERSECONJUGATESINVERSE); ExportAsConstantGVar(PC_DEEP_THOUGHT_POLS); ExportAsConstantGVar(PC_DEEP_THOUGHT_BOUND); ExportAsConstantGVar(PC_ORDERS); ExportAsConstantGVar(PC_WORD_STACK); ExportAsConstantGVar(PC_STACK_SIZE); ExportAsConstantGVar(PC_WORD_EXPONENT_STACK); ExportAsConstantGVar(PC_SYLLABLE_STACK); ExportAsConstantGVar(PC_EXPONENT_STACK); ExportAsConstantGVar(PC_STACK_POINTER); ExportAsConstantGVar(PC_DEFAULT_TYPE); // signal to polycyclic that 'CollectPolycyclic' does not use resp. // require stacks inside the collector objects AssConstantGVar(GVarName("NO_STACKS_INSIDE_COLLECTORS"), True); /* init filters and functions */ InitGVarFuncsFromTable( GVarFuncs ); /* return success */ return 0; }
static Int InitLibrary( StructInitInfo * module ) { /* init filters and functions */ InitGVarFuncsFromTable( GVarFuncs ); return postRestore( module ); }
/**************************************************************************** ** *F InitLibrary( <module> ) . . . . . . . initialise library data structures */ static Int InitLibrary( StructInitInfo *module ) { /* init filters and functions */ InitGVarFuncsFromTable( GVarFuncs ); /* return success */ return 0; }
/**************************************************************************** ** *F InitLibrary( <module> ) . . . . . . . initialise library data structures */ static Int InitLibrary ( StructInitInfo * module ) { /* init filters and functions */ if ( MPIinitialized( (Obj)0 ) == True ) { InitGVarFuncsFromTable( GVarFuncs ); Init_MPIvars(); } /* return success */ return 0; }
/**************************************************************************** ** *F InitLibrary( <module> ) . . . . . . . initialise library data structures */ static Int InitLibrary ( StructInitInfo * module ) { /* make the list of names of record names */ CountRNam = 0; NamesRNam = NEW_PLIST( T_PLIST, 0 ); SET_LEN_PLIST( NamesRNam, 0 ); /* make the hash list of record names */ SizeRNam = 997; HashRNam = NEW_PLIST( T_PLIST, SizeRNam ); SET_LEN_PLIST( HashRNam, SizeRNam ); /* init filters and functions */ InitGVarFiltsFromTable( GVarFilts ); InitGVarOpersFromTable( GVarOpers ); InitGVarFuncsFromTable( GVarFuncs ); /* return success */ return 0; }
/**************************************************************************** ** *F InitLibrary( <module> ) . . . . . . . initialise library data structures */ static Int InitLibrary ( StructInitInfo * module ) { /* make the list of names of record names */ NamesRNam = NEW_PLIST( T_PLIST, 0 ); #ifdef HPCGAP MakeBagPublic(NamesRNam); #endif /* make the hash list of record names */ HashRNam = NEW_PLIST( T_PLIST, 14033 ); SET_LEN_PLIST( HashRNam, 14033 ); #ifdef HPCGAP MakeBagPublic(HashRNam); #endif /* init filters and functions */ InitGVarFiltsFromTable( GVarFilts ); InitGVarOpersFromTable( GVarOpers ); InitGVarFuncsFromTable( GVarFuncs ); /* return success */ return 0; }
/**************************************************************************** ** *F InitLibrary( <module> ) . . . . . . . initialise library data structures */ static Int InitLibrary ( StructInitInfo * module ) { InitGVarFuncsFromTable( GVarFuncs ); return 0; }
extern "C" int InitFPLLLLibrary(void) { InitGVarFuncsFromTable (GVarFuncs); return 0; }
int InitMPDLibrary (void) { InitGVarFuncsFromTable (GVarFuncs); return 0; }