1 /*
2  * pycall.auto.h
3  *
4  * Copyright (C) 2002 Maurizio Umberto Puxeddu, Michael Gogins
5  *
6  * This software is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This software is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this software; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
19  */
20 
21 typedef struct {
22     OPDS    h;
23     STRINGDAT *function;
24     MYFLT   *args[VARGMAX-3];
25 } PYCALL0;
26 
27 typedef struct {
28     OPDS    h;
29     MYFLT   *trigger;
30     STRINGDAT *function;
31     MYFLT   *args[VARGMAX-3];
32 } PYCALL0T;
33 
34 typedef struct {
35     OPDS    h;
36     MYFLT   *result;
37     STRINGDAT *function;
38     MYFLT   *args[VARGMAX-3];
39 } PYCALL1;
40 
41 typedef struct {
42     OPDS    h;
43     MYFLT   *result;
44     MYFLT   *trigger;
45     STRINGDAT *function;
46     MYFLT   *args[VARGMAX-3];
47     MYFLT   oresult;
48 } PYCALL1T;
49 
50 typedef struct {
51     OPDS    h;
52     MYFLT   *result1;
53     MYFLT   *result2;
54     STRINGDAT *function;
55     MYFLT   *args[VARGMAX-3];
56 } PYCALL2;
57 
58 typedef struct {
59     OPDS    h;
60     MYFLT   *result1;
61     MYFLT   *result2;
62     MYFLT   *trigger;
63     STRINGDAT *function;
64     MYFLT   *args[VARGMAX-3];
65     MYFLT   oresult1;
66     MYFLT   oresult2;
67 } PYCALL2T;
68 
69 typedef struct {
70     OPDS    h;
71     MYFLT   *result1;
72     MYFLT   *result2;
73     MYFLT   *result3;
74     STRINGDAT *function;
75     MYFLT   *args[VARGMAX-3];
76 } PYCALL3;
77 
78 typedef struct {
79     OPDS    h;
80     MYFLT   *result1;
81     MYFLT   *result2;
82     MYFLT   *result3;
83     MYFLT   *trigger;
84     STRINGDAT *function;
85     MYFLT   *args[VARGMAX-3];
86     MYFLT   oresult1;
87     MYFLT   oresult2;
88     MYFLT   oresult3;
89 } PYCALL3T;
90 
91 typedef struct {
92     OPDS    h;
93     MYFLT   *result1;
94     MYFLT   *result2;
95     MYFLT   *result3;
96     MYFLT   *result4;
97     STRINGDAT *function;
98     MYFLT   *args[VARGMAX-3];
99 } PYCALL4;
100 
101 typedef struct {
102     OPDS    h;
103     MYFLT   *result1;
104     MYFLT   *result2;
105     MYFLT   *result3;
106     MYFLT   *result4;
107     MYFLT   *trigger;
108     STRINGDAT *function;
109     MYFLT   *args[VARGMAX-3];
110     MYFLT   oresult1;
111     MYFLT   oresult2;
112     MYFLT   oresult3;
113     MYFLT   oresult4;
114 } PYCALL4T;
115 
116 typedef struct {
117     OPDS    h;
118     MYFLT   *result1;
119     MYFLT   *result2;
120     MYFLT   *result3;
121     MYFLT   *result4;
122     MYFLT   *result5;
123     STRINGDAT *function;
124     MYFLT   *args[VARGMAX-3];
125 } PYCALL5;
126 
127 typedef struct {
128     OPDS    h;
129     MYFLT   *result1;
130     MYFLT   *result2;
131     MYFLT   *result3;
132     MYFLT   *result4;
133     MYFLT   *result5;
134     MYFLT   *trigger;
135     STRINGDAT *function;
136     MYFLT   *args[VARGMAX-3];
137     MYFLT   oresult1;
138     MYFLT   oresult2;
139     MYFLT   oresult3;
140     MYFLT   oresult4;
141     MYFLT   oresult5;
142 } PYCALL5T;
143 
144 typedef struct {
145     OPDS    h;
146     MYFLT   *result1;
147     MYFLT   *result2;
148     MYFLT   *result3;
149     MYFLT   *result4;
150     MYFLT   *result5;
151     MYFLT   *result6;
152     STRINGDAT *function;
153     MYFLT   *args[VARGMAX-3];
154 } PYCALL6;
155 
156 typedef struct {
157     OPDS    h;
158     MYFLT   *result1;
159     MYFLT   *result2;
160     MYFLT   *result3;
161     MYFLT   *result4;
162     MYFLT   *result5;
163     MYFLT   *result6;
164     MYFLT   *trigger;
165     STRINGDAT *function;
166     MYFLT   *args[VARGMAX-3];
167     MYFLT   oresult1;
168     MYFLT   oresult2;
169     MYFLT   oresult3;
170     MYFLT   oresult4;
171     MYFLT   oresult5;
172     MYFLT   oresult6;
173 } PYCALL6T;
174 
175 typedef struct {
176     OPDS    h;
177     MYFLT   *result1;
178     MYFLT   *result2;
179     MYFLT   *result3;
180     MYFLT   *result4;
181     MYFLT   *result5;
182     MYFLT   *result6;
183     MYFLT   *result7;
184     STRINGDAT *function;
185     MYFLT   *args[VARGMAX-3];
186 } PYCALL7;
187 
188 typedef struct {
189     OPDS    h;
190     MYFLT   *result1;
191     MYFLT   *result2;
192     MYFLT   *result3;
193     MYFLT   *result4;
194     MYFLT   *result5;
195     MYFLT   *result6;
196     MYFLT   *result7;
197     MYFLT   *trigger;
198     STRINGDAT *function;
199     MYFLT   *args[VARGMAX-3];
200     MYFLT   oresult1;
201     MYFLT   oresult2;
202     MYFLT   oresult3;
203     MYFLT   oresult4;
204     MYFLT   oresult5;
205     MYFLT   oresult6;
206     MYFLT   oresult7;
207 } PYCALL7T;
208 
209 typedef struct {
210     OPDS    h;
211     MYFLT   *result1;
212     MYFLT   *result2;
213     MYFLT   *result3;
214     MYFLT   *result4;
215     MYFLT   *result5;
216     MYFLT   *result6;
217     MYFLT   *result7;
218     MYFLT   *result8;
219     STRINGDAT *function;
220     MYFLT   *args[VARGMAX-3];
221 } PYCALL8;
222 
223 typedef struct {
224     OPDS    h;
225     MYFLT   *result1;
226     MYFLT   *result2;
227     MYFLT   *result3;
228     MYFLT   *result4;
229     MYFLT   *result5;
230     MYFLT   *result6;
231     MYFLT   *result7;
232     MYFLT   *result8;
233     MYFLT   *trigger;
234     STRINGDAT *function;
235     MYFLT   *args[VARGMAX-3];
236     MYFLT   oresult1;
237     MYFLT   oresult2;
238     MYFLT   oresult3;
239     MYFLT   oresult4;
240     MYFLT   oresult5;
241     MYFLT   oresult6;
242     MYFLT   oresult7;
243     MYFLT   oresult8;
244 } PYCALL8T;
245 
246