public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            ImageEffectTransformsToLDR o = new ImageEffectTransformsToLDR();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 2
0
    static int _CreateImageEffectTransformsToLDR(IntPtr L)
    {
        int count = LuaDLL.lua_gettop(L);

        if (count == 0)
        {
            ImageEffectTransformsToLDR obj = new ImageEffectTransformsToLDR();
            LuaScriptMgr.PushObject(L, obj);
            return(1);
        }
        else
        {
            LuaDLL.luaL_error(L, "invalid arguments to method: ImageEffectTransformsToLDR.New");
        }

        return(0);
    }