Added '__count' metamethod to objects

This commit is contained in:
2021-01-22 15:22:30 -06:00
parent 6b407534c0
commit 7c92749e0d
6 changed files with 51 additions and 8 deletions

View File

@@ -195,5 +195,6 @@ const char *cosmoO_typeStr(CObj* obj);
CObjString *cosmoO_toString(CState *state, CObj *obj);
cosmo_Number cosmoO_toNumber(CState *state, CObj *obj);
int cosmoO_count(CState *state, CObj *obj);
#endif