about crSET_STATE0 and crSET_STA

hello guys I’m thinking hard to find a way to use only one macro crSET_STATE(xHandle) in macro crQUEUE_SEND instead of using crSET_STATE0 and crSET_STATE1. But I failed. Do anyone know if there is auto-count macro in C language Or how we can implement it? I think this macro will add 1 each time when we use it. If it’s usable, we can use it instead of __LINE__. Regards.

about crSET_STATE0 and crSET_STA

Don’t all jump at once ;-)