lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Rob Kendrick wrote:
Christophe Delépine wrote:

The LUA function does not know the number of values that are returned
How can i get the values and store them in a simple LUA table ?

mytable = { myfunc() }

This may blow the API stack. Would it not be better to have the
C function create and populate the table and then return that
table as a single result?