1ExtUtils::XSpp::TypemapU(s3e)r Contributed Perl DocumentaEtxitoUntils::XSpp::Typemap(3)
2
3
4
6 ExtUtils::XSpp::Typemap - map types
7
9 ExtUtils::XSpp::Typemap::type
10 Returns the ExtUtils::XSpp::Node::Type that is used for this typemap.
11
12 ExtUtils::XSpp::Typemap::xs_type()
13 (Optional) XS typemap identifier (e.g. T_IV) for this C++ type.
14
15 ExtUtils::XSpp::Typemap::xs_input_code()
16 (Optional) XS input code for the associated XS typemap.
17
18 ExtUtils::XSpp::Typemap::xs_output_code()
19 (Optional) XS output code for the associated XS typemap.
20
21 ExtUtils::XSpp::Typemap::cpp_type()
22 Returns the C++ type to be used for the local variable declaration.
23
24 ExtUtils::XSpp::Typemap::input_code( perl_argument_name, cpp_var_name1, ...
25 )
26 Code to put the contents of the perl_argument (typically ST(x)) into
27 the C++ variable(s).
28
29 ExtUtils::XSpp::Typemap::output_code( perl_variable, c_variable )
30 ExtUtils::XSpp::Typemap::cleanup_code( perl_variable, c_variable )
31 ExtUtils::XSpp::Typemap::call_parameter_code( parameter_name )
32 ExtUtils::XSpp::Typemap::call_function_code( function_call_code,
33 return_variable )
34 Allows modifying the code used in the function/method call. The first
35 parameter has the form "THIS-"method( <args> )>, the second parameter
36 is a variable to hold the return value.
37
38
39
40perl v5.36.0 2023-01-20 ExtUtils::XSpp::Typemap(3)