lua-users home
lua-l archive

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


thanks all.. I should have read the _whole_ pdf first. alot of changes from 3.2! 

Regards,
Jim



----- Original Message ----- 
From: "Peter Prade" <prade@phenomic.net>
To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
Sent: Saturday, November 24, 2001 12:45 PM
Subject: RE: figuring out 4.1


| > Can someone point out what i'm missing that is obviously wrong here? I'm
| > using 4.1 -
| > 
| > static int testfunction ( lua_State * L ) 
| > { 
| >     lua_pushnumber( L, 99 );
| >     lua_pushstring( L, "hello" ); 
| 
| >     return 0; 
| should be:
|       return 2; 
| 
| > }
| 
| Regards,
| Peter
|