The best is if this is a macro, since interfacing with C code (global vars).