/**************************************************************************** ** *F InitLibrary( <module> ) . . . . . . . initialise library data structures */ static Int InitLibrary ( StructInitInfo * module ) { /* init filters and functions */ InitGVarFiltsFromTable( GVarFilts ); 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 */ 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; }