Part one of refactor of LS.ckint/LS.tryint/LS.isint
This commit is contained in:
@@ -447,10 +447,10 @@ LuaDefine(table_diffcompare, "mtnmap,mtab,stnmap,stab", "for unit testing only")
|
||||
LuaVar tthread;
|
||||
LuaDefStack MLS(L, mtnmap, mtab, mstnmap, mstab, dbgstring, tthread);
|
||||
// Check the arguments.
|
||||
MLS.checktable(mtnmap, "mtnmap");
|
||||
MLS.checktable(mstnmap, "mstnmap");
|
||||
MLS.checktable(mtab, "mtab");
|
||||
MLS.checktable(mstab, "mstab");
|
||||
MLS.cktable(mtnmap, "mtnmap");
|
||||
MLS.cktable(mstnmap, "mstnmap");
|
||||
MLS.cktable(mtab, "mtab");
|
||||
MLS.cktable(mstab, "mstab");
|
||||
|
||||
// Create a temporary thread to be the 'synch model'. We'll use the
|
||||
// existing thread as the 'master model'. Move two tables to the synch thread.
|
||||
@@ -477,9 +477,9 @@ LuaDefine(table_diffapply, "mtnmap,mtab,mstab", "for unit testing only") {
|
||||
LuaVar tthread, tangibles, mntmap, key, val;
|
||||
LuaDefStack MLS(L, mtnmap, mtab, mstab, eql, eqlstr, rtab, tthread, tangibles, mntmap, key, val);
|
||||
// Check the arguments.
|
||||
MLS.checktable(mtnmap, "mtnmap");
|
||||
MLS.checktable(mtab, "mtab");
|
||||
MLS.checktable(mstab, "mstab");
|
||||
MLS.cktable(mtnmap, "mtnmap");
|
||||
MLS.cktable(mtab, "mtab");
|
||||
MLS.cktable(mstab, "mstab");
|
||||
|
||||
// Get the tangibles map.
|
||||
MLS.rawget(tangibles, LuaRegistry, "tangibles");
|
||||
|
||||
Reference in New Issue
Block a user