Exemple #1
0
 public static LuaNumberType LuaLOpt(LuaState L, LuaLOptDelegate f, int n, LuaNumberType d)
 {
     return(LuaIsNoneOrNil(L, n) ? d : f(L, (n)));
 }
Exemple #2
0
		public static LuaNumberType LuaLOpt(LuaState L, LuaLOptDelegate f, int n, LuaNumberType d) {
			return LuaIsNoneOrNil(L, (n != 0) ? d : f(L, n)) ? 1 : 0;}