Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 10, 2009, 4:01:42 PM (15 years ago)
Author:
rgrieder
Message:

Tolua update to v1.0.93 is not working properly and I would not know how to fix it. I have created a patch however, just in case we need it after all.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/tolua/tolua_to.c

    r3127 r3138  
    1818#include <stdlib.h>
    1919
    20 TOLUA_API lua_Number tolua_tonumber (lua_State* L, int narg, lua_Number def)
     20TOLUA_API double tolua_tonumber (lua_State* L, int narg, double def)
    2121{
    2222 return lua_gettop(L)<abs(narg) ? def : lua_tonumber(L,narg);
     
    7272}
    7373
    74 TOLUA_API lua_Number tolua_tofieldnumber (lua_State* L, int lo, int index, lua_Number def)
     74TOLUA_API double tolua_tofieldnumber (lua_State* L, int lo, int index, double def)
    7575{
    7676 double v;
Note: See TracChangeset for help on using the changeset viewer.