> Hey all,
>
> 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;
> }
You should return 2, instead of 0.
Regards,
Diego.