public static string luaL_optlstring(IntPtr L, int narg, string def, out int len) { if (LuaDLL.lua_isnoneornil(L, narg)) { len = ((def == null) ? 0 : def.get_Length()); return(def); } return(LuaDLL.luaL_checklstring(L, narg, out len)); }
public string LuaCheckLString(int numArg, out int len) { return(LuaDLL.luaL_checklstring(L, numArg, out len)); }