diff options
author | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2016-04-18 16:09:21 +0100 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2016-04-18 16:09:21 +0100 |
commit | 525dcaa6ab7200c803a124468431f6280e45410c (patch) | |
tree | ac41c160334682dcdb346ad856b0a2e1b3e70a6e /src/bindings/luajit | |
parent | 6fc6a9eebec30e4825c8749aa1bba27c43c168bb (diff) | |
download | efl-525dcaa6ab7200c803a124468431f6280e45410c.tar.gz |
eolian: fix invalid type_type mapping in lua bindings
Diffstat (limited to 'src/bindings/luajit')
-rw-r--r-- | src/bindings/luajit/eolian.lua | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/src/bindings/luajit/eolian.lua b/src/bindings/luajit/eolian.lua index c685c258ad..2ebe183be9 100644 --- a/src/bindings/luajit/eolian.lua +++ b/src/bindings/luajit/eolian.lua @@ -70,17 +70,13 @@ ffi.cdef [[ typedef enum { - EOLIAN_TYPE_UNKNOWN_TYPE, + EOLIAN_TYPE_UNKNOWN_TYPE = 0, EOLIAN_TYPE_VOID, EOLIAN_TYPE_REGULAR, EOLIAN_TYPE_COMPLEX, EOLIAN_TYPE_POINTER, - EOLIAN_TYPE_FUNCTION, - EOLIAN_TYPE_STRUCT, - EOLIAN_TYPE_STRUCT_OPAQUE, - EOLIAN_TYPE_ENUM, - EOLIAN_TYPE_ALIAS, - EOLIAN_TYPE_CLASS + EOLIAN_TYPE_CLASS, + EOLIAN_TYPE_UNDEFINED } Eolian_Type_Type; typedef enum { @@ -459,13 +455,8 @@ M.type_type = { REGULAR = 2, COMPLEX = 3, POINTER = 4, - FUNCTION = 5, - STRUCT = 6, - STRUCT_OPAQUE = 7, - ENUM = 8, - ALIAS = 9, - CLASS = 10, - UNDEFINED = 11 + CLASS = 5, + UNDEFINED = 6 } M.typedecl_type = { |