[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Inheriting from a userdata object
- From: Gé Weijers <ge@...>
- Date: Tue, 19 Jun 2012 12:59:51 -0700
Would this work in your setup?
local game_wrapper_mt = {
__index = function (t,k)
local f = game[k]
return function(self, ...)
return f(game, ...)
end
end,
}
--
Gé