Hi,
Is there any reason for the /do { ...... } while(0);/ in the GET_USER_FUNC macro?
-Adam
Adam Rimon wrote:
Is there any reason for the /do { ...... } while(0);/ in the GET_USER_FUNC macro?
It's a standard way of making sure that the macro is safe if you put it after an if statement or similar without opening a new block.