-- EFL LuaJIT bindings: efl_vg_gradient.eo (class Efl.VG.Gradient)
-- For use with Elua; automatically generated, do not modify

local cutil = require("cutil")
local util  = require("util")
local ffi   = require("ffi")
local eo    = require("eo")

local M, __lib = ...

local __class
local __body

local init = function()
    __class = __lib.efl_vg_gradient_class_get()
    eo.class_register("Efl_VG_Gradient", "Efl_VG_Base", __body, __class)
    eo.class_mixin("Efl_VG_Gradient", "Efl_Gfx_Gradient_Base")
end

cutil.init_module(init, function() end)

ffi.cdef [[
    const Eo_Class *efl_vg_gradient_class_get(void);
]]

local __M = util.get_namespace(M, { "vg" })
__body = {
    __eo_ctor = function(self, __func)
        if __func then __func() end
    end
}

__M.Gradient = function(parent, ...)
    return eo.__ctor_common(__class, parent, eo.class_get("Efl_VG_Gradient").__eo_ctor,
                            1, ...)
end

return M
