Added . get/set support for dictionaries.

cosmoO_getObject and cosmoO_setObject were renamed to cosmoV_getRawObject and cosmoV_setRawObject respectively
`__init` is now required to be defined for a proto object to be instantiated.
other minor refactoring work done in src/cvm.c
This commit is contained in:
2020-12-30 17:51:59 -06:00
parent 9012f9231b
commit e993cdd9fa
4 changed files with 148 additions and 72 deletions

View File

@@ -1,5 +1,7 @@
// crafts a dummy proto
proto test end
proto test
function __init(self) end
end
// instance of test
var obj = test()