1XSBuilder::WrapXS(3)  User Contributed Perl Documentation XSBuilder::WrapXS(3)
2
3
4

NAME

6       ExtUtils::XSBuilder::WrapXS - create perl XS wrappers for C functions
7
8   DESCRIPTION
9       For more information, see ExtUtils::XSBuilder
10
11   new_parsesource (o)
12       Returns an array ref of new ParseSource objects for all source files
13       that should be used to generate XS files
14
15   new_typemap (o)
16       Returns a new typemap object
17
18   new_podtemplate (o)
19       Returns a new podtemplate object
20
21   xs_includes (o)
22       Returns a list of XS include files.
23
24       Default: use all include files that "ParseSource::find_includes"
25       returns, but strip path info
26
27   xs_glue_dirs (o)
28       Returns a list of additional XS glue directories to seach for maps in.
29
30   xs_base_dir (o)
31       Returns a directory which serves as a base for other directories.
32
33       Default: '.'
34
35   xs_map_dir (o)
36       Returns the directory to search for map files in
37
38       Default: "<xs_base_dir"/xsbuilder/maps>
39
40   xs_incsrc_dir (o)
41       Returns the directory to search for files to include into the source.
42       For example, "<xs_incsrc_dir"/Apache/DAV/Resource/Resource_pm> will be
43       included into the "Apache::DAV::Resource" module.
44
45       Default: "<xs_base_dir"/xsbuilder>
46
47   xs_include_dir (o)
48       Returns a directory to search for include files for pm and XS
49
50       Default: "<xs_base_dir"/xsinclude>
51
52   xs_target_dir (o)
53       Returns the directory to write generated XS and header files in
54
55       Default: "<xs_base_dir"/xs>
56
57   makefilepl_text (o)
58       Returns text for Makefile.PL
59
60   h_filename_prefix (o)
61       Defines a prefix for generated header files
62
63       Default: 'xs_'
64
65   my_xs_prefix (o)
66       Defines a prefix used for all XS functions
67
68       Default: 'xs_'
69
70   my_cnv_prefix (o)
71       Defines a prefix used for all conversion functions/macros.
72
73       Default: "my_xs_prefix"
74
75   needs_prefix (o, name)
76       Returns true if the passed name should be prefixed
77
78   pm_text (o, module, isa, code)
79       Returns the text of a ".pm" file, or undef if no ".pm" file should be
80       written.
81
82       Default: Create a ".pm" file which bootstraps the XS code
83
84   mapline_elem  (o, elem)
85       Called for each structure element that is written to the map file by
86       checkmaps. Allows the user to change the element name, for example
87       adding a different perl name.
88
89       Default: returns the element unmodified
90
91   mapline_func  (o)
92       Called for each function that is written to the map file by checkmaps.
93       Allows the user to change the function name, for example adding a
94       different perl name.
95
96       Default: returns the element unmodified
97
98
99
100perl v5.34.0                      2022-01-21              XSBuilder::WrapXS(3)
Impressum