How to implemt C macro with assert : I work on a C project, it implements a kind of polymorphism , using macros

    void method1Instrumentation(void*);
    bool method1Instrumentation(void*);
    bool method1Instrumentation(void*);
    
    #define method1(arg) method1Instrumentation(arg)
    #define method2(arg) method2Instrumentation(arg)
    #define method3(arg) method32Instrumentation(arg)
For each of `method1Instrumentation, method2Instrumentation, method3Instrumentation` there are several implementations. Based on internal configuration , compiler "chooses" the appropriate function.
I (probably) can\`t change the given design.
But I need to add `asserts` to `method*`.

 is works fine

    #define method1(arg) assert(arg == null) method1Instrumentation(arg)

doesn`t work (compilation problems)

    #define method2(arg) assert(arg == null) method2Instrumentation(arg)
The problem occurs since the original code has following calls

    if(method2(arg))
    {
    }
How should I add an `assets` following the limitations I have?
