data/test/cpp/82c79f6fbaafdc9d965fd51ae35c93823dd1676cldump.cpp
int luaU_dump (LuaThread* L, const LuaProto* f, lua_Writer w, void* data, int strip)
{
 THREAD_CHECK(L);
 DumpState D;
 D.L=L;
 D.writer=w;
 D.data=data;
 D.strip=strip;
 D.status=0;
 DumpHeader(&D);
 DumpFunction(f,&D);
 return D.status;
}
/*
** dump Lua function as precompiled chunk
*/
dump Lua function as precompiled chunk
dump Lua function as precompiled chunk
int luaU_dump (LuaThread* L, const LuaProto* f, lua_Writer w, void* data, int strip)
{
 THREAD_CHECK(L);
 DumpState D;
 D.L=L;
 D.writer=w;
 D.data=data;
 D.strip=strip;
 D.status=0;
 DumpHeader(&D);
 DumpFunction(f,&D);
 return D.status;
}
int luaU_dump ( LuaThread * L , const LuaProto * f , lua_Writer w , void * data , int strip ) { THREAD_CHECK ( L ) ; DumpState D ; D . L = L ; D . writer = w ; D . data = data ; D . strip = strip ; D . status = 0 ; DumpHeader ( & D ) ; DumpFunction ( f , & D ) ; return D . status ; }
dump Lua function as precompiled chunk
dump Lua function as precompiled chunk