Fooling around with Blocks in C to create pseudo-classes and -instances
Find a file
2013-02-01 21:53:43 +01:00
.gitignore basic object-like system in C 2013-02-01 10:24:37 +01:00
COPYING context and boilerplate 2013-02-01 12:12:38 +01:00
main.c cosmetic touches 2013-02-01 21:53:33 +01:00
Makefile basic object-like system in C 2013-02-01 10:24:37 +01:00
README.mdown subtly more precise 2013-02-01 21:53:43 +01:00

C Blocks Closure-Objects

Fooling around with Blocks in C to create pseudo-classes and -instances.

Usage

make
./main

Optionnally, set CC:

CC=clang make

But mainly, read the source.

Requirements

A compiler that supports C blocks, like clang (whatever the plaform) or GCC with Apple's block patches.

Wishes

I wish C11 had blocks as standard, and GCC get on board, and the FSF and Apple stop fighting over copyright assignment blocking an otherwise fine patch merge.