Skip to content

代码生成错误 #729

@findix

Description

@findix

Hi,
我在导出

https://github.com/Enichan/Ini/blob/2819f7078a31683f434f2be003f38920eb25c3c7/Ini.cs#L606

的时候,

导出结果是

        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_set_Item(RealStatePtr L)
        {
            try
            {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                IniSection gen_to_be_invoked = (IniSection) translator.FastGetCSObj(L, 1);
                {
                    string key = LuaAPI.lua_tostring(L, 2);
                    translator.Get(L, 3, out gen_to_be_invoked[key]);
                    return 0;
                }
            }
            catch (System.Exception gen_e)
            {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }

image

请问是用法的问题吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions