lua-users home
lua-l archive

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


Use lua_newtable as documented at 
http://www.lua.org/manual/5.0/manual.html#3.11

Simon Brown
Sony Computer Entertainment Europe
http://www.scee.com

lua-bounces@bazar2.conectiva.com.br wrote on 11/08/2004 13:50:55:

> I need following function:
> 
>    targetBoosts=GetTargetBoosts(skill)
> 
> GetTargetBoost will be defined in engine
> targetBoost will be table (list) of numbers
> 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?
> 
> -- 
> Free Software - find interesting programs and change them
> NetHack - meet interesting creatures, kill them and eat their bodies
> Usenet - meet interesting people from all over the world and flame them
> Decopter - unrealistic helicopter simulator, get it from http:
> //decopter.sf.net

> ForwardSourceID:NT00004A02 


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
postmaster@scee.net

This footnote also confirms that this email message has been checked
for all known viruses.

**********************************************************************
 SCEE 2004