Mattia Barbon > ExtUtils-XSpp-0.17_01 > ExtUtils::XSpp::Typemap

Download:
ExtUtils-XSpp-0.17_01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  5
Open  4
View/Report Bugs
Source   Latest Release: ExtUtils-XSpp-0.18

NAME ^

ExtUtils::XSpp::Typemap - map types

METHODS ^

ExtUtils::XSpp::Typemap::type

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.

ExtUtils::XSpp::Typemap::input_code( perl_argument_name, cpp_var_name1, ... )

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

ExtUtils::XSpp::Typemap::output_code( perl_variable, c_variable )

ExtUtils::XSpp::Typemap::cleanup_code( perl_variable, c_variable )

ExtUtils::XSpp::Typemap::call_parameter_code( parameter_name )

ExtUtils::XSpp::Typemap::call_function_code( function_call_code, return_variable )

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.

syntax highlighting: