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