Remove os module classes from BaseClasses

Nothing should have been referencing _Environ or stat_result.
We can move CompilerState and Cell into these available slots, as
those also should not have been used by libraries.
This commit is contained in:
K. Lange 2023-12-14 10:09:55 +09:00
parent bd0b80827e
commit 5e0e3e0e22

View File

@ -136,17 +136,15 @@ struct BaseClasses {
KrkClass * enumerateClass; /**< Yield pairs of indexes and values from an iterator. */
KrkClass * HelperClass; /**< Class implementation of 'help' object */
KrkClass * LicenseReaderClass; /**< Class implementation of 'license' object */
KrkClass * FileClass; /**< os.File */
KrkClass * BinaryFileClass; /**< os.BinaryFile */
KrkClass * DirectoryClass; /**< os.Directory */
KrkClass * stat_resultClass; /**< stat.stat_result */
KrkClass * EnvironClass; /**< os._Environ */
KrkClass * FileClass; /**< fileio.File */
KrkClass * BinaryFileClass; /**< fileio.BinaryFile */
KrkClass * DirectoryClass; /**< fileio.Directory */
KrkClass * CompilerStateClass; /**< Compiler global state */
KrkClass * CellClass; /**< Upvalue cell */
KrkClass * setClass; /**< Unordered hashset */
KrkClass * setiteratorClass; /**< Iterator over values in a set */
KrkClass * ThreadClass; /**< Threading.Thread */
KrkClass * LockClass; /**< Threading.Lock */
KrkClass * CompilerStateClass; /**< Compiler global state */
KrkClass * CellClass; /**< Upvalue cell */
};
/**