Modify TR_INSTANCE to get variable argument list for the initialization values, effectively remove the need for this ugly stray closing curly bracket. Add TR_objectInit function which allows to call the constructor on an already existing object. Remove not used variable argument list on _TR_CALL and fix corresponding makros.
fix macro
add missing includes for logger
make added logger code build correct unter trbase
macro to cast one static instance to another class type. ATTENTION: no checks are done if the given class is really a parent of the instances class.
create a static global logger as a default logger. For now this logs everything on stderr.
modify static instance generation so that static instances of a class can now be created anywhere. But the class needs to be prepared for this after its definition (TR_INSTANCE_INIT).
small fix... I have to mark the class structure as extern in the header file.