Sivansethu G
unread,Jul 15, 2013, 2:38:42 AM7/15/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ipho...@googlegroups.com
Hi ,
In instruments I can see 32 bytes leakage on each wax_pcall(). How to resolve this?
this the code
lua_getglobal(L, [functionname UTF8String]);
if (lua_isnil(L, -1)) {
lua_pop(L, 1); // Get ride of nil
}
lua_getglobal(L, [function UTF8String]);
if (lua_isnil(L, -1)) {
lua_pop(L, 1); // Get ride of nil
}
if(wax_pcall(L,0,1))
fprintf(stderr,"Error callFunction: %s %s\n", [function UTF8String], lua_tostring(L,-1));
Regards
Sethu