Note: For some extensions, Dave Beazley's SWIG system may provide a
significantly more convenient mechanism for creating the extension glue
-code. See L<http://www.cs.utah.edu/~beazley/SWIG> for more
+code. See L<http://www.swig.org> for more
information.
=head2 On The Road
Default values for XSUB arguments can be specified by placing an
assignment statement in the parameter list. The default value may
-be a number, a string or the special string C<undef>. Defaults should
+be a number, a string or the special string C<NO_INIT>. Defaults should
always be used on the right-most parameters only.
To allow the XSUB for rpcb_gettime() to have a default host
You could also write a single get/set method using an optional argument:
int
- color::blue( val = undef )
+ color::blue( val = NO_INIT )
int val
PROTOTYPE $;$
CODE: