1ExtUtils::ParseXS::EvalU(s3e)r Contributed Perl DocumentaEtxitoUntils::ParseXS::Eval(3)
2
3
4
6 ExtUtils::ParseXS::Eval - Clean package to evaluate code in
7
9 use ExtUtils::ParseXS::Eval;
10 my $rv = ExtUtils::ParseXS::Eval::eval_typemap_code(
11 $parsexs_obj, "some Perl code"
12 );
13
15 $pxs->eval_output_typemap_code($typemapcode, $other_hashref)
16 Sets up various bits of previously global state (formerly
17 ExtUtils::ParseXS package variables) for eval'ing output typemap code
18 that may refer to these variables.
19
20 Warns the contents of $@ if any.
21
22 Not all these variables are necessarily considered "public" wrt. use in
23 typemaps, so beware. Variables set up from the ExtUtils::ParseXS
24 object:
25
26 $Package $ALIAS $func_name $Full_func_name $pname
27
28 Variables set up from $other_hashref:
29
30 $var $type $ntype $subtype $arg
31
32 $pxs->eval_input_typemap_code($typemapcode, $other_hashref)
33 Sets up various bits of previously global state (formerly
34 ExtUtils::ParseXS package variables) for eval'ing output typemap code
35 that may refer to these variables.
36
37 Warns the contents of $@ if any.
38
39 Not all these variables are necessarily considered "public" wrt. use in
40 typemaps, so beware. Variables set up from the ExtUtils::ParseXS
41 object:
42
43 $Package $ALIAS $func_name $Full_func_name $pname
44
45 Variables set up from $other_hashref:
46
47 $var $type $ntype $subtype $num $init $printed_name $arg $argoff
48
50 Eventually, with better documentation and possible some cleanup, this
51 could be part of "ExtUtils::Typemaps".
52
53
54
55perl v5.32.1 2021-01-27 ExtUtils::ParseXS::Eval(3)