Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XSBuilder::WrapXS(3)  User Contributed Perl Documentation XSBuilder::WrapXS(3)

NAME
       ExtUtils::XSBuilder::WrapXS - create perl XS wrappers for C functions

   DESCRIPTION
       For more	information, see ExtUtils::XSBuilder

   new_parsesource (o)
       Returns an array	ref of new ParseSource objects for all source files
       that should be used to generate XS files

   new_typemap (o)
       Returns a new typemap object

   new_podtemplate (o)
       Returns a new podtemplate object

   xs_includes (o)
       Returns a list of XS include files.

       Default:	use all	include	files that "ParseSource::find_includes"
       returns,	but strip path info

   xs_glue_dirs	(o)
       Returns a list of additional XS glue directories	to seach for maps in.

   xs_base_dir (o)
       Returns a directory which serves	as a base for other directories.

       Default:	'.'

   xs_map_dir (o)
       Returns the directory to	search for map files in

       Default:	"<xs_base_dir"/xsbuilder/maps>

   xs_incsrc_dir (o)
       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>

   xs_include_dir (o)
       Returns a directory to search for include files for pm and XS

       Default:	"<xs_base_dir"/xsinclude>

   xs_target_dir (o)
       Returns the directory to	write generated	XS and header files in

       Default:	"<xs_base_dir"/xs>

   makefilepl_text (o)
       Returns text for	Makefile.PL

   h_filename_prefix (o)
       Defines a prefix	for generated header files

       Default:	'xs_'

   my_xs_prefix	(o)
       Defines a prefix	used for all XS	functions

       Default:	'xs_'

   my_cnv_prefix (o)
       Defines a prefix	used for all conversion	functions/macros.

       Default:	"my_xs_prefix"

   needs_prefix	(o, name)
       Returns true if the passed name should be prefixed

   pm_text (o, module, isa, code)
       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

   mapline_elem	 (o, elem)
       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

   mapline_func	 (o)
       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

perl v5.24.1			  2005-08-31		  XSBuilder::WrapXS(3)

NAME

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=ExtUtils::XSBuilder::WrapXS&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help