elua: lualian type fix
authorDaniel Kolesa <d.kolesa@samsung.com>
Thu, 2 Oct 2014 11:39:34 +0000 (12:39 +0100)
committerDaniel Kolesa <d.kolesa@samsung.com>
Thu, 2 Oct 2014 11:39:47 +0000 (12:39 +0100)
src/bin/elua/modules/lualian.lua

index fb72591..42f2f6f 100644 (file)
@@ -247,7 +247,7 @@ local Property = Method:clone {
             name    = prop:name_get(),
             suffix  = (self.isget and "_get" or "_set")
         }
-        proto.ret_type = rett or "void"
+        proto.ret_type = rett and rett:c_type_get() or "void"
         local args, cargs, vargs = { "self" }, {}, {}
         proto.args, proto.cargs, proto.vargs = args, cargs, vargs
         local rets = {}