Lines Matching refs:INPUT
5 * supporting output arguments, input values, and other C function
16 // INPUT typemaps.
17 // These remap a C pointer to be an "INPUT" value which is passed by value
23 "input" value. That is, instead of passing a pointer to an object,
26 int *INPUT
27 short *INPUT
28 long *INPUT
29 long long *INPUT
30 unsigned int *INPUT
31 unsigned short *INPUT
32 unsigned long *INPUT
33 unsigned long long *INPUT
34 unsigned char *INPUT
35 bool *INPUT
36 float *INPUT
37 double *INPUT
48 double fadd(double *INPUT, double *INPUT);
53 %apply double *INPUT { double *a, double *b };
59 %typemap(in) type *INPUT(type temp), type &INPUT(type temp) {
60 temp = (type) converter($input);
63 %typemap(typecheck) type *INPUT = type;
64 %typemap(typecheck) type &INPUT = type;
78 %typemap(in) bool *INPUT(bool temp), bool &INPUT(bool temp) {
79 temp = SvIV($input) ? true : false;
82 %typemap(typecheck) bool *INPUT = bool;
83 %typemap(typecheck) bool &INPUT = bool;
85 %typemap(in) long long *INPUT($*1_ltype temp), long long &INPUT($*1_ltype temp) {
86 temp = strtoll(SvPV_nolen($input), 0, 0);
89 %typemap(typecheck) long long *INPUT = long long;
90 %typemap(typecheck) long long &INPUT = long long;
92 %typemap(in) unsigned long long *INPUT($*1_ltype temp), unsigned long long &INPUT($*1_ltype temp) {
93 temp = strtoull(SvPV_nolen($input), 0, 0);
96 %typemap(typecheck) unsigned long long *INPUT = unsigned long long;
97 %typemap(typecheck) unsigned long long &INPUT = unsigned long long;
108 value. When calling a function, no input value would be given for
227 // Mappings for an argument that is both an input and output
232 an input and output value. This combines the behavior of both the
233 "INPUT" and "OUTPUT" methods described earlier. Output values are
266 Unlike C, this mapping does not directly modify the input value.
267 Rather, the modified input value shows up as the return value of the
275 %typemap(in) int *INOUT = int *INPUT;
276 %typemap(in) short *INOUT = short *INPUT;
277 %typemap(in) long *INOUT = long *INPUT;
278 %typemap(in) unsigned *INOUT = unsigned *INPUT;
279 %typemap(in) unsigned short *INOUT = unsigned short *INPUT;
280 %typemap(in) unsigned long *INOUT = unsigned long *INPUT;
281 %typemap(in) unsigned char *INOUT = unsigned char *INPUT;
282 %typemap(in) signed char *INOUT = signed char *INPUT;
283 %typemap(in) bool *INOUT = bool *INPUT;
284 %typemap(in) float *INOUT = float *INPUT;
285 %typemap(in) double *INOUT = double *INPUT;
286 %typemap(in) long long *INOUT = long long *INPUT;
287 %typemap(in) unsigned long long *INOUT = unsigned long long *INPUT;
289 %typemap(in) int &INOUT = int &INPUT;
290 %typemap(in) short &INOUT = short &INPUT;
291 %typemap(in) long &INOUT = long &INPUT;
292 %typemap(in) unsigned &INOUT = unsigned &INPUT;
293 %typemap(in) unsigned short &INOUT = unsigned short &INPUT;
294 %typemap(in) unsigned long &INOUT = unsigned long &INPUT;
295 %typemap(in) unsigned char &INOUT = unsigned char &INPUT;
296 %typemap(in) signed char &INOUT = signed char &INPUT;
297 %typemap(in) bool &INOUT = bool &INPUT;
298 %typemap(in) float &INOUT = float &INPUT;
299 %typemap(in) double &INOUT = double &INPUT;
300 %typemap(in) long long &INOUT = long long &INPUT;
301 %typemap(in) unsigned long long &INOUT = unsigned long long &INPUT;