source: cpp/gdk/f0classes.m4 @ 5

Last change on this file since 5 was 5, checked in by sz, 15 years ago

added the GDK (Genotype Development Kit)

File size: 1020 bytes
Line 
1divert(-1)
2
3define(`NEUROPROP',`dnl')
4define(`NEUROCLASS',`dnl')
5define(`VISUALHINTS',`dnl')
6define(`ENDNEUROCLASS',`dnl')
7define(`SYMBOL',`dnl')
8
9define(`CLASS',
10`divert`'dnl
11#define FIELDSTRUCT $1
12ParamEntry $2_paramtab[]=
13{divert(3)dnl
14"$3" dnl
15divert(5)dnl
16ParamEntry $2_xtra_paramtab[]=
17{
18 {"Extra properties",1,divert(6),"$3"},
19divert(1)dnl
20define(`numgroups',0)dnl
21define(`numprops',0)dnl
22define(`numxprops',0)dnl
23')
24define(`PROP',`divert(4)dnl
25define(`numprops',incr(numprops))dnl
26 {"$1",$2,$3,"$4",ifelse($6,,"$5","$5 $6 $7 $8"),ifelse($10,,FIELD($9),$10($9)),},')
27define(`XPROP',dnl
28`PROP($@)define(`numxprops',incr(numxprops))dnl
29divert(6) {"$1",0,$3,"$4",ifelse($6,,"$5","$5 $6 $7 $8"),ifelse($10,,FIELD($9),$10($9)),},
30divert(4)')dnl
31define(`GROUP',` {"$1",divert(3)},define(`numgroups',incr(numgroups))')
32define(`ENDCLASS',` {0,0,0,}
33};
34divert(2)numgroups,numprops,divert`'dnl
35undivert(1)undivert(2)undivert(3)undivert(4)undivert(5)numxprops`'undivert(6) {0,0,0,}
36};
37#undef FIELDSTRUCT
38')
39changecom
40divert
Note: See TracBrowser for help on using the repository browser.