Exemple #1
0
 public static string CheckLString(LuaStatePtr l, int numArg, out int l_)
 {
     fixed(int *i = &l_)
     {
         return(new string(LuaLDelegates.luaL_checklstring(l, numArg, i)));
     }
 }
//		public static bool ArgCheck(LuaStatePtr l, bool cond, int numarg, string extramsg) {
//			// WHAT DO I PUT HERE?
//		}

        public static string CheckString(LuaStatePtr l, int n)
        {
            return(new string(LuaLDelegates.luaL_checklstring(l, n, null)));
        }