Bugfixes for eLua. eLua emulation mode

This commit is contained in:
Artem Serebriyskiy 2013-11-17 01:11:50 +04:00
commit 705beb6753
5 changed files with 445 additions and 83 deletions

View file

@ -1,8 +1,8 @@
require("import") -- the import fn
import("newobject1") -- import code
foo1 = newobject1.Foo_makeFoo() -- lua doesnt yet support static fns properly
assert(newobject1.Foo_fooCount() == 1) -- lua doesnt yet support static fns properly
foo1 = newobject1.Foo_makeFoo()
assert(newobject1.Foo_fooCount() == 1)
foo2 = foo1:makeMore()
assert(newobject1.Foo_fooCount() == 2)