Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void lua_setfield(lua_State *L, int index, const char *k)
- {
- if (lua_iscfunction(L, -1))
- {
- o_lua_pushcclosure(myluastate,lua_tocfunction(L,-1),0);
- o_lua_setfield(myluastate,k);
- }
- if (strcmp("Msg", k) == 0)
- {
- printf("-- myluastate -- \n");
- }
- o_lua_setfield(L, index, k);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement