ExtUtils::XSBuilder::WrapXS - create perl XS wrappers for C functions
For more information, see ExtUtils::XSBuilder
Returns an array ref of new ParseSource objects for all source files that should be used to generate XS files
Returns a new typemap object
Returns a new podtemplate object
Returns a list of XS include files.
Default: use all include files that ParseSource::find_includes returns, but strip path info
ParseSource::find_includes
Returns a list of additional XS glue directories to seach for maps in.
Returns a directory which serves as a base for other directories.
Default: '.'
'.'
Returns the directory to search for map files in
Default: <xs_base_dir/xsbuilder/maps>
<xs_base_dir
Returns the directory to search for files to include into the source. For example, <xs_incsrc_dir/Apache/DAV/Resource/Resource_pm> will be included into the Apache::DAV::Resource module.
<xs_incsrc_dir
Apache::DAV::Resource
Default: <xs_base_dir/xsbuilder>
Returns a directory to search for include files for pm and XS
Default: <xs_base_dir/xsinclude>
Returns the directory to write generated XS and header files in
Default: <xs_base_dir/xs>
Returns text for Makefile.PL
Defines a prefix for generated header files
Default: 'xs_'
'xs_'
Defines a prefix used for all XS functions
Defines a prefix used for all conversion functions/macros.
Default: my_xs_prefix
my_xs_prefix
Returns true if the passed name should be prefixed
Returns the text of a .pm file, or undef if no .pm file should be written.
.pm
Default: Create a .pm file which bootstraps the XS code
Called for each structure element that is written to the map file by checkmaps. Allows the user to change the element name, for example adding a different perl name.
Default: returns the element unmodified
Called for each function that is written to the map file by checkmaps. Allows the user to change the function name, for example adding a different perl name.
To install ExtUtils::XSBuilder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ExtUtils::XSBuilder
CPAN shell
perl -MCPAN -e shell install ExtUtils::XSBuilder
For more information on module installation, please visit the detailed CPAN module installation guide.