title: how to pass block as a macro's argument in objective-c?
body: <p>In my code i have a lot of code like:</p>
  
  <pre><code>if (block) block(....)
  </code></pre>
  
  <p>So I want to define a macro, something like</p>
  
  <pre><code>#define safetyCall(block, ...) if((block)) {block(##__VA_ARGS__)};
  </code></pre>
  
  <p>But i couldn't get it to work. Any idea?</p>