Initial revision of lua 'doc' function
This commit is contained in:
@@ -438,8 +438,8 @@ void World::diff_tangible_databases(const IdVector &basis, lua_State *master, St
|
||||
MLS.result();
|
||||
}
|
||||
|
||||
LuaDefine(table_diffcompare, "c") {
|
||||
LuaArg mtnmap, mtab, mstnmap, mstab, stnmap, stab;
|
||||
LuaDefine(table_diffcompare, "mtnmap,mtab,stnmap,stab", "for unit testing only") {
|
||||
LuaArg mtnmap, mtab, mstnmap, mstab;
|
||||
LuaRet dbgstring;
|
||||
LuaVar tthread;
|
||||
LuaStack MLS(L, mtnmap, mtab, mstnmap, mstab, dbgstring, tthread);
|
||||
@@ -456,6 +456,7 @@ LuaDefine(table_diffcompare, "c") {
|
||||
lua_pushvalue(L, mstnmap.index());
|
||||
lua_pushvalue(L, mstab.index());
|
||||
lua_xmove(L, synch, 2);
|
||||
LuaArg stnmap,stab;
|
||||
LuaStack SLS(synch, stnmap, stab);
|
||||
|
||||
// Call tablecmp_diff.
|
||||
@@ -467,8 +468,8 @@ LuaDefine(table_diffcompare, "c") {
|
||||
return MLS.result();
|
||||
}
|
||||
|
||||
LuaDefine(table_diffapply, "c") {
|
||||
LuaArg mtnmap, mtab, mstab, stnmap, stab;
|
||||
LuaDefine(table_diffapply, "mtnmap,mtab,mstab", "for unit testing only") {
|
||||
LuaArg mtnmap, mtab, mstab;
|
||||
LuaRet eql, eqlstr, rtab;
|
||||
LuaVar tthread, tangibles, mntmap, key, val;
|
||||
LuaStack MLS(L, mtnmap, mtab, mstab, eql, eqlstr, rtab, tthread, tangibles, mntmap, key, val);
|
||||
@@ -494,6 +495,7 @@ LuaDefine(table_diffapply, "c") {
|
||||
lua_pushvalue(L, mtnmap.index());
|
||||
lua_pushvalue(L, mstab.index());
|
||||
lua_xmove(L, synch, 2);
|
||||
LuaArg stnmap, stab;
|
||||
LuaStack SLS(synch, stnmap, stab);
|
||||
|
||||
// Call diff_tables and patch_tables
|
||||
|
||||
Reference in New Issue
Block a user