better script using python
[tridge/junkcode.git] / string.c
1 #include <stdio.h>
2
3 typedef char fstring[128];
4
5 #define SIZEOF(x) ((sizeof(x)==4?nosuchfn():sizeof(x)))
6
7 void foo(fstring x)
8 {
9         printf("sizeof x = %d\n", sizeof(x));
10 }
11
12 main()
13 {
14         fstring x;
15         printf("sizeof x = %d\n", sizeof(x));
16         foo(x);
17 }