X-Git-Url: http://git.thejh.net/?p=libjh.git;a=blobdiff_plain;f=control_structures.c;fp=control_structures.c;h=2891ea65277e457788c9d63a8093fed397f0fe3c;hp=0000000000000000000000000000000000000000;hb=d8f6e4ade23d1a31e538244c596c7d459738b9e8;hpb=db23824f0c7b41e3cdbf74b3cf80acf2c65f5bda diff --git a/control_structures.c b/control_structures.c new file mode 100644 index 0000000..2891ea6 --- /dev/null +++ b/control_structures.c @@ -0,0 +1,4 @@ +// Copyright (2013) Jann Horn + +HEADER #define FOR_EACH_IN_ARRAY(array,array_len,element) \ +HEADER for (typeof(array[0]) *element = &(array)[0]; element < &(array)[array_len]; element++) \ No newline at end of file