mirror of
https://github.com/CPunch/Cosmo.git
synced 2025-12-28 12:20:04 +00:00
smarter caching
This commit is contained in:
@@ -49,6 +49,10 @@ CState *cosmoV_newState() {
|
||||
state->iStrings[ISTRING_GETTER] = cosmoO_copyString(state, "__getter", 8);
|
||||
state->iStrings[ISTRING_SETTER] = cosmoO_copyString(state, "__setter", 8);
|
||||
|
||||
// set the IString flags
|
||||
for (int i = 0; i < ISTRING_MAX; i++)
|
||||
state->iStrings[i]->isIString = true;
|
||||
|
||||
return state;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user