Skip to content

Instantly share code, notes, and snippets.

@JensAyton
Last active December 15, 2015 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JensAyton/5284761 to your computer and use it in GitHub Desktop.
Save JensAyton/5284761 to your computer and use it in GitHub Desktop.
// Expansion of JATExpandLiteral(@"foo: {foo}; bar: {bar}; baz: {baz}", foo, bar, baz)
JAT_DoExpandTemplateUsingMacroKeysAndValues(@"foo: {foo}; bar: {bar}; baz: {baz}", (JATNameArray){ @"foo", @"bar", @"baz", ((void*)0) }, (JATParameterArray){ JATCastParameter(foo), JATCastParameter(bar), JATCastParameter(baz), ((void*)0) }, 3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment