annotate conv/c.c @ 60:aa779bcffef7

CwC converters
author kono
date Wed, 19 Feb 2003 21:22:49 +0900
parents
children 8ad746efa4f8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
60
aa779bcffef7 CwC converters
kono
parents:
diff changeset
1 #define EXTERN /**/
aa779bcffef7 CwC converters
kono
parents:
diff changeset
2
aa779bcffef7 CwC converters
kono
parents:
diff changeset
3 #include "mc.h"
aa779bcffef7 CwC converters
kono
parents:
diff changeset
4
aa779bcffef7 CwC converters
kono
parents:
diff changeset
5 static void print(char *);
aa779bcffef7 CwC converters
kono
parents:
diff changeset
6
aa779bcffef7 CwC converters
kono
parents:
diff changeset
7 Converter c_converter = {
aa779bcffef7 CwC converters
kono
parents:
diff changeset
8 &print
aa779bcffef7 CwC converters
kono
parents:
diff changeset
9 };
aa779bcffef7 CwC converters
kono
parents:
diff changeset
10
aa779bcffef7 CwC converters
kono
parents:
diff changeset
11 static FILE *vout;
aa779bcffef7 CwC converters
kono
parents:
diff changeset
12
aa779bcffef7 CwC converters
kono
parents:
diff changeset
13 static void
aa779bcffef7 CwC converters
kono
parents:
diff changeset
14 print(char *s)
aa779bcffef7 CwC converters
kono
parents:
diff changeset
15 {
aa779bcffef7 CwC converters
kono
parents:
diff changeset
16 fprintf(vout,"c: %s\n",s);
aa779bcffef7 CwC converters
kono
parents:
diff changeset
17 }