mirror of
https://github.com/CPunch/Cosmo.git
synced 2025-10-21 00:10:18 +00:00
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:
@@ -1,5 +1,7 @@
|
||||
// crafts a dummy proto
|
||||
proto test end
|
||||
proto test
|
||||
function __init(self) end
|
||||
end
|
||||
|
||||
// instance of test
|
||||
var obj = test()
|
||||
|
Reference in New Issue
Block a user