static public bool checkType(IntPtr l, int p, out uint v) { v = (uint)LuaDLL.luaL_checkinteger(l, p); return(true); }
public static bool checkType(IntPtr l, int p, out sbyte v) { v = (sbyte)LuaDLL.luaL_checkinteger(l, p); return(true); }
// why doesn't have a checkArray<byte[]> function accept lua string? // I think you should did a Buffer class to wrap byte[] pass/accept between mono and lua vm #endregion #region char static public bool checkType(IntPtr l, int p, out char c) { c = (char)LuaDLL.luaL_checkinteger(l, p); return(true); }