Debian Codegraph @

upstream/mageia-cauldron/man3pm/ExtUtils::ParseXS::Eval.3pm

raw
1 .\" -*- mode: troff; coding: utf-8 -*-
2 .\" Automatically generated by Pod::Man v6.0.2 (Pod::Simple 3.45)
3 .\"
4 .\" Standard preamble:
5 .\" ========================================================================
6 .de Sp \" Vertical space (when we can't use .PP)
7 .if t .sp .5v
8 .if n .sp
9 ..
10 .de Vb \" Begin verbatim text
11 .ft CW
12 .nf
13 .ne \\$1
14 ..
15 .de Ve \" End verbatim text
16 .ft R
17 .fi
18 ..
19 .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
20 .ie n \{\
21 . ds C` ""
22 . ds C' ""
23 'br\}
24 .el\{\
25 . ds C`
26 . ds C'
27 'br\}
28 .\"
29 .\" Escape single quotes in literal strings from groff's Unicode transform.
30 .ie \n(.g .ds Aq \(aq
31 .el .ds Aq '
32 .\"
33 .\" If the F register is >0, we'll generate index entries on stderr for
34 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
35 .\" entries marked with X<> in POD. Of course, you'll have to process the
36 .\" output yourself in some meaningful fashion.
37 .\"
38 .\" Avoid warning from groff about undefined register 'F'.
39 .de IX
40 ..
41 .nr rF 0
42 .if \n(.g .if rF .nr rF 1
43 .if (\n(rF:(\n(.g==0)) \{\
44 . if \nF \{\
45 . de IX
46 . tm Index:\\$1\t\\n%\t"\\$2"
47 ..
48 . if !\nF==2 \{\
49 . nr % 0
50 . nr F 2
51 . \}
52 . \}
53 .\}
54 .rr rF
55 .\"
56 .\" Required to disable full justification in groff 1.23.0.
57 .if n .ds AD l
58 .\" ========================================================================
59 .\"
60 .IX Title "ExtUtils::ParseXS::Eval 3pm"
61 .TH ExtUtils::ParseXS::Eval 3pm 2025-06-24 "perl v5.42.0" "Perl Programmers Reference Guide"
62 .\" For nroff, turn off justification. Always turn off hyphenation; it makes
63 .\" way too many mistakes in technical documents.
64 .if n .ad l
65 .nh
66 .SH NAME
67 ExtUtils::ParseXS::Eval \- Clean package to evaluate code in
68 .SH SYNOPSIS
69 .IX Header "SYNOPSIS"
70 .Vb 4
71 \& use ExtUtils::ParseXS::Eval;
72 \& my $rv = ExtUtils::ParseXS::Eval::eval_typemap_code(
73 \& $parsexs_obj, "some Perl code"
74 \& );
75 .Ve
76 .SH SUBROUTINES
77 .IX Header "SUBROUTINES"
78 .ie n .SS "$pxs\->eval_output_typemap_code($typemapcode, $other_hashref)"
79 .el .SS "\f(CW$pxs\fP\->eval_output_typemap_code($typemapcode, \f(CW$other_hashref\fP)"
80 .IX Subsection "$pxs->eval_output_typemap_code($typemapcode, $other_hashref)"
81 Sets up various bits of previously global state
82 (formerly ExtUtils::ParseXS package variables)
83 for eval\*(Aqing output typemap code that may refer to these
84 variables.
85 .PP
86 Warns the contents of \f(CW$@\fR if any.
87 .PP
88 Not all these variables are necessarily considered "public" wrt. use in
89 typemaps, so beware. Variables set up from the ExtUtils::ParseXS object:
90 .PP
91 .Vb 1
92 \& $Package $ALIAS $func_name $Full_func_name $pname
93 .Ve
94 .PP
95 Variables set up from \f(CW$other_hashref\fR:
96 .PP
97 .Vb 1
98 \& $var $type $ntype $subtype $arg
99 .Ve
100 .ie n .SS "$pxs\->eval_input_typemap_code($typemapcode, $other_hashref)"
101 .el .SS "\f(CW$pxs\fP\->eval_input_typemap_code($typemapcode, \f(CW$other_hashref\fP)"
102 .IX Subsection "$pxs->eval_input_typemap_code($typemapcode, $other_hashref)"
103 Sets up various bits of previously global state
104 (formerly ExtUtils::ParseXS package variables)
105 for eval\*(Aqing output typemap code that may refer to these
106 variables.
107 .PP
108 Warns the contents of \f(CW$@\fR if any.
109 .PP
110 Not all these variables are necessarily considered "public" wrt. use in
111 typemaps, so beware. Variables set up from the ExtUtils::ParseXS object:
112 .PP
113 .Vb 1
114 \& $Package $ALIAS $func_name $Full_func_name $pname
115 .Ve
116 .PP
117 Variables set up from \f(CW$other_hashref\fR:
118 .PP
119 .Vb 1
120 \& $var $type $ntype $subtype $num $init $printed_name $arg $argoff
121 .Ve
122 .SH TODO
123 .IX Header "TODO"
124 Eventually, with better documentation and possible some cleanup,
125 this could be part of \f(CW\*(C`ExtUtils::Typemaps\*(C'\fR.