lua-users home
lua-l archive

Re: return / push table?

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


Jacek Popławski wrote:
I know how to push number in C api, I know how to set elements of table in C
api, but how to push table?
RTFM at: http://www.lua.org/manual/5.0/manual.html#3.11
3.11 - Manipulating Tables
Tables are created by calling the function
 void lua_newtable (lua_State *L);
This function creates a new, empty table and pushes it onto the stack.

Attachment: signature.asc
Description: OpenPGP digital signature


AltStyle によって変換されたページ (->オリジナル) /