Re-enable access to protected functions
commit8e9ea60ac091af4107b2ae18ccdd8d12413945f8
authorMichal Kottman <michal.kottman@gmail.com>
Sat, 5 Jan 2013 17:35:20 +0000 (5 18:35 +0100)
committerMichal Kottman <michal.kottman@gmail.com>
Sat, 5 Jan 2013 17:35:20 +0000 (5 18:35 +0100)
treed992081231849784e5585a58c41b6dcc1491f672
parent35828c7dad9018f8d9d7225ce2009a0af7bce5eb
Re-enable access to protected functions

This change enables the ability to emit protected signals. This is a
little controversial, because it makes protected methods public.

Features the infamous ugly C++ hack: #define protected public
generator/classes.lua
generator/signalslot.lua
generator/virtuals.lua
test/protected_test.lua [new file with mode: 0644]