Closed mhinsch closed 9 years ago
With macro concatenation all callback setters can be unified to one function. Even better - the macro can be conditionally defined so that it resolves to an empty statement when compiling for the bots (another '#ifdef' less in user code).
Needs userdata.h which consequently might need to be renamed.
Also, requires documentation.
With macro concatenation all callback setters can be unified to one function. Even better - the macro can be conditionally defined so that it resolves to an empty statement when compiling for the bots (another '#ifdef' less in user code).