ExtUtils::ParseXS::Eval(3p)

ExtUtils::ParseXS::Eval3p

Clean package to evaluate code in

Usage

  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".

Releases

25 releases since OpenBSD 5.7; the text changed 17 times.

  1. 5.7
  2. 5.8–5.9
  3. 6.0
  4. 6.1
  5. 6.2
  6. 6.3–6.4
  7. 6.5
  8. 6.6
  9. 6.7
  10. 6.8
  11. 6.9–7.2
  12. 7.3
  13. 7.4
  14. 7.5
  15. 7.6
  16. 7.7–7.8
  17. 7.9
  18. 8.0

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's man source.