File Coverage

blib/lib/Perl/APIReference/V5_008_000.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 1 1 100.0
total 20 20 100.0


line stmt bran cond sub pod time code
1             package Perl::APIReference::V5_008_000;
2 1     1   7 use strict;
  1         2  
  1         60  
3 1     1   6 use warnings;
  1         2  
  1         44  
4 1     1   7 use parent 'Perl::APIReference';
  1         2  
  1         8  
5              
6             sub new {
7 1     1 1 3 my $class = shift;
8 1         2 my $VAR1;
9              
10 1         2 do{$VAR1 = {'SvOOK' => {'text' => 'Returns a boolean indicating whether the SvIVX is a valid offset value for
  1         909  
11             the SvPVX. This hack is used internally to speed up removal of characters
12             from the beginning of a SvPV. When SvOOK is true, then the start of the
13             allocated string buffer is really (SvPVX - SvIVX).
14              
15             bool SvOOK(SV* sv)','name' => 'SvOOK'},'hv_store_ent' => {'text' => 'Stores C in a hash. The hash key is specified as C. The C
16             parameter is the precomputed hash value; if it is zero then Perl will
17             compute it. The return value is the new hash entry so created. It will be
18             NULL if the operation failed or if the value did not need to be actually
19             stored within the hash (as in the case of tied hashes). Otherwise the
20             contents of the return value can be accessed using the C macros
21             described here. Note that the caller is responsible for suitably
22             incrementing the reference count of C before the call, and
23             decrementing it if the function returned NULL.
24              
25             See L for more
26             information on how to use this function on tied hashes.
27              
28             HE* hv_store_ent(HV* tb, SV* key, SV* val, U32 hash)','name' => 'hv_store_ent'},'gv_stashsv' => {'text' => 'Returns a pointer to the stash for a specified package, which must be a
29             valid UTF-8 string. See C.
30              
31             HV* gv_stashsv(SV* sv, I32 create)','name' => 'gv_stashsv'},'newXSproto' => {'text' => 'Used by C to hook up XSUBs as Perl subs. Adds Perl prototypes to
32             the subs.','name' => 'newXSproto'},'XSRETURN_NV' => {'text' => 'Return a double from an XSUB immediately. Uses C.
33              
34             void XSRETURN_NV(NV nv)','name' => 'XSRETURN_NV'},'strGE' => {'text' => 'Test two strings to see if the first, C, is greater than or equal to
35             the second, C. Returns true or false.
36              
37             bool strGE(char* s1, char* s2)','name' => 'strGE'},'form' => {'text' => 'Takes a sprintf-style format pattern and conventional
38             (non-SV) arguments and returns the formatted string.
39              
40             (char *) Perl_form(pTHX_ const char* pat, ...)
41              
42             can be used any place a string (char *) is required:
43              
44             char * s = Perl_form("%d.%d",major,minor);
45              
46             Uses a single private buffer so if you want to format several strings you
47             must explicitly copy the earlier strings away (and free the copies when you
48             are done).
49              
50             char* form(const char* pat, ...)','name' => 'form'},'SvPV' => {'text' => 'Returns a pointer to the string in the SV, or a stringified form of
51             the SV if the SV does not contain a string. The SV may cache the
52             stringified version becoming C. Handles \'get\' magic. See also
53             C for a version which guarantees to evaluate sv only once.
54              
55             char* SvPV(SV* sv, STRLEN len)','name' => 'SvPV'},'is_utf8_string' => {'text' => 'Returns true if first C bytes of the given string form a valid UTF8
56             string, false otherwise. Note that \'a valid UTF8 string\' does not mean
57             \'a string that contains UTF8\' because a valid ASCII string is a valid
58             UTF8 string.
59              
60             bool is_utf8_string(U8 *s, STRLEN len)','name' => 'is_utf8_string'},'svtype' => {'text' => 'An enum of flags for Perl types. These are found in the file B
61             in the C enum. Test these flags with the C macro.','name' => 'svtype'},'hv_clear' => {'text' => 'Clears a hash, making it empty.
62              
63             void hv_clear(HV* tb)','name' => 'hv_clear'},'get_hv' => {'text' => 'Returns the HV of the specified Perl hash. If C is set and the
64             Perl variable does not exist then it will be created. If C is not
65             set and the variable does not exist then NULL is returned.
66              
67             NOTE: the perl_ form of this function is deprecated.
68              
69             HV* get_hv(const char* name, I32 create)','name' => 'get_hv'},'load_module' => {'text' => 'Loads the module whose name is pointed to by the string part of name.
70             Note that the actual module name, not its filename, should be given.
71             Eg, "Foo::Bar" instead of "Foo/Bar.pm". flags can be any of
72             PERL_LOADMOD_DENY, PERL_LOADMOD_NOIMPORT, or PERL_LOADMOD_IMPORT_OPS
73             (or 0 for no flags). ver, if specified, provides version semantics
74             similar to C. The optional trailing SV*
75             arguments can be used to specify arguments to the module\'s import()
76             method, similar to C.
77              
78             void load_module(U32 flags, SV* name, SV* ver, ...)','name' => 'load_module'},'XSRETURN_YES' => {'text' => 'Return C<&PL_sv_yes> from an XSUB immediately. Uses C.
79              
80             XSRETURN_YES;','name' => 'XSRETURN_YES'},'sv_nv' => {'text' => 'A private implementation of the C macro for compilers which can\'t
81             cope with complex macro expressions. Always use the macro instead.
82              
83             NV sv_nv(SV* sv)','name' => 'sv_nv'},'Renewc' => {'text' => 'The XSUB-writer\'s interface to the C C function, with
84             cast.
85              
86             void Renewc(void* ptr, int nitems, type, cast)','name' => 'Renewc'},'Poison' => {'text' => 'Fill up memory with a pattern (byte 0xAB over and over again) that
87             hopefully catches attempts to access uninitialized memory.
88              
89             void Poison(void* dest, int nitems, type)','name' => 'Poison'},'sv_insert' => {'text' => 'Inserts a string at the specified offset/length within the SV. Similar to
90             the Perl substr() function.
91              
92             void sv_insert(SV* bigsv, STRLEN offset, STRLEN len, char* little, STRLEN littlelen)','name' => 'sv_insert'},'sv_catpvf_mg' => {'text' => 'Like C, but also handles \'set\' magic.
93              
94             void sv_catpvf_mg(SV *sv, const char* pat, ...)','name' => 'sv_catpvf_mg'},'SvPOK_off' => {'text' => 'Unsets the PV status of an SV.
95              
96             void SvPOK_off(SV* sv)','name' => 'SvPOK_off'},'SvPOK' => {'text' => 'Returns a boolean indicating whether the SV contains a character
97             string.
98              
99             bool SvPOK(SV* sv)','name' => 'SvPOK'},'get_sv' => {'text' => 'Returns the SV of the specified Perl scalar. If C is set and the
100             Perl variable does not exist then it will be created. If C is not
101             set and the variable does not exist then NULL is returned.
102              
103             NOTE: the perl_ form of this function is deprecated.
104              
105             SV* get_sv(const char* name, I32 create)','name' => 'get_sv'},'PUSHu' => {'text' => 'Push an unsigned integer onto the stack. The stack must have room for this
106             element. See C.
107              
108             void PUSHu(UV uv)','name' => 'PUSHu'},'newSVsv' => {'text' => 'Creates a new SV which is an exact duplicate of the original SV.
109             (Uses C).
110              
111             SV* newSVsv(SV* old)','name' => 'newSVsv'},'hv_magic' => {'text' => 'Adds magic to a hash. See C.
112              
113             void hv_magic(HV* hv, GV* gv, int how)','name' => 'hv_magic'},'SvPVutf8' => {'text' => 'Like C, but converts sv to utf8 first if necessary.
114              
115             char* SvPVutf8(SV* sv, STRLEN len)','name' => 'SvPVutf8'},'sv_setpv_mg' => {'text' => 'Like C, but also handles \'set\' magic.
116              
117             void sv_setpv_mg(SV *sv, const char *ptr)','name' => 'sv_setpv_mg'},'XS' => {'text' => 'Macro to declare an XSUB and its C parameter list. This is handled by
118             C.','name' => 'XS'},'scan_oct' => {'text' => 'For backwards compatibility. Use C instead.
119              
120             NV scan_oct(char* start, STRLEN len, STRLEN* retlen)','name' => 'scan_oct'},'sv_setpvn' => {'text' => 'Copies a string into an SV. The C parameter indicates the number of
121             bytes to be copied. Does not handle \'set\' magic. See C.
122              
123             void sv_setpvn(SV* sv, const char* ptr, STRLEN len)','name' => 'sv_setpvn'},'sv_2mortal' => {'text' => 'Marks an existing SV as mortal. The SV will be destroyed "soon", either
124             by an explicit call to FREETMPS, or by an implicit call at places such as
125             statement boundaries. See also C and C.
126              
127             SV* sv_2mortal(SV* sv)','name' => 'sv_2mortal'},'mg_magical' => {'text' => 'Turns on the magical status of an SV. See C.
128              
129             void mg_magical(SV* sv)','name' => 'mg_magical'},'newSVrv' => {'text' => 'Creates a new SV for the RV, C, to point to. If C is not an RV then
130             it will be upgraded to one. If C is non-null then the new SV will
131             be blessed in the specified package. The new SV is returned and its
132             reference count is 1.
133              
134             SV* newSVrv(SV* rv, const char* classname)','name' => 'newSVrv'},'strnEQ' => {'text' => 'Test two strings to see if they are equal. The C parameter indicates
135             the number of bytes to compare. Returns true or false. (A wrapper for
136             C).
137              
138             bool strnEQ(char* s1, char* s2, STRLEN len)','name' => 'strnEQ'},'av_undef' => {'text' => 'Undefines the array. Frees the memory used by the array itself.
139              
140             void av_undef(AV* ar)','name' => 'av_undef'},'HeKEY' => {'text' => 'Returns the actual pointer stored in the key slot of the hash entry. The
141             pointer may be either C or C, depending on the value of
142             C. Can be assigned to. The C or C macros are
143             usually preferable for finding the value of a key.
144              
145             void* HeKEY(HE* he)','name' => 'HeKEY'},'pack_cat' => {'text' => 'The engine implementing pack() Perl function.
146              
147             void pack_cat(SV *cat, char *pat, char *patend, SV **beglist, SV **endlist, SV ***next_in_list, U32 flags)','name' => 'pack_cat'},'utf8n_to_uvuni' => {'text' => 'Bottom level UTF-8 decode routine.
148             Returns the unicode code point value of the first character in the string C
149             which is assumed to be in UTF8 encoding and no longer than C;
150             C will be set to the length, in bytes, of that character.
151              
152             If C does not point to a well-formed UTF8 character, the behaviour
153             is dependent on the value of C: if it contains UTF8_CHECK_ONLY,
154             it is assumed that the caller will raise a warning, and this function
155             will silently just set C to C<-1> and return zero. If the
156             C does not contain UTF8_CHECK_ONLY, warnings about
157             malformations will be given, C will be set to the expected
158             length of the UTF-8 character in bytes, and zero will be returned.
159              
160             The C can also contain various flags to allow deviations from
161             the strict UTF-8 encoding (see F).
162              
163             Most code should use utf8_to_uvchr() rather than call this directly.
164              
165             UV utf8n_to_uvuni(U8 *s, STRLEN curlen, STRLEN* retlen, U32 flags)','name' => 'utf8n_to_uvuni'},'sv_cmp' => {'text' => 'Compares the strings in two SVs. Returns -1, 0, or 1 indicating whether the
166             string in C is less than, equal to, or greater than the string in
167             C. Is UTF-8 and \'use bytes\' aware, handles get magic, and will
168             coerce its args to strings if necessary. See also C.
169              
170             I32 sv_cmp(SV* sv1, SV* sv2)','name' => 'sv_cmp'},'SvNIOK_off' => {'text' => 'Unsets the NV/IV status of an SV.
171              
172             void SvNIOK_off(SV* sv)','name' => 'SvNIOK_off'},'SvEND' => {'text' => 'Returns a pointer to the last character in the string which is in the SV.
173             See C. Access the character as *(SvEND(sv)).
174              
175             char* SvEND(SV* sv)','name' => 'SvEND'},'sv_magic' => {'text' => 'Adds magic to an SV. First upgrades C to type C if necessary,
176             then adds a new magic item of type C to the head of the magic list.
177              
178             void sv_magic(SV* sv, SV* obj, int how, const char* name, I32 namlen)','name' => 'sv_magic'},'mg_free' => {'text' => 'Free any magic storage used by the SV. See C.
179              
180             int mg_free(SV* sv)','name' => 'mg_free'},'GIMME_V' => {'text' => 'The XSUB-writer\'s equivalent to Perl\'s C. Returns C,
181             C or C for void, scalar or list context,
182             respectively.
183              
184             U32 GIMME_V','name' => 'GIMME_V'},'sv_force_normal_flags' => {'text' => 'Undo various types of fakery on an SV: if the PV is a shared string, make
185             a private copy; if we\'re a ref, stop refing; if we\'re a glob, downgrade to
186             an xpvmg. The C parameter gets passed to C
187             when unrefing. C calls this function with flags set to 0.
188              
189             void sv_force_normal_flags(SV *sv, U32 flags)','name' => 'sv_force_normal_flags'},'dMARK' => {'text' => 'Declare a stack marker variable, C, for the XSUB. See C and
190             C.
191              
192             dMARK;','name' => 'dMARK'},'sv_setsv_flags' => {'text' => 'Copies the contents of the source SV C into the destination SV
193             C. The source SV may be destroyed if it is mortal, so don\'t use this
194             function if the source SV needs to be reused. Does not handle \'set\' magic.
195             Loosely speaking, it performs a copy-by-value, obliterating any previous
196             content of the destination.
197             If the C parameter has the C bit set, will C on
198             C if appropriate, else not. C and C are
199             implemented in terms of this function.
200              
201             You probably want to use one of the assortment of wrappers, such as
202             C, C, C and
203             C.
204              
205             This is the primary function for copying scalars, and most other
206             copy-ish functions and macros use this underneath.
207              
208             void sv_setsv_flags(SV* dsv, SV* ssv, I32 flags)','name' => 'sv_setsv_flags'},'sv_utf8_upgrade_flags' => {'text' => 'Convert the PV of an SV to its UTF8-encoded form.
209             Forces the SV to string form if it is not already.
210             Always sets the SvUTF8 flag to avoid future validity checks even
211             if all the bytes have hibit clear. If C has C bit set,
212             will C on C if appropriate, else not. C and
213             C are implemented in terms of this function.
214              
215             This is not as a general purpose byte encoding to Unicode interface:
216             use the Encode extension for that.
217              
218             STRLEN sv_utf8_upgrade_flags(SV *sv, I32 flags)','name' => 'sv_utf8_upgrade_flags'},'New' => {'text' => 'The XSUB-writer\'s interface to the C C function.
219              
220             void New(int id, void* ptr, int nitems, type)','name' => 'New'},'is_utf8_char' => {'text' => 'Tests if some arbitrary number of bytes begins in a valid UTF-8
221             character. Note that an INVARIANT (i.e. ASCII) character is a valid
222             UTF-8 character. The actual number of bytes in the UTF-8 character
223             will be returned if it is valid, otherwise 0.
224              
225             STRLEN is_utf8_char(U8 *p)','name' => 'is_utf8_char'},'Copy' => {'text' => 'The XSUB-writer\'s interface to the C C function. The C is the
226             source, C is the destination, C is the number of items, and C is
227             the type. May fail on overlapping copies. See also C.
228              
229             void Copy(void* src, void* dest, int nitems, type)','name' => 'Copy'},'ibcmp_utf8' => {'text' => 'Return true if the strings s1 and s2 differ case-insensitively, false
230             if not (if they are equal case-insensitively). If u1 is true, the
231             string s1 is assumed to be in UTF-8-encoded Unicode. If u2 is true,
232             the string s2 is assumed to be in UTF-8-encoded Unicode. If u1 or u2
233             are false, the respective string is assumed to be in native 8-bit
234             encoding.
235              
236             If the pe1 and pe2 are non-NULL, the scanning pointers will be copied
237             in there (they will point at the beginning of the I character).
238             If the pointers behind pe1 or pe2 are non-NULL, they are the end
239             pointers beyond which scanning will not continue under any
240             circustances. If the byte lengths l1 and l2 are non-zero, s1+l1 and
241             s2+l2 will be used as goal end pointers that will also stop the scan,
242             and which qualify towards defining a successful match: all the scans
243             that define an explicit length must reach their goal pointers for
244             a match to succeed).
245              
246             For case-insensitiveness, the "casefolding" of Unicode is used
247             instead of upper/lowercasing both the characters, see
248             http://www.unicode.org/unicode/reports/tr21/ (Case Mappings).
249              
250             I32 ibcmp_utf8(const char* a, char **pe1, UV l1, bool u1, const char* b, char **pe2, UV l2, bool u2)','name' => 'ibcmp_utf8'},'CvSTASH' => {'text' => 'Returns the stash of the CV.
251              
252             HV* CvSTASH(CV* cv)','name' => 'CvSTASH'},'sv_taint' => {'text' => 'Taint an SV. Use C instead.
253             void sv_taint(SV* sv)','name' => 'sv_taint'},'SvNOK_off' => {'text' => 'Unsets the NV status of an SV.
254              
255             void SvNOK_off(SV* sv)','name' => 'SvNOK_off'},'sv_replace' => {'text' => 'Make the first argument a copy of the second, then delete the original.
256             The target SV physically takes over ownership of the body of the source SV
257             and inherits its flags; however, the target keeps any magic it owns,
258             and any magic in the source is discarded.
259             Note that this is a rather specialist SV copying operation; most of the
260             time you\'ll want to use C or one of its many macro front-ends.
261              
262             void sv_replace(SV* sv, SV* nsv)','name' => 'sv_replace'},'utf8n_to_uvchr' => {'text' => 'Returns the native character value of the first character in the string C
263             which is assumed to be in UTF8 encoding; C will be set to the
264             length, in bytes, of that character.
265              
266             Allows length and flags to be passed to low level routine.
267              
268             UV utf8n_to_uvchr(U8 *s, STRLEN curlen, STRLEN* retlen, U32 flags)','name' => 'utf8n_to_uvchr'},'sv_utf8_upgrade' => {'text' => 'Convert the PV of an SV to its UTF8-encoded form.
269             Forces the SV to string form if it is not already.
270             Always sets the SvUTF8 flag to avoid future validity checks even
271             if all the bytes have hibit clear.
272              
273             This is not as a general purpose byte encoding to Unicode interface:
274             use the Encode extension for that.
275              
276             STRLEN sv_utf8_upgrade(SV *sv)','name' => 'sv_utf8_upgrade'},'SvIOK_notUV' => {'text' => 'Returns a boolean indicating whether the SV contains a signed integer.
277              
278             void SvIOK_notUV(SV* sv)','name' => 'SvIOK_notUV'},'G_ARRAY' => {'text' => 'Used to indicate list context. See C, C and
279             L.','name' => 'G_ARRAY'},'dXSARGS' => {'text' => 'Sets up stack and mark pointers for an XSUB, calling dSP and dMARK.
280             Sets up the C and C variables by calling C and C.
281             This is usually handled automatically by C.
282              
283             dXSARGS;','name' => 'dXSARGS'},'sv_2iv' => {'text' => 'Return the integer value of an SV, doing any necessary string conversion,
284             magic etc. Normally used via the C and C macros.
285              
286             IV sv_2iv(SV* sv)','name' => 'sv_2iv'},'savesharedpv' => {'text' => 'A version of C which allocates the duplicate string in memory
287             which is shared between threads.
288              
289             char* savesharedpv(const char* pv)','name' => 'savesharedpv'},'XS_VERSION_BOOTCHECK' => {'text' => 'Macro to verify that a PM module\'s $VERSION variable matches the XS
290             module\'s C variable. This is usually handled automatically by
291             C. See L.
292              
293             XS_VERSION_BOOTCHECK;','name' => 'XS_VERSION_BOOTCHECK'},'Safefree' => {'text' => 'The XSUB-writer\'s interface to the C C function.
294              
295             void Safefree(void* ptr)','name' => 'Safefree'},'isSPACE' => {'text' => 'Returns a boolean indicating whether the C C is whitespace.
296              
297             bool isSPACE(char ch)','name' => 'isSPACE'},'SvROK' => {'text' => 'Tests if the SV is an RV.
298              
299             bool SvROK(SV* sv)','name' => 'SvROK'},'new_vstring' => {'text' => 'Returns a pointer to the next character after the parsed
300             vstring, as well as updating the passed in sv.
301              
302             Function must be called like
303              
304             sv = NEWSV(92,5);
305             s = new_vstring(s,sv);
306              
307             The sv must already be large enough to store the vstring
308             passed in.
309              
310             char* new_vstring(char *vstr, SV *sv)','name' => 'new_vstring'},'sv_unref' => {'text' => 'Unsets the RV status of the SV, and decrements the reference count of
311             whatever was being referenced by the RV. This can almost be thought of
312             as a reversal of C. This is C with the C
313             being zero. See C.
314              
315             void sv_unref(SV* sv)','name' => 'sv_unref'},'SvSETMAGIC' => {'text' => 'Invokes C on an SV if it has \'set\' magic. This macro evaluates its
316             argument more than once.
317              
318             void SvSETMAGIC(SV* sv)','name' => 'SvSETMAGIC'},'G_EVAL' => {'text' => 'Used to force a Perl C wrapper around a callback. See
319             L.','name' => 'G_EVAL'},'sv_catsv_mg' => {'text' => 'Like C, but also handles \'set\' magic.
320              
321             void sv_catsv_mg(SV *dstr, SV *sstr)','name' => 'sv_catsv_mg'},'call_argv' => {'text' => 'Performs a callback to the specified Perl sub. See L.
322              
323             NOTE: the perl_ form of this function is deprecated.
324              
325             I32 call_argv(const char* sub_name, I32 flags, char** argv)','name' => 'call_argv'},'SvPV_nolen' => {'text' => 'Returns a pointer to the string in the SV, or a stringified form of
326             the SV if the SV does not contain a string. The SV may cache the
327             stringified form becoming C. Handles \'get\' magic.
328              
329             char* SvPV_nolen(SV* sv)','name' => 'SvPV_nolen'},'perl_clone' => {'text' => 'Create and return a new interpreter by cloning the current one.
330              
331             PerlInterpreter* perl_clone(PerlInterpreter* interp, UV flags)','name' => 'perl_clone'},'sv_setnv' => {'text' => 'Copies a double into the given SV, upgrading first if necessary.
332             Does not handle \'set\' magic. See also C.
333              
334             void sv_setnv(SV* sv, NV num)','name' => 'sv_setnv'},'sv_2nv' => {'text' => 'Return the num value of an SV, doing any necessary string or integer
335             conversion, magic etc. Normally used via the C and C
336             macros.
337              
338             NV sv_2nv(SV* sv)','name' => 'sv_2nv'},'SvSetSV' => {'text' => 'Calls C if dsv is not the same as ssv. May evaluate arguments
339             more than once.
340              
341             void SvSetSV(SV* dsb, SV* ssv)','name' => 'SvSetSV'},'XPUSHp' => {'text' => 'Push a string onto the stack, extending the stack if necessary. The C
342             indicates the length of the string. Handles \'set\' magic. See
343             C.
344              
345             void XPUSHp(char* str, STRLEN len)','name' => 'XPUSHp'},'sv_utf8_encode' => {'text' => 'Convert the PV of an SV to UTF8-encoded, but then turn off the C
346             flag so that it looks like octets again. Used as a building block
347             for encode_utf8 in Encode.xs
348              
349             void sv_utf8_encode(SV *sv)','name' => 'sv_utf8_encode'},'newHV' => {'text' => 'Creates a new HV. The reference count is set to 1.
350              
351             HV* newHV()','name' => 'newHV'},'strnNE' => {'text' => 'Test two strings to see if they are different. The C parameter
352             indicates the number of bytes to compare. Returns true or false. (A
353             wrapper for C).
354              
355             bool strnNE(char* s1, char* s2, STRLEN len)','name' => 'strnNE'},'strNE' => {'text' => 'Test two strings to see if they are different. Returns true or
356             false.
357              
358             bool strNE(char* s1, char* s2)','name' => 'strNE'},'SvUTF8_on' => {'text' => 'Turn on the UTF8 status of an SV (the data is not changed, just the flag).
359             Do not use frivolously.
360              
361             void SvUTF8_on(SV *sv)','name' => 'SvUTF8_on'},'sv_setpvn_mg' => {'text' => 'Like C, but also handles \'set\' magic.
362              
363             void sv_setpvn_mg(SV *sv, const char *ptr, STRLEN len)','name' => 'sv_setpvn_mg'},'sv_pvutf8n_force' => {'text' => 'A private implementation of the C macro for compilers
364             which can\'t cope with complex macro expressions. Always use the macro
365             instead.
366              
367             char* sv_pvutf8n_force(SV* sv, STRLEN* lp)','name' => 'sv_pvutf8n_force'},'savepv' => {'text' => 'Perl\'s version of C. Returns a pointer to a newly allocated
368             string which is a duplicate of C. The size of the string is
369             determined by C. The memory allocated for the new string can
370             be freed with the C function.
371              
372             char* savepv(const char* pv)','name' => 'savepv'},'toLOWER' => {'text' => 'Converts the specified character to lowercase.
373              
374             char toLOWER(char ch)','name' => 'toLOWER'},'bytes_from_utf8' => {'text' => 'Converts a string C of length C from UTF8 into byte encoding.
375             Unlike but like C, returns a pointer to
376             the newly-created string, and updates C to contain the new
377             length. Returns the original string if no conversion occurs, C
378             is unchanged. Do nothing if C points to 0. Sets C to
379             0 if C is converted or contains all 7bit characters.
380              
381             NOTE: this function is experimental and may change or be
382             removed without notice.
383              
384             U8* bytes_from_utf8(U8 *s, STRLEN *len, bool *is_utf8)','name' => 'bytes_from_utf8'},'newAV' => {'text' => 'Creates a new AV. The reference count is set to 1.
385              
386             AV* newAV()','name' => 'newAV'},'POPp' => {'text' => 'Pops a string off the stack. Deprecated. New code should provide
387             a STRLEN n_a and use POPpx.
388              
389             char* POPp','name' => 'POPp'},'HvNAME' => {'text' => 'Returns the package name of a stash. See C, C.
390              
391             char* HvNAME(HV* stash)','name' => 'HvNAME'},'sv_recode_to_utf8' => {'text' => 'The encoding is assumed to be an Encode object, on entry the PV
392             of the sv is assumed to be octets in that encoding, and the sv
393             will be converted into Unicode (and UTF-8).
394              
395             If the sv already is UTF-8 (or if it is not POK), or if the encoding
396             is not a reference, nothing is done to the sv. If the encoding is not
397             an C Encoding object, bad things will happen.
398             (See F and L).
399              
400             The PV of the sv is returned.
401              
402             char* sv_recode_to_utf8(SV* sv, SV *encoding)','name' => 'sv_recode_to_utf8'},'av_make' => {'text' => 'Creates a new AV and populates it with a list of SVs. The SVs are copied
403             into the array, so they may be freed after the call to av_make. The new AV
404             will have a reference count of 1.
405              
406             AV* av_make(I32 size, SV** svp)','name' => 'av_make'},'RETVAL' => {'text' => 'Variable which is setup by C to hold the return value for an
407             XSUB. This is always the proper type for the XSUB. See
408             L.
409              
410             (whatever) RETVAL','name' => 'RETVAL'},'HeSVKEY' => {'text' => 'Returns the key as an C, or C if the hash entry does not
411             contain an C key.
412              
413             SV* HeSVKEY(HE* he)','name' => 'HeSVKEY'},'SvUV' => {'text' => 'Coerces the given SV to an unsigned integer and returns it. See C
414             for a version which guarantees to evaluate sv only once.
415              
416             UV SvUV(SV* sv)','name' => 'SvUV'},'perl_run' => {'text' => 'Tells a Perl interpreter to run. See L.
417              
418             int perl_run(PerlInterpreter* interp)','name' => 'perl_run'},'sv_pvbyten' => {'text' => 'A private implementation of the C macro for compilers
419             which can\'t cope with complex macro expressions. Always use the macro
420             instead.
421              
422             char* sv_pvbyten(SV *sv, STRLEN *len)','name' => 'sv_pvbyten'},'sv_catsv_flags' => {'text' => 'Concatenates the string from SV C onto the end of the string in
423             SV C. Modifies C but not C. If C has C
424             bit set, will C on the SVs if appropriate, else not. C
425             and C are implemented in terms of this function.
426              
427             void sv_catsv_flags(SV* dsv, SV* ssv, I32 flags)','name' => 'sv_catsv_flags'},'Nullav' => {'text' => 'Null AV pointer.','name' => 'Nullav'},'sv_copypv' => {'text' => 'Copies a stringified representation of the source SV into the
428             destination SV. Automatically performs any necessary mg_get and
429             coercion of numeric values into strings. Guaranteed to preserve
430             UTF-8 flag even from overloaded objects. Similar in nature to
431             sv_2pv[_flags] but operates directly on an SV instead of just the
432             string. Mostly uses sv_2pv_flags to do its work, except when that
433             would lose the UTF-8\'ness of the PV.
434              
435             void sv_copypv(SV* dsv, SV* ssv)','name' => 'sv_copypv'},'sv_pv' => {'text' => 'Use the C macro instead
436              
437             char* sv_pv(SV *sv)','name' => 'sv_pv'},'SvPVutf8_nolen' => {'text' => 'Like C, but converts sv to utf8 first if necessary.
438              
439             char* SvPVutf8_nolen(SV* sv)','name' => 'SvPVutf8_nolen'},'sv_setnv_mg' => {'text' => 'Like C, but also handles \'set\' magic.
440              
441             void sv_setnv_mg(SV *sv, NV num)','name' => 'sv_setnv_mg'},'sv_true' => {'text' => 'Returns true if the SV has a true value by Perl\'s rules.
442             Use the C macro instead, which may call C or may
443             instead use an in-line version.
444              
445             I32 sv_true(SV *sv)','name' => 'sv_true'},'hv_iternextsv' => {'text' => 'Performs an C, C, and C in one
446             operation.
447              
448             SV* hv_iternextsv(HV* hv, char** key, I32* retlen)','name' => 'hv_iternextsv'},'utf8_to_bytes' => {'text' => 'Converts a string C of length C from UTF8 into byte encoding.
449             Unlike C, this over-writes the original string, and
450             updates len to contain the new length.
451             Returns zero on failure, setting C to -1.
452              
453             NOTE: this function is experimental and may change or be
454             removed without notice.
455              
456             U8* utf8_to_bytes(U8 *s, STRLEN *len)','name' => 'utf8_to_bytes'},'sv_pvbyten_force' => {'text' => 'A private implementation of the C macro for compilers
457             which can\'t cope with complex macro expressions. Always use the macro
458             instead.
459              
460             char* sv_pvbyten_force(SV* sv, STRLEN* lp)','name' => 'sv_pvbyten_force'},'sv_derived_from' => {'text' => 'Returns a boolean indicating whether the SV is derived from the specified
461             class. This is the function that implements C. It works
462             for class names as well as for objects.
463              
464             bool sv_derived_from(SV* sv, const char* name)','name' => 'sv_derived_from'},'SvIOK_on' => {'text' => 'Tells an SV that it is an integer.
465              
466             void SvIOK_on(SV* sv)','name' => 'SvIOK_on'},'sv_cmp_locale' => {'text' => 'Compares the strings in two SVs in a locale-aware manner. Is UTF-8 and
467             \'use bytes\' aware, handles get magic, and will coerce its args to strings
468             if necessary. See also C. See also C.
469              
470             I32 sv_cmp_locale(SV* sv1, SV* sv2)','name' => 'sv_cmp_locale'},'uvuni_to_utf8_flags' => {'text' => 'Adds the UTF8 representation of the Unicode codepoint C to the end
471             of the string C; C should be have at least C free
472             bytes available. The return value is the pointer to the byte after the
473             end of the new character. In other words,
474              
475             d = uvuni_to_utf8_flags(d, uv, flags);
476              
477             or, in most cases,
478              
479             d = uvuni_to_utf8(d, uv);
480              
481             (which is equivalent to)
482              
483             d = uvuni_to_utf8_flags(d, uv, 0);
484              
485             is the recommended Unicode-aware way of saying
486              
487             *(d++) = uv;
488              
489             U8* uvuni_to_utf8_flags(U8 *d, UV uv, UV flags)','name' => 'uvuni_to_utf8_flags'},'XST_mIV' => {'text' => 'Place an integer into the specified position C on the stack. The
490             value is stored in a new mortal SV.
491              
492             void XST_mIV(int pos, IV iv)','name' => 'XST_mIV'},'hv_exists' => {'text' => 'Returns a boolean indicating whether the specified hash key exists. The
493             C is the length of the key.
494              
495             bool hv_exists(HV* tb, const char* key, I32 klen)','name' => 'hv_exists'},'dSP' => {'text' => 'Declares a local copy of perl\'s stack pointer for the XSUB, available via
496             the C macro. See C.
497              
498             dSP;','name' => 'dSP'},'G_DISCARD' => {'text' => 'Indicates that arguments returned from a callback should be discarded. See
499             L.','name' => 'G_DISCARD'},'Nullsv' => {'text' => 'Null SV pointer.','name' => 'Nullsv'},'mg_length' => {'text' => 'Report on the SV\'s length. See C.
500              
501             U32 mg_length(SV* sv)','name' => 'mg_length'},'GvSV' => {'text' => 'Return the SV from the GV.
502              
503             SV* GvSV(GV* gv)','name' => 'GvSV'},'SvPVX' => {'text' => 'Returns a pointer to the physical string in the SV. The SV must contain a
504             string.
505              
506             char* SvPVX(SV* sv)','name' => 'SvPVX'},'XST_mNV' => {'text' => 'Place a double into the specified position C on the stack. The value
507             is stored in a new mortal SV.
508              
509             void XST_mNV(int pos, NV nv)','name' => 'XST_mNV'},'XPUSHi' => {'text' => 'Push an integer onto the stack, extending the stack if necessary. Handles
510             \'set\' magic. See C.
511              
512             void XPUSHi(IV iv)','name' => 'XPUSHi'},'HEf_SVKEY' => {'text' => 'This flag, used in the length slot of hash entries and magic structures,
513             specifies the structure contains an C pointer where a C pointer
514             is to be expected. (For information only--not to be used).','name' => 'HEf_SVKEY'},'POPi' => {'text' => 'Pops an integer off the stack.
515              
516             IV POPi','name' => 'POPi'},'utf8_length' => {'text' => 'Return the length of the UTF-8 char encoded string C in characters.
517             Stops at C (inclusive). If C s> or if the scan would end
518             up past C, croaks.
519              
520             STRLEN utf8_length(U8* s, U8 *e)','name' => 'utf8_length'},'SvPVutf8_force' => {'text' => 'Like C, but converts sv to utf8 first if necessary.
521              
522             char* SvPVutf8_force(SV* sv, STRLEN len)','name' => 'SvPVutf8_force'},'sv_2pvutf8_nolen' => {'text' => 'Return a pointer to the UTF8-encoded representation of the SV.
523             May cause the SV to be upgraded to UTF8 as a side-effect.
524              
525             Usually accessed via the C macro.
526              
527             char* sv_2pvutf8_nolen(SV* sv)','name' => 'sv_2pvutf8_nolen'},'SvTAINTED_on' => {'text' => 'Marks an SV as tainted.
528              
529             void SvTAINTED_on(SV* sv)','name' => 'SvTAINTED_on'},'SvIOK_only_UV' => {'text' => 'Tells and SV that it is an unsigned integer and disables all other OK bits.
530              
531             void SvIOK_only_UV(SV* sv)','name' => 'SvIOK_only_UV'},'sv_nolocking' => {'text' => 'Dummy routine which "locks" an SV when there is no locking module present.
532             Exists to avoid test for a NULL function pointer and because it could potentially warn under
533             some level of strict-ness.
534              
535             void sv_nolocking(SV *)','name' => 'sv_nolocking'},'SVt_NV' => {'text' => 'Double type flag for scalars. See C.','name' => 'SVt_NV'},'sv_vcatpvfn' => {'text' => 'Processes its arguments like C and appends the formatted output
536             to an SV. Uses an array of SVs if the C style variable argument list is
537             missing (NULL). When running with taint checks enabled, indicates via
538             C if results are untrustworthy (often due to the use of
539             locales).
540              
541             Usually used via one of its frontends C and C.
542              
543             void sv_vcatpvfn(SV* sv, const char* pat, STRLEN patlen, va_list* args, SV** svargs, I32 svmax, bool *maybe_tainted)','name' => 'sv_vcatpvfn'},'SvPVbytex' => {'text' => 'Like C, but converts sv to byte representation first if necessary.
544             Guarantees to evaluate sv only once; use the more efficient C
545             otherwise.
546              
547              
548             char* SvPVbytex(SV* sv, STRLEN len)','name' => 'SvPVbytex'},'av_store' => {'text' => 'Stores an SV in an array. The array index is specified as C. The
549             return value will be NULL if the operation failed or if the value did not
550             need to be actually stored within the array (as in the case of tied
551             arrays). Otherwise it can be dereferenced to get the original C. Note
552             that the caller is responsible for suitably incrementing the reference
553             count of C before the call, and decrementing it if the function
554             returned NULL.
555              
556             See L for
557             more information on how to use this function on tied arrays.
558              
559             SV** av_store(AV* ar, I32 key, SV* val)','name' => 'av_store'},'sv_2uv' => {'text' => 'Return the unsigned integer value of an SV, doing any necessary string
560             conversion, magic etc. Normally used via the C and C
561             macros.
562              
563             UV sv_2uv(SV* sv)','name' => 'sv_2uv'},'PUSHMARK' => {'text' => 'Opening bracket for arguments on a callback. See C and
564             L.
565              
566             PUSHMARK;','name' => 'PUSHMARK'},'ST' => {'text' => 'Used to access elements on the XSUB\'s stack.
567              
568             SV* ST(int ix)','name' => 'ST'},'strLT' => {'text' => 'Test two strings to see if the first, C, is less than the second,
569             C. Returns true or false.
570              
571             bool strLT(char* s1, char* s2)','name' => 'strLT'},'sv_pvutf8n' => {'text' => 'A private implementation of the C macro for compilers
572             which can\'t cope with complex macro expressions. Always use the macro
573             instead.
574              
575             char* sv_pvutf8n(SV *sv, STRLEN *len)','name' => 'sv_pvutf8n'},'call_pv' => {'text' => 'Performs a callback to the specified Perl sub. See L.
576              
577             NOTE: the perl_ form of this function is deprecated.
578              
579             I32 call_pv(const char* sub_name, I32 flags)','name' => 'call_pv'},'av_shift' => {'text' => 'Shifts an SV off the beginning of the array.
580              
581             SV* av_shift(AV* ar)','name' => 'av_shift'},'newSV' => {'text' => 'Create a new null SV, or if len > 0, create a new empty SVt_PV type SV
582             with an initial PV allocation of len+1. Normally accessed via the C
583             macro.
584              
585             SV* newSV(STRLEN len)','name' => 'newSV'},'av_fetch' => {'text' => 'Returns the SV at the specified index in the array. The C is the
586             index. If C is set then the fetch will be part of a store. Check
587             that the return value is non-null before dereferencing it to a C.
588              
589             See L for
590             more information on how to use this function on tied arrays.
591              
592             SV** av_fetch(AV* ar, I32 key, I32 lval)','name' => 'av_fetch'},'SvNOK_only' => {'text' => 'Tells an SV that it is a double and disables all other OK bits.
593              
594             void SvNOK_only(SV* sv)','name' => 'SvNOK_only'},'gv_fetchmeth_autoload' => {'text' => 'Same as gv_fetchmeth(), but looks for autoloaded subroutines too.
595             Returns a glob for the subroutine.
596              
597             For an autoloaded subroutine without a GV, will create a GV even
598             if C. For an autoloaded subroutine without a stub, GvCV()
599             of the result may be zero.
600              
601             GV* gv_fetchmeth_autoload(HV* stash, const char* name, STRLEN len, I32 level)','name' => 'gv_fetchmeth_autoload'},'sv_nounlocking' => {'text' => 'Dummy routine which "unlocks" an SV when there is no locking module present.
602             Exists to avoid test for a NULL function pointer and because it could potentially warn under
603             some level of strict-ness.
604              
605             void sv_nounlocking(SV *)','name' => 'sv_nounlocking'},'sv_2pvutf8' => {'text' => 'Return a pointer to the UTF8-encoded representation of the SV, and set *lp
606             to its length. May cause the SV to be upgraded to UTF8 as a side-effect.
607              
608             Usually accessed via the C macro.
609              
610             char* sv_2pvutf8(SV* sv, STRLEN* lp)','name' => 'sv_2pvutf8'},'dITEMS' => {'text' => 'Sets up the C variable.
611             This is usually handled automatically by C by calling C.
612              
613             dITEMS;','name' => 'dITEMS'},'hv_iterval' => {'text' => 'Returns the value from the current position of the hash iterator. See
614             C.
615              
616             SV* hv_iterval(HV* tb, HE* entry)','name' => 'hv_iterval'},'sv_reftype' => {'text' => 'Returns a string describing what the SV is a reference to.
617              
618             char* sv_reftype(SV* sv, int ob)','name' => 'sv_reftype'},'sv_pos_b2u' => {'text' => 'Converts the value pointed to by offsetp from a count of bytes from the
619             start of the string, to a count of the equivalent number of UTF8 chars.
620             Handles magic and type coercion.
621              
622             void sv_pos_b2u(SV* sv, I32* offsetp)','name' => 'sv_pos_b2u'},'SVt_IV' => {'text' => 'Integer type flag for scalars. See C.','name' => 'SVt_IV'},'av_len' => {'text' => 'Returns the highest index in the array. Returns -1 if the array is
623             empty.
624              
625             I32 av_len(AV* ar)','name' => 'av_len'},'sv_unmagic' => {'text' => 'Removes all magic of type C from an SV.
626              
627             int sv_unmagic(SV* sv, int type)','name' => 'sv_unmagic'},'sv_setiv_mg' => {'text' => 'Like C, but also handles \'set\' magic.
628              
629             void sv_setiv_mg(SV *sv, IV i)','name' => 'sv_setiv_mg'},'sv_catsv' => {'text' => 'Concatenates the string from SV C onto the end of the string in
630             SV C. Modifies C but not C. Handles \'get\' magic, but
631             not \'set\' magic. See C.
632              
633             void sv_catsv(SV* dsv, SV* ssv)','name' => 'sv_catsv'},'SvTAINT' => {'text' => 'Taints an SV if tainting is enabled
634              
635             void SvTAINT(SV* sv)','name' => 'SvTAINT'},'PUTBACK' => {'text' => 'Closing bracket for XSUB arguments. This is usually handled by C.
636             See C and L for other uses.
637              
638             PUTBACK;','name' => 'PUTBACK'},'SvPOK_on' => {'text' => 'Tells an SV that it is a string.
639              
640             void SvPOK_on(SV* sv)','name' => 'SvPOK_on'},'ax' => {'text' => 'Variable which is setup by C to indicate the stack base offset,
641             used by the C, C and C macros. The C macro
642             must be called prior to setup the C variable.
643              
644             I32 ax','name' => 'ax'},'mg_clear' => {'text' => 'Clear something magical that the SV represents. See C.
645              
646             int mg_clear(SV* sv)','name' => 'mg_clear'},'SvCUR_set' => {'text' => 'Set the length of the string which is in the SV. See C.
647              
648             void SvCUR_set(SV* sv, STRLEN len)','name' => 'SvCUR_set'},'to_utf8_fold' => {'text' => 'Convert the UTF-8 encoded character at p to its foldcase version and
649             store that in UTF-8 in ustrp and its length in bytes in lenp. Note
650             that the ustrp needs to be at least UTF8_MAXLEN_FOLD+1 bytes since the
651             foldcase version may be longer than the original character (up to
652             three characters).
653              
654             The first character of the foldcased version is returned
655             (but note, as explained above, that there may be more.)
656              
657             UV to_utf8_fold(U8 *p, U8* ustrp, STRLEN *lenp)','name' => 'to_utf8_fold'},'to_utf8_upper' => {'text' => 'Convert the UTF-8 encoded character at p to its uppercase version and
658             store that in UTF-8 in ustrp and its length in bytes in lenp. Note
659             that the ustrp needs to be at least UTF8_MAXLEN_UCLC+1 bytes since the
660             uppercase version may be longer than the original character (up to two
661             characters).
662              
663             The first character of the uppercased version is returned
664             (but note, as explained above, that there may be more.)
665              
666             UV to_utf8_upper(U8 *p, U8* ustrp, STRLEN *lenp)','name' => 'to_utf8_upper'},'SvNOK' => {'text' => 'Returns a boolean indicating whether the SV contains a double.
667              
668             bool SvNOK(SV* sv)','name' => 'SvNOK'},'gv_stashpv' => {'text' => 'Returns a pointer to the stash for a specified package. C should
669             be a valid UTF-8 string. If C is set then the package will be
670             created if it does not already exist. If C is not set and the
671             package does not exist then NULL is returned.
672              
673             HV* gv_stashpv(const char* name, I32 create)','name' => 'gv_stashpv'},'G_SCALAR' => {'text' => 'Used to indicate scalar context. See C, C, and
674             L.','name' => 'G_SCALAR'},'SvPVutf8x_force' => {'text' => 'Like C, but converts sv to utf8 first if necessary.
675             Guarantees to evaluate sv only once; use the more efficient C
676             otherwise.
677              
678             char* SvPVutf8x_force(SV* sv, STRLEN len)','name' => 'SvPVutf8x_force'},'PUSHi' => {'text' => 'Push an integer onto the stack. The stack must have room for this element.
679             Handles \'set\' magic. See C.
680              
681             void PUSHi(IV iv)','name' => 'PUSHi'},'sv_reset' => {'text' => 'Underlying implementation for the C Perl function.
682             Note that the perl-level function is vaguely deprecated.
683              
684             void sv_reset(char* s, HV* stash)','name' => 'sv_reset'},'hv_exists_ent' => {'text' => 'Returns a boolean indicating whether the specified hash key exists. C
685             can be a valid precomputed hash value, or 0 to ask for it to be
686             computed.
687              
688             bool hv_exists_ent(HV* tb, SV* key, U32 hash)','name' => 'hv_exists_ent'},'to_utf8_lower' => {'text' => 'Convert the UTF-8 encoded character at p to its lowercase version and
689             store that in UTF-8 in ustrp and its length in bytes in lenp. Note
690             that the ustrp needs to be at least UTF8_MAXLEN_UCLC+1 bytes since the
691             lowercase version may be longer than the original character (up to two
692             characters).
693              
694             The first character of the lowercased version is returned
695             (but note, as explained above, that there may be more.)
696              
697             UV to_utf8_lower(U8 *p, U8* ustrp, STRLEN *lenp)','name' => 'to_utf8_lower'},'SvNIOK' => {'text' => 'Returns a boolean indicating whether the SV contains a number, integer or
698             double.
699              
700             bool SvNIOK(SV* sv)','name' => 'SvNIOK'},'sv_2pv_flags' => {'text' => 'Returns a pointer to the string value of an SV, and sets *lp to its length.
701             If flags includes SV_GMAGIC, does an mg_get() first. Coerces sv to a string
702             if necessary.
703             Normally invoked via the C macro. C and C
704             usually end up here too.
705              
706             char* sv_2pv_flags(SV* sv, STRLEN* lp, I32 flags)','name' => 'sv_2pv_flags'},'SvTAINTED_off' => {'text' => 'Untaints an SV. Be I careful with this routine, as it short-circuits
707             some of Perl\'s fundamental security features. XS module authors should not
708             use this function unless they fully understand all the implications of
709             unconditionally untainting the value. Untainting should be done in the
710             standard perl fashion, via a carefully crafted regexp, rather than directly
711             untainting variables.
712              
713             void SvTAINTED_off(SV* sv)','name' => 'SvTAINTED_off'},'SvNVx' => {'text' => 'Coerces the given SV to a double and returns it. Guarantees to evaluate
714             sv only once. Use the more efficient C otherwise.
715              
716             NV SvNVx(SV* sv)','name' => 'SvNVx'},'unpack_str' => {'text' => 'The engine implementing unpack() Perl function.
717              
718             I32 unpack_str(char *pat, char *patend, char *s, char *strbeg, char *strend, char **new_s, I32 ocnt, U32 flags)','name' => 'unpack_str'},'newSVpvf' => {'text' => 'Creates a new SV and initializes it with the string formatted like
719             C.
720              
721             SV* newSVpvf(const char* pat, ...)','name' => 'newSVpvf'},'require_pv' => {'text' => 'Tells Perl to C the file named by the string argument. It is
722             analogous to the Perl code C. It\'s even
723             implemented that way; consider using Perl_load_module instead.
724              
725             NOTE: the perl_ form of this function is deprecated.
726              
727             void require_pv(const char* pv)','name' => 'require_pv'},'sv_upgrade' => {'text' => 'Upgrade an SV to a more complex form. Generally adds a new body type to the
728             SV, then copies across as much information as possible from the old body.
729             You generally want to use the C macro wrapper. See also C.
730              
731             bool sv_upgrade(SV* sv, U32 mt)','name' => 'sv_upgrade'},'strEQ' => {'text' => 'Test two strings to see if they are equal. Returns true or false.
732              
733             bool strEQ(char* s1, char* s2)','name' => 'strEQ'},'sv_newref' => {'text' => 'Increment an SV\'s reference count. Use the C wrapper
734             instead.
735              
736             SV* sv_newref(SV* sv)','name' => 'sv_newref'},'hv_store' => {'text' => 'Stores an SV in a hash. The hash key is specified as C and C is
737             the length of the key. The C parameter is the precomputed hash
738             value; if it is zero then Perl will compute it. The return value will be
739             NULL if the operation failed or if the value did not need to be actually
740             stored within the hash (as in the case of tied hashes). Otherwise it can
741             be dereferenced to get the original C. Note that the caller is
742             responsible for suitably incrementing the reference count of C before
743             the call, and decrementing it if the function returned NULL.
744              
745             See L for more
746             information on how to use this function on tied hashes.
747              
748             SV** hv_store(HV* tb, const char* key, I32 klen, SV* val, U32 hash)','name' => 'hv_store'},'SvIVX' => {'text' => 'Returns the raw value in the SV\'s IV slot, without checks or conversions.
749             Only use when you are sure SvIOK is true. See also C.
750              
751             IV SvIVX(SV* sv)','name' => 'SvIVX'},'XSRETURN_IV' => {'text' => 'Return an integer from an XSUB immediately. Uses C.
752              
753             void XSRETURN_IV(IV iv)','name' => 'XSRETURN_IV'},'perl_destruct' => {'text' => 'Shuts down a Perl interpreter. See L.
754              
755             int perl_destruct(PerlInterpreter* interp)','name' => 'perl_destruct'},'sv_uni_display' => {'text' => 'Build to the scalar dsv a displayable version of the scalar sv,
756             the displayable version being at most pvlim bytes long
757             (if longer, the rest is truncated and "..." will be appended).
758              
759             The flags argument is as in pv_uni_display().
760              
761             The pointer to the PV of the dsv is returned.
762              
763             char* sv_uni_display(SV *dsv, SV *ssv, STRLEN pvlim, UV flags)','name' => 'sv_uni_display'},'isUPPER' => {'text' => 'Returns a boolean indicating whether the C C is an uppercase
764             character.
765              
766             bool isUPPER(char ch)','name' => 'isUPPER'},'SvREFCNT_dec' => {'text' => 'Decrements the reference count of the given SV.
767              
768             void SvREFCNT_dec(SV* sv)','name' => 'SvREFCNT_dec'},'sv_setsv' => {'text' => 'Copies the contents of the source SV C into the destination SV
769             C. The source SV may be destroyed if it is mortal, so don\'t use this
770             function if the source SV needs to be reused. Does not handle \'set\' magic.
771             Loosely speaking, it performs a copy-by-value, obliterating any previous
772             content of the destination.
773              
774             You probably want to use one of the assortment of wrappers, such as
775             C, C, C and
776             C.
777              
778             void sv_setsv(SV* dsv, SV* ssv)','name' => 'sv_setsv'},'SvIOK_off' => {'text' => 'Unsets the IV status of an SV.
779              
780             void SvIOK_off(SV* sv)','name' => 'SvIOK_off'},'XST_mYES' => {'text' => 'Place C<&PL_sv_yes> into the specified position C on the
781             stack.
782              
783             void XST_mYES(int pos)','name' => 'XST_mYES'},'POPs' => {'text' => 'Pops an SV off the stack.
784              
785             SV* POPs','name' => 'POPs'},'SvNV' => {'text' => 'Coerce the given SV to a double and return it. See C for a version
786             which guarantees to evaluate sv only once.
787              
788             NV SvNV(SV* sv)','name' => 'SvNV'},'SvUTF8' => {'text' => 'Returns a boolean indicating whether the SV contains UTF-8 encoded data.
789              
790             void SvUTF8(SV* sv)','name' => 'SvUTF8'},'gv_fetchmethod_autoload' => {'text' => 'Returns the glob which contains the subroutine to call to invoke the method
791             on the C. In fact in the presence of autoloading this may be the
792             glob for "AUTOLOAD". In this case the corresponding variable $AUTOLOAD is
793             already setup.
794              
795             The third parameter of C determines whether
796             AUTOLOAD lookup is performed if the given method is not present: non-zero
797             means yes, look for AUTOLOAD; zero means no, don\'t look for AUTOLOAD.
798             Calling C is equivalent to calling C
799             with a non-zero C parameter.
800              
801             These functions grant C<"SUPER"> token as a prefix of the method name. Note
802             that if you want to keep the returned glob for a long time, you need to
803             check for it being "AUTOLOAD", since at the later time the call may load a
804             different subroutine due to $AUTOLOAD changing its value. Use the glob
805             created via a side effect to do this.
806              
807             These functions have the same side-effects and as C with
808             C. C should be writable if contains C<\':\'> or C<\'
809             \'\'>. The warning against passing the GV returned by C to
810             C apply equally to these functions.
811              
812             GV* gv_fetchmethod_autoload(HV* stash, const char* name, I32 autoload)','name' => 'gv_fetchmethod_autoload'},'sv_setsv_mg' => {'text' => 'Like C, but also handles \'set\' magic.
813              
814             void sv_setsv_mg(SV *dstr, SV *sstr)','name' => 'sv_setsv_mg'},'hv_fetch_ent' => {'text' => 'Returns the hash entry which corresponds to the specified key in the hash.
815             C must be a valid precomputed hash number for the given C, or 0
816             if you want the function to compute it. IF C is set then the fetch
817             will be part of a store. Make sure the return value is non-null before
818             accessing it. The return value when C is a tied hash is a pointer to a
819             static location, so be sure to make a copy of the structure if you need to
820             store it somewhere.
821              
822             See L for more
823             information on how to use this function on tied hashes.
824              
825             HE* hv_fetch_ent(HV* tb, SV* key, I32 lval, U32 hash)','name' => 'hv_fetch_ent'},'isLOWER' => {'text' => 'Returns a boolean indicating whether the C C is a lowercase
826             character.
827              
828             bool isLOWER(char ch)','name' => 'isLOWER'},'ENTER' => {'text' => 'Opening bracket on a callback. See C and L.
829              
830             ENTER;','name' => 'ENTER'},'sv_eq' => {'text' => 'Returns a boolean indicating whether the strings in the two SVs are
831             identical. Is UTF-8 and \'use bytes\' aware, handles get magic, and will
832             coerce its args to strings if necessary.
833              
834             I32 sv_eq(SV* sv1, SV* sv2)','name' => 'sv_eq'},'SvTAINTED' => {'text' => 'Checks to see if an SV is tainted. Returns TRUE if it is, FALSE if
835             not.
836              
837             bool SvTAINTED(SV* sv)','name' => 'SvTAINTED'},'PL_sv_no' => {'text' => 'This is the C SV. See C. Always refer to this as
838             C<&PL_sv_no>.
839              
840             SV PL_sv_no','name' => 'PL_sv_no'},'hv_iterkey' => {'text' => 'Returns the key from the current position of the hash iterator. See
841             C.
842              
843             char* hv_iterkey(HE* entry, I32* retlen)','name' => 'hv_iterkey'},'ix' => {'text' => 'Variable which is setup by C to indicate which of an
844             XSUB\'s aliases was used to invoke it. See L.
845              
846             I32 ix','name' => 'ix'},'SvNOKp' => {'text' => 'Returns a boolean indicating whether the SV contains a double. Checks the
847             B setting. Use C.
848              
849             bool SvNOKp(SV* sv)','name' => 'SvNOKp'},'StructCopy' => {'text' => 'This is an architecture-independent macro to copy one structure to another.
850              
851             void StructCopy(type src, type dest, type)','name' => 'StructCopy'},'PUSHs' => {'text' => 'Push an SV onto the stack. The stack must have room for this element.
852             Does not handle \'set\' magic. See C.
853              
854             void PUSHs(SV* sv)','name' => 'PUSHs'},'sv_setuv' => {'text' => 'Copies an unsigned integer into the given SV, upgrading first if necessary.
855             Does not handle \'set\' magic. See also C.
856              
857             void sv_setuv(SV* sv, UV num)','name' => 'sv_setuv'},'SvUPGRADE' => {'text' => 'Used to upgrade an SV to a more complex form. Uses C to
858             perform the upgrade if necessary. See C.
859              
860             void SvUPGRADE(SV* sv, svtype type)','name' => 'SvUPGRADE'},'utf8_to_uvchr' => {'text' => 'Returns the native character value of the first character in the string C
861             which is assumed to be in UTF8 encoding; C will be set to the
862             length, in bytes, of that character.
863              
864             If C does not point to a well-formed UTF8 character, zero is
865             returned and retlen is set, if possible, to -1.
866              
867             UV utf8_to_uvchr(U8 *s, STRLEN* retlen)','name' => 'utf8_to_uvchr'},'nothreadhook' => {'text' => 'Stub that provides thread hook for perl_destruct when there are
868             no threads.
869              
870             int nothreadhook()','name' => 'nothreadhook'},'items' => {'text' => 'Variable which is setup by C to indicate the number of
871             items on the stack. See L.
872              
873             I32 items','name' => 'items'},'bytes_to_utf8' => {'text' => 'Converts a string C of length C from ASCII into UTF8 encoding.
874             Returns a pointer to the newly-created string, and sets C to
875             reflect the new length.
876              
877             NOTE: this function is experimental and may change or be
878             removed without notice.
879              
880             U8* bytes_to_utf8(U8 *s, STRLEN *len)','name' => 'bytes_to_utf8'},'sv_pvn' => {'text' => 'A private implementation of the C macro for compilers which can\'t
881             cope with complex macro expressions. Always use the macro instead.
882              
883             char* sv_pvn(SV *sv, STRLEN *len)','name' => 'sv_pvn'},'XST_mPV' => {'text' => 'Place a copy of a string into the specified position C on the stack.
884             The value is stored in a new mortal SV.
885              
886             void XST_mPV(int pos, char* str)','name' => 'XST_mPV'},'dXSI32' => {'text' => 'Sets up the C variable for an XSUB which has aliases. This is usually
887             handled automatically by C.
888              
889             dXSI32;','name' => 'dXSI32'},'sv_setref_iv' => {'text' => 'Copies an integer into a new SV, optionally blessing the SV. The C
890             argument will be upgraded to an RV. That RV will be modified to point to
891             the new SV. The C argument indicates the package for the
892             blessing. Set C to C to avoid the blessing. The new SV
893             will be returned and will have a reference count of 1.
894              
895             SV* sv_setref_iv(SV* rv, const char* classname, IV iv)','name' => 'sv_setref_iv'},'sv_chop' => {'text' => 'Efficient removal of characters from the beginning of the string buffer.
896             SvPOK(sv) must be true and the C must be a pointer to somewhere inside
897             the string buffer. The C becomes the first character of the adjusted
898             string. Uses the "OOK hack".
899              
900             void sv_chop(SV* sv, char* ptr)','name' => 'sv_chop'},'SvPVx' => {'text' => 'A version of C which guarantees to evaluate sv only once.
901              
902             char* SvPVx(SV* sv, STRLEN len)','name' => 'SvPVx'},'sv_backoff' => {'text' => 'Remove any string offset. You should normally use the C macro
903             wrapper instead.
904              
905             int sv_backoff(SV* sv)','name' => 'sv_backoff'},'sv_tainted' => {'text' => 'Test an SV for taintedness. Use C instead.
906             bool sv_tainted(SV* sv)','name' => 'sv_tainted'},'sv_grow' => {'text' => 'Expands the character buffer in the SV. If necessary, uses C and
907             upgrades the SV to C. Returns a pointer to the character buffer.
908             Use the C wrapper instead.
909              
910             char* sv_grow(SV* sv, STRLEN newlen)','name' => 'sv_grow'},'XPUSHu' => {'text' => 'Push an unsigned integer onto the stack, extending the stack if necessary.
911             See C.
912              
913             void XPUSHu(UV uv)','name' => 'XPUSHu'},'sv_setuv_mg' => {'text' => 'Like C, but also handles \'set\' magic.
914              
915             void sv_setuv_mg(SV *sv, UV u)','name' => 'sv_setuv_mg'},'cv_const_sv' => {'text' => 'If C is a constant sub eligible for inlining. returns the constant
916             value returned by the sub. Otherwise, returns NULL.
917              
918             Constant subs can be created with C or as described in
919             L.
920              
921             SV* cv_const_sv(CV* cv)','name' => 'cv_const_sv'},'XS_VERSION' => {'text' => 'The version identifier for an XS module. This is usually
922             handled automatically by C. See C.','name' => 'XS_VERSION'},'newSVnv' => {'text' => 'Creates a new SV and copies a floating point value into it.
923             The reference count for the SV is set to 1.
924              
925             SV* newSVnv(NV n)','name' => 'newSVnv'},'XPUSHs' => {'text' => 'Push an SV onto the stack, extending the stack if necessary. Does not
926             handle \'set\' magic. See C.
927              
928             void XPUSHs(SV* sv)','name' => 'XPUSHs'},'HeVAL' => {'text' => 'Returns the value slot (type C) stored in the hash entry.
929              
930             SV* HeVAL(HE* he)','name' => 'HeVAL'},'PL_na' => {'text' => 'A convenience variable which is typically used with C when one
931             doesn\'t care about the length of the string. It is usually more efficient
932             to either declare a local variable and use that instead or to use the
933             C macro.
934              
935             STRLEN PL_na','name' => 'PL_na'},'HePV' => {'text' => 'Returns the key slot of the hash entry as a C value, doing any
936             necessary dereferencing of possibly C keys. The length of the string
937             is placed in C (this is a macro, so do I use C<&len>). If you do
938             not care about what the length of the key is, you may use the global
939             variable C, though this is rather less efficient than using a local
940             variable. Remember though, that hash keys in perl are free to contain
941             embedded nulls, so using C or similar is not a good way to find
942             the length of hash keys. This is very similar to the C macro
943             described elsewhere in this document.
944              
945             char* HePV(HE* he, STRLEN len)','name' => 'HePV'},'newSViv' => {'text' => 'Creates a new SV and copies an integer into it. The reference count for the
946             SV is set to 1.
947              
948             SV* newSViv(IV i)','name' => 'newSViv'},'sv_untaint' => {'text' => 'Untaint an SV. Use C instead.
949             void sv_untaint(SV* sv)','name' => 'sv_untaint'},'sv_setpv' => {'text' => 'Copies a string into an SV. The string must be null-terminated. Does not
950             handle \'set\' magic. See C.
951              
952             void sv_setpv(SV* sv, const char* ptr)','name' => 'sv_setpv'},'SVt_PVHV' => {'text' => 'Type flag for hashes. See C.','name' => 'SVt_PVHV'},'pv_uni_display' => {'text' => 'Build to the scalar dsv a displayable version of the string spv,
953             length len, the displayable version being at most pvlim bytes long
954             (if longer, the rest is truncated and "..." will be appended).
955              
956             The flags argument can have UNI_DISPLAY_ISPRINT set to display
957             isPRINT()able characters as themselves, UNI_DISPLAY_BACKSLASH
958             to display the \\\\[nrfta\\\\] as the backslashed versions (like \'\\n\')
959             (UNI_DISPLAY_BACKSLASH is preferred over UNI_DISPLAY_ISPRINT for \\\\).
960             UNI_DISPLAY_QQ (and its alias UNI_DISPLAY_REGEX) have both
961             UNI_DISPLAY_BACKSLASH and UNI_DISPLAY_ISPRINT turned on.
962              
963             The pointer to the PV of the dsv is returned.
964              
965             char* pv_uni_display(SV *dsv, U8 *spv, STRLEN len, STRLEN pvlim, UV flags)','name' => 'pv_uni_display'},'gv_fetchmethod' => {'text' => 'See L.
966              
967             GV* gv_fetchmethod(HV* stash, const char* name)','name' => 'gv_fetchmethod'},'SvGETMAGIC' => {'text' => 'Invokes C on an SV if it has \'get\' magic. This macro evaluates its
968             argument more than once.
969              
970             void SvGETMAGIC(SV* sv)','name' => 'SvGETMAGIC'},'SvGROW' => {'text' => 'Expands the character buffer in the SV so that it has room for the
971             indicated number of bytes (remember to reserve space for an extra trailing
972             NUL character). Calls C to perform the expansion if necessary.
973             Returns a pointer to the character buffer.
974              
975             char * SvGROW(SV* sv, STRLEN len)','name' => 'SvGROW'},'sv_inc' => {'text' => 'Auto-increment of the value in the SV, doing string to numeric conversion
976             if necessary. Handles \'get\' magic.
977              
978             void sv_inc(SV* sv)','name' => 'sv_inc'},'sv_usepvn' => {'text' => 'Tells an SV to use C to find its string value. Normally the string is
979             stored inside the SV but sv_usepvn allows the SV to use an outside string.
980             The C should point to memory that was allocated by C. The
981             string length, C, must be supplied. This function will realloc the
982             memory pointed to by C, so that pointer should not be freed or used by
983             the programmer after giving it to sv_usepvn. Does not handle \'set\' magic.
984             See C.
985              
986             void sv_usepvn(SV* sv, char* ptr, STRLEN len)','name' => 'sv_usepvn'},'SvPVbytex_force' => {'text' => 'Like C, but converts sv to byte representation first if necessary.
987             Guarantees to evaluate sv only once; use the more efficient C
988             otherwise.
989              
990             char* SvPVbytex_force(SV* sv, STRLEN len)','name' => 'SvPVbytex_force'},'sv_catpv' => {'text' => 'Concatenates the string onto the end of the string which is in the SV.
991             If the SV has the UTF8 status set, then the bytes appended should be
992             valid UTF8. Handles \'get\' magic, but not \'set\' magic. See C.
993              
994             void sv_catpv(SV* sv, const char* ptr)','name' => 'sv_catpv'},'SvREFCNT' => {'text' => 'Returns the value of the object\'s reference count.
995              
996             U32 SvREFCNT(SV* sv)','name' => 'SvREFCNT'},'sv_len' => {'text' => 'Returns the length of the string in the SV. Handles magic and type
997             coercion. See also C, which gives raw access to the xpv_cur slot.
998              
999             STRLEN sv_len(SV* sv)','name' => 'sv_len'},'warn' => {'text' => 'This is the XSUB-writer\'s interface to Perl\'s C function. Use this
1000             function the same way you use the C C function. See
1001             C.
1002              
1003             void warn(const char* pat, ...)','name' => 'warn'},'sv_pvutf8' => {'text' => 'Use the C macro instead
1004              
1005             char* sv_pvutf8(SV *sv)','name' => 'sv_pvutf8'},'SvPVbyte_nolen' => {'text' => 'Like C, but converts sv to byte representation first if necessary.
1006              
1007             char* SvPVbyte_nolen(SV* sv)','name' => 'SvPVbyte_nolen'},'LEAVE' => {'text' => 'Closing bracket on a callback. See C and L.
1008              
1009             LEAVE;','name' => 'LEAVE'},'SVt_PVAV' => {'text' => 'Type flag for arrays. See C.','name' => 'SVt_PVAV'},'hv_delete' => {'text' => 'Deletes a key/value pair in the hash. The value SV is removed from the
1010             hash and returned to the caller. The C is the length of the key.
1011             The C value will normally be zero; if set to G_DISCARD then NULL
1012             will be returned.
1013              
1014             SV* hv_delete(HV* tb, const char* key, I32 klen, I32 flags)','name' => 'hv_delete'},'hv_undef' => {'text' => 'Undefines the hash.
1015              
1016             void hv_undef(HV* tb)','name' => 'hv_undef'},'SvSetMagicSV_nosteal' => {'text' => 'Like C, but does any set magic required afterwards.
1017              
1018             void SvSetMagicSV_nosteal(SV* dsv, SV* ssv)','name' => 'SvSetMagicSV_nosteal'},'hv_delete_ent' => {'text' => 'Deletes a key/value pair in the hash. The value SV is removed from the
1019             hash and returned to the caller. The C value will normally be zero;
1020             if set to G_DISCARD then NULL will be returned. C can be a valid
1021             precomputed hash value, or 0 to ask for it to be computed.
1022              
1023             SV* hv_delete_ent(HV* tb, SV* key, I32 flags, U32 hash)','name' => 'hv_delete_ent'},'CLASS' => {'text' => 'Variable which is setup by C to indicate the
1024             class name for a C++ XS constructor. This is always a C. See C.
1025              
1026             char* CLASS','name' => 'CLASS'},'sv_isobject' => {'text' => 'Returns a boolean indicating whether the SV is an RV pointing to a blessed
1027             object. If the SV is not an RV, or if the object is not blessed, then this
1028             will return false.
1029              
1030             int sv_isobject(SV* sv)','name' => 'sv_isobject'},'Newc' => {'text' => 'The XSUB-writer\'s interface to the C C function, with
1031             cast.
1032              
1033             void Newc(int id, void* ptr, int nitems, type, cast)','name' => 'Newc'},'sv_pvn_force_flags' => {'text' => 'Get a sensible string out of the SV somehow.
1034             If C has C bit set, will C on C if
1035             appropriate, else not. C and C are
1036             implemented in terms of this function.
1037             You normally want to use the various wrapper macros instead: see
1038             C and C
1039              
1040             char* sv_pvn_force_flags(SV* sv, STRLEN* lp, I32 flags)','name' => 'sv_pvn_force_flags'},'HeKLEN' => {'text' => 'If this is negative, and amounts to C, it indicates the entry
1041             holds an C key. Otherwise, holds the actual length of the key. Can
1042             be assigned to. The C macro is usually preferable for finding key
1043             lengths.
1044              
1045             STRLEN HeKLEN(HE* he)','name' => 'HeKLEN'},'to_utf8_title' => {'text' => 'Convert the UTF-8 encoded character at p to its titlecase version and
1046             store that in UTF-8 in ustrp and its length in bytes in lenp. Note
1047             that the ustrp needs to be at least UTF8_MAXLEN_UCLC+1 bytes since the
1048             titlecase version may be longer than the original character (up to two
1049             characters).
1050              
1051             The first character of the titlecased version is returned
1052             (but note, as explained above, that there may be more.)
1053              
1054             UV to_utf8_title(U8 *p, U8* ustrp, STRLEN *lenp)','name' => 'to_utf8_title'},'PUSHn' => {'text' => 'Push a double onto the stack. The stack must have room for this element.
1055             Handles \'set\' magic. See C.
1056              
1057             void PUSHn(NV nv)','name' => 'PUSHn'},'sv_setiv' => {'text' => 'Copies an integer into the given SV, upgrading first if necessary.
1058             Does not handle \'set\' magic. See also C.
1059              
1060             void sv_setiv(SV* sv, IV num)','name' => 'sv_setiv'},'SvIV' => {'text' => 'Coerces the given SV to an integer and returns it. See C for a
1061             version which guarantees to evaluate sv only once.
1062              
1063             IV SvIV(SV* sv)','name' => 'SvIV'},'sv_report_used' => {'text' => 'Dump the contents of all SVs not yet freed. (Debugging aid).
1064              
1065             void sv_report_used()','name' => 'sv_report_used'},'EXTEND' => {'text' => 'Used to extend the argument stack for an XSUB\'s return values. Once
1066             used, guarantees that there is room for at least C to be pushed
1067             onto the stack.
1068              
1069             void EXTEND(SP, int nitems)','name' => 'EXTEND'},'PL_sv_yes' => {'text' => 'This is the C SV. See C. Always refer to this as
1070             C<&PL_sv_yes>.
1071              
1072             SV PL_sv_yes','name' => 'PL_sv_yes'},'newSVuv' => {'text' => 'Creates a new SV and copies an unsigned integer into it.
1073             The reference count for the SV is set to 1.
1074              
1075             SV* newSVuv(UV u)','name' => 'newSVuv'},'SvNVX' => {'text' => 'Returns the raw value in the SV\'s NV slot, without checks or conversions.
1076             Only use when you are sure SvNOK is true. See also C.
1077              
1078             NV SvNVX(SV* sv)','name' => 'SvNVX'},'sv_nosharing' => {'text' => 'Dummy routine which "shares" an SV when there is no sharing module present.
1079             Exists to avoid test for a NULL function pointer and because it could potentially warn under
1080             some level of strict-ness.
1081              
1082             void sv_nosharing(SV *)','name' => 'sv_nosharing'},'gv_fetchmeth' => {'text' => 'Returns the glob with the given C and a defined subroutine or
1083             C. The glob lives in the given C, or in the stashes
1084             accessible via @ISA and UNIVERSAL::.
1085              
1086             The argument C should be either 0 or -1. If C, as a
1087             side-effect creates a glob with the given C in the given C
1088             which in the case of success contains an alias for the subroutine, and sets
1089             up caching info for this glob. Similarly for all the searched stashes.
1090              
1091             This function grants C<"SUPER"> token as a postfix of the stash name. The
1092             GV returned from C may be a method cache entry, which is not
1093             visible to Perl code. So when calling C, you should not use
1094             the GV directly; instead, you should use the method\'s CV, which can be
1095             obtained from the GV with the C macro.
1096              
1097             GV* gv_fetchmeth(HV* stash, const char* name, STRLEN len, I32 level)','name' => 'gv_fetchmeth'},'SvUTF8_off' => {'text' => 'Unsets the UTF8 status of an SV.
1098              
1099             void SvUTF8_off(SV *sv)','name' => 'SvUTF8_off'},'looks_like_number' => {'text' => 'Test if the content of an SV looks like a number (or is a number).
1100             C and C are treated as numbers (so will not issue a
1101             non-numeric warning), even if your atof() doesn\'t grok them.
1102              
1103             I32 looks_like_number(SV* sv)','name' => 'looks_like_number'},'sv_catpv_mg' => {'text' => 'Like C, but also handles \'set\' magic.
1104              
1105             void sv_catpv_mg(SV *sv, const char *ptr)','name' => 'sv_catpv_mg'},'XSRETURN_EMPTY' => {'text' => 'Return an empty list from an XSUB immediately.
1106              
1107              
1108             XSRETURN_EMPTY;','name' => 'XSRETURN_EMPTY'},'HeHASH' => {'text' => 'Returns the computed hash stored in the hash entry.
1109              
1110             U32 HeHASH(HE* he)','name' => 'HeHASH'},'sv_setref_uv' => {'text' => 'Copies an unsigned integer into a new SV, optionally blessing the SV. The C
1111             argument will be upgraded to an RV. That RV will be modified to point to
1112             the new SV. The C argument indicates the package for the
1113             blessing. Set C to C to avoid the blessing. The new SV
1114             will be returned and will have a reference count of 1.
1115              
1116             SV* sv_setref_uv(SV* rv, const char* classname, UV uv)','name' => 'sv_setref_uv'},'SvIOK' => {'text' => 'Returns a boolean indicating whether the SV contains an integer.
1117              
1118             bool SvIOK(SV* sv)','name' => 'SvIOK'},'getcwd_sv' => {'text' => 'Fill the sv with current working directory
1119              
1120             int getcwd_sv(SV* sv)','name' => 'getcwd_sv'},'newSVpv' => {'text' => 'Creates a new SV and copies a string into it. The reference count for the
1121             SV is set to 1. If C is zero, Perl will compute the length using
1122             strlen(). For efficiency, consider using C instead.
1123              
1124             SV* newSVpv(const char* s, STRLEN len)','name' => 'newSVpv'},'sv_2pvbyte' => {'text' => 'Return a pointer to the byte-encoded representation of the SV, and set *lp
1125             to its length. May cause the SV to be downgraded from UTF8 as a
1126             side-effect.
1127              
1128             Usually accessed via the C macro.
1129              
1130             char* sv_2pvbyte(SV* sv, STRLEN* lp)','name' => 'sv_2pvbyte'},'fbm_instr' => {'text' => 'Returns the location of the SV in the string delimited by C and
1131             C. It returns C if the string can\'t be found. The C
1132             does not have to be fbm_compiled, but the search will not be as fast
1133             then.
1134              
1135             char* fbm_instr(unsigned char* big, unsigned char* bigend, SV* littlesv, U32 flags)','name' => 'fbm_instr'},'sv_setpvf' => {'text' => 'Processes its arguments like C and sets an SV to the formatted
1136             output. Does not handle \'set\' magic. See C.
1137              
1138             void sv_setpvf(SV* sv, const char* pat, ...)','name' => 'sv_setpvf'},'SvPV_force' => {'text' => 'Like C but will force the SV into containing just a string
1139             (C). You want force if you are going to update the C
1140             directly.
1141              
1142             char* SvPV_force(SV* sv, STRLEN len)','name' => 'SvPV_force'},'XPUSHn' => {'text' => 'Push a double onto the stack, extending the stack if necessary. Handles
1143             \'set\' magic. See C.
1144              
1145             void XPUSHn(NV nv)','name' => 'XPUSHn'},'SvLEN' => {'text' => 'Returns the size of the string buffer in the SV, not including any part
1146             attributable to C. See C.
1147              
1148             STRLEN SvLEN(SV* sv)','name' => 'SvLEN'},'call_sv' => {'text' => 'Performs a callback to the Perl sub whose name is in the SV. See
1149             L.
1150              
1151             NOTE: the perl_ form of this function is deprecated.
1152              
1153             I32 call_sv(SV* sv, I32 flags)','name' => 'call_sv'},'SVt_PV' => {'text' => 'Pointer type flag for scalars. See C.','name' => 'SVt_PV'},'strGT' => {'text' => 'Test two strings to see if the first, C, is greater than the second,
1154             C. Returns true or false.
1155              
1156             bool strGT(char* s1, char* s2)','name' => 'strGT'},'SvPOK_only_UTF8' => {'text' => 'Tells an SV that it is a string and disables all other OK bits,
1157             and leaves the UTF8 status as it was.
1158              
1159             void SvPOK_only_UTF8(SV* sv)','name' => 'SvPOK_only_UTF8'},'mg_get' => {'text' => 'Do magic after a value is retrieved from the SV. See C.
1160              
1161             int mg_get(SV* sv)','name' => 'mg_get'},'sv_pos_u2b' => {'text' => 'Converts the value pointed to by offsetp from a count of UTF8 chars from
1162             the start of the string, to a count of the equivalent number of bytes; if
1163             lenp is non-zero, it does the same to lenp, but this time starting from
1164             the offset, rather than from the start of the string. Handles magic and
1165             type coercion.
1166              
1167             void sv_pos_u2b(SV* sv, I32* offsetp, I32* lenp)','name' => 'sv_pos_u2b'},'SvTRUE' => {'text' => 'Returns a boolean indicating whether Perl would evaluate the SV as true or
1168             false, defined or undefined. Does not handle \'get\' magic.
1169              
1170             bool SvTRUE(SV* sv)','name' => 'SvTRUE'},'HeSVKEY_set' => {'text' => 'Sets the key to a given C, taking care to set the appropriate flags to
1171             indicate the presence of an C key, and returns the same
1172             C.
1173              
1174             SV* HeSVKEY_set(HE* he, SV* sv)','name' => 'HeSVKEY_set'},'POPl' => {'text' => 'Pops a long off the stack.
1175              
1176             long POPl','name' => 'POPl'},'hv_iternext_flags' => {'text' => 'Returns entries from a hash iterator. See C and C.
1177             The C value will normally be zero; if HV_ITERNEXT_WANTPLACEHOLDERS is
1178             set the placeholders keys (for restricted hashes) will be returned in addition
1179             to normal keys. By default placeholders are automatically skipped over.
1180             Currently a placeholder is implemented with a value that is literally
1181             <&Perl_sv_undef> (a regular C value is a normal read-write SV for which
1182             C is false). Note that the implementation of placeholders and
1183             restricted hashes may change, and the implementation currently is
1184             insufficiently abstracted for any change to be tidy.
1185              
1186             NOTE: this function is experimental and may change or be
1187             removed without notice.
1188              
1189             HE* hv_iternext_flags(HV* tb, I32 flags)','name' => 'hv_iternext_flags'},'grok_hex' => {'text' => 'converts a string representing a hex number to numeric form.
1190              
1191             On entry I and I<*len> give the string to scan, I<*flags> gives
1192             conversion flags, and I should be NULL or a pointer to an NV.
1193             The scan stops at the end of the string, or the first non-hex-digit character.
1194             On return I<*len> is set to the length scanned string, and I<*flags> gives
1195             output flags.
1196              
1197             If the value is <= UV_MAX it is returned as a UV, the output flags are clear,
1198             and nothing is written to I<*result>. If the value is > UV_MAX C
1199             returns UV_MAX, sets C in the output flags,
1200             and writes the value to I<*result> (or the value is discarded if I
1201             is NULL).
1202              
1203             The hex number may optionally be prefixed with "0x" or "x" unless
1204             C is set in I<*flags> on entry. If
1205             C is set in I<*flags> then the hex
1206             number may use \'_\' characters to separate digits.
1207              
1208             UV grok_hex(char* start, STRLEN* len, I32* flags, NV *result)','name' => 'grok_hex'},'SPAGAIN' => {'text' => 'Refetch the stack pointer. Used after a callback. See L.
1209              
1210             SPAGAIN;','name' => 'SPAGAIN'},'call_method' => {'text' => 'Performs a callback to the specified Perl method. The blessed object must
1211             be on the stack. See L.
1212              
1213             NOTE: the perl_ form of this function is deprecated.
1214              
1215             I32 call_method(const char* methname, I32 flags)','name' => 'call_method'},'SvLOCK' => {'text' => 'Arranges for a mutual exclusion lock to be obtained on sv if a suitable module
1216             has been loaded.
1217              
1218             void SvLOCK(SV* sv)','name' => 'SvLOCK'},'sv_vsetpvfn' => {'text' => 'Works like C but copies the text into the SV instead of
1219             appending it.
1220              
1221             Usually used via one of its frontends C and C.
1222              
1223             void sv_vsetpvfn(SV* sv, const char* pat, STRLEN patlen, va_list* args, SV** svargs, I32 svmax, bool *maybe_tainted)','name' => 'sv_vsetpvfn'},'get_cv' => {'text' => 'Returns the CV of the specified Perl subroutine. If C is set and
1224             the Perl subroutine does not exist then it will be declared (which has the
1225             same effect as saying C). If C is not set and the
1226             subroutine does not exist then NULL is returned.
1227              
1228             NOTE: the perl_ form of this function is deprecated.
1229              
1230             CV* get_cv(const char* name, I32 create)','name' => 'get_cv'},'SvIOKp' => {'text' => 'Returns a boolean indicating whether the SV contains an integer. Checks
1231             the B setting. Use C.
1232              
1233             bool SvIOKp(SV* sv)','name' => 'SvIOKp'},'XST_mUNDEF' => {'text' => 'Place C<&PL_sv_undef> into the specified position C on the
1234             stack.
1235              
1236             void XST_mUNDEF(int pos)','name' => 'XST_mUNDEF'},'perl_parse' => {'text' => 'Tells a Perl interpreter to parse a Perl script. See L.
1237              
1238             int perl_parse(PerlInterpreter* interp, XSINIT_t xsinit, int argc, char** argv, char** env)','name' => 'perl_parse'},'to_utf8_case' => {'text' => 'The "p" contains the pointer to the UTF-8 string encoding
1239             the character that is being converted.
1240              
1241             The "ustrp" is a pointer to the character buffer to put the
1242             conversion result to. The "lenp" is a pointer to the length
1243             of the result.
1244              
1245             The "swashp" is a pointer to the swash to use.
1246              
1247             Both the special and normal mappings are stored lib/unicore/To/Foo.pl,
1248             and loaded by SWASHGET, using lib/utf8_heavy.pl. The special (usually,
1249             but not always, a multicharacter mapping), is tried first.
1250              
1251             The "special" is a string like "utf8::ToSpecLower", which means the
1252             hash %utf8::ToSpecLower. The access to the hash is through
1253             Perl_to_utf8_case().
1254              
1255             The "normal" is a string like "ToLower" which means the swash
1256             %utf8::ToLower.
1257              
1258             UV to_utf8_case(U8 *p, U8* ustrp, STRLEN *lenp, SV **swash, char *normal, char *special)','name' => 'to_utf8_case'},'av_clear' => {'text' => 'Clears an array, making it empty. Does not free the memory used by the
1259             array itself.
1260              
1261             void av_clear(AV* ar)','name' => 'av_clear'},'sv_force_normal' => {'text' => 'Undo various types of fakery on an SV: if the PV is a shared string, make
1262             a private copy; if we\'re a ref, stop refing; if we\'re a glob, downgrade to
1263             an xpvmg. See also C.
1264              
1265             void sv_force_normal(SV *sv)','name' => 'sv_force_normal'},'av_unshift' => {'text' => 'Unshift the given number of C values onto the beginning of the
1266             array. The array will grow automatically to accommodate the addition. You
1267             must then use C to assign values to these new elements.
1268              
1269             void av_unshift(AV* ar, I32 num)','name' => 'av_unshift'},'SvUNLOCK' => {'text' => 'Releases a mutual exclusion lock on sv if a suitable module
1270             has been loaded.
1271              
1272              
1273             void SvUNLOCK(SV* sv)','name' => 'SvUNLOCK'},'mg_set' => {'text' => 'Do magic after a value is assigned to the SV. See C.
1274              
1275             int mg_set(SV* sv)','name' => 'mg_set'},'sv_mortalcopy' => {'text' => 'Creates a new SV which is a copy of the original SV (using C).
1276             The new SV is marked as mortal. It will be destroyed "soon", either by an
1277             explicit call to FREETMPS, or by an implicit call at places such as
1278             statement boundaries. See also C and C.
1279              
1280             SV* sv_mortalcopy(SV* oldsv)','name' => 'sv_mortalcopy'},'POPpbytex' => {'text' => 'Pops a string off the stack which must consist of bytes i.e. characters < 256.
1281             Requires a variable STRLEN n_a in scope.
1282              
1283             char* POPpbytex','name' => 'POPpbytex'},'SvUVX' => {'text' => 'Returns the raw value in the SV\'s UV slot, without checks or conversions.
1284             Only use when you are sure SvIOK is true. See also C.
1285              
1286             UV SvUVX(SV* sv)','name' => 'SvUVX'},'G_NOARGS' => {'text' => 'Indicates that no arguments are being sent to a callback. See
1287             L.','name' => 'G_NOARGS'},'SvSetMagicSV' => {'text' => 'Like C, but does any set magic required afterwards.
1288              
1289             void SvSetMagicSV(SV* dsb, SV* ssv)','name' => 'SvSetMagicSV'},'sv_utf8_decode' => {'text' => 'Convert the octets in the PV from UTF-8 to chars. Scan for validity and then
1290             turn off SvUTF8 if needed so that we see characters. Used as a building block
1291             for decode_utf8 in Encode.xs
1292              
1293             NOTE: this function is experimental and may change or be
1294             removed without notice.
1295              
1296             bool sv_utf8_decode(SV *sv)','name' => 'sv_utf8_decode'},'Newz' => {'text' => 'The XSUB-writer\'s interface to the C C function. The allocated
1297             memory is zeroed with C.
1298              
1299             void Newz(int id, void* ptr, int nitems, type)','name' => 'Newz'},'savepvn' => {'text' => 'Perl\'s version of what C would be if it existed. Returns a
1300             pointer to a newly allocated string which is a duplicate of the first
1301             C bytes from C. The memory allocated for the new string can be
1302             freed with the C function.
1303              
1304             char* savepvn(const char* pv, I32 len)','name' => 'savepvn'},'eval_sv' => {'text' => 'Tells Perl to C the string in the SV.
1305              
1306             NOTE: the perl_ form of this function is deprecated.
1307              
1308             I32 eval_sv(SV* sv, I32 flags)','name' => 'eval_sv'},'FREETMPS' => {'text' => 'Closing bracket for temporaries on a callback. See C and
1309             L.
1310              
1311             FREETMPS;','name' => 'FREETMPS'},'av_exists' => {'text' => 'Returns true if the element indexed by C has been initialized.
1312              
1313             This relies on the fact that uninitialized array elements are set to
1314             C<&PL_sv_undef>.
1315              
1316             bool av_exists(AV* ar, I32 key)','name' => 'av_exists'},'SvCUR' => {'text' => 'Returns the length of the string which is in the SV. See C.
1317              
1318             STRLEN SvCUR(SV* sv)','name' => 'SvCUR'},'Move' => {'text' => 'The XSUB-writer\'s interface to the C C function. The C is the
1319             source, C is the destination, C is the number of items, and C is
1320             the type. Can do overlapping moves. See also C.
1321              
1322             void Move(void* src, void* dest, int nitems, type)','name' => 'Move'},'sv_pvn_force' => {'text' => 'Get a sensible string out of the SV somehow.
1323             A private implementation of the C macro for compilers which
1324             can\'t cope with complex macro expressions. Always use the macro instead.
1325              
1326             char* sv_pvn_force(SV* sv, STRLEN* lp)','name' => 'sv_pvn_force'},'sv_catpvn_flags' => {'text' => 'Concatenates the string onto the end of the string which is in the SV. The
1327             C indicates number of bytes to copy. If the SV has the UTF8
1328             status set, then the bytes appended should be valid UTF8.
1329             If C has C bit set, will C on C if
1330             appropriate, else not. C and C are implemented
1331             in terms of this function.
1332              
1333             void sv_catpvn_flags(SV* sv, const char* ptr, STRLEN len, I32 flags)','name' => 'sv_catpvn_flags'},'GIMME' => {'text' => 'A backward-compatible version of C which can only return
1334             C or C; in a void context, it returns C.
1335             Deprecated. Use C instead.
1336              
1337             U32 GIMME','name' => 'GIMME'},'sv_bless' => {'text' => 'Blesses an SV into a specified package. The SV must be an RV. The package
1338             must be designated by its stash (see C). The reference count
1339             of the SV is unaffected.
1340              
1341             SV* sv_bless(SV* sv, HV* stash)','name' => 'sv_bless'},'NEWSV' => {'text' => 'Creates a new SV. A non-zero C parameter indicates the number of
1342             bytes of preallocated string space the SV should have. An extra byte for a
1343             tailing NUL is also reserved. (SvPOK is not set for the SV even if string
1344             space is allocated.) The reference count for the new SV is set to 1.
1345             C is an integer id between 0 and 1299 (used to identify leaks).
1346              
1347              
1348             SV* NEWSV(int id, STRLEN len)','name' => 'NEWSV'},'sv_isa' => {'text' => 'Returns a boolean indicating whether the SV is blessed into the specified
1349             class. This does not check for subtypes; use C to verify
1350             an inheritance relationship.
1351              
1352             int sv_isa(SV* sv, const char* name)','name' => 'sv_isa'},'isALNUM' => {'text' => 'Returns a boolean indicating whether the C C is an ASCII alphanumeric
1353             character (including underscore) or digit.
1354              
1355             bool isALNUM(char ch)','name' => 'isALNUM'},'newXS' => {'text' => 'Used by C to hook up XSUBs as Perl subs.','name' => 'newXS'},'sv_catpvf' => {'text' => 'Processes its arguments like C and appends the formatted
1356             output to an SV. If the appended data contains "wide" characters
1357             (including, but not limited to, SVs with a UTF-8 PV formatted with %s,
1358             and characters >255 formatted with %c), the original SV might get
1359             upgraded to UTF-8. Handles \'get\' magic, but not \'set\' magic.
1360             C must typically be called after calling this function
1361             to handle \'set\' magic.
1362              
1363             void sv_catpvf(SV* sv, const char* pat, ...)','name' => 'sv_catpvf'},'SvIOK_UV' => {'text' => 'Returns a boolean indicating whether the SV contains an unsigned integer.
1364              
1365             void SvIOK_UV(SV* sv)','name' => 'SvIOK_UV'},'XSRETURN_PV' => {'text' => 'Return a copy of a string from an XSUB immediately. Uses C.
1366              
1367             void XSRETURN_PV(char* str)','name' => 'XSRETURN_PV'},'utf8_to_uvuni' => {'text' => 'Returns the Unicode code point of the first character in the string C
1368             which is assumed to be in UTF8 encoding; C will be set to the
1369             length, in bytes, of that character.
1370              
1371             This function should only be used when returned UV is considered
1372             an index into the Unicode semantic tables (e.g. swashes).
1373              
1374             If C does not point to a well-formed UTF8 character, zero is
1375             returned and retlen is set, if possible, to -1.
1376              
1377             UV utf8_to_uvuni(U8 *s, STRLEN* retlen)','name' => 'utf8_to_uvuni'},'sv_2io' => {'text' => 'Using various gambits, try to get an IO from an SV: the IO slot if its a
1378             GV; or the recursive result if we\'re an RV; or the IO slot of the symbol
1379             named after the PV if we\'re a string.
1380              
1381             IO* sv_2io(SV* sv)','name' => 'sv_2io'},'perl_alloc' => {'text' => 'Allocates a new Perl interpreter. See L.
1382              
1383             PerlInterpreter* perl_alloc()','name' => 'perl_alloc'},'isALPHA' => {'text' => 'Returns a boolean indicating whether the C C is an ASCII alphabetic
1384             character.
1385              
1386             bool isALPHA(char ch)','name' => 'isALPHA'},'Nullhv' => {'text' => 'Null HV pointer.','name' => 'Nullhv'},'av_fill' => {'text' => 'Ensure than an array has a given number of elements, equivalent to
1387             Perl\'s C<$#array = $fill;>.
1388              
1389             void av_fill(AV* ar, I32 fill)','name' => 'av_fill'},'SvREFCNT_inc' => {'text' => 'Increments the reference count of the given SV.
1390              
1391             SV* SvREFCNT_inc(SV* sv)','name' => 'SvREFCNT_inc'},'SvTYPE' => {'text' => 'Returns the type of the SV. See C.
1392              
1393             svtype SvTYPE(SV* sv)','name' => 'SvTYPE'},'perl_construct' => {'text' => 'Initializes a new Perl interpreter. See L.
1394              
1395             void perl_construct(PerlInterpreter* interp)','name' => 'perl_construct'},'SvUOK' => {'text' => 'Returns a boolean indicating whether the SV contains an unsigned integer.
1396              
1397             void SvUOK(SV* sv)','name' => 'SvUOK'},'sv_dec' => {'text' => 'Auto-decrement of the value in the SV, doing string to numeric conversion
1398             if necessary. Handles \'get\' magic.
1399              
1400             void sv_dec(SV* sv)','name' => 'sv_dec'},'SvIOK_only' => {'text' => 'Tells an SV that it is an integer and disables all other OK bits.
1401              
1402             void SvIOK_only(SV* sv)','name' => 'SvIOK_only'},'strLE' => {'text' => 'Test two strings to see if the first, C, is less than or equal to the
1403             second, C. Returns true or false.
1404              
1405             bool strLE(char* s1, char* s2)','name' => 'strLE'},'SvROK_off' => {'text' => 'Unsets the RV status of an SV.
1406              
1407             void SvROK_off(SV* sv)','name' => 'SvROK_off'},'Renew' => {'text' => 'The XSUB-writer\'s interface to the C C function.
1408              
1409             void Renew(void* ptr, int nitems, type)','name' => 'Renew'},'grok_bin' => {'text' => 'converts a string representing a binary number to numeric form.
1410              
1411             On entry I and I<*len> give the string to scan, I<*flags> gives
1412             conversion flags, and I should be NULL or a pointer to an NV.
1413             The scan stops at the end of the string, or the first invalid character.
1414             On return I<*len> is set to the length scanned string, and I<*flags> gives
1415             output flags.
1416              
1417             If the value is <= UV_MAX it is returned as a UV, the output flags are clear,
1418             and nothing is written to I<*result>. If the value is > UV_MAX C
1419             returns UV_MAX, sets C in the output flags,
1420             and writes the value to I<*result> (or the value is discarded if I
1421             is NULL).
1422              
1423             The hex number may optionally be prefixed with "0b" or "b" unless
1424             C is set in I<*flags> on entry. If
1425             C is set in I<*flags> then the binary
1426             number may use \'_\' characters to separate digits.
1427              
1428             UV grok_bin(char* start, STRLEN* len, I32* flags, NV *result)','name' => 'grok_bin'},'sv_2pvbyte_nolen' => {'text' => 'Return a pointer to the byte-encoded representation of the SV.
1429             May cause the SV to be downgraded from UTF8 as a side-effect.
1430              
1431             Usually accessed via the C macro.
1432              
1433             char* sv_2pvbyte_nolen(SV* sv)','name' => 'sv_2pvbyte_nolen'},'perl_free' => {'text' => 'Releases a Perl interpreter. See L.
1434              
1435             void perl_free(PerlInterpreter* interp)','name' => 'perl_free'},'SvOK' => {'text' => 'Returns a boolean indicating whether the value is an SV.
1436              
1437             bool SvOK(SV* sv)','name' => 'SvOK'},'sv_setref_nv' => {'text' => 'Copies a double into a new SV, optionally blessing the SV. The C
1438             argument will be upgraded to an RV. That RV will be modified to point to
1439             the new SV. The C argument indicates the package for the
1440             blessing. Set C to C to avoid the blessing. The new SV
1441             will be returned and will have a reference count of 1.
1442              
1443             SV* sv_setref_nv(SV* rv, const char* classname, NV nv)','name' => 'sv_setref_nv'},'uvchr_to_utf8' => {'text' => 'Adds the UTF8 representation of the Native codepoint C to the end
1444             of the string C; C should be have at least C free
1445             bytes available. The return value is the pointer to the byte after the
1446             end of the new character. In other words,
1447              
1448             d = uvchr_to_utf8(d, uv);
1449              
1450             is the recommended wide native character-aware way of saying
1451              
1452             *(d++) = uv;
1453              
1454             U8* uvchr_to_utf8(U8 *d, UV uv)','name' => 'uvchr_to_utf8'},'mg_find' => {'text' => 'Finds the magic pointer for type matching the SV. See C.
1455              
1456             MAGIC* mg_find(SV* sv, int type)','name' => 'mg_find'},'isDIGIT' => {'text' => 'Returns a boolean indicating whether the C C is an ASCII
1457             digit.
1458              
1459             bool isDIGIT(char ch)','name' => 'isDIGIT'},'SvNOK_on' => {'text' => 'Tells an SV that it is a double.
1460              
1461             void SvNOK_on(SV* sv)','name' => 'SvNOK_on'},'eval_pv' => {'text' => 'Tells Perl to C the given string and return an SV* result.
1462              
1463             NOTE: the perl_ form of this function is deprecated.
1464              
1465             SV* eval_pv(const char* p, I32 croak_on_error)','name' => 'eval_pv'},'newSVpvn_share' => {'text' => 'Creates a new SV with its SvPVX pointing to a shared string in the string
1466             table. If the string does not already exist in the table, it is created
1467             first. Turns on READONLY and FAKE. The string\'s hash is stored in the UV
1468             slot of the SV; if the C parameter is non-zero, that value is used;
1469             otherwise the hash is computed. The idea here is that as the string table
1470             is used for shared hash keys these strings will have SvPVX == HeKEY and
1471             hash lookup will avoid string compare.
1472              
1473             SV* newSVpvn_share(const char* s, I32 len, U32 hash)','name' => 'newSVpvn_share'},'sv_setpvf_mg' => {'text' => 'Like C, but also handles \'set\' magic.
1474              
1475             void sv_setpvf_mg(SV *sv, const char* pat, ...)','name' => 'sv_setpvf_mg'},'SvPOKp' => {'text' => 'Returns a boolean indicating whether the SV contains a character string.
1476             Checks the B setting. Use C.
1477              
1478             bool SvPOKp(SV* sv)','name' => 'SvPOKp'},'sv_free' => {'text' => 'Decrement an SV\'s reference count, and if it drops to zero, call
1479             C to invoke destructors and free up any memory used by
1480             the body; finally, deallocate the SV\'s head itself.
1481             Normally called via a wrapper macro C.
1482              
1483             void sv_free(SV* sv)','name' => 'sv_free'},'sv_catpvn' => {'text' => 'Concatenates the string onto the end of the string which is in the SV. The
1484             C indicates number of bytes to copy. If the SV has the UTF8
1485             status set, then the bytes appended should be valid UTF8.
1486             Handles \'get\' magic, but not \'set\' magic. See C.
1487              
1488             void sv_catpvn(SV* sv, const char* ptr, STRLEN len)','name' => 'sv_catpvn'},'SvPVbyte_force' => {'text' => 'Like C, but converts sv to byte representation first if necessary.
1489              
1490             char* SvPVbyte_force(SV* sv, STRLEN len)','name' => 'SvPVbyte_force'},'newCONSTSUB' => {'text' => 'Creates a constant sub equivalent to Perl C which is
1491             eligible for inlining at compile-time.
1492              
1493             CV* newCONSTSUB(HV* stash, char* name, SV* sv)','name' => 'newCONSTSUB'},'sv_setref_pv' => {'text' => 'Copies a pointer into a new SV, optionally blessing the SV. The C
1494             argument will be upgraded to an RV. That RV will be modified to point to
1495             the new SV. If the C argument is NULL then C will be placed
1496             into the SV. The C argument indicates the package for the
1497             blessing. Set C to C to avoid the blessing. The new SV
1498             will be returned and will have a reference count of 1.
1499              
1500             Do not use with other Perl types such as HV, AV, SV, CV, because those
1501             objects will become corrupted by the pointer copy process.
1502              
1503             Note that C copies the string while this copies the pointer.
1504              
1505             SV* sv_setref_pv(SV* rv, const char* classname, void* pv)','name' => 'sv_setref_pv'},'SvSHARE' => {'text' => 'Arranges for sv to be shared between threads if a suitable module
1506             has been loaded.
1507              
1508             void SvSHARE(SV* sv)','name' => 'SvSHARE'},'av_pop' => {'text' => 'Pops an SV off the end of the array. Returns C<&PL_sv_undef> if the array
1509             is empty.
1510              
1511             SV* av_pop(AV* ar)','name' => 'av_pop'},'fbm_compile' => {'text' => 'Analyses the string in order to make fast searches on it using fbm_instr()
1512             -- the Boyer-Moore algorithm.
1513              
1514             void fbm_compile(SV* sv, U32 flags)','name' => 'fbm_compile'},'sv_utf8_downgrade' => {'text' => 'Attempt to convert the PV of an SV from UTF8-encoded to byte encoding.
1515             This may not be possible if the PV contains non-byte encoding characters;
1516             if this is the case, either returns false or, if C is not
1517             true, croaks.
1518              
1519             This is not as a general purpose Unicode to byte encoding interface:
1520             use the Encode extension for that.
1521              
1522             NOTE: this function is experimental and may change or be
1523             removed without notice.
1524              
1525             bool sv_utf8_downgrade(SV *sv, bool fail_ok)','name' => 'sv_utf8_downgrade'},'SvNIOKp' => {'text' => 'Returns a boolean indicating whether the SV contains a number, integer or
1526             double. Checks the B setting. Use C.
1527              
1528             bool SvNIOKp(SV* sv)','name' => 'SvNIOKp'},'croak' => {'text' => 'This is the XSUB-writer\'s interface to Perl\'s C function.
1529             Normally use this function the same way you use the C C
1530             function. See C.
1531              
1532             If you want to throw an exception object, assign the object to
1533             C<$@> and then pass C to croak():
1534              
1535             errsv = get_sv("@", TRUE);
1536             sv_setsv(errsv, exception_object);
1537             croak(Nullch);
1538              
1539             void croak(const char* pat, ...)','name' => 'croak'},'sortsv' => {'text' => 'Sort an array. Here is an example:
1540              
1541             sortsv(AvARRAY(av), av_len(av)+1, Perl_sv_cmp_locale);
1542              
1543             See lib/sort.pm for details about controlling the sorting algorithm.
1544              
1545             void sortsv(SV ** array, size_t num_elts, SVCOMPARE_t cmp)','name' => 'sortsv'},'THIS' => {'text' => 'Variable which is setup by C to designate the object in a C++
1546             XSUB. This is always the proper type for the C++ object. See C and
1547             L.
1548              
1549             (whatever) THIS','name' => 'THIS'},'utf8_hop' => {'text' => 'Return the UTF-8 pointer C displaced by C characters, either
1550             forward or backward.
1551              
1552             WARNING: do not use the following unless you *know* C is within
1553             the UTF-8 data pointed to by C *and* that on entry C is aligned
1554             on the first byte of character or just after the last byte of a character.
1555              
1556             U8* utf8_hop(U8 *s, I32 off)','name' => 'utf8_hop'},'sv_len_utf8' => {'text' => 'Returns the number of characters in the string in an SV, counting wide
1557             UTF8 bytes as a single character. Handles magic and type coercion.
1558              
1559             STRLEN sv_len_utf8(SV* sv)','name' => 'sv_len_utf8'},'XSRETURN' => {'text' => 'Return from XSUB, indicating number of items on the stack. This is usually
1560             handled by C.
1561              
1562             void XSRETURN(int nitems)','name' => 'XSRETURN'},'sv_setref_pvn' => {'text' => 'Copies a string into a new SV, optionally blessing the SV. The length of the
1563             string must be specified with C. The C argument will be upgraded to
1564             an RV. That RV will be modified to point to the new SV. The C
1565             argument indicates the package for the blessing. Set C to
1566             C to avoid the blessing. The new SV will be returned and will have
1567             a reference count of 1.
1568              
1569             Note that C copies the pointer while this copies the string.
1570              
1571             SV* sv_setref_pvn(SV* rv, const char* classname, char* pv, STRLEN n)','name' => 'sv_setref_pvn'},'SVt_PVMG' => {'text' => 'Type flag for blessed scalars. See C.','name' => 'SVt_PVMG'},'PUSHp' => {'text' => 'Push a string onto the stack. The stack must have room for this element.
1572             The C indicates the length of the string. Handles \'set\' magic. See
1573             C.
1574              
1575             void PUSHp(char* str, STRLEN len)','name' => 'PUSHp'},'scan_bin' => {'text' => 'For backwards compatibility. Use C instead.
1576              
1577             NV scan_bin(char* start, STRLEN len, STRLEN* retlen)','name' => 'scan_bin'},'Nullcv' => {'text' => 'Null CV pointer.','name' => 'Nullcv'},'dAX' => {'text' => 'Sets up the C variable.
1578             This is usually handled automatically by C by calling C.
1579              
1580             dAX;','name' => 'dAX'},'sv_2pv_nolen' => {'text' => 'Like C, but doesn\'t return the length too. You should usually
1581             use the macro wrapper C instead.
1582             char* sv_2pv_nolen(SV* sv)','name' => 'sv_2pv_nolen'},'get_av' => {'text' => 'Returns the AV of the specified Perl array. If C is set and the
1583             Perl variable does not exist then it will be created. If C is not
1584             set and the variable does not exist then NULL is returned.
1585              
1586             NOTE: the perl_ form of this function is deprecated.
1587              
1588             AV* get_av(const char* name, I32 create)','name' => 'get_av'},'PL_sv_undef' => {'text' => 'This is the C SV. Always refer to this as C<&PL_sv_undef>.
1589              
1590             SV PL_sv_undef','name' => 'PL_sv_undef'},'SvPVbyte' => {'text' => 'Like C, but converts sv to byte representation first if necessary.
1591              
1592             char* SvPVbyte(SV* sv, STRLEN len)','name' => 'SvPVbyte'},'hv_iterkeysv' => {'text' => 'Returns the key as an C from the current position of the hash
1593             iterator. The return value will always be a mortal copy of the key. Also
1594             see C.
1595              
1596             SV* hv_iterkeysv(HE* entry)','name' => 'hv_iterkeysv'},'grok_number' => {'text' => 'Recognise (or not) a number. The type of the number is returned
1597             (0 if unrecognised), otherwise it is a bit-ORed combination of
1598             IS_NUMBER_IN_UV, IS_NUMBER_GREATER_THAN_UV_MAX, IS_NUMBER_NOT_INT,
1599             IS_NUMBER_NEG, IS_NUMBER_INFINITY, IS_NUMBER_NAN (defined in perl.h).
1600              
1601             If the value of the number can fit an in UV, it is returned in the *valuep
1602             IS_NUMBER_IN_UV will be set to indicate that *valuep is valid, IS_NUMBER_IN_UV
1603             will never be set unless *valuep is valid, but *valuep may have been assigned
1604             to during processing even though IS_NUMBER_IN_UV is not set on return.
1605             If valuep is NULL, IS_NUMBER_IN_UV will be set for the same cases as when
1606             valuep is non-NULL, but no actual assignment (or SEGV) will occur.
1607              
1608             IS_NUMBER_NOT_INT will be set with IS_NUMBER_IN_UV if trailing decimals were
1609             seen (in which case *valuep gives the true value truncated to an integer), and
1610             IS_NUMBER_NEG if the number is negative (in which case *valuep holds the
1611             absolute value). IS_NUMBER_IN_UV is not set if e notation was used or the
1612             number is larger than a UV.
1613              
1614             int grok_number(const char *pv, STRLEN len, UV *valuep)','name' => 'grok_number'},'SvIVx' => {'text' => 'Coerces the given SV to an integer and returns it. Guarantees to evaluate
1615             sv only once. Use the more efficient C otherwise.
1616              
1617             IV SvIVx(SV* sv)','name' => 'SvIVx'},'grok_numeric_radix' => {'text' => 'Scan and skip for a numeric decimal separator (radix).
1618              
1619             bool grok_numeric_radix(const char **sp, const char *send)','name' => 'grok_numeric_radix'},'XST_mNO' => {'text' => 'Place C<&PL_sv_no> into the specified position C on the
1620             stack.
1621              
1622             void XST_mNO(int pos)','name' => 'XST_mNO'},'toUPPER' => {'text' => 'Converts the specified character to uppercase.
1623              
1624             char toUPPER(char ch)','name' => 'toUPPER'},'av_delete' => {'text' => 'Deletes the element indexed by C from the array. Returns the
1625             deleted element. C is currently ignored.
1626              
1627             SV* av_delete(AV* ar, I32 key, I32 flags)','name' => 'av_delete'},'utf8_distance' => {'text' => 'Returns the number of UTF8 characters between the UTF-8 pointers C
1628             and C.
1629              
1630             WARNING: use only if you *know* that the pointers point inside the
1631             same UTF-8 buffer.
1632              
1633             IV utf8_distance(U8 *a, U8 *b)','name' => 'utf8_distance'},'SAVETMPS' => {'text' => 'Opening bracket for temporaries on a callback. See C and
1634             L.
1635              
1636             SAVETMPS;','name' => 'SAVETMPS'},'sv_gets' => {'text' => 'Get a line from the filehandle and store it into the SV, optionally
1637             appending to the currently-stored string.
1638              
1639             char* sv_gets(SV* sv, PerlIO* fp, I32 append)','name' => 'sv_gets'},'AvFILL' => {'text' => 'Same as C. Deprecated, use C instead.
1640              
1641             int AvFILL(AV* av)','name' => 'AvFILL'},'SvPVutf8x' => {'text' => 'Like C, but converts sv to utf8 first if necessary.
1642             Guarantees to evaluate sv only once; use the more efficient C
1643             otherwise.
1644              
1645             char* SvPVutf8x(SV* sv, STRLEN len)','name' => 'SvPVutf8x'},'ORIGMARK' => {'text' => 'The original stack mark for the XSUB. See C.','name' => 'ORIGMARK'},'sv_collxfrm' => {'text' => 'Add Collate Transform magic to an SV if it doesn\'t already have it.
1646              
1647             Any scalar variable may carry PERL_MAGIC_collxfrm magic that contains the
1648             scalar data of the variable, but transformed to such a format that a normal
1649             memory comparison can be used to compare the data according to the locale
1650             settings.
1651              
1652             char* sv_collxfrm(SV* sv, STRLEN* nxp)','name' => 'sv_collxfrm'},'sv_2cv' => {'text' => 'Using various gambits, try to get a CV from an SV; in addition, try if
1653             possible to set C<*st> and C<*gvp> to the stash and GV associated with it.
1654              
1655             CV* sv_2cv(SV* sv, HV** st, GV** gvp, I32 lref)','name' => 'sv_2cv'},'SvPV_force_nomg' => {'text' => 'Like C but will force the SV into containing just a string
1656             (C). You want force if you are going to update the C
1657             directly. Doesn\'t process magic.
1658              
1659             char* SvPV_force_nomg(SV* sv, STRLEN len)','name' => 'SvPV_force_nomg'},'SP' => {'text' => 'Stack pointer. This is usually handled by C. See C and
1660             C.','name' => 'SP'},'SvSetSV_nosteal' => {'text' => 'Calls a non-destructive version of C if dsv is not the same as
1661             ssv. May evaluate arguments more than once.
1662              
1663             void SvSetSV_nosteal(SV* dsv, SV* ssv)','name' => 'SvSetSV_nosteal'},'SvPOK_only' => {'text' => 'Tells an SV that it is a string and disables all other OK bits.
1664             Will also turn off the UTF8 status.
1665              
1666             void SvPOK_only(SV* sv)','name' => 'SvPOK_only'},'sv_catpvn_mg' => {'text' => 'Like C, but also handles \'set\' magic.
1667              
1668             void sv_catpvn_mg(SV *sv, const char *ptr, STRLEN len)','name' => 'sv_catpvn_mg'},'POPpx' => {'text' => 'Pops a string off the stack.
1669             Requires a variable STRLEN n_a in scope.
1670              
1671             char* POPpx','name' => 'POPpx'},'sv_usepvn_mg' => {'text' => 'Like C, but also handles \'set\' magic.
1672              
1673             void sv_usepvn_mg(SV *sv, char *ptr, STRLEN len)','name' => 'sv_usepvn_mg'},'sv_uv' => {'text' => 'A private implementation of the C macro for compilers which can\'t
1674             cope with complex macro expressions. Always use the macro instead.
1675              
1676             UV sv_uv(SV* sv)','name' => 'sv_uv'},'sv_pvbyte' => {'text' => 'Use C instead.
1677              
1678             char* sv_pvbyte(SV *sv)','name' => 'sv_pvbyte'},'SvSTASH' => {'text' => 'Returns the stash of the SV.
1679              
1680             HV* SvSTASH(SV* sv)','name' => 'SvSTASH'},'hv_fetch' => {'text' => 'Returns the SV which corresponds to the specified key in the hash. The
1681             C is the length of the key. If C is set then the fetch will be
1682             part of a store. Check that the return value is non-null before
1683             dereferencing it to an C.
1684              
1685             See L for more
1686             information on how to use this function on tied hashes.
1687              
1688             SV** hv_fetch(HV* tb, const char* key, I32 klen, I32 lval)','name' => 'hv_fetch'},'Zero' => {'text' => 'The XSUB-writer\'s interface to the C C function. The C is the
1689             destination, C is the number of items, and C is the type.
1690              
1691             void Zero(void* dest, int nitems, type)','name' => 'Zero'},'PL_modglobal' => {'text' => 'C is a general purpose, interpreter global HV for use by
1692             extensions that need to keep information on a per-interpreter basis.
1693             In a pinch, it can also be used as a symbol table for extensions
1694             to share data among each other. It is a good idea to use keys
1695             prefixed by the package name of the extension that owns the data.
1696              
1697             HV* PL_modglobal','name' => 'PL_modglobal'},'XSRETURN_UNDEF' => {'text' => 'Return C<&PL_sv_undef> from an XSUB immediately. Uses C.
1698              
1699             XSRETURN_UNDEF;','name' => 'XSRETURN_UNDEF'},'sv_unref_flags' => {'text' => 'Unsets the RV status of the SV, and decrements the reference count of
1700             whatever was being referenced by the RV. This can almost be thought of
1701             as a reversal of C. The C argument can contain
1702             C to force the reference count to be decremented
1703             (otherwise the decrementing is conditional on the reference count being
1704             different from one or the reference being a readonly SV).
1705             See C.
1706              
1707             void sv_unref_flags(SV* sv, U32 flags)','name' => 'sv_unref_flags'},'sv_iv' => {'text' => 'A private implementation of the C macro for compilers which can\'t
1708             cope with complex macro expressions. Always use the macro instead.
1709              
1710             IV sv_iv(SV* sv)','name' => 'sv_iv'},'SvRV' => {'text' => 'Dereferences an RV to return the SV.
1711              
1712             SV* SvRV(SV* sv)','name' => 'SvRV'},'Nullch' => {'text' => 'Null character pointer.
1713             =for hackers
1714             Found in file handy.h','name' => 'Nullch'},'mg_copy' => {'text' => 'Copies the magic from one SV to another. See C.
1715              
1716             int mg_copy(SV* sv, SV* nsv, const char* key, I32 klen)','name' => 'mg_copy'},'HeSVKEY_force' => {'text' => 'Returns the key as an C. Will create and return a temporary mortal
1717             C if the hash entry contains only a C key.
1718              
1719             SV* HeSVKEY_force(HE* he)','name' => 'HeSVKEY_force'},'sv_rvweaken' => {'text' => 'Weaken a reference: set the C flag on this RV; give the
1720             referred-to SV C magic if it hasn\'t already; and
1721             push a back-reference to this RV onto the array of backreferences
1722             associated with that magic.
1723              
1724             SV* sv_rvweaken(SV *sv)','name' => 'sv_rvweaken'},'grok_oct' => {'text' => 'UV grok_oct(char* start, STRLEN* len, I32* flags, NV *result)','name' => 'grok_oct'},'MARK' => {'text' => 'Stack marker variable for the XSUB. See C.','name' => 'MARK'},'scan_hex' => {'text' => 'For backwards compatibility. Use C instead.
1725              
1726             NV scan_hex(char* start, STRLEN len, STRLEN* retlen)','name' => 'scan_hex'},'newSVpvn' => {'text' => 'Creates a new SV and copies a string into it. The reference count for the
1727             SV is set to 1. Note that if C is zero, Perl will create a zero length
1728             string. You are responsible for ensuring that the source string is at least
1729             C bytes long.
1730              
1731             SV* newSVpvn(const char* s, STRLEN len)','name' => 'newSVpvn'},'sv_magicext' => {'text' => 'Adds magic to an SV, upgrading it if necessary. Applies the
1732             supplied vtable and returns pointer to the magic added.
1733              
1734             Note that sv_magicext will allow things that sv_magic will not.
1735             In particular you can add magic to SvREADONLY SVs and and more than
1736             one instance of the same \'how\'
1737              
1738             I C is greater then zero then a savepvn() I of C is stored,
1739             if C is zero then C is stored as-is and - as another special
1740             case - if C<(name && namelen == HEf_SVKEY)> then C is assumed to contain
1741             an C and has its REFCNT incremented
1742              
1743             (This is now used as a subroutine by sv_magic.)
1744              
1745             MAGIC * sv_magicext(SV* sv, SV* obj, int how, MGVTBL *vtbl, const char* name, I32 namlen )','name' => 'sv_magicext'},'newRV_inc' => {'text' => 'Creates an RV wrapper for an SV. The reference count for the original SV is
1746             incremented.
1747              
1748             SV* newRV_inc(SV* sv)','name' => 'newRV_inc'},'SVt_PVCV' => {'text' => 'Type flag for code refs. See C.','name' => 'SVt_PVCV'},'av_push' => {'text' => 'Pushes an SV onto the end of the array. The array will grow automatically
1749             to accommodate the addition.
1750              
1751             void av_push(AV* ar, SV* val)','name' => 'av_push'},'POPn' => {'text' => 'Pops a double off the stack.
1752              
1753             NV POPn','name' => 'POPn'},'XSRETURN_NO' => {'text' => 'Return C<&PL_sv_no> from an XSUB immediately. Uses C.
1754              
1755             XSRETURN_NO;','name' => 'XSRETURN_NO'},'av_extend' => {'text' => 'Pre-extend an array. The C is the index to which the array should be
1756             extended.
1757              
1758             void av_extend(AV* ar, I32 key)','name' => 'av_extend'},'newRV_noinc' => {'text' => 'Creates an RV wrapper for an SV. The reference count for the original
1759             SV is B incremented.
1760              
1761             SV* newRV_noinc(SV *sv)','name' => 'newRV_noinc'},'SvUVx' => {'text' => 'Coerces the given SV to an unsigned integer and returns it. Guarantees to
1762             evaluate sv only once. Use the more efficient C otherwise.
1763              
1764             UV SvUVx(SV* sv)','name' => 'SvUVx'},'SvROK_on' => {'text' => 'Tells an SV that it is an RV.
1765              
1766             void SvROK_on(SV* sv)','name' => 'SvROK_on'},'sv_2bool' => {'text' => 'This function is only called on magical items, and is only used by
1767             sv_true() or its macro equivalent.
1768              
1769             bool sv_2bool(SV* sv)','name' => 'sv_2bool'},'hv_iternext' => {'text' => 'Returns entries from a hash iterator. See C.
1770              
1771             You may call C or C on the hash entry that the
1772             iterator currently points to, without losing your place or invalidating your
1773             iterator. Note that in this case the current entry is deleted from the hash
1774             with your iterator holding the last reference to it. Your iterator is flagged
1775             to free the entry on the next call to C, so you must not discard
1776             your iterator immediately else the entry will leak - call C to
1777             trigger the resource deallocation.
1778              
1779             HE* hv_iternext(HV* tb)','name' => 'hv_iternext'},'G_VOID' => {'text' => 'Used to indicate void context. See C and L.','name' => 'G_VOID'},'dORIGMARK' => {'text' => 'Saves the original stack mark for the XSUB. See C.
1780              
1781             dORIGMARK;','name' => 'dORIGMARK'},'sv_newmortal' => {'text' => 'Creates a new null SV which is mortal. The reference count of the SV is
1782             set to 1. It will be destroyed "soon", either by an explicit call to
1783             FREETMPS, or by an implicit call at places such as statement boundaries.
1784             See also C and C.
1785              
1786             SV* sv_newmortal()','name' => 'sv_newmortal'},'sv_clear' => {'text' => 'Clear an SV: call any destructors, free up any memory used by the body,
1787             and free the body itself. The SV\'s head is I freed, although
1788             its type is set to all 1\'s so that it won\'t inadvertently be assumed
1789             to be live during global destruction etc.
1790             This function should only be called when REFCNT is zero. Most of the time
1791             you\'ll want to call C (or its macro wrapper C)
1792             instead.
1793              
1794             void sv_clear(SV* sv)','name' => 'sv_clear'},'hv_iterinit' => {'text' => 'Prepares a starting point to traverse a hash table. Returns the number of
1795             keys in the hash (i.e. the same as C). The return value is
1796             currently only meaningful for hashes without tie magic.
1797              
1798             NOTE: Before version 5.004_65, C used to return the number of
1799             hash buckets that happen to be in use. If you still need that esoteric
1800             value, you can get it through the macro C.
1801              
1802              
1803             I32 hv_iterinit(HV* tb)','name' => 'hv_iterinit'}};};
1804              
1805 1         22 my $self = bless({
1806             'index' => $VAR1,
1807             perl_version => '5.008000',
1808             } => $class);
1809 1         246 return $self;
1810             }
1811              
1812             1;