[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua OOP modules with property support
- From: Cosmin Apreutesei <cosmin.apreutesei@...>
- Date: Thu, 28 Jun 2012 16:59:40 +0300
> Using Classlib, LOOP or any other Lua library with OOP support, how
> can I do this?
I did this as part of the winapi binding I'm working on. What you're
looking for is in vobject.lua. It supports r/w and r/o properties and
"stored" properties (those that have a setter but no getter). At a
first glance I can't see any dependencies so you should be able to use
the code without tweaking apart from the module organization.
Hope it helps.