google-code-export / lua-alchemy

Automatically exported from code.google.com/p/lua-alchemy
0 stars 1 forks source link

Black-box Lua values #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Add black-box support for Lua tables, threads and userdata, so it would be
possible to pass values of these types to AS3 and then back to Lua.

Also add some manipulation functions for these values.

Original issue reported on code.google.com by aglad...@gmail.com on 4 Jan 2009 at 11:00

GoogleCodeExporter commented 9 years ago
Note that functions are already supported.

Original comment by aglad...@gmail.com on 4 Jan 2009 at 11:02

GoogleCodeExporter commented 9 years ago
Also allow user to create tables from AS3.

Original comment by aglad...@gmail.com on 4 Jan 2009 at 11:04

GoogleCodeExporter commented 9 years ago
* Also add lua_wrapper.Global() to get a reference to a global environment.

* Do not forget that all values must be protected from Lua GC. Store them in the
registry like the functions.

* To reduce bridge overhead, allow user to supply multiple indices to a table:

myTable.at(index1, index2, index3); // Same as myTable[index1][index2][index3].

Original comment by aglad...@gmail.com on 4 Jan 2009 at 11:07