Changeset 228 for trunk/src/lua/lua_state.cc
- Timestamp:
- 02/04/14 03:50:28 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lua/lua_state.cc
r217 r228 234 234 for(; lib->func != NULL; lib++) 235 235 { 236 lib->func( m_state ); 236 lua_pushcfunction( m_state, lib->func ); 237 lua_call(m_state, 0, 1); 238 lua_setglobal( m_state, lib->name ); 237 239 } 238 240 register_nova( this );
Note: See TracChangeset
for help on using the changeset viewer.