@@ -88,25 +88,32 @@ BEGIN {
88
88
89
89
our @FIELDS = (
90
90
@ExtUtils::ParseXS::Node::FIELDS ,
91
- ' type' , # The C type of the parameter
92
- ' arg_num' , # The arg number (starting at 1) mapped to this param
91
+
92
+ # values derived from the XSUB's signature
93
+ ' in_out' , # The IN/OUT/OUTLIST etc value (if any)
93
94
' var' , # the name of the parameter
95
+ ' arg_num' , # The arg number (starting at 1) mapped to this param
94
96
' default' , # default value (if any)
95
97
' default_usage' , # how to report default value in "usage:..." error
96
- ' proto' , # overridden prototype char(s) (if any) from typemap
97
- ' in_out' , # The IN/OUT/OUTLIST etc value (if any)
98
- ' defer' , # deferred initialisation template code
99
- ' init' , # initialisation template code
100
- ' init_op' , # initialisation type: one of =/+/;
101
- ' no_init' , # don't initialise the parameter
102
- ' is_addr' , # INPUT var declared as '&foo'
103
98
' is_ansi' , # param's type was specified in signature
104
99
' is_length' , # param is declared as 'length(foo)' in signature
105
100
' len_name' , # the 'foo' in 'length(foo)' in signature
106
- ' is_alien' , # var declared in INPUT line, but not in signature
107
101
' is_synthetic' ,# var like 'THIS' - we pretend it was in the sig
102
+
103
+ # values derived from both the XSUB's signature and/or INPUT line
104
+ ' type' , # The C type of the parameter
105
+ ' no_init' , # don't initialise the parameter
106
+
107
+ # values derived from the XSUB's INPUT line
108
+ ' init_op' , # initialisation type: one of =/+/;
109
+ ' init' , # initialisation template code
110
+ ' is_addr' , # INPUT var declared as '&foo'
111
+ ' is_alien' , # var declared in INPUT line, but not in signature
108
112
' in_input' , # the parameter has appeared in an INPUT statement
109
113
114
+ # derived values calculated later
115
+ ' defer' , # deferred initialisation template code
116
+ ' proto' , # overridden prototype char(s) (if any) from typemap
110
117
);
111
118
112
119
fields-> import (@FIELDS ) if $USING_FIELDS ;
0 commit comments