Macros
Helper functions
Sometimes when we are using C languages, we may need some macro function to help us simply the code.
If there is change of API, we need to only change the macro function.
This would be useful to maintain legacy code base.
The syntax can be referred from below.
Token pasting operator
Some helper function can be much powerful as shown below with token pasting operator.
The macro would actually help to paste function definition with return value of status.
This pasted code for calling
would result in
Last updated