Fix confusing position of {
This commit is contained in:
1 parent
7f0b6208a4
commit
289a3fdc71
1 file changed
+2
-2
@@ -344,9 +344,9 @@ Or even shorter when you're confortable enough:
|
||||
|
||||
int main(void) {
|
||||
// Let's define & init 'z1=42' and 'z2=17' to be 'mpz_t'
|
||||
M_LET ((z1,42), (z2,17), mpz_t) {
|
||||
M_LET ((z1,42), (z2,17), mpz_t)
|
||||
// Let's define 'array' as an 'array_mpz_t' with 'z1' and 'z2'
|
||||
M_LET((array,z1,z2), array_mpz_t)
|
||||
M_LET((array,z1,z2), array_mpz_t) {
|
||||
// Let's iterate over all items of the container
|
||||
for M_EACH(item, array, array_mpz_t) {
|
||||
gmp_printf("%Zd\n", *item);
|
||||
|
||||
Reference in new issue
Block a user