Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

ExtUtils::ParseXS::Eval (3)

Name

ExtUtils::ParseXS::Eval - Clean package to evaluate code in

Synopsis

use ExtUtils::ParseXS::Eval;
my $rv = ExtUtils::ParseXS::Eval::eval_typemap_code(
$parsexs_obj, "some Perl code"
);

Description

Perl Programmers Reference Guide
                                                    ExtUtils::ParseXS::Eval(3)



NAME
       ExtUtils::ParseXS::Eval - Clean package to evaluate code in

SYNOPSIS
         use ExtUtils::ParseXS::Eval;
         my $rv = ExtUtils::ParseXS::Eval::eval_typemap_code(
           $parsexs_obj, "some Perl code"
         );

SUBROUTINES
   $pxs->eval_output_typemap_code($typemapcode, $other_hashref)
       Sets up various bits of previously global state (formerly
       ExtUtils::ParseXS package variables) for eval'ing output typemap code
       that may refer to these variables.

       Warns the contents of $@ if any.

       Not all these variables are necessarily considered "public" wrt. use in
       typemaps, so beware. Variables set up from the ExtUtils::ParseXS
       object:

         $Package $ALIAS $func_name $Full_func_name $pname

       Variables set up from $other_hashref:

         $var $type $ntype $subtype $arg

   $pxs->eval_input_typemap_code($typemapcode, $other_hashref)
       Sets up various bits of previously global state (formerly
       ExtUtils::ParseXS package variables) for eval'ing output typemap code
       that may refer to these variables.

       Warns the contents of $@ if any.

       Not all these variables are necessarily considered "public" wrt. use in
       typemaps, so beware. Variables set up from the ExtUtils::ParseXS
       object:

         $Package $ALIAS $func_name $Full_func_name $pname

       Variables set up from $other_hashref:

         $var $type $ntype $subtype $num $init $printed_name $arg $argoff

TODO
       Eventually, with better documentation and possible some cleanup, this
       could be part of "ExtUtils::Typemaps".



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+-----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE     |
       +---------------+-----------------------+
       |Availability   | runtime/perl-532      |
       +---------------+-----------------------+
       |Stability      | Pass-through volatile |
       +---------------+-----------------------+

NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       http://www.cpan.org/src/5.0/perl-5.32.0.tar.gz.

       Further information about this software can be found on the open source
       community website at https://www.perl.org/.



perl v5.32.0                      2020-06-14
                                                    ExtUtils::ParseXS::Eval(3)