Renamed cosmoV_readObj to cosmoV_readRef to reduce ambiguity

also fixed several typos
This commit is contained in:
2021-02-07 14:00:00 -06:00
parent 5faa40bdef
commit 8d37f1f243
10 changed files with 48 additions and 48 deletions

View File

@@ -469,7 +469,7 @@ CObjString *cosmoO_toString(CState *state, CObj *obj) {
// return string
cosmoV_pop(state);
return (CObjString*)cosmoV_readObj(*ret);
return (CObjString*)cosmoV_readRef(*ret);
}
switch (obj->type) {