XSBuilder::WrapXS(3) User Contributed Perl Documentation XSBuilder::WrapXS(3)

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

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>

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.

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_'

Defines a prefix used for all XS functions

Default: 'xs_'

Defines a prefix used for all conversion functions/macros.

Default: "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.

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.

Default: returns the element unmodified

2024-07-13 perl v5.38.2