Lines Matching refs:INPUT
6 * These mappings provide support for input/output arguments and
8 * pointer variables in addition to input/output arguments.
17 supporting output arguments, input values, and other C function
26 // These mappings provide support for input/output arguments and common
30 // INPUT typemaps.
31 // These remap a C pointer to be an "INPUT" value which is passed by value
36 "input" value. That is, instead of passing a pointer to an object,
39 int *INPUT
40 short *INPUT
41 long *INPUT
42 long long *INPUT
43 unsigned int *INPUT
44 unsigned short *INPUT
45 unsigned long *INPUT
46 unsigned long long *INPUT
47 unsigned char *INPUT
48 bool *INPUT
49 float *INPUT
50 double *INPUT
61 double fadd(double *INPUT, double *INPUT);
66 %apply double *INPUT { double *a, double *b };
72 %typemap(in) type *INPUT($*1_ltype temp), type &INPUT($*1_ltype temp)
74 temp = ($*1_ltype) converter($input);
77 %typemap(typecheck) type *INPUT = type;
78 %typemap(typecheck) type &INPUT = type;
103 value. When calling a function, no input value would be given for
171 // Mappings for an argument that is both an input and output
176 an input and output value. This combines the behavior of both the
177 "INPUT" and "OUTPUT" methods described earlier. Output values are
210 Unlike C, this mapping does not directly modify the input value (since
211 this makes no sense in Ruby). Rather, the modified input value shows
218 input/output arguments. This is still supported, but will be slowly
223 %typemap(in) int *INOUT = int *INPUT;
224 %typemap(in) short *INOUT = short *INPUT;
225 %typemap(in) long *INOUT = long *INPUT;
226 %typemap(in) long long *INOUT = long long *INPUT;
227 %typemap(in) unsigned *INOUT = unsigned *INPUT;
228 %typemap(in) unsigned short *INOUT = unsigned short *INPUT;
229 %typemap(in) unsigned long *INOUT = unsigned long *INPUT;
230 %typemap(in) unsigned long long *INOUT = unsigned long long *INPUT;
231 %typemap(in) unsigned char *INOUT = unsigned char *INPUT;
232 %typemap(in) signed char *INOUT = signed char *INPUT;
233 %typemap(in) bool *INOUT = bool *INPUT;
234 %typemap(in) float *INOUT = float *INPUT;
235 %typemap(in) double *INOUT = double *INPUT;
237 %typemap(in) int &INOUT = int &INPUT;
238 %typemap(in) short &INOUT = short &INPUT;
239 %typemap(in) long &INOUT = long &INPUT;
240 %typemap(in) long long &INOUT = long long &INPUT;
241 %typemap(in) unsigned &INOUT = unsigned &INPUT;
242 %typemap(in) unsigned short &INOUT = unsigned short &INPUT;
243 %typemap(in) unsigned long &INOUT = unsigned long &INPUT;
244 %typemap(in) unsigned long long &INOUT = unsigned long long &INPUT;
245 %typemap(in) unsigned char &INOUT = unsigned char &INPUT;
246 %typemap(in) signed char &INOUT = signed char &INPUT;
247 %typemap(in) bool &INOUT = bool &INPUT;
248 %typemap(in) float &INOUT = float &INPUT;
249 %typemap(in) double &INOUT = double &INPUT;