File Coverage

blib/lib/Perl/APIReference/V5_006_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_006_000;
2 1     1   6 use strict;
  1         1  
  1         58  
3 1     1   7 use warnings;
  1         2  
  1         48  
4 1     1   706 use parent 'Perl::APIReference';
  1         405  
  1         6  
5              
6             sub new {
7 2     2 1 6 my $class = shift;
8 2         4 my $VAR1;
9              
10 2         3 do{$VAR1 = {'SvOOK' => {'text' => 'Returns a boolean indicating whether the SvIVX is a valid offset value for
  2         1267  
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 an 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'},'SvPV' => {'text' => 'Returns a pointer to the string in the SV, or a stringified form of the SV
38             if the SV does not contain a string. Handles \'get\' magic.
39              
40             char* SvPV(SV* sv, STRLEN len)','name' => 'SvPV'},'svtype' => {'text' => 'An enum of flags for Perl types. These are found in the file B
41             in the C enum. Test these flags with the C macro.','name' => 'svtype'},'hv_clear' => {'text' => 'Clears a hash, making it empty.
42              
43             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
44             Perl variable does not exist then it will be created. If C is not
45             set and the variable does not exist then NULL is returned.
46              
47             NOTE: the perl_ form of this function is deprecated.
48              
49             HV* get_hv(const char* name, I32 create)','name' => 'get_hv'},'XSRETURN_YES' => {'text' => 'Return C<&PL_sv_yes> from an XSUB immediately. Uses C.
50              
51             XSRETURN_YES;','name' => 'XSRETURN_YES'},'Renewc' => {'text' => 'The XSUB-writer\'s interface to the C C function, with
52             cast.
53              
54             void Renewc(void* ptr, int nitems, type, cast)','name' => 'Renewc'},'sv_insert' => {'text' => 'Inserts a string at the specified offset/length within the SV. Similar to
55             the Perl substr() function.
56              
57             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.
58              
59             void sv_catpvf_mg(SV *sv, const char* pat, ...)','name' => 'sv_catpvf_mg'},'SvPOK_off' => {'text' => 'Unsets the PV status of an SV.
60              
61             void SvPOK_off(SV* sv)','name' => 'SvPOK_off'},'SvPOK' => {'text' => 'Returns a boolean indicating whether the SV contains a character
62             string.
63              
64             bool SvPOK(SV* sv)','name' => 'SvPOK'},'PUSHu' => {'text' => 'Push an unsigned integer onto the stack. The stack must have room for this
65             element. See C.
66              
67             void PUSHu(UV uv)','name' => 'PUSHu'},'get_sv' => {'text' => 'Returns the SV of the specified Perl scalar. If C is set and the
68             Perl variable does not exist then it will be created. If C is not
69             set and the variable does not exist then NULL is returned.
70              
71             NOTE: the perl_ form of this function is deprecated.
72              
73             SV* get_sv(const char* name, I32 create)','name' => 'get_sv'},'newSVsv' => {'text' => 'Creates a new SV which is an exact duplicate of the original SV.
74              
75             SV* newSVsv(SV* old)','name' => 'newSVsv'},'hv_magic' => {'text' => 'Adds magic to a hash. See C.
76              
77             void hv_magic(HV* hv, GV* gv, int how)','name' => 'hv_magic'},'sv_setpv_mg' => {'text' => 'Like C, but also handles \'set\' magic.
78              
79             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
80             C.','name' => 'XS'},'sv_setpvn' => {'text' => 'Copies a string into an SV. The C parameter indicates the number of
81             bytes to be copied. Does not handle \'set\' magic. See C.
82              
83             void sv_setpvn(SV* sv, const char* ptr, STRLEN len)','name' => 'sv_setpvn'},'sv_2mortal' => {'text' => 'Marks an SV as mortal. The SV will be destroyed when the current context
84             ends.
85              
86             SV* sv_2mortal(SV* sv)','name' => 'sv_2mortal'},'mg_magical' => {'text' => 'Turns on the magical status of an SV. See C.
87              
88             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
89             it will be upgraded to one. If C is non-null then the new SV will
90             be blessed in the specified package. The new SV is returned and its
91             reference count is 1.
92              
93             SV* newSVrv(SV* rv, const char* classname)','name' => 'newSVrv'},'strnEQ' => {'text' => 'Test two strings to see if they are equal. The C parameter indicates
94             the number of bytes to compare. Returns true or false. (A wrapper for
95             C).
96              
97             bool strnEQ(char* s1, char* s2, STRLEN len)','name' => 'strnEQ'},'av_undef' => {'text' => 'Undefines the array. Frees the memory used by the array itself.
98              
99             void av_undef(AV* ar)','name' => 'av_undef'},'HeKEY' => {'text' => 'Returns the actual pointer stored in the key slot of the hash entry. The
100             pointer may be either C or C, depending on the value of
101             C. Can be assigned to. The C or C macros are
102             usually preferable for finding the value of a key.
103              
104             void* HeKEY(HE* he)','name' => 'HeKEY'},'sv_cmp' => {'text' => 'Compares the strings in two SVs. Returns -1, 0, or 1 indicating whether the
105             string in C is less than, equal to, or greater than the string in
106             C.
107              
108             I32 sv_cmp(SV* sv1, SV* sv2)','name' => 'sv_cmp'},'SvNIOK_off' => {'text' => 'Unsets the NV/IV status of an SV.
109              
110             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.
111             See C. Access the character as *(SvEND(sv)).
112              
113             char* SvEND(SV* sv)','name' => 'SvEND'},'sv_magic' => {'text' => 'Adds magic to an SV.
114              
115             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.
116              
117             int mg_free(SV* sv)','name' => 'mg_free'},'GIMME_V' => {'text' => 'The XSUB-writer\'s equivalent to Perl\'s C. Returns C,
118             C or C for void, scalar or array context,
119             respectively.
120              
121             U32 GIMME_V','name' => 'GIMME_V'},'dMARK' => {'text' => 'Declare a stack marker variable, C, for the XSUB. See C and
122             C.
123              
124             dMARK;','name' => 'dMARK'},'New' => {'text' => 'The XSUB-writer\'s interface to the C C function.
125              
126             void New(int id, void* ptr, int nitems, type)','name' => 'New'},'Copy' => {'text' => 'The XSUB-writer\'s interface to the C C function. The C is the
127             source, C is the destination, C is the number of items, and C is
128             the type. May fail on overlapping copies. See also C.
129              
130             void Copy(void* src, void* dest, int nitems, type)','name' => 'Copy'},'CvSTASH' => {'text' => 'Returns the stash of the CV.
131              
132             HV* CvSTASH(CV* cv)','name' => 'CvSTASH'},'SvNOK_off' => {'text' => 'Unsets the NV status of an SV.
133              
134             void SvNOK_off(SV* sv)','name' => 'SvNOK_off'},'G_ARRAY' => {'text' => 'Used to indicate array context. See C, C and
135             L.','name' => 'G_ARRAY'},'dXSARGS' => {'text' => 'Sets up stack and mark pointers for an XSUB, calling dSP and dMARK. This
136             is usually handled automatically by C. Declares the C
137             variable to indicate the number of items on the stack.
138              
139             dXSARGS;','name' => 'dXSARGS'},'XS_VERSION_BOOTCHECK' => {'text' => 'Macro to verify that a PM module\'s $VERSION variable matches the XS
140             module\'s C variable. This is usually handled automatically by
141             C. See L.
142              
143             XS_VERSION_BOOTCHECK;','name' => 'XS_VERSION_BOOTCHECK'},'Safefree' => {'text' => 'The XSUB-writer\'s interface to the C C function.
144              
145             void Safefree(void* src, void* dest, int nitems, type)','name' => 'Safefree'},'isSPACE' => {'text' => 'Returns a boolean indicating whether the C C is whitespace.
146              
147             bool isSPACE(char ch)','name' => 'isSPACE'},'SvROK' => {'text' => 'Tests if the SV is an RV.
148              
149             bool SvROK(SV* sv)','name' => 'SvROK'},'sv_unref' => {'text' => 'Unsets the RV status of the SV, and decrements the reference count of
150             whatever was being referenced by the RV. This can almost be thought of
151             as a reversal of C. See C.
152              
153             void sv_unref(SV* sv)','name' => 'sv_unref'},'SvSETMAGIC' => {'text' => 'Invokes C on an SV if it has \'set\' magic. This macro evaluates its
154             argument more than once.
155              
156             void SvSETMAGIC(SV* sv)','name' => 'SvSETMAGIC'},'G_EVAL' => {'text' => 'Used to force a Perl C wrapper around a callback. See
157             L.','name' => 'G_EVAL'},'sv_catsv_mg' => {'text' => 'Like C, but also handles \'set\' magic.
158              
159             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.
160              
161             NOTE: the perl_ form of this function is deprecated.
162              
163             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 the SV
164             if the SV does not contain a string. Handles \'get\' magic.
165              
166             char* SvPV_nolen(SV* sv)','name' => 'SvPV_nolen'},'sv_setnv' => {'text' => 'Copies a double into the given SV. Does not handle \'set\' magic. See
167             C.
168              
169             void sv_setnv(SV* sv, NV num)','name' => 'sv_setnv'},'SvSetSV' => {'text' => 'Calls C if dsv is not the same as ssv. May evaluate arguments
170             more than once.
171              
172             void SvSetSV(SV* dsb, SV* ssv)','name' => 'SvSetSV'},'XPUSHp' => {'text' => 'Push a string onto the stack, extending the stack if necessary. The C
173             indicates the length of the string. Handles \'set\' magic. See
174             C.
175              
176             void XPUSHp(char* str, STRLEN len)','name' => 'XPUSHp'},'newHV' => {'text' => 'Creates a new HV. The reference count is set to 1.
177              
178             HV* newHV()','name' => 'newHV'},'strnNE' => {'text' => 'Test two strings to see if they are different. The C parameter
179             indicates the number of bytes to compare. Returns true or false. (A
180             wrapper for C).
181              
182             bool strnNE(char* s1, char* s2, STRLEN len)','name' => 'strnNE'},'strNE' => {'text' => 'Test two strings to see if they are different. Returns true or
183             false.
184              
185             bool strNE(char* s1, char* s2)','name' => 'strNE'},'sv_setpvn_mg' => {'text' => 'Like C, but also handles \'set\' magic.
186              
187             void sv_setpvn_mg(SV *sv, const char *ptr, STRLEN len)','name' => 'sv_setpvn_mg'},'savepv' => {'text' => 'Copy a string to a safe spot. This does not use an SV.
188              
189             char* savepv(const char* sv)','name' => 'savepv'},'toLOWER' => {'text' => 'Converts the specified character to lowercase.
190              
191             char toLOWER(char ch)','name' => 'toLOWER'},'newAV' => {'text' => 'Creates a new AV. The reference count is set to 1.
192              
193             AV* newAV()','name' => 'newAV'},'POPp' => {'text' => 'Pops a string off the stack.
194              
195             char* POPp','name' => 'POPp'},'HvNAME' => {'text' => 'Returns the package name of a stash. See C, C.
196              
197             char* HvNAME(HV* stash)','name' => 'HvNAME'},'av_make' => {'text' => 'Creates a new AV and populates it with a list of SVs. The SVs are copied
198             into the array, so they may be freed after the call to av_make. The new AV
199             will have a reference count of 1.
200              
201             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
202             XSUB. This is always the proper type for the XSUB. See
203             L.
204              
205             (whatever) RETVAL','name' => 'RETVAL'},'HeSVKEY' => {'text' => 'Returns the key as an C, or C if the hash entry does not
206             contain an C key.
207              
208             SV* HeSVKEY(HE* he)','name' => 'HeSVKEY'},'SvUV' => {'text' => 'Coerces the given SV to an unsigned integer and returns it.
209              
210             UV SvUV(SV* sv)','name' => 'SvUV'},'perl_run' => {'text' => 'Tells a Perl interpreter to run. See L.
211              
212             int perl_run(PerlInterpreter* interp)','name' => 'perl_run'},'Nullav' => {'text' => 'Null AV pointer.','name' => 'Nullav'},'PL_DBtrace' => {'text' => 'Trace variable used when Perl is run in debugging mode, with the B<-d>
213             switch. This is the C variable which corresponds to Perl\'s $DB::trace
214             variable. See C.
215              
216             SV * PL_DBtrace','name' => 'PL_DBtrace'},'sv_setpviv' => {'text' => 'Copies an integer into the given SV, also updating its string value.
217             Does not handle \'set\' magic. See C.
218              
219             void sv_setpviv(SV* sv, IV num)','name' => 'sv_setpviv'},'sv_setnv_mg' => {'text' => 'Like C, but also handles \'set\' magic.
220              
221             void sv_setnv_mg(SV *sv, NV num)','name' => 'sv_setnv_mg'},'hv_iternextsv' => {'text' => 'Performs an C, C, and C in one
222             operation.
223              
224             SV* hv_iternextsv(HV* hv, char** key, I32* retlen)','name' => 'hv_iternextsv'},'sv_derived_from' => {'text' => 'Returns a boolean indicating whether the SV is derived from the specified
225             class. This is the function that implements C. It works
226             for class names as well as for objects.
227              
228             bool sv_derived_from(SV* sv, const char* name)','name' => 'sv_derived_from'},'SvIOK_on' => {'text' => 'Tells an SV that it is an integer.
229              
230             void SvIOK_on(SV* sv)','name' => 'SvIOK_on'},'XST_mIV' => {'text' => 'Place an integer into the specified position C on the stack. The
231             value is stored in a new mortal SV.
232              
233             void XST_mIV(int pos, IV iv)','name' => 'XST_mIV'},'hv_exists' => {'text' => 'Returns a boolean indicating whether the specified hash key exists. The
234             C is the length of the key.
235              
236             bool hv_exists(HV* tb, const char* key, U32 klen)','name' => 'hv_exists'},'dSP' => {'text' => 'Declares a local copy of perl\'s stack pointer for the XSUB, available via
237             the C macro. See C.
238              
239             dSP;','name' => 'dSP'},'G_DISCARD' => {'text' => 'Indicates that arguments returned from a callback should be discarded. See
240             L.','name' => 'G_DISCARD'},'Nullsv' => {'text' => 'Null SV pointer.','name' => 'Nullsv'},'mg_length' => {'text' => 'Report on the SV\'s length. See C.
241              
242             U32 mg_length(SV* sv)','name' => 'mg_length'},'GvSV' => {'text' => 'Return the SV from the GV.
243              
244             SV* GvSV(GV* gv)','name' => 'GvSV'},'SvPVX' => {'text' => 'Returns a pointer to the string in the SV. The SV must contain a
245             string.
246              
247             char* SvPVX(SV* sv)','name' => 'SvPVX'},'XST_mNV' => {'text' => 'Place a double into the specified position C on the stack. The value
248             is stored in a new mortal SV.
249              
250             void XST_mNV(int pos, NV nv)','name' => 'XST_mNV'},'XPUSHi' => {'text' => 'Push an integer onto the stack, extending the stack if necessary. Handles
251             \'set\' magic. See C.
252              
253             void XPUSHi(IV iv)','name' => 'XPUSHi'},'HEf_SVKEY' => {'text' => 'This flag, used in the length slot of hash entries and magic structures,
254             specifies the structure contains a C pointer where a C pointer
255             is to be expected. (For information only--not to be used).','name' => 'HEf_SVKEY'},'POPi' => {'text' => 'Pops an integer off the stack.
256              
257             IV POPi','name' => 'POPi'},'SvTAINTED_on' => {'text' => 'Marks an SV as tainted.
258              
259             void SvTAINTED_on(SV* sv)','name' => 'SvTAINTED_on'},'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
260             to an SV. Uses an array of SVs if the C style variable argument list is
261             missing (NULL). When running with taint checks enabled, indicates via
262             C if results are untrustworthy (often due to the use of
263             locales).
264              
265             void sv_vcatpvfn(SV* sv, const char* pat, STRLEN patlen, va_list* args, SV** svargs, I32 svmax, bool *maybe_tainted)','name' => 'sv_vcatpvfn'},'av_store' => {'text' => 'Stores an SV in an array. The array index is specified as C. The
266             return value will be NULL if the operation failed or if the value did not
267             need to be actually stored within the array (as in the case of tied
268             arrays). Otherwise it can be dereferenced to get the original C. Note
269             that the caller is responsible for suitably incrementing the reference
270             count of C before the call, and decrementing it if the function
271             returned NULL.
272              
273             See L for
274             more information on how to use this function on tied arrays.
275              
276             SV** av_store(AV* ar, I32 key, SV* val)','name' => 'av_store'},'PUSHMARK' => {'text' => 'Opening bracket for arguments on a callback. See C and
277             L.
278              
279             PUSHMARK;','name' => 'PUSHMARK'},'ST' => {'text' => 'Used to access elements on the XSUB\'s stack.
280              
281             SV* ST(int ix)','name' => 'ST'},'strLT' => {'text' => 'Test two strings to see if the first, C, is less than the second,
282             C. Returns true or false.
283              
284             bool strLT(char* s1, char* s2)','name' => 'strLT'},'call_pv' => {'text' => 'Performs a callback to the specified Perl sub. See L.
285              
286             NOTE: the perl_ form of this function is deprecated.
287              
288             I32 call_pv(const char* sub_name, I32 flags)','name' => 'call_pv'},'av_shift' => {'text' => 'Shifts an SV off the beginning of the array.
289              
290             SV* av_shift(AV* ar)','name' => 'av_shift'},'av_fetch' => {'text' => 'Returns the SV at the specified index in the array. The C is the
291             index. If C is set then the fetch will be part of a store. Check
292             that the return value is non-null before dereferencing it to a C.
293              
294             See L for
295             more information on how to use this function on tied arrays.
296              
297             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.
298              
299             void SvNOK_only(SV* sv)','name' => 'SvNOK_only'},'hv_iterval' => {'text' => 'Returns the value from the current position of the hash iterator. See
300             C.
301              
302             SV* hv_iterval(HV* tb, HE* entry)','name' => 'hv_iterval'},'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
303             empty.
304              
305             I32 av_len(AV* ar)','name' => 'av_len'},'sv_setiv_mg' => {'text' => 'Like C, but also handles \'set\' magic.
306              
307             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 SV
308             C. Handles \'get\' magic, but not \'set\' magic. See C.
309              
310             void sv_catsv(SV* dsv, SV* ssv)','name' => 'sv_catsv'},'SvTAINT' => {'text' => 'Taints an SV if tainting is enabled
311              
312             void SvTAINT(SV* sv)','name' => 'SvTAINT'},'PUTBACK' => {'text' => 'Closing bracket for XSUB arguments. This is usually handled by C.
313             See C and L for other uses.
314              
315             PUTBACK;','name' => 'PUTBACK'},'SvPOK_on' => {'text' => 'Tells an SV that it is a string.
316              
317             void SvPOK_on(SV* sv)','name' => 'SvPOK_on'},'mg_clear' => {'text' => 'Clear something magical that the SV represents. See C.
318              
319             int mg_clear(SV* sv)','name' => 'mg_clear'},'SvCUR_set' => {'text' => 'Set the length of the string which is in the SV. See C.
320              
321             void SvCUR_set(SV* sv, STRLEN len)','name' => 'SvCUR_set'},'SvNOK' => {'text' => 'Returns a boolean indicating whether the SV contains a double.
322              
323             bool SvNOK(SV* sv)','name' => 'SvNOK'},'gv_stashpv' => {'text' => 'Returns a pointer to the stash for a specified package. C should
324             be a valid UTF-8 string. If C is set then the package will be
325             created if it does not already exist. If C is not set and the
326             package does not exist then NULL is returned.
327              
328             HV* gv_stashpv(const char* name, I32 create)','name' => 'gv_stashpv'},'G_SCALAR' => {'text' => 'Used to indicate scalar context. See C, C, and
329             L.','name' => 'G_SCALAR'},'PUSHi' => {'text' => 'Push an integer onto the stack. The stack must have room for this element.
330             Handles \'set\' magic. See C.
331              
332             void PUSHi(IV iv)','name' => 'PUSHi'},'hv_exists_ent' => {'text' => 'Returns a boolean indicating whether the specified hash key exists. C
333             can be a valid precomputed hash value, or 0 to ask for it to be
334             computed.
335              
336             bool hv_exists_ent(HV* tb, SV* key, U32 hash)','name' => 'hv_exists_ent'},'SvNIOK' => {'text' => 'Returns a boolean indicating whether the SV contains a number, integer or
337             double.
338              
339             bool SvNIOK(SV* sv)','name' => 'SvNIOK'},'SvTAINTED_off' => {'text' => 'Untaints an SV. Be I careful with this routine, as it short-circuits
340             some of Perl\'s fundamental security features. XS module authors should not
341             use this function unless they fully understand all the implications of
342             unconditionally untainting the value. Untainting should be done in the
343             standard perl fashion, via a carefully crafted regexp, rather than directly
344             untainting variables.
345              
346             void SvTAINTED_off(SV* sv)','name' => 'SvTAINTED_off'},'newSVpvf' => {'text' => 'Creates a new SV an initialize it with the string formatted like
347             C.
348              
349             SV* newSVpvf(const char* pat, ...)','name' => 'newSVpvf'},'require_pv' => {'text' => 'Tells Perl to C a module.
350              
351             NOTE: the perl_ form of this function is deprecated.
352              
353             void require_pv(const char* pv)','name' => 'require_pv'},'sv_upgrade' => {'text' => 'Upgrade an SV to a more complex form. Use C. See
354             C.
355              
356             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.
357              
358             bool strEQ(char* s1, char* s2)','name' => 'strEQ'},'hv_store' => {'text' => 'Stores an SV in a hash. The hash key is specified as C and C is
359             the length of the key. The C parameter is the precomputed hash
360             value; if it is zero then Perl will compute it. The return value will be
361             NULL if the operation failed or if the value did not need to be actually
362             stored within the hash (as in the case of tied hashes). Otherwise it can
363             be dereferenced to get the original C. Note that the caller is
364             responsible for suitably incrementing the reference count of C before
365             the call, and decrementing it if the function returned NULL.
366              
367             See L for more
368             information on how to use this function on tied hashes.
369              
370             SV** hv_store(HV* tb, const char* key, U32 klen, SV* val, U32 hash)','name' => 'hv_store'},'XSRETURN_IV' => {'text' => 'Return an integer from an XSUB immediately. Uses C.
371              
372             void XSRETURN_IV(IV iv)','name' => 'XSRETURN_IV'},'SvIVX' => {'text' => 'Returns the integer which is stored in the SV, assuming SvIOK is
373             true.
374              
375             IV SvIVX(SV* sv)','name' => 'SvIVX'},'perl_destruct' => {'text' => 'Shuts down a Perl interpreter. See L.
376              
377             void perl_destruct(PerlInterpreter* interp)','name' => 'perl_destruct'},'isUPPER' => {'text' => 'Returns a boolean indicating whether the C C is an uppercase
378             character.
379              
380             bool isUPPER(char ch)','name' => 'isUPPER'},'SvREFCNT_dec' => {'text' => 'Decrements the reference count of the given SV.
381              
382             void SvREFCNT_dec(SV* sv)','name' => 'SvREFCNT_dec'},'XST_mYES' => {'text' => 'Place C<&PL_sv_yes> into the specified position C on the
383             stack.
384              
385             void XST_mYES(int pos)','name' => 'XST_mYES'},'sv_setsv' => {'text' => 'Copies the contents of the source SV C into the destination SV C.
386             The source SV may be destroyed if it is mortal. Does not handle \'set\'
387             magic. See the macro forms C, C and
388             C.
389              
390             void sv_setsv(SV* dsv, SV* ssv)','name' => 'sv_setsv'},'SvIOK_off' => {'text' => 'Unsets the IV status of an SV.
391              
392             void SvIOK_off(SV* sv)','name' => 'SvIOK_off'},'POPs' => {'text' => 'Pops an SV off the stack.
393              
394             SV* POPs','name' => 'POPs'},'SvNV' => {'text' => 'Coerce the given SV to a double and return it.
395              
396             NV SvNV(SV* sv)','name' => 'SvNV'},'gv_fetchmethod_autoload' => {'text' => 'Returns the glob which contains the subroutine to call to invoke the method
397             on the C. In fact in the presence of autoloading this may be the
398             glob for "AUTOLOAD". In this case the corresponding variable $AUTOLOAD is
399             already setup.
400              
401             The third parameter of C determines whether
402             AUTOLOAD lookup is performed if the given method is not present: non-zero
403             means yes, look for AUTOLOAD; zero means no, don\'t look for AUTOLOAD.
404             Calling C is equivalent to calling C
405             with a non-zero C parameter.
406              
407             These functions grant C<"SUPER"> token as a prefix of the method name. Note
408             that if you want to keep the returned glob for a long time, you need to
409             check for it being "AUTOLOAD", since at the later time the call may load a
410             different subroutine due to $AUTOLOAD changing its value. Use the glob
411             created via a side effect to do this.
412              
413             These functions have the same side-effects and as C with
414             C. C should be writable if contains C<\':\'> or C<\'
415             \'\'>. The warning against passing the GV returned by C to
416             C apply equally to these functions.
417              
418             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.
419              
420             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.
421             C must be a valid precomputed hash number for the given C, or 0
422             if you want the function to compute it. IF C is set then the fetch
423             will be part of a store. Make sure the return value is non-null before
424             accessing it. The return value when C is a tied hash is a pointer to a
425             static location, so be sure to make a copy of the structure if you need to
426             store it somewhere.
427              
428             See L for more
429             information on how to use this function on tied hashes.
430              
431             HE* hv_fetch_ent(HV* tb, SV* key, I32 lval, U32 hash)','name' => 'hv_fetch_ent'},'ENTER' => {'text' => 'Opening bracket on a callback. See C and L.
432              
433             ENTER;','name' => 'ENTER'},'isLOWER' => {'text' => 'Returns a boolean indicating whether the C C is a lowercase
434             character.
435              
436             bool isLOWER(char ch)','name' => 'isLOWER'},'sv_eq' => {'text' => 'Returns a boolean indicating whether the strings in the two SVs are
437             identical.
438              
439             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
440             not.
441              
442             bool SvTAINTED(SV* sv)','name' => 'SvTAINTED'},'PL_sv_no' => {'text' => 'This is the C SV. See C. Always refer to this as
443             C<&PL_sv_no>.
444              
445             SV PL_sv_no','name' => 'PL_sv_no'},'hv_iterkey' => {'text' => 'Returns the key from the current position of the hash iterator. See
446             C.
447              
448             char* hv_iterkey(HE* entry, I32* retlen)','name' => 'hv_iterkey'},'SvNOKp' => {'text' => 'Returns a boolean indicating whether the SV contains a double. Checks the
449             B setting. Use C.
450              
451             bool SvNOKp(SV* sv)','name' => 'SvNOKp'},'ix' => {'text' => 'Variable which is setup by C to indicate which of an
452             XSUB\'s aliases was used to invoke it. See L.
453              
454             I32 ix','name' => 'ix'},'StructCopy' => {'text' => 'This is an architecture-independant macro to copy one structure to another.
455              
456             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.
457             Does not handle \'set\' magic. See C.
458              
459             void PUSHs(SV* sv)','name' => 'PUSHs'},'sv_setuv' => {'text' => 'Copies an unsigned integer into the given SV. Does not handle \'set\' magic.
460             See C.
461              
462             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
463             perform the upgrade if necessary. See C.
464              
465             void SvUPGRADE(SV* sv, svtype type)','name' => 'SvUPGRADE'},'items' => {'text' => 'Variable which is setup by C to indicate the number of
466             items on the stack. See L.
467              
468             I32 items','name' => 'items'},'XST_mPV' => {'text' => 'Place a copy of a string into the specified position C on the stack.
469             The value is stored in a new mortal SV.
470              
471             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
472             handled automatically by C.
473              
474             dXSI32;','name' => 'dXSI32'},'sv_setref_iv' => {'text' => 'Copies an integer into a new SV, optionally blessing the SV. The C
475             argument will be upgraded to an RV. That RV will be modified to point to
476             the new SV. The C argument indicates the package for the
477             blessing. Set C to C to avoid the blessing. The new SV
478             will be returned and will have a reference count of 1.
479              
480             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.
481             SvPOK(sv) must be true and the C must be a pointer to somewhere inside
482             the string buffer. The C becomes the first character of the adjusted
483             string.
484              
485             void sv_chop(SV* sv, char* ptr)','name' => 'sv_chop'},'XPUSHu' => {'text' => 'Push an unsigned integer onto the stack, extending the stack if necessary.
486             See C.
487              
488             void XPUSHu(UV uv)','name' => 'XPUSHu'},'sv_grow' => {'text' => 'Expands the character buffer in the SV. This will use C and will
489             upgrade the SV to C. Returns a pointer to the character buffer.
490             Use C.
491              
492             char* sv_grow(SV* sv, STRLEN newlen)','name' => 'sv_grow'},'sv_setuv_mg' => {'text' => 'Like C, but also handles \'set\' magic.
493              
494             void sv_setuv_mg(SV *sv, UV u)','name' => 'sv_setuv_mg'},'XS_VERSION' => {'text' => 'The version identifier for an XS module. This is usually
495             handled automatically by C. See C.','name' => 'XS_VERSION'},'newSVnv' => {'text' => 'Creates a new SV and copies a floating point value into it.
496             The reference count for the SV is set to 1.
497              
498             SV* newSVnv(NV n)','name' => 'newSVnv'},'XPUSHs' => {'text' => 'Push an SV onto the stack, extending the stack if necessary. Does not
499             handle \'set\' magic. See C.
500              
501             void XPUSHs(SV* sv)','name' => 'XPUSHs'},'HeVAL' => {'text' => 'Returns the value slot (type C) stored in the hash entry.
502              
503             SV* HeVAL(HE* he)','name' => 'HeVAL'},'HePV' => {'text' => 'Returns the key slot of the hash entry as a C value, doing any
504             necessary dereferencing of possibly C keys. The length of the string
505             is placed in C (this is a macro, so do I use C<&len>). If you do
506             not care about what the length of the key is, you may use the global
507             variable C, though this is rather less efficient than using a local
508             variable. Remember though, that hash keys in perl are free to contain
509             embedded nulls, so using C or similar is not a good way to find
510             the length of hash keys. This is very similar to the C macro
511             described elsewhere in this document.
512              
513             char* HePV(HE* he, STRLEN len)','name' => 'HePV'},'PL_na' => {'text' => 'A convenience variable which is typically used with C when one
514             doesn\'t care about the length of the string. It is usually more efficient
515             to either declare a local variable and use that instead or to use the
516             C macro.
517              
518             STRLEN PL_na','name' => 'PL_na'},'newSViv' => {'text' => 'Creates a new SV and copies an integer into it. The reference count for the
519             SV is set to 1.
520              
521             SV* newSViv(IV i)','name' => 'newSViv'},'sv_setpv' => {'text' => 'Copies a string into an SV. The string must be null-terminated. Does not
522             handle \'set\' magic. See C.
523              
524             void sv_setpv(SV* sv, const char* ptr)','name' => 'sv_setpv'},'SVt_PVHV' => {'text' => 'Type flag for hashes. See C.','name' => 'SVt_PVHV'},'gv_fetchmethod' => {'text' => 'See L.
525              
526             GV* gv_fetchmethod(HV* stash, const char* name)','name' => 'gv_fetchmethod'},'PL_DBsub' => {'text' => 'When Perl is run in debugging mode, with the B<-d> switch, this GV contains
527             the SV which holds the name of the sub being debugged. This is the C
528             variable which corresponds to Perl\'s $DB::sub variable. See
529             C.
530              
531             GV * PL_DBsub','name' => 'PL_DBsub'},'SvGETMAGIC' => {'text' => 'Invokes C on an SV if it has \'get\' magic. This macro evaluates its
532             argument more than once.
533              
534             void SvGETMAGIC(SV* sv)','name' => 'SvGETMAGIC'},'SvGROW' => {'text' => 'Expands the character buffer in the SV so that it has room for the
535             indicated number of bytes (remember to reserve space for an extra trailing
536             NUL character). Calls C to perform the expansion if necessary.
537             Returns a pointer to the character buffer.
538              
539             void SvGROW(SV* sv, STRLEN len)','name' => 'SvGROW'},'sv_inc' => {'text' => 'Auto-increment of the value in the SV.
540              
541             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
542             stored inside the SV but sv_usepvn allows the SV to use an outside string.
543             The C should point to memory that was allocated by C. The
544             string length, C, must be supplied. This function will realloc the
545             memory pointed to by C, so that pointer should not be freed or used by
546             the programmer after giving it to sv_usepvn. Does not handle \'set\' magic.
547             See C.
548              
549             void sv_usepvn(SV* sv, char* ptr, STRLEN len)','name' => 'sv_usepvn'},'sv_catpv' => {'text' => 'Concatenates the string onto the end of the string which is in the SV.
550             Handles \'get\' magic, but not \'set\' magic. See C.
551              
552             void sv_catpv(SV* sv, const char* ptr)','name' => 'sv_catpv'},'SvREFCNT' => {'text' => 'Returns the value of the object\'s reference count.
553              
554             U32 SvREFCNT(SV* sv)','name' => 'SvREFCNT'},'sv_len' => {'text' => 'Returns the length of the string in the SV. See also C.
555              
556             STRLEN sv_len(SV* sv)','name' => 'sv_len'},'warn' => {'text' => 'This is the XSUB-writer\'s interface to Perl\'s C function. Use this
557             function the same way you use the C C function. See
558             C.
559              
560             void warn(const char* pat, ...)','name' => 'warn'},'LEAVE' => {'text' => 'Closing bracket on a callback. See C and L.
561              
562             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
563             hash and returned to the caller. The C is the length of the key.
564             The C value will normally be zero; if set to G_DISCARD then NULL
565             will be returned.
566              
567             SV* hv_delete(HV* tb, const char* key, U32 klen, I32 flags)','name' => 'hv_delete'},'hv_undef' => {'text' => 'Undefines the hash.
568              
569             void hv_undef(HV* tb)','name' => 'hv_undef'},'hv_delete_ent' => {'text' => 'Deletes a key/value pair in the hash. The value SV is removed from the
570             hash and returned to the caller. The C value will normally be zero;
571             if set to G_DISCARD then NULL will be returned. C can be a valid
572             precomputed hash value, or 0 to ask for it to be computed.
573              
574             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
575             class name for a C++ XS constructor. This is always a C. See C.
576              
577             char* CLASS','name' => 'CLASS'},'Newc' => {'text' => 'The XSUB-writer\'s interface to the C C function, with
578             cast.
579              
580             void Newc(int id, void* ptr, int nitems, type, cast)','name' => 'Newc'},'sv_isobject' => {'text' => 'Returns a boolean indicating whether the SV is an RV pointing to a blessed
581             object. If the SV is not an RV, or if the object is not blessed, then this
582             will return false.
583              
584             int sv_isobject(SV* sv)','name' => 'sv_isobject'},'HeKLEN' => {'text' => 'If this is negative, and amounts to C, it indicates the entry
585             holds an C key. Otherwise, holds the actual length of the key. Can
586             be assigned to. The C macro is usually preferable for finding key
587             lengths.
588              
589             STRLEN HeKLEN(HE* he)','name' => 'HeKLEN'},'PUSHn' => {'text' => 'Push a double onto the stack. The stack must have room for this element.
590             Handles \'set\' magic. See C.
591              
592             void PUSHn(NV nv)','name' => 'PUSHn'},'SvIV' => {'text' => 'Coerces the given SV to an integer and returns it.
593              
594             IV SvIV(SV* sv)','name' => 'SvIV'},'sv_setiv' => {'text' => 'Copies an integer into the given SV. Does not handle \'set\' magic. See
595             C.
596              
597             void sv_setiv(SV* sv, IV num)','name' => 'sv_setiv'},'EXTEND' => {'text' => 'Used to extend the argument stack for an XSUB\'s return values. Once
598             used, guarrantees that there is room for at least C to be pushed
599             onto the stack.
600              
601             void EXTEND(SP, int nitems)','name' => 'EXTEND'},'PL_sv_yes' => {'text' => 'This is the C SV. See C. Always refer to this as
602             C<&PL_sv_yes>.
603              
604             SV PL_sv_yes','name' => 'PL_sv_yes'},'newSVuv' => {'text' => 'Creates a new SV and copies an unsigned integer into it.
605             The reference count for the SV is set to 1.
606              
607             SV* newSVuv(UV u)','name' => 'newSVuv'},'SvNVX' => {'text' => 'Returns the double which is stored in the SV, assuming SvNOK is
608             true.
609              
610             NV SvNVX(SV* sv)','name' => 'SvNVX'},'gv_fetchmeth' => {'text' => 'Returns the glob with the given C and a defined subroutine or
611             C. The glob lives in the given C, or in the stashes
612             accessible via @ISA and @UNIVERSAL.
613              
614             The argument C should be either 0 or -1. If C, as a
615             side-effect creates a glob with the given C in the given C
616             which in the case of success contains an alias for the subroutine, and sets
617             up caching info for this glob. Similarly for all the searched stashes.
618              
619             This function grants C<"SUPER"> token as a postfix of the stash name. The
620             GV returned from C may be a method cache entry, which is not
621             visible to Perl code. So when calling C, you should not use
622             the GV directly; instead, you should use the method\'s CV, which can be
623             obtained from the GV with the C macro.
624              
625             GV* gv_fetchmeth(HV* stash, const char* name, STRLEN len, I32 level)','name' => 'gv_fetchmeth'},'looks_like_number' => {'text' => 'Test if an the content of an SV looks like a number (or is a
626             number).
627              
628             I32 looks_like_number(SV* sv)','name' => 'looks_like_number'},'sv_catpv_mg' => {'text' => 'Like C, but also handles \'set\' magic.
629              
630             void sv_catpv_mg(SV *sv, const char *ptr)','name' => 'sv_catpv_mg'},'XSRETURN_EMPTY' => {'text' => 'Return an empty list from an XSUB immediately.
631              
632             XSRETURN_EMPTY;','name' => 'XSRETURN_EMPTY'},'HeHASH' => {'text' => 'Returns the computed hash stored in the hash entry.
633              
634             U32 HeHASH(HE* he)','name' => 'HeHASH'},'SvIOK' => {'text' => 'Returns a boolean indicating whether the SV contains an integer.
635              
636             bool SvIOK(SV* sv)','name' => 'SvIOK'},'newSVpv' => {'text' => 'Creates a new SV and copies a string into it. The reference count for the
637             SV is set to 1. If C is zero, Perl will compute the length using
638             strlen(). For efficiency, consider using C instead.
639              
640             SV* newSVpv(const char* s, STRLEN len)','name' => 'newSVpv'},'fbm_instr' => {'text' => 'Returns the location of the SV in the string delimited by C and
641             C. It returns C if the string can\'t be found. The C
642             does not have to be fbm_compiled, but the search will not be as fast
643             then.
644              
645             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
646             output. Does not handle \'set\' magic. See C.
647              
648             void sv_setpvf(SV* sv, const char* pat, ...)','name' => 'sv_setpvf'},'XPUSHn' => {'text' => 'Push a double onto the stack, extending the stack if necessary. Handles
649             \'set\' magic. See C.
650              
651             void XPUSHn(NV nv)','name' => 'XPUSHn'},'SvPV_force' => {'text' => 'Like but will force the SV into becoming a string (SvPOK). You want
652             force if you are going to update the SvPVX directly.
653              
654             char* SvPV_force(SV* sv, STRLEN len)','name' => 'SvPV_force'},'SvLEN' => {'text' => 'Returns the size of the string buffer in the SV. See C.
655              
656             STRLEN SvLEN(SV* sv)','name' => 'SvLEN'},'call_sv' => {'text' => 'Performs a callback to the Perl sub whose name is in the SV. See
657             L.
658              
659             NOTE: the perl_ form of this function is deprecated.
660              
661             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,
662             C. Returns true or false.
663              
664             bool strGT(char* s1, char* s2)','name' => 'strGT'},'mg_get' => {'text' => 'Do magic after a value is retrieved from the SV. See C.
665              
666             int mg_get(SV* sv)','name' => 'mg_get'},'SvTRUE' => {'text' => 'Returns a boolean indicating whether Perl would evaluate the SV as true or
667             false, defined or undefined. Does not handle \'get\' magic.
668              
669             bool SvTRUE(SV* sv)','name' => 'SvTRUE'},'HeSVKEY_set' => {'text' => 'Sets the key to a given C, taking care to set the appropriate flags to
670             indicate the presence of an C key, and returns the same
671             C.
672              
673             SV* HeSVKEY_set(HE* he, SV* sv)','name' => 'HeSVKEY_set'},'POPl' => {'text' => 'Pops a long off the stack.
674              
675             long POPl','name' => 'POPl'},'SPAGAIN' => {'text' => 'Refetch the stack pointer. Used after a callback. See L.
676              
677             SPAGAIN;','name' => 'SPAGAIN'},'call_method' => {'text' => 'Performs a callback to the specified Perl method. The blessed object must
678             be on the stack. See L.
679              
680             NOTE: the perl_ form of this function is deprecated.
681              
682             I32 call_method(const char* methname, I32 flags)','name' => 'call_method'},'sv_vsetpvfn' => {'text' => 'Works like C but copies the text into the SV instead of
683             appending it.
684              
685             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
686             the Perl subroutine does not exist then it will be declared (which has the
687             same effect as saying C). If C is not set and the
688             subroutine does not exist then NULL is returned.
689              
690             NOTE: the perl_ form of this function is deprecated.
691              
692             CV* get_cv(const char* name, I32 create)','name' => 'get_cv'},'SvIOKp' => {'text' => 'Returns a boolean indicating whether the SV contains an integer. Checks
693             the B setting. Use C.
694              
695             bool SvIOKp(SV* sv)','name' => 'SvIOKp'},'XST_mUNDEF' => {'text' => 'Place C<&PL_sv_undef> into the specified position C on the
696             stack.
697              
698             void XST_mUNDEF(int pos)','name' => 'XST_mUNDEF'},'perl_parse' => {'text' => 'Tells a Perl interpreter to parse a Perl script. See L.
699              
700             int perl_parse(PerlInterpreter* interp, XSINIT_t xsinit, int argc, char** argv, char** env)','name' => 'perl_parse'},'av_clear' => {'text' => 'Clears an array, making it empty. Does not free the memory used by the
701             array itself.
702              
703             void av_clear(AV* ar)','name' => 'av_clear'},'av_unshift' => {'text' => 'Unshift the given number of C values onto the beginning of the
704             array. The array will grow automatically to accommodate the addition. You
705             must then use C to assign values to these new elements.
706              
707             void av_unshift(AV* ar, I32 num)','name' => 'av_unshift'},'mg_set' => {'text' => 'Do magic after a value is assigned to the SV. See C.
708              
709             int mg_set(SV* sv)','name' => 'mg_set'},'sv_mortalcopy' => {'text' => 'Creates a new SV which is a copy of the original SV. The new SV is marked
710             as mortal.
711              
712             SV* sv_mortalcopy(SV* oldsv)','name' => 'sv_mortalcopy'},'G_NOARGS' => {'text' => 'Indicates that no arguments are being sent to a callback. See
713             L.','name' => 'G_NOARGS'},'PL_DBsingle' => {'text' => 'When Perl is run in debugging mode, with the B<-d> switch, this SV is a
714             boolean which indicates whether subs are being single-stepped.
715             Single-stepping is automatically turned on after every step. This is the C
716             variable which corresponds to Perl\'s $DB::single variable. See
717             C.
718              
719             SV * PL_DBsingle','name' => 'PL_DBsingle'},'SvUVX' => {'text' => 'Returns the unsigned integer which is stored in the SV, assuming SvIOK is
720             true.
721              
722             UV SvUVX(SV* sv)','name' => 'SvUVX'},'Newz' => {'text' => 'The XSUB-writer\'s interface to the C C function. The allocated
723             memory is zeroed with C.
724              
725             void Newz(int id, void* ptr, int nitems, type)','name' => 'Newz'},'savepvn' => {'text' => 'Copy a string to a safe spot. The C indicates number of bytes to
726             copy. This does not use an SV.
727              
728             char* savepvn(const char* sv, I32 len)','name' => 'savepvn'},'eval_sv' => {'text' => 'Tells Perl to C the string in the SV.
729              
730             NOTE: the perl_ form of this function is deprecated.
731              
732             I32 eval_sv(SV* sv, I32 flags)','name' => 'eval_sv'},'FREETMPS' => {'text' => 'Closing bracket for temporaries on a callback. See C and
733             L.
734              
735             FREETMPS;','name' => 'FREETMPS'},'SvCUR' => {'text' => 'Returns the length of the string which is in the SV. See C.
736              
737             STRLEN SvCUR(SV* sv)','name' => 'SvCUR'},'Move' => {'text' => 'The XSUB-writer\'s interface to the C C function. The C is the
738             source, C is the destination, C is the number of items, and C is
739             the type. Can do overlapping moves. See also C.
740              
741             void Move(void* src, void* dest, int nitems, type)','name' => 'Move'},'GIMME' => {'text' => 'A backward-compatible version of C which can only return
742             C or C; in a void context, it returns C.
743             Deprecated. Use C instead.
744              
745             U32 GIMME','name' => 'GIMME'},'NEWSV' => {'text' => 'Creates a new SV. A non-zero C parameter indicates the number of
746             bytes of preallocated string space the SV should have. An extra byte for a
747             tailing NUL is also reserved. (SvPOK is not set for the SV even if string
748             space is allocated.) The reference count for the new SV is set to 1.
749             C is an integer id between 0 and 1299 (used to identify leaks).
750              
751             SV* NEWSV(int id, STRLEN len)','name' => 'NEWSV'},'sv_bless' => {'text' => 'Blesses an SV into a specified package. The SV must be an RV. The package
752             must be designated by its stash (see C). The reference count
753             of the SV is unaffected.
754              
755             SV* sv_bless(SV* sv, HV* stash)','name' => 'sv_bless'},'newXS' => {'text' => 'Used by C to hook up XSUBs as Perl subs.','name' => 'newXS'},'isALNUM' => {'text' => 'Returns a boolean indicating whether the C C is an ascii alphanumeric
756             character or digit.
757              
758             bool isALNUM(char ch)','name' => 'isALNUM'},'sv_isa' => {'text' => 'Returns a boolean indicating whether the SV is blessed into the specified
759             class. This does not check for subtypes; use C to verify
760             an inheritance relationship.
761              
762             int sv_isa(SV* sv, const char* name)','name' => 'sv_isa'},'sv_catpvf' => {'text' => 'Processes its arguments like C and appends the formatted output
763             to an SV. Handles \'get\' magic, but not \'set\' magic. C must
764             typically be called after calling this function to handle \'set\' magic.
765              
766             void sv_catpvf(SV* sv, const char* pat, ...)','name' => 'sv_catpvf'},'XSRETURN_PV' => {'text' => 'Return a copy of a string from an XSUB immediately. Uses C.
767              
768             void XSRETURN_PV(char* str)','name' => 'XSRETURN_PV'},'perl_alloc' => {'text' => 'Allocates a new Perl interpreter. See L.
769              
770             PerlInterpreter* perl_alloc()','name' => 'perl_alloc'},'isALPHA' => {'text' => 'Returns a boolean indicating whether the C C is an ascii alphabetic
771             character.
772              
773             bool isALPHA(char ch)','name' => 'isALPHA'},'Nullhv' => {'text' => 'Null HV pointer.','name' => 'Nullhv'},'SvREFCNT_inc' => {'text' => 'Increments the reference count of the given SV.
774              
775             SV* SvREFCNT_inc(SV* sv)','name' => 'SvREFCNT_inc'},'perl_construct' => {'text' => 'Initializes a new Perl interpreter. See L.
776              
777             void perl_construct(PerlInterpreter* interp)','name' => 'perl_construct'},'SvTYPE' => {'text' => 'Returns the type of the SV. See C.
778              
779             svtype SvTYPE(SV* sv)','name' => 'SvTYPE'},'SvIOK_only' => {'text' => 'Tells an SV that it is an integer and disables all other OK bits.
780              
781             void SvIOK_only(SV* sv)','name' => 'SvIOK_only'},'sv_dec' => {'text' => 'Auto-decrement of the value in the SV.
782              
783             void sv_dec(SV* sv)','name' => 'sv_dec'},'strLE' => {'text' => 'Test two strings to see if the first, C, is less than or equal to the
784             second, C. Returns true or false.
785              
786             bool strLE(char* s1, char* s2)','name' => 'strLE'},'SvROK_off' => {'text' => 'Unsets the RV status of an SV.
787              
788             void SvROK_off(SV* sv)','name' => 'SvROK_off'},'Renew' => {'text' => 'The XSUB-writer\'s interface to the C C function.
789              
790             void Renew(void* ptr, int nitems, type)','name' => 'Renew'},'perl_free' => {'text' => 'Releases a Perl interpreter. See L.
791              
792             void perl_free(PerlInterpreter* interp)','name' => 'perl_free'},'SvOK' => {'text' => 'Returns a boolean indicating whether the value is an SV.
793              
794             bool SvOK(SV* sv)','name' => 'SvOK'},'sv_setref_nv' => {'text' => 'Copies a double into a new SV, optionally blessing the SV. The C
795             argument will be upgraded to an RV. That RV will be modified to point to
796             the new SV. The C argument indicates the package for the
797             blessing. Set C to C to avoid the blessing. The new SV
798             will be returned and will have a reference count of 1.
799              
800             SV* sv_setref_nv(SV* rv, const char* classname, NV nv)','name' => 'sv_setref_nv'},'mg_find' => {'text' => 'Finds the magic pointer for type matching the SV. See C.
801              
802             MAGIC* mg_find(SV* sv, int type)','name' => 'mg_find'},'isDIGIT' => {'text' => 'Returns a boolean indicating whether the C C is an ascii
803             digit.
804              
805             bool isDIGIT(char ch)','name' => 'isDIGIT'},'SvNOK_on' => {'text' => 'Tells an SV that it is a double.
806              
807             void SvNOK_on(SV* sv)','name' => 'SvNOK_on'},'eval_pv' => {'text' => 'Tells Perl to C the given string and return an SV* result.
808              
809             NOTE: the perl_ form of this function is deprecated.
810              
811             SV* eval_pv(const char* p, I32 croak_on_error)','name' => 'eval_pv'},'sv_setpvf_mg' => {'text' => 'Like C, but also handles \'set\' magic.
812              
813             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.
814             Checks the B setting. Use C.
815              
816             bool SvPOKp(SV* sv)','name' => 'SvPOKp'},'sv_catpvn' => {'text' => 'Concatenates the string onto the end of the string which is in the SV. The
817             C indicates number of bytes to copy. Handles \'get\' magic, but not
818             \'set\' magic. See C.
819              
820             void sv_catpvn(SV* sv, const char* ptr, STRLEN len)','name' => 'sv_catpvn'},'newCONSTSUB' => {'text' => 'Creates a constant sub equivalent to Perl C which is
821             eligible for inlining at compile-time.
822              
823             void 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
824             argument will be upgraded to an RV. That RV will be modified to point to
825             the new SV. If the C argument is NULL then C will be placed
826             into the SV. The C argument indicates the package for the
827             blessing. Set C to C to avoid the blessing. The new SV
828             will be returned and will have a reference count of 1.
829              
830             Do not use with other Perl types such as HV, AV, SV, CV, because those
831             objects will become corrupted by the pointer copy process.
832              
833             Note that C copies the string while this copies the pointer.
834              
835             SV* sv_setref_pv(SV* rv, const char* classname, void* pv)','name' => 'sv_setref_pv'},'av_pop' => {'text' => 'Pops an SV off the end of the array. Returns C<&PL_sv_undef> if the array
836             is empty.
837              
838             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()
839             -- the Boyer-Moore algorithm.
840              
841             void fbm_compile(SV* sv, U32 flags)','name' => 'fbm_compile'},'SvNIOKp' => {'text' => 'Returns a boolean indicating whether the SV contains a number, integer or
842             double. Checks the B setting. Use C.
843              
844             bool SvNIOKp(SV* sv)','name' => 'SvNIOKp'},'croak' => {'text' => 'This is the XSUB-writer\'s interface to Perl\'s C function. Use this
845             function the same way you use the C C function. See
846             C.
847              
848             void croak(const char* pat, ...)','name' => 'croak'},'THIS' => {'text' => 'Variable which is setup by C to designate the object in a C++
849             XSUB. This is always the proper type for the C++ object. See C and
850             L.
851              
852             (whatever) THIS','name' => 'THIS'},'XSRETURN' => {'text' => 'Return from XSUB, indicating number of items on the stack. This is usually
853             handled by C.
854              
855             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
856             string must be specified with C. The C argument will be upgraded to
857             an RV. That RV will be modified to point to the new SV. The C
858             argument indicates the package for the blessing. Set C to
859             C to avoid the blessing. The new SV will be returned and will have
860             a reference count of 1.
861              
862             Note that C copies the pointer while this copies the string.
863              
864             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.
865             The C indicates the length of the string. Handles \'set\' magic. See
866             C.
867              
868             void PUSHp(char* str, STRLEN len)','name' => 'PUSHp'},'Nullcv' => {'text' => 'Null CV pointer.','name' => 'Nullcv'},'get_av' => {'text' => 'Returns the AV of the specified Perl array. If C is set and the
869             Perl variable does not exist then it will be created. If C is not
870             set and the variable does not exist then NULL is returned.
871              
872             NOTE: the perl_ form of this function is deprecated.
873              
874             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>.
875              
876             SV PL_sv_undef','name' => 'PL_sv_undef'},'hv_iterkeysv' => {'text' => 'Returns the key as an C from the current position of the hash
877             iterator. The return value will always be a mortal copy of the key. Also
878             see C.
879              
880             SV* hv_iterkeysv(HE* entry)','name' => 'hv_iterkeysv'},'XST_mNO' => {'text' => 'Place C<&PL_sv_no> into the specified position C on the
881             stack.
882              
883             void XST_mNO(int pos)','name' => 'XST_mNO'},'toUPPER' => {'text' => 'Converts the specified character to uppercase.
884              
885             char toUPPER(char ch)','name' => 'toUPPER'},'SAVETMPS' => {'text' => 'Opening bracket for temporaries on a callback. See C and
886             L.
887              
888             SAVETMPS;','name' => 'SAVETMPS'},'AvFILL' => {'text' => 'Same as C. Deprecated, use C instead.
889              
890             int AvFILL(AV* av)','name' => 'AvFILL'},'ORIGMARK' => {'text' => 'The original stack mark for the XSUB. See C.','name' => 'ORIGMARK'},'SP' => {'text' => 'Stack pointer. This is usually handled by C. See C and
891             C.','name' => 'SP'},'SvPOK_only' => {'text' => 'Tells an SV that it is a string and disables all other OK bits.
892              
893             void SvPOK_only(SV* sv)','name' => 'SvPOK_only'},'SvSetSV_nosteal' => {'text' => 'Calls a non-destructive version of C if dsv is not the same as
894             ssv. May evaluate arguments more than once.
895              
896             void SvSetSV_nosteal(SV* dsv, SV* ssv)','name' => 'SvSetSV_nosteal'},'PL_dowarn' => {'text' => 'The C variable which corresponds to Perl\'s $^W warning variable.
897              
898             bool PL_dowarn','name' => 'PL_dowarn'},'sv_catpvn_mg' => {'text' => 'Like C, but also handles \'set\' magic.
899              
900             void sv_catpvn_mg(SV *sv, const char *ptr, STRLEN len)','name' => 'sv_catpvn_mg'},'sv_usepvn_mg' => {'text' => 'Like C, but also handles \'set\' magic.
901              
902             void sv_usepvn_mg(SV *sv, char *ptr, STRLEN len)','name' => 'sv_usepvn_mg'},'Zero' => {'text' => 'The XSUB-writer\'s interface to the C C function. The C is the
903             destination, C is the number of items, and C is the type.
904              
905             void Zero(void* dest, int nitems, type)','name' => 'Zero'},'hv_fetch' => {'text' => 'Returns the SV which corresponds to the specified key in the hash. The
906             C is the length of the key. If C is set then the fetch will be
907             part of a store. Check that the return value is non-null before
908             dereferencing it to a C.
909              
910             See L for more
911             information on how to use this function on tied hashes.
912              
913             SV** hv_fetch(HV* tb, const char* key, U32 klen, I32 lval)','name' => 'hv_fetch'},'SvSTASH' => {'text' => 'Returns the stash of the SV.
914              
915             HV* SvSTASH(SV* sv)','name' => 'SvSTASH'},'PL_modglobal' => {'text' => 'C is a general purpose, interpreter global HV for use by
916             extensions that need to keep information on a per-interpreter basis.
917             In a pinch, it can also be used as a symbol table for extensions
918             to share data among each other. It is a good idea to use keys
919             prefixed by the package name of the extension that owns the data.
920              
921             HV* PL_modglobal','name' => 'PL_modglobal'},'XSRETURN_UNDEF' => {'text' => 'Return C<&PL_sv_undef> from an XSUB immediately. Uses C.
922              
923             XSRETURN_UNDEF;','name' => 'XSRETURN_UNDEF'},'SvRV' => {'text' => 'Dereferences an RV to return the SV.
924              
925             SV* SvRV(SV* sv)','name' => 'SvRV'},'Nullch' => {'text' => 'Null character pointer.','name' => 'Nullch'},'mg_copy' => {'text' => 'Copies the magic from one SV to another. See C.
926              
927             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
928             C if the hash entry contains only a C key.
929              
930             SV* HeSVKEY_force(HE* he)','name' => 'HeSVKEY_force'},'MARK' => {'text' => 'Stack marker variable for the XSUB. See C.','name' => 'MARK'},'newSVpvn' => {'text' => 'Creates a new SV and copies a string into it. The reference count for the
931             SV is set to 1. Note that if C is zero, Perl will create a zero length
932             string. You are responsible for ensuring that the source string is at least
933             C bytes long.
934              
935             SV* newSVpvn(const char* s, STRLEN len)','name' => 'newSVpvn'},'newRV_inc' => {'text' => 'Creates an RV wrapper for an SV. The reference count for the original SV is
936             incremented.
937              
938             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
939             to accommodate the addition.
940              
941             void av_push(AV* ar, SV* val)','name' => 'av_push'},'XSRETURN_NO' => {'text' => 'Return C<&PL_sv_no> from an XSUB immediately. Uses C.
942              
943             XSRETURN_NO;','name' => 'XSRETURN_NO'},'POPn' => {'text' => 'Pops a double off the stack.
944              
945             NV POPn','name' => 'POPn'},'newRV_noinc' => {'text' => 'Creates an RV wrapper for an SV. The reference count for the original
946             SV is B incremented.
947              
948             SV* newRV_noinc(SV *sv)','name' => 'newRV_noinc'},'av_extend' => {'text' => 'Pre-extend an array. The C is the index to which the array should be
949             extended.
950              
951             void av_extend(AV* ar, I32 key)','name' => 'av_extend'},'sv_setpviv_mg' => {'text' => 'Like C, but also handles \'set\' magic.
952              
953             void sv_setpviv_mg(SV *sv, IV iv)','name' => 'sv_setpviv_mg'},'SvROK_on' => {'text' => 'Tells an SV that it is an RV.
954              
955             void SvROK_on(SV* sv)','name' => 'SvROK_on'},'hv_iternext' => {'text' => 'Returns entries from a hash iterator. See C.
956              
957             HE* hv_iternext(HV* tb)','name' => 'hv_iternext'},'dORIGMARK' => {'text' => 'Saves the original stack mark for the XSUB. See C.
958              
959             dORIGMARK;','name' => 'dORIGMARK'},'G_VOID' => {'text' => 'Used to indicate void context. See C and L.','name' => 'G_VOID'},'sv_newmortal' => {'text' => 'Creates a new SV which is mortal. The reference count of the SV is set to 1.
960              
961             SV* sv_newmortal()','name' => 'sv_newmortal'},'hv_iterinit' => {'text' => 'Prepares a starting point to traverse a hash table. Returns the number of
962             keys in the hash (i.e. the same as C). The return value is
963             currently only meaningful for hashes without tie magic.
964              
965             NOTE: Before version 5.004_65, C used to return the number of
966             hash buckets that happen to be in use. If you still need that esoteric
967             value, you can get it through the macro C.
968              
969             I32 hv_iterinit(HV* tb)','name' => 'hv_iterinit'}};};
970              
971 2         39 my $self = bless({
972             'index' => $VAR1,
973             perl_version => '5.006',
974             } => $class);
975 2         339 return $self;
976             }
977              
978             1;