elua: lualian type fix

This commit is contained in:
Daniel Kolesa 2014-10-02 12:39:34 +01:00
parent 503e309e7e
commit 596d01a83a
1 changed files with 1 additions and 1 deletions

View 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 = {}