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