Skip to content

Instantly share code, notes, and snippets.

@SynnaxCrab
Created March 9, 2012 09:47
Show Gist options
  • Save SynnaxCrab/2005872 to your computer and use it in GitHub Desktop.
Save SynnaxCrab/2005872 to your computer and use it in GitHub Desktop.
Clang Block in C
#include <stdio.h>
int main()
{
int (^static_add)(int) = ^(int a) {
return a + 1;
};
printf("%d\n", static_add(1));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment