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/changes_orxonox.diff

    r3127 r3138  
    1 --- tolua++.h   Tue Jun  9 16:27:17 2009
    2 +++ tolua++.h   Tue Jun  9 14:50:04 2009
     1diff -ruN tolua/tolua++.h tolua2/tolua++.h
     2--- tolua/tolua++.h     Wed Jan 28 21:51:38 2009
     3+++ tolua2/tolua++.h    Sat Jan 10 14:48:44 2009
    34@@ -16,9 +16,34 @@
    45 #ifndef TOLUA_H
     
    3637 #define TOLUA_VERSION "tolua++-1.0.92"
    3738 
    38 --- tolua.c     Tue Jun  9 16:27:12 2009
    39 +++ tolua.c     Tue Jun  9 14:50:04 2009
     39diff -ruN tolua/tolua.c tolua2/tolua.c
     40--- tolua/tolua.c       Wed Jan 28 21:51:00 2009
     41+++ tolua2/tolua.c      Sat Jan 10 14:48:45 2009
    4042@@ -4,6 +4,8 @@
    4143 ** TeCGraf/PUC-Rio
     
    5658          "  -P       : parse and print structure information (for debug).\n"
    5759          "  -S       : disable support for c++ strings.\n"
    58 @@ -65,12 +69,12 @@
     60@@ -64,12 +68,12 @@
    5961 }
    6062 
     
    7577 
    7678 static void error (char* o)
    77 @@ -82,6 +86,9 @@
     79@@ -81,6 +85,9 @@
    7880 
    7981 int main (int argc, char* argv[])
     
    8587  lua_State* L = luaL_newstate();
    8688  luaL_openlibs(L);
    87 @@ -98,6 +105,7 @@
     89@@ -97,6 +104,7 @@
    8890  lua_pushstring(L,TOLUA_VERSION); lua_setglobal(L,"TOLUA_VERSION");
    8991  lua_pushstring(L,LUA_VERSION); lua_setglobal(L,"TOLUA_LUA_VERSION");
     
    9395  {
    9496   help();
    95 @@ -125,6 +133,14 @@
     97@@ -124,6 +132,14 @@
    9698      case 'o': setfield(L,t,"o",argv[++i]); break;
    9799      case 'n': setfield(L,t,"n",argv[++i]); break;
     
    108110      case '1': setfield(L,t,"1",""); break;
    109111      case 'L': setfield(L,t,"L",argv[++i]); break;
    110 @@ -145,25 +161,53 @@
     112@@ -143,25 +159,53 @@
    111113   }
    112114   lua_pop(L,1);
Note: See TracChangeset for help on using the changeset viewer.