If you write the module yourself, the simplest way would be:
    
    
    macro myMacro(body: typed): typed =
      # do things here
      #
      # do not forget to add the original procs to the output!
    
    myMacro:
      proc proc1*() = discard
      proc proc2*() = discard
      
      # ...
    

Reply via email to