コード例 #1
0
 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));
 }
コード例 #2
0
 public string LuaCheckLString(int numArg, out int len)
 {
     return(LuaDLL.luaL_checklstring(L, numArg, out len));
 }