示例#1
0
 internal static LuaValue GetComparisonHandler(LuaValue left, LuaValue right, LuaValue handler)
 {
     if (left != null && right != null && left.GetType() == right.GetType())
     {
         LuaValue hLeft  = GetHandler(left, handler);
         LuaValue hRight = GetHandler(right, handler);
         if (hLeft == hRight)
         {
             return(hLeft);
         }
     }
     return(null);
 }