aboutsummaryrefslogtreecommitdiffhomepage
path: root/applause.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2016-01-04 16:10:37 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2016-01-04 16:10:37 +0100
commit85311841ceb326b3b2bd14ff5364049df0d2f14f (patch)
tree88b66a8f3b82061b0a581f0fb220ef5da93974a9 /applause.c
parentae2f864873a8af097b1b4ec5ff020ec2d8d33d85 (diff)
downloadapplause2-85311841ceb326b3b2bd14ff5364049df0d2f14f.tar.gz
major class system revision: Support :instanceof(), dedicated ctor() methods and construction using the Class() idiom
* Class:instanceof() deprecates several fields like is_azipstream; is_a_stream is still useful * Constructors are now defined as ordinary methods (looks better) * every object and class table now has a `base` field that points to the base class since getmetatable() will no longer point to the base table/class. * Objects can be constructed both using Class:new() and Class(). The old behaviour of stream() for serialization is used less frequently. * Streams can be serialized using the Stream:eval() method. I don't think that the object system should be tweaked even more to support different metamethods for class tables and objects as it is quite convoluted already.
Diffstat (limited to 'applause.c')
0 files changed, 0 insertions, 0 deletions