-- EFL LuaJIT bindings: efl_vg_gradient_linear.eo (class Efl.VG.Gradient_Linear)
-- 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_linear_class_get()
    eo.class_register("Efl_VG_Gradient_Linear", "Efl_VG_Gradient", __body, __class)
    eo.class_mixin("Efl_VG_Gradient_Linear", "Efl_Gfx_Gradient_Linear")
end

cutil.init_module(init, function() end)

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

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

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

return M
