Exemplo n.º 1
0
    public static string luaL_optlstring(LuaState state, int argNum, string def, out uint length)
    {
        IntPtr stringPtr = LuaNativeBinding.luaL_optlstring(state, argNum, def, out length);

        return(Marshal.PtrToStringAnsi(stringPtr));
    }