DOKK / manpages / debian 11 / libextutils-xspp-perl / ExtUtils::XSpp::Typemap.3pm.en
ExtUtils::XSpp::Typemap(3pm) User Contributed Perl Documentation ExtUtils::XSpp::Typemap(3pm)

ExtUtils::XSpp::Typemap - map types

Returns the ExtUtils::XSpp::Node::Type that is used for this typemap.

ExtUtils::XSpp::Typemap::xs_type()

(Optional) XS typemap identifier (e.g. T_IV) for this C++ type.

ExtUtils::XSpp::Typemap::xs_input_code()

(Optional) XS input code for the associated XS typemap.

ExtUtils::XSpp::Typemap::xs_output_code()

(Optional) XS output code for the associated XS typemap.

ExtUtils::XSpp::Typemap::cpp_type()

Returns the C++ type to be used for the local variable declaration.

Code to put the contents of the perl_argument (typically ST(x)) into the C++ variable(s).

Allows modifying the code used in the function/method call. The first parameter has the form "THIS-"method( <args> )>, the second parameter is a variable to hold the return value.

2020-12-29 perl v5.32.0