title: __VA_ARGS__ Macro expansion
body: <p>I'm trying to get my macro to work like <code>NSLog()</code> which accepts variable arguments. Code below causes parse issues.</p>
  
  <p>What is the correct way to define this?</p>
  
  <pre><code>#define TF_CHECKPOINT(f, ...) \
  do { \
  NSString *s = [[NSString alloc] initWithFormat:f arguments:__VA_ARGS__] autorelease]; \
  [TestFlight passCheckpoint:[NSString stringWithFormat:@"%@: %@", [self class], s]]; \
  } while (0)
  </code></pre>