q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=cbe3c944df8f51df45734900a15e86cd45f50178

commit cbe3c944df8f51df45734900a15e86cd45f50178
Author: Daniel Kolesa <[email protected]>
Date:   Wed Oct 9 13:19:50 2019 +0200

    elua: fix error api in lua eolian bindings
---
 src/bindings/luajit/eolian.lua | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/bindings/luajit/eolian.lua b/src/bindings/luajit/eolian.lua
index 86fc2ddd5c..93499df6a5 100644
--- a/src/bindings/luajit/eolian.lua
+++ b/src/bindings/luajit/eolian.lua
@@ -881,7 +881,8 @@ M.type_type = {
     VOID             = 1,
     REGULAR          = 2,
     CLASS            = 3,
-    UNDEFINED        = 4
+    ERROR            = 4,
+    UNDEFINED        = 5
 }
 
 M.type_builtin_type = {
@@ -1856,6 +1857,8 @@ M.Eolian_Doc_Token = ffi.metatype("Eolian_Doc_Token", {
                            ffi.cast("const Eolian_Enum_Type_Field *", stor[1])
             elseif tp == reft.CONSTANT then
                 return tp, ffi.cast("const Eolian_Constant *", stor[0])
+            elseif tp == reft.ERROR then
+                return tp, ffi.cast("const Eolian_Error *", stor[0])
             else
                 return reft.UNKNOWN
             end

-- 


Reply via email to