elua: rename eo __ctor to __tor_common (so that it's not automatically called with no ctor provided)

This commit is contained in:
Daniel Kolesa 2014-04-17 11:14:16 +01:00 committed by Daniel Kolesa
parent a9d3df6523
commit dca8afb2cc
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ local getfuncname = function(info)
end
M.Eo_Base = util.Object:clone {
__ctor = function(self, klass, parent, ctor, loff, ...)
__ctor_common = function(self, klass, parent, ctor, loff, ...)
local info = getinfo(2 + (loff or 0), "nlSf")
local source = info.source
local func = getfuncname(info)