3

One of those "you have got to be kidding me moments":

struct Speaker: UnitNode, MemBufferBase {
typedef UnitNode super;


}

And then elsewhere:

#define Node UnitNode
#define Speaker AudioSpeaker

Never seen anyone typedef base class as super in C++ nor use a #defined variable as a class name. And of course elsewhere in the code class names are normal literal a but are referenced via a #define (and sometimes not via the #define)... The same obfustication done two different ways!

Comments
Add Comment