Changeset 2252 for code/branches/buildsystem/src/tolua/tolua.c
- Timestamp:
- Nov 23, 2008, 9:22:25 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem/src/tolua/tolua.c
r2248 r2252 69 69 70 70 static void add_extra (lua_State* L, char* value) { 71 72 73 74 75 76 71 int len; 72 lua_getglobal(L, "_extra_parameters"); 73 len = luaL_getn(L, -1); 74 lua_pushstring(L, value); 75 lua_rawseti(L, -2, len+1); 76 lua_pop(L, 1); 77 77 }; 78 78
Note: See TracChangeset
for help on using the changeset viewer.