Commit | Line | Data |
---|---|---|
37442d52 RGS |
1 | /* -*- buffer-read-only: t -*- |
2 | * | |
f5e3445d RGS |
3 | * proto.h |
4 | * | |
4bb101f2 | 5 | * Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
2419183b | 6 | * 2000, 2001, 2002, 2003, 2004, 2005, by Larry Wall and others |
f5e3445d RGS |
7 | * |
8 | * You may distribute under the terms of either the GNU General Public | |
9 | * License or the Artistic License, as specified in the README file. | |
10 | * | |
11 | * !!!!!!! DO NOT EDIT THIS FILE !!!!!!! | |
12 | * This file is built by embed.pl from data in embed.fnc, embed.pl, | |
13 | * pp.sym, intrpvar.h, perlvars.h and thrdvar.h. | |
14 | * Any changes made here will be lost! | |
15 | * | |
16 | * Edit those files and run 'make regen_headers' to effect changes. | |
17 | */ | |
1d7c1841 | 18 | |
1d7c1841 GS |
19 | START_EXTERN_C |
20 | ||
21 | #if defined(PERL_IMPLICIT_SYS) | |
22 | PERL_CALLCONV PerlInterpreter* perl_alloc_using(struct IPerlMem* m, struct IPerlMem* ms, struct IPerlMem* mp, struct IPerlEnv* e, struct IPerlStdIO* io, struct IPerlLIO* lio, struct IPerlDir* d, struct IPerlSock* s, struct IPerlProc* p); | |
1d7c1841 | 23 | #endif |
b46bc2b6 | 24 | PERL_CALLCONV PerlInterpreter* perl_alloc(void); |
4373e329 | 25 | PERL_CALLCONV void perl_construct(PerlInterpreter* interp) |
abb2c242 | 26 | __attribute__nonnull__(1); |
f54cb97a | 27 | |
4373e329 | 28 | PERL_CALLCONV int perl_destruct(PerlInterpreter* interp) |
abb2c242 | 29 | __attribute__nonnull__(1); |
f54cb97a | 30 | |
4373e329 | 31 | PERL_CALLCONV void perl_free(PerlInterpreter* interp) |
abb2c242 | 32 | __attribute__nonnull__(1); |
f54cb97a | 33 | |
4373e329 | 34 | PERL_CALLCONV int perl_run(PerlInterpreter* interp) |
abb2c242 | 35 | __attribute__nonnull__(1); |
f54cb97a | 36 | |
1d7c1841 | 37 | PERL_CALLCONV int perl_parse(PerlInterpreter* interp, XSINIT_t xsinit, int argc, char** argv, char** env); |
a28509cc AL |
38 | PERL_CALLCONV bool Perl_doing_taint(int argc, char** argv, char** env) |
39 | __attribute__warn_unused_result__; | |
40 | ||
1d7c1841 GS |
41 | #if defined(USE_ITHREADS) |
42 | PERL_CALLCONV PerlInterpreter* perl_clone(PerlInterpreter* interp, UV flags); | |
43 | # if defined(PERL_IMPLICIT_SYS) | |
44 | PERL_CALLCONV PerlInterpreter* perl_clone_using(PerlInterpreter *interp, UV flags, struct IPerlMem* m, struct IPerlMem* ms, struct IPerlMem* mp, struct IPerlEnv* e, struct IPerlStdIO* io, struct IPerlLIO* lio, struct IPerlDir* d, struct IPerlSock* s, struct IPerlProc* p); | |
45 | # endif | |
46 | #endif | |
47 | ||
4373e329 | 48 | PERL_CALLCONV Malloc_t Perl_malloc(MEM_SIZE nbytes) |
abb2c242 JH |
49 | __attribute__malloc__ |
50 | __attribute__warn_unused_result__; | |
f54cb97a | 51 | |
4373e329 | 52 | PERL_CALLCONV Malloc_t Perl_calloc(MEM_SIZE elements, MEM_SIZE size) |
abb2c242 JH |
53 | __attribute__malloc__ |
54 | __attribute__warn_unused_result__; | |
f54cb97a | 55 | |
4373e329 | 56 | PERL_CALLCONV Malloc_t Perl_realloc(Malloc_t where, MEM_SIZE nbytes) |
abb2c242 JH |
57 | __attribute__malloc__ |
58 | __attribute__warn_unused_result__; | |
f54cb97a | 59 | |
1d7c1841 | 60 | PERL_CALLCONV Free_t Perl_mfree(Malloc_t where); |
cae6d0e5 | 61 | #if defined(MYMALLOC) |
b464bac0 AL |
62 | PERL_CALLCONV MEM_SIZE Perl_malloced_size(void *p) |
63 | __attribute__warn_unused_result__; | |
64 | ||
1d7c1841 GS |
65 | #endif |
66 | ||
255164ba DM |
67 | PERL_CALLCONV void* Perl_get_context(void) |
68 | __attribute__warn_unused_result__; | |
69 | ||
70 | PERL_CALLCONV void Perl_set_context(void *thx) | |
71 | __attribute__nonnull__(1); | |
72 | ||
ba869deb | 73 | |
1d7c1841 GS |
74 | END_EXTERN_C |
75 | ||
76 | /* functions with flag 'n' should come before here */ | |
1d7c1841 | 77 | START_EXTERN_C |
1d7c1841 | 78 | # include "pp_proto.h" |
46c461b5 AL |
79 | PERL_CALLCONV SV* Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir) |
80 | __attribute__nonnull__(pTHX_1) | |
81 | __attribute__nonnull__(pTHX_2); | |
82 | ||
255164ba DM |
83 | PERL_CALLCONV bool Perl_Gv_AMupdate(pTHX_ HV* stash) |
84 | __attribute__nonnull__(pTHX_1); | |
85 | ||
86 | PERL_CALLCONV CV* Perl_gv_handler(pTHX_ HV* stash, I32 id) | |
87 | __attribute__warn_unused_result__; | |
88 | ||
89 | PERL_CALLCONV OP* Perl_append_elem(pTHX_ I32 optype, OP* first, OP* last); | |
1d7c1841 | 90 | PERL_CALLCONV OP* Perl_append_list(pTHX_ I32 optype, LISTOP* first, LISTOP* last); |
255164ba DM |
91 | PERL_CALLCONV I32 Perl_apply(pTHX_ I32 type, SV** mark, SV** sp) |
92 | __attribute__nonnull__(pTHX_2) | |
93 | __attribute__nonnull__(pTHX_3); | |
94 | ||
95 | PERL_CALLCONV void Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len) | |
96 | __attribute__nonnull__(pTHX_1) | |
97 | __attribute__nonnull__(pTHX_2) | |
98 | __attribute__nonnull__(pTHX_3); | |
99 | ||
1d7c1841 | 100 | PERL_CALLCONV void Perl_av_clear(pTHX_ AV* ar); |
1b6737cc | 101 | PERL_CALLCONV SV* Perl_av_delete(pTHX_ AV* ar, I32 key, I32 flags); |
a3b680e6 | 102 | PERL_CALLCONV bool Perl_av_exists(pTHX_ AV* ar, I32 key) |
abb2c242 | 103 | __attribute__warn_unused_result__; |
a3b680e6 AL |
104 | |
105 | PERL_CALLCONV void Perl_av_extend(pTHX_ AV* ar, I32 key) | |
abb2c242 | 106 | __attribute__nonnull__(pTHX_1); |
a3b680e6 AL |
107 | |
108 | PERL_CALLCONV AV* Perl_av_fake(pTHX_ I32 size, SV** svp) | |
abb2c242 JH |
109 | __attribute__warn_unused_result__ |
110 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 AL |
111 | |
112 | PERL_CALLCONV SV** Perl_av_fetch(pTHX_ AV* ar, I32 key, I32 lval) | |
abb2c242 | 113 | __attribute__warn_unused_result__; |
a3b680e6 | 114 | |
255164ba DM |
115 | PERL_CALLCONV void Perl_av_fill(pTHX_ AV* ar, I32 fill) |
116 | __attribute__nonnull__(pTHX_1); | |
117 | ||
a3b680e6 | 118 | PERL_CALLCONV I32 Perl_av_len(pTHX_ const AV* ar) |
255164ba DM |
119 | __attribute__warn_unused_result__ |
120 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
121 | |
122 | PERL_CALLCONV AV* Perl_av_make(pTHX_ I32 size, SV** svp) | |
abb2c242 JH |
123 | __attribute__warn_unused_result__ |
124 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 | 125 | |
1b6737cc | 126 | PERL_CALLCONV SV* Perl_av_pop(pTHX_ AV* ar); |
255164ba DM |
127 | PERL_CALLCONV void Perl_av_push(pTHX_ AV* ar, SV* val) |
128 | __attribute__nonnull__(pTHX_2); | |
129 | ||
130 | PERL_CALLCONV void Perl_av_reify(pTHX_ AV* ar) | |
131 | __attribute__nonnull__(pTHX_1); | |
132 | ||
a3b680e6 | 133 | PERL_CALLCONV SV* Perl_av_shift(pTHX_ AV* ar) |
abb2c242 | 134 | __attribute__warn_unused_result__; |
a3b680e6 | 135 | |
1d7c1841 GS |
136 | PERL_CALLCONV SV** Perl_av_store(pTHX_ AV* ar, I32 key, SV* val); |
137 | PERL_CALLCONV void Perl_av_undef(pTHX_ AV* ar); | |
138 | PERL_CALLCONV void Perl_av_unshift(pTHX_ AV* ar, I32 num); | |
255164ba DM |
139 | PERL_CALLCONV SV** Perl_av_arylen_p(pTHX_ AV* av) |
140 | __attribute__nonnull__(pTHX_1); | |
141 | ||
a3b680e6 | 142 | PERL_CALLCONV OP* Perl_bind_match(pTHX_ I32 type, OP* left, OP* pat) |
abb2c242 JH |
143 | __attribute__warn_unused_result__ |
144 | __attribute__nonnull__(pTHX_2) | |
145 | __attribute__nonnull__(pTHX_3); | |
a3b680e6 AL |
146 | |
147 | PERL_CALLCONV OP* Perl_block_end(pTHX_ I32 floor, OP* seq) | |
255164ba DM |
148 | __attribute__warn_unused_result__ |
149 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 AL |
150 | |
151 | PERL_CALLCONV I32 Perl_block_gimme(pTHX) | |
abb2c242 | 152 | __attribute__warn_unused_result__; |
a3b680e6 AL |
153 | |
154 | PERL_CALLCONV int Perl_block_start(pTHX_ int full) | |
abb2c242 | 155 | __attribute__warn_unused_result__; |
a3b680e6 | 156 | |
1d7c1841 | 157 | PERL_CALLCONV void Perl_boot_core_UNIVERSAL(pTHX); |
36ed5425 | 158 | PERL_CALLCONV void Perl_boot_core_PerlIO(pTHX); |
a3b680e6 | 159 | PERL_CALLCONV void Perl_call_list(pTHX_ I32 oldscope, AV* av_list) |
abb2c242 | 160 | __attribute__nonnull__(pTHX_2); |
a3b680e6 | 161 | |
4373e329 | 162 | PERL_CALLCONV bool Perl_cando(pTHX_ Mode_t mode, Uid_t effective, const Stat_t* statbufp) |
abb2c242 JH |
163 | __attribute__warn_unused_result__ |
164 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 165 | |
53c1dcc0 AL |
166 | PERL_CALLCONV U32 Perl_cast_ulong(pTHX_ NV f) |
167 | __attribute__warn_unused_result__; | |
168 | ||
169 | PERL_CALLCONV I32 Perl_cast_i32(pTHX_ NV f) | |
170 | __attribute__warn_unused_result__; | |
171 | ||
172 | PERL_CALLCONV IV Perl_cast_iv(pTHX_ NV f) | |
173 | __attribute__warn_unused_result__; | |
174 | ||
175 | PERL_CALLCONV UV Perl_cast_uv(pTHX_ NV f) | |
176 | __attribute__warn_unused_result__; | |
177 | ||
cea2e8a9 | 178 | #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP) |
53c1dcc0 AL |
179 | PERL_CALLCONV I32 Perl_my_chsize(pTHX_ int fd, Off_t length) |
180 | __attribute__warn_unused_result__; | |
181 | ||
cea2e8a9 | 182 | #endif |
53c1dcc0 AL |
183 | PERL_CALLCONV OP* Perl_convert(pTHX_ I32 optype, I32 flags, OP* o) |
184 | __attribute__warn_unused_result__; | |
185 | ||
f54cb97a | 186 | PERL_CALLCONV void Perl_croak(pTHX_ const char* pat, ...) |
abb2c242 | 187 | __attribute__noreturn__ |
3c6f43c5 | 188 | __attribute__format__(__printf__,pTHX_1,pTHX_2); |
f54cb97a AL |
189 | |
190 | PERL_CALLCONV void Perl_vcroak(pTHX_ const char* pat, va_list* args) | |
3c6f43c5 | 191 | __attribute__noreturn__; |
f54cb97a | 192 | |
cea2e8a9 | 193 | #if defined(PERL_IMPLICIT_CONTEXT) |
f54cb97a | 194 | PERL_CALLCONV void Perl_croak_nocontext(const char* pat, ...) |
abb2c242 | 195 | __attribute__noreturn__ |
3c6f43c5 | 196 | __attribute__format__(__printf__,1,2); |
f54cb97a | 197 | |
894356b3 | 198 | PERL_CALLCONV OP* Perl_die_nocontext(const char* pat, ...) |
255164ba DM |
199 | __attribute__format__(__printf__,1,2) |
200 | __attribute__nonnull__(1); | |
f54cb97a | 201 | |
894356b3 | 202 | PERL_CALLCONV void Perl_deb_nocontext(const char* pat, ...) |
255164ba DM |
203 | __attribute__format__(__printf__,1,2) |
204 | __attribute__nonnull__(1); | |
f54cb97a | 205 | |
894356b3 | 206 | PERL_CALLCONV char* Perl_form_nocontext(const char* pat, ...) |
255164ba DM |
207 | __attribute__format__(__printf__,1,2) |
208 | __attribute__nonnull__(1); | |
209 | ||
210 | PERL_CALLCONV void Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...) | |
211 | __attribute__nonnull__(2) | |
212 | __attribute__nonnull__(3); | |
f54cb97a | 213 | |
894356b3 | 214 | PERL_CALLCONV SV* Perl_mess_nocontext(const char* pat, ...) |
255164ba DM |
215 | __attribute__format__(__printf__,1,2) |
216 | __attribute__nonnull__(1); | |
f54cb97a | 217 | |
894356b3 | 218 | PERL_CALLCONV void Perl_warn_nocontext(const char* pat, ...) |
255164ba DM |
219 | __attribute__format__(__printf__,1,2) |
220 | __attribute__nonnull__(1); | |
f54cb97a | 221 | |
894356b3 | 222 | PERL_CALLCONV void Perl_warner_nocontext(U32 err, const char* pat, ...) |
255164ba DM |
223 | __attribute__format__(__printf__,2,3) |
224 | __attribute__nonnull__(2); | |
f54cb97a | 225 | |
894356b3 | 226 | PERL_CALLCONV SV* Perl_newSVpvf_nocontext(const char* pat, ...) |
255164ba DM |
227 | __attribute__format__(__printf__,1,2) |
228 | __attribute__nonnull__(1); | |
f54cb97a | 229 | |
894356b3 | 230 | PERL_CALLCONV void Perl_sv_catpvf_nocontext(SV* sv, const char* pat, ...) |
255164ba DM |
231 | __attribute__format__(__printf__,2,3) |
232 | __attribute__nonnull__(1); | |
f54cb97a | 233 | |
894356b3 | 234 | PERL_CALLCONV void Perl_sv_setpvf_nocontext(SV* sv, const char* pat, ...) |
255164ba DM |
235 | __attribute__format__(__printf__,2,3) |
236 | __attribute__nonnull__(1); | |
f54cb97a | 237 | |
894356b3 | 238 | PERL_CALLCONV void Perl_sv_catpvf_mg_nocontext(SV* sv, const char* pat, ...) |
255164ba DM |
239 | __attribute__format__(__printf__,2,3) |
240 | __attribute__nonnull__(1); | |
f54cb97a | 241 | |
894356b3 | 242 | PERL_CALLCONV void Perl_sv_setpvf_mg_nocontext(SV* sv, const char* pat, ...) |
255164ba DM |
243 | __attribute__format__(__printf__,2,3) |
244 | __attribute__nonnull__(1); | |
f54cb97a | 245 | |
894356b3 | 246 | PERL_CALLCONV int Perl_fprintf_nocontext(PerlIO* stream, const char* fmt, ...) |
255164ba DM |
247 | __attribute__format__(__printf__,2,3) |
248 | __attribute__nonnull__(1) | |
249 | __attribute__nonnull__(2); | |
f54cb97a | 250 | |
b0316773 | 251 | PERL_CALLCONV int Perl_printf_nocontext(const char* fmt, ...) |
255164ba DM |
252 | __attribute__format__(__printf__,1,2) |
253 | __attribute__nonnull__(1); | |
f54cb97a | 254 | |
0cb96387 | 255 | #endif |
a3b680e6 | 256 | PERL_CALLCONV void Perl_cv_ckproto(pTHX_ const CV* cv, const GV* gv, const char* p) |
abb2c242 | 257 | __attribute__nonnull__(pTHX_1); |
a3b680e6 | 258 | |
4373e329 | 259 | PERL_CALLCONV CV* Perl_cv_clone(pTHX_ CV* proto) |
abb2c242 | 260 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 261 | |
255164ba DM |
262 | PERL_CALLCONV SV* Perl_cv_const_sv(pTHX_ CV* cv) |
263 | __attribute__warn_unused_result__; | |
264 | ||
265 | PERL_CALLCONV SV* Perl_op_const_sv(pTHX_ const OP* o, CV* cv) | |
266 | __attribute__warn_unused_result__; | |
267 | ||
268 | PERL_CALLCONV void Perl_cv_undef(pTHX_ CV* cv) | |
269 | __attribute__nonnull__(pTHX_1); | |
270 | ||
271 | PERL_CALLCONV void Perl_cx_dump(pTHX_ PERL_CONTEXT* cx) | |
272 | __attribute__nonnull__(pTHX_1); | |
273 | ||
1d7c1841 | 274 | PERL_CALLCONV SV* Perl_filter_add(pTHX_ filter_t funcp, SV* datasv); |
255164ba DM |
275 | PERL_CALLCONV void Perl_filter_del(pTHX_ filter_t funcp) |
276 | __attribute__nonnull__(pTHX_1); | |
277 | ||
278 | PERL_CALLCONV I32 Perl_filter_read(pTHX_ int idx, SV* buffer, int maxlen) | |
279 | __attribute__warn_unused_result__ | |
280 | __attribute__nonnull__(pTHX_2); | |
281 | ||
4373e329 | 282 | PERL_CALLCONV char** Perl_get_op_descs(pTHX) |
abb2c242 JH |
283 | __attribute__warn_unused_result__ |
284 | __attribute__pure__; | |
f54cb97a | 285 | |
4373e329 | 286 | PERL_CALLCONV char** Perl_get_op_names(pTHX) |
abb2c242 JH |
287 | __attribute__warn_unused_result__ |
288 | __attribute__pure__; | |
f54cb97a | 289 | |
4373e329 | 290 | PERL_CALLCONV const char* Perl_get_no_modify(pTHX) |
abb2c242 JH |
291 | __attribute__warn_unused_result__ |
292 | __attribute__pure__; | |
f54cb97a | 293 | |
4373e329 | 294 | PERL_CALLCONV U32* Perl_get_opargs(pTHX) |
abb2c242 JH |
295 | __attribute__warn_unused_result__ |
296 | __attribute__pure__; | |
f54cb97a | 297 | |
4373e329 | 298 | PERL_CALLCONV PPADDR_t* Perl_get_ppaddr(pTHX) |
abb2c242 JH |
299 | __attribute__warn_unused_result__ |
300 | __attribute__pure__; | |
f54cb97a | 301 | |
a3b680e6 | 302 | PERL_CALLCONV I32 Perl_cxinc(pTHX) |
abb2c242 | 303 | __attribute__warn_unused_result__; |
a3b680e6 | 304 | |
894356b3 | 305 | PERL_CALLCONV void Perl_deb(pTHX_ const char* pat, ...) |
255164ba DM |
306 | __attribute__format__(__printf__,pTHX_1,pTHX_2) |
307 | __attribute__nonnull__(pTHX_1); | |
308 | ||
309 | PERL_CALLCONV void Perl_vdeb(pTHX_ const char* pat, va_list* args) | |
310 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 311 | |
1d7c1841 | 312 | PERL_CALLCONV void Perl_debprofdump(pTHX); |
4373e329 | 313 | PERL_CALLCONV I32 Perl_debop(pTHX_ const OP* o) |
abb2c242 | 314 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 315 | |
1d7c1841 GS |
316 | PERL_CALLCONV I32 Perl_debstack(pTHX); |
317 | PERL_CALLCONV I32 Perl_debstackptrs(pTHX); | |
4373e329 | 318 | PERL_CALLCONV char* Perl_delimcpy(pTHX_ char* to, const char* toend, const char* from, const char* fromend, int delim, I32* retlen) |
abb2c242 JH |
319 | __attribute__nonnull__(pTHX_1) |
320 | __attribute__nonnull__(pTHX_2) | |
321 | __attribute__nonnull__(pTHX_3) | |
322 | __attribute__nonnull__(pTHX_4) | |
323 | __attribute__nonnull__(pTHX_6); | |
f54cb97a | 324 | |
4373e329 | 325 | PERL_CALLCONV void Perl_deprecate(pTHX_ const char* s) |
abb2c242 | 326 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 327 | |
4373e329 | 328 | PERL_CALLCONV void Perl_deprecate_old(pTHX_ const char* s) |
abb2c242 | 329 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 330 | |
894356b3 | 331 | PERL_CALLCONV OP* Perl_die(pTHX_ const char* pat, ...) |
c3bdd826 | 332 | __attribute__format__(__printf__,pTHX_1,pTHX_2); |
f54cb97a | 333 | |
1d7c1841 | 334 | PERL_CALLCONV OP* Perl_vdie(pTHX_ const char* pat, va_list* args); |
255164ba DM |
335 | PERL_CALLCONV OP* Perl_die_where(pTHX_ const char* message, STRLEN msglen) |
336 | __attribute__nonnull__(pTHX_1); | |
337 | ||
1d7c1841 | 338 | PERL_CALLCONV void Perl_dounwind(pTHX_ I32 cxix); |
255164ba DM |
339 | PERL_CALLCONV bool Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp) |
340 | __attribute__nonnull__(pTHX_2) | |
341 | __attribute__nonnull__(pTHX_3); | |
342 | ||
343 | PERL_CALLCONV bool Perl_do_aexec5(pTHX_ SV* really, SV** mark, SV** sp, int fd, int flag) | |
344 | __attribute__nonnull__(pTHX_2) | |
345 | __attribute__nonnull__(pTHX_3); | |
346 | ||
4373e329 | 347 | PERL_CALLCONV int Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int mode) |
abb2c242 | 348 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 349 | |
4373e329 | 350 | PERL_CALLCONV void Perl_do_chop(pTHX_ SV* asv, SV* sv) |
abb2c242 JH |
351 | __attribute__nonnull__(pTHX_1) |
352 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 353 | |
4373e329 | 354 | PERL_CALLCONV bool Perl_do_close(pTHX_ GV* gv, bool not_implicit) |
abb2c242 | 355 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 356 | |
4373e329 | 357 | PERL_CALLCONV bool Perl_do_eof(pTHX_ GV* gv) |
abb2c242 | 358 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 359 | |
2fbb330f | 360 | PERL_CALLCONV bool Perl_do_exec(pTHX_ const char* cmd) |
abb2c242 | 361 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 362 | |
27da23d5 | 363 | #if defined(WIN32) || defined(SYMBIAN) |
255164ba DM |
364 | PERL_CALLCONV int Perl_do_aspawn(pTHX_ SV* really, SV** mark, SV** sp) |
365 | __attribute__nonnull__(pTHX_1) | |
366 | __attribute__nonnull__(pTHX_2) | |
367 | __attribute__nonnull__(pTHX_3); | |
368 | ||
369 | PERL_CALLCONV int Perl_do_spawn(pTHX_ char* cmd) | |
370 | __attribute__nonnull__(pTHX_1); | |
371 | ||
372 | PERL_CALLCONV int Perl_do_spawn_nowait(pTHX_ char* cmd) | |
373 | __attribute__nonnull__(pTHX_1); | |
374 | ||
54725af6 | 375 | #endif |
864dbfa3 | 376 | #if !defined(WIN32) |
2fbb330f | 377 | PERL_CALLCONV bool Perl_do_exec3(pTHX_ const char* cmd, int fd, int flag) |
255164ba DM |
378 | __attribute__nonnull__(pTHX_1); |
379 | ||
864dbfa3 | 380 | #endif |
1d7c1841 | 381 | PERL_CALLCONV void Perl_do_execfree(pTHX); |
864dbfa3 | 382 | #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM) |
1d7c1841 GS |
383 | PERL_CALLCONV I32 Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp); |
384 | PERL_CALLCONV I32 Perl_do_ipcget(pTHX_ I32 optype, SV** mark, SV** sp); | |
385 | PERL_CALLCONV I32 Perl_do_msgrcv(pTHX_ SV** mark, SV** sp); | |
386 | PERL_CALLCONV I32 Perl_do_msgsnd(pTHX_ SV** mark, SV** sp); | |
387 | PERL_CALLCONV I32 Perl_do_semop(pTHX_ SV** mark, SV** sp); | |
388 | PERL_CALLCONV I32 Perl_do_shmio(pTHX_ I32 optype, SV** mark, SV** sp); | |
0cb96387 | 389 | #endif |
f54cb97a | 390 | PERL_CALLCONV void Perl_do_join(pTHX_ SV* sv, SV* del, SV** mark, SV** sp) |
abb2c242 JH |
391 | __attribute__nonnull__(pTHX_1) |
392 | __attribute__nonnull__(pTHX_2) | |
393 | __attribute__nonnull__(pTHX_3) | |
394 | __attribute__nonnull__(pTHX_4); | |
f54cb97a | 395 | |
1d7c1841 | 396 | PERL_CALLCONV OP* Perl_do_kv(pTHX); |
2fbb330f | 397 | PERL_CALLCONV bool Perl_do_open(pTHX_ GV* gv, const char* name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp) |
255164ba DM |
398 | __attribute__nonnull__(pTHX_1) |
399 | __attribute__nonnull__(pTHX_2); | |
400 | ||
2fbb330f | 401 | PERL_CALLCONV bool Perl_do_open9(pTHX_ GV *gv, const char *name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO *supplied_fp, SV *svs, I32 num) |
255164ba DM |
402 | __attribute__nonnull__(pTHX_1) |
403 | __attribute__nonnull__(pTHX_2) | |
404 | __attribute__nonnull__(pTHX_8); | |
405 | ||
2fbb330f | 406 | PERL_CALLCONV bool Perl_do_openn(pTHX_ GV *gv, const char *name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO *supplied_fp, SV **svp, I32 num) |
255164ba DM |
407 | __attribute__nonnull__(pTHX_1) |
408 | __attribute__nonnull__(pTHX_2); | |
409 | ||
410 | PERL_CALLCONV void Perl_do_pipe(pTHX_ SV* sv, GV* rgv, GV* wgv) | |
411 | __attribute__nonnull__(pTHX_1); | |
412 | ||
413 | PERL_CALLCONV bool Perl_do_print(pTHX_ SV* sv, PerlIO* fp) | |
414 | __attribute__nonnull__(pTHX_2); | |
415 | ||
416 | PERL_CALLCONV OP* Perl_do_readline(pTHX) | |
417 | __attribute__warn_unused_result__; | |
418 | ||
419 | PERL_CALLCONV I32 Perl_do_chomp(pTHX_ SV* sv) | |
420 | __attribute__nonnull__(pTHX_1); | |
421 | ||
1d7c1841 | 422 | PERL_CALLCONV bool Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence); |
255164ba DM |
423 | PERL_CALLCONV void Perl_do_sprintf(pTHX_ SV* sv, I32 len, SV** sarg) |
424 | __attribute__nonnull__(pTHX_1) | |
425 | __attribute__nonnull__(pTHX_3); | |
426 | ||
427 | PERL_CALLCONV Off_t Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence) | |
428 | __attribute__nonnull__(pTHX_1); | |
429 | ||
430 | PERL_CALLCONV Off_t Perl_do_tell(pTHX_ GV* gv) | |
431 | __attribute__warn_unused_result__ | |
432 | __attribute__nonnull__(pTHX_1); | |
433 | ||
434 | PERL_CALLCONV I32 Perl_do_trans(pTHX_ SV* sv) | |
435 | __attribute__nonnull__(pTHX_1); | |
436 | ||
4373e329 | 437 | PERL_CALLCONV UV Perl_do_vecget(pTHX_ SV* sv, I32 offset, I32 size) |
abb2c242 | 438 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 439 | |
4373e329 | 440 | PERL_CALLCONV void Perl_do_vecset(pTHX_ SV* sv) |
abb2c242 | 441 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 442 | |
255164ba DM |
443 | PERL_CALLCONV void Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right) |
444 | __attribute__nonnull__(pTHX_2) | |
445 | __attribute__nonnull__(pTHX_3) | |
446 | __attribute__nonnull__(pTHX_4); | |
447 | ||
448 | PERL_CALLCONV OP* Perl_dofile(pTHX_ OP* term) | |
449 | __attribute__nonnull__(pTHX_1); | |
450 | ||
451 | PERL_CALLCONV I32 Perl_dowantarray(pTHX) | |
452 | __attribute__warn_unused_result__; | |
453 | ||
1d7c1841 GS |
454 | PERL_CALLCONV void Perl_dump_all(pTHX); |
455 | PERL_CALLCONV void Perl_dump_eval(pTHX); | |
864dbfa3 | 456 | #if defined(DUMP_FDS) |
9a957fbc AL |
457 | PERL_CALLCONV void Perl_dump_fds(pTHX_ char* s) |
458 | __attribute__nonnull__(pTHX_1); | |
459 | ||
0cb96387 | 460 | #endif |
9a957fbc AL |
461 | PERL_CALLCONV void Perl_dump_form(pTHX_ const GV* gv) |
462 | __attribute__nonnull__(pTHX_1); | |
463 | ||
255164ba DM |
464 | PERL_CALLCONV void Perl_gv_dump(pTHX_ GV* gv) |
465 | __attribute__nonnull__(pTHX_1); | |
466 | ||
467 | PERL_CALLCONV void Perl_op_dump(pTHX_ const OP* arg) | |
468 | __attribute__nonnull__(pTHX_1); | |
469 | ||
1d7c1841 | 470 | PERL_CALLCONV void Perl_pmop_dump(pTHX_ PMOP* pm); |
9a957fbc AL |
471 | PERL_CALLCONV void Perl_dump_packsubs(pTHX_ const HV* stash) |
472 | __attribute__nonnull__(pTHX_1); | |
473 | ||
f54cb97a | 474 | PERL_CALLCONV void Perl_dump_sub(pTHX_ const GV* gv) |
abb2c242 | 475 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 476 | |
255164ba DM |
477 | PERL_CALLCONV void Perl_fbm_compile(pTHX_ SV* sv, U32 flags) |
478 | __attribute__nonnull__(pTHX_1); | |
479 | ||
480 | PERL_CALLCONV char* Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlesv, U32 flags) | |
481 | __attribute__warn_unused_result__ | |
482 | __attribute__nonnull__(pTHX_1) | |
483 | __attribute__nonnull__(pTHX_2) | |
484 | __attribute__nonnull__(pTHX_3); | |
485 | ||
e1ec3a88 | 486 | PERL_CALLCONV char* Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char **search_ext, I32 flags); |
2d03de9c | 487 | PERL_CALLCONV OP* Perl_force_list(pTHX_ OP* arg); |
4373e329 | 488 | PERL_CALLCONV OP* Perl_fold_constants(pTHX_ OP* arg) |
abb2c242 | 489 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 490 | |
894356b3 | 491 | PERL_CALLCONV char* Perl_form(pTHX_ const char* pat, ...) |
aec46f14 AL |
492 | __attribute__format__(__printf__,pTHX_1,pTHX_2) |
493 | __attribute__nonnull__(pTHX_1); | |
494 | ||
495 | PERL_CALLCONV char* Perl_vform(pTHX_ const char* pat, va_list* args) | |
496 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 497 | |
1d7c1841 GS |
498 | PERL_CALLCONV void Perl_free_tmps(pTHX); |
499 | PERL_CALLCONV OP* Perl_gen_constant_list(pTHX_ OP* o); | |
864dbfa3 | 500 | #if !defined(HAS_GETENV_LEN) |
8772537c AL |
501 | PERL_CALLCONV char* Perl_getenv_len(pTHX_ const char* key, unsigned long *len) |
502 | __attribute__nonnull__(pTHX_1) | |
503 | __attribute__nonnull__(pTHX_2); | |
504 | ||
0cb96387 | 505 | #endif |
1d7c1841 GS |
506 | PERL_CALLCONV void Perl_gp_free(pTHX_ GV* gv); |
507 | PERL_CALLCONV GP* Perl_gp_ref(pTHX_ GP* gp); | |
53c1dcc0 AL |
508 | PERL_CALLCONV GV* Perl_gv_AVadd(pTHX_ GV* gv) |
509 | __attribute__nonnull__(pTHX_1); | |
510 | ||
511 | PERL_CALLCONV GV* Perl_gv_HVadd(pTHX_ GV* gv) | |
512 | __attribute__nonnull__(pTHX_1); | |
513 | ||
514 | PERL_CALLCONV GV* Perl_gv_IOadd(pTHX_ GV* gv) | |
515 | __attribute__nonnull__(pTHX_1); | |
516 | ||
a28509cc AL |
517 | PERL_CALLCONV GV* Perl_gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method) |
518 | __attribute__warn_unused_result__ | |
519 | __attribute__nonnull__(pTHX_2); | |
520 | ||
46c461b5 AL |
521 | PERL_CALLCONV void Perl_gv_check(pTHX_ HV* stash) |
522 | __attribute__nonnull__(pTHX_1); | |
523 | ||
524 | PERL_CALLCONV void Perl_gv_efullname(pTHX_ SV* sv, const GV* gv) | |
525 | __attribute__nonnull__(pTHX_1) | |
526 | __attribute__nonnull__(pTHX_2); | |
527 | ||
528 | /* PERL_CALLCONV void Perl_gv_efullname3(pTHX_ SV* sv, const GV* gv, const char* prefix) | |
529 | __attribute__nonnull__(pTHX_1) | |
530 | __attribute__nonnull__(pTHX_2); */ | |
531 | ||
532 | PERL_CALLCONV void Perl_gv_efullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain) | |
533 | __attribute__nonnull__(pTHX_1) | |
534 | __attribute__nonnull__(pTHX_2); | |
535 | ||
53c1dcc0 AL |
536 | PERL_CALLCONV GV* Perl_gv_fetchfile(pTHX_ const char* name) |
537 | __attribute__nonnull__(pTHX_1); | |
538 | ||
1d7c1841 | 539 | PERL_CALLCONV GV* Perl_gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); |
2d8263b8 | 540 | PERL_CALLCONV GV* Perl_gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); |
1d7c1841 GS |
541 | PERL_CALLCONV GV* Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name); |
542 | PERL_CALLCONV GV* Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload); | |
9a957fbc AL |
543 | PERL_CALLCONV GV* Perl_gv_fetchpv(pTHX_ const char* name, I32 add, I32 sv_type) |
544 | __attribute__nonnull__(pTHX_1); | |
545 | ||
546 | PERL_CALLCONV void Perl_gv_fullname(pTHX_ SV* sv, const GV* gv) | |
547 | __attribute__nonnull__(pTHX_1) | |
548 | __attribute__nonnull__(pTHX_2); | |
549 | ||
550 | /* PERL_CALLCONV void Perl_gv_fullname3(pTHX_ SV* sv, const GV* gv, const char* prefix) | |
551 | __attribute__nonnull__(pTHX_1) | |
552 | __attribute__nonnull__(pTHX_2); */ | |
553 | ||
554 | PERL_CALLCONV void Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain) | |
555 | __attribute__nonnull__(pTHX_1) | |
556 | __attribute__nonnull__(pTHX_2); | |
557 | ||
53c1dcc0 AL |
558 | PERL_CALLCONV void Perl_gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi) |
559 | __attribute__nonnull__(pTHX_1) | |
53c1dcc0 AL |
560 | __attribute__nonnull__(pTHX_3); |
561 | ||
1d7c1841 GS |
562 | PERL_CALLCONV HV* Perl_gv_stashpv(pTHX_ const char* name, I32 create); |
563 | PERL_CALLCONV HV* Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 create); | |
564 | PERL_CALLCONV HV* Perl_gv_stashsv(pTHX_ SV* sv, I32 create); | |
565 | PERL_CALLCONV void Perl_hv_clear(pTHX_ HV* tb); | |
566 | PERL_CALLCONV void Perl_hv_delayfree_ent(pTHX_ HV* hv, HE* entry); | |
da58a35d | 567 | PERL_CALLCONV SV* Perl_hv_delete(pTHX_ HV* tb, const char* key, I32 klen, I32 flags); |
1d7c1841 | 568 | PERL_CALLCONV SV* Perl_hv_delete_ent(pTHX_ HV* tb, SV* key, I32 flags, U32 hash); |
901017d6 AL |
569 | PERL_CALLCONV bool Perl_hv_exists(pTHX_ HV* tb, const char* key, I32 klen) |
570 | __attribute__warn_unused_result__; | |
571 | ||
572 | PERL_CALLCONV bool Perl_hv_exists_ent(pTHX_ HV* tb, SV* key, U32 hash) | |
573 | __attribute__warn_unused_result__; | |
574 | ||
da58a35d | 575 | PERL_CALLCONV SV** Perl_hv_fetch(pTHX_ HV* tb, const char* key, I32 klen, I32 lval); |
1d7c1841 | 576 | PERL_CALLCONV HE* Perl_hv_fetch_ent(pTHX_ HV* tb, SV* key, I32 lval, U32 hash); |
a3b680e6 | 577 | PERL_CALLCONV void Perl_hv_free_ent(pTHX_ HV* hv, HE* entry) |
abb2c242 | 578 | __attribute__nonnull__(pTHX_1); |
a3b680e6 AL |
579 | |
580 | PERL_CALLCONV I32 Perl_hv_iterinit(pTHX_ HV* tb) | |
abb2c242 | 581 | __attribute__nonnull__(pTHX_1); |
a3b680e6 AL |
582 | |
583 | PERL_CALLCONV char* Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen) | |
abb2c242 JH |
584 | __attribute__warn_unused_result__ |
585 | __attribute__nonnull__(pTHX_1) | |
586 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 AL |
587 | |
588 | PERL_CALLCONV SV* Perl_hv_iterkeysv(pTHX_ HE* entry) | |
abb2c242 JH |
589 | __attribute__warn_unused_result__ |
590 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
591 | |
592 | PERL_CALLCONV HE* Perl_hv_iternext(pTHX_ HV* tb) | |
abb2c242 JH |
593 | __attribute__warn_unused_result__ |
594 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
595 | |
596 | PERL_CALLCONV SV* Perl_hv_iternextsv(pTHX_ HV* hv, char** key, I32* retlen) | |
abb2c242 JH |
597 | __attribute__warn_unused_result__ |
598 | __attribute__nonnull__(pTHX_1) | |
599 | __attribute__nonnull__(pTHX_2) | |
600 | __attribute__nonnull__(pTHX_3); | |
a3b680e6 AL |
601 | |
602 | PERL_CALLCONV HE* Perl_hv_iternext_flags(pTHX_ HV* tb, I32 flags) | |
abb2c242 JH |
603 | __attribute__warn_unused_result__ |
604 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
605 | |
606 | PERL_CALLCONV SV* Perl_hv_iterval(pTHX_ HV* tb, HE* entry) | |
abb2c242 JH |
607 | __attribute__warn_unused_result__ |
608 | __attribute__nonnull__(pTHX_1) | |
609 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 AL |
610 | |
611 | PERL_CALLCONV void Perl_hv_ksplit(pTHX_ HV* hv, IV newmax) | |
abb2c242 | 612 | __attribute__nonnull__(pTHX_1); |
a3b680e6 | 613 | |
1d7c1841 | 614 | PERL_CALLCONV void Perl_hv_magic(pTHX_ HV* hv, GV* gv, int how); |
da58a35d | 615 | PERL_CALLCONV SV** Perl_hv_store(pTHX_ HV* tb, const char* key, I32 klen, SV* val, U32 hash); |
1d7c1841 | 616 | PERL_CALLCONV HE* Perl_hv_store_ent(pTHX_ HV* tb, SV* key, SV* val, U32 hash); |
e16e2ff8 | 617 | PERL_CALLCONV SV** Perl_hv_store_flags(pTHX_ HV* tb, const char* key, I32 klen, SV* val, U32 hash, int flags); |
1d7c1841 | 618 | PERL_CALLCONV void Perl_hv_undef(pTHX_ HV* tb); |
4373e329 | 619 | PERL_CALLCONV I32 Perl_ibcmp(pTHX_ const char* a, const char* b, I32 len) |
abb2c242 JH |
620 | __attribute__pure__ |
621 | __attribute__nonnull__(pTHX_1) | |
622 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 623 | |
4373e329 | 624 | PERL_CALLCONV I32 Perl_ibcmp_locale(pTHX_ const char* a, const char* b, I32 len) |
abb2c242 JH |
625 | __attribute__pure__ |
626 | __attribute__nonnull__(pTHX_1) | |
627 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 628 | |
4373e329 | 629 | PERL_CALLCONV I32 Perl_ibcmp_utf8(pTHX_ const char* a, char **pe1, UV l1, bool u1, const char* b, char **pe2, UV l2, bool u2) |
abb2c242 JH |
630 | __attribute__nonnull__(pTHX_1) |
631 | __attribute__nonnull__(pTHX_5); | |
f54cb97a AL |
632 | |
633 | PERL_CALLCONV bool Perl_ingroup(pTHX_ Gid_t testgid, Uid_t effective) | |
abb2c242 | 634 | __attribute__warn_unused_result__; |
f54cb97a | 635 | |
4373e329 | 636 | PERL_CALLCONV void Perl_init_argv_symbols(pTHX_ int argc, char **argv) |
abb2c242 | 637 | __attribute__nonnull__(pTHX_2); |
f54cb97a | 638 | |
1d7c1841 GS |
639 | PERL_CALLCONV void Perl_init_debugger(pTHX); |
640 | PERL_CALLCONV void Perl_init_stacks(pTHX); | |
e72cf795 | 641 | PERL_CALLCONV void Perl_init_tm(pTHX_ struct tm *ptm); |
1d7c1841 | 642 | PERL_CALLCONV U32 Perl_intro_my(pTHX); |
4373e329 | 643 | PERL_CALLCONV char* Perl_instr(pTHX_ const char* big, const char* little) |
b464bac0 | 644 | __attribute__warn_unused_result__ |
abb2c242 JH |
645 | __attribute__pure__ |
646 | __attribute__nonnull__(pTHX_1) | |
647 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 648 | |
b464bac0 AL |
649 | PERL_CALLCONV bool Perl_io_close(pTHX_ IO* io, bool not_implicit) |
650 | __attribute__warn_unused_result__ | |
651 | __attribute__nonnull__(pTHX_1); | |
652 | ||
653 | PERL_CALLCONV OP* Perl_invert(pTHX_ OP* cmd) | |
654 | __attribute__warn_unused_result__; | |
655 | ||
f54cb97a | 656 | PERL_CALLCONV bool Perl_is_gv_magical(pTHX_ const char *name, STRLEN len, U32 flags) |
9d4ba2ae AL |
657 | __attribute__warn_unused_result__ |
658 | __attribute__nonnull__(pTHX_1); | |
f54cb97a AL |
659 | |
660 | PERL_CALLCONV I32 Perl_is_lvalue_sub(pTHX) | |
abb2c242 | 661 | __attribute__warn_unused_result__; |
f54cb97a AL |
662 | |
663 | PERL_CALLCONV U32 Perl_to_uni_upper_lc(pTHX_ U32 c) | |
abb2c242 JH |
664 | __attribute__warn_unused_result__ |
665 | __attribute__pure__; | |
f54cb97a AL |
666 | |
667 | PERL_CALLCONV U32 Perl_to_uni_title_lc(pTHX_ U32 c) | |
abb2c242 JH |
668 | __attribute__warn_unused_result__ |
669 | __attribute__pure__; | |
f54cb97a AL |
670 | |
671 | PERL_CALLCONV U32 Perl_to_uni_lower_lc(pTHX_ U32 c) | |
abb2c242 JH |
672 | __attribute__warn_unused_result__ |
673 | __attribute__pure__; | |
f54cb97a AL |
674 | |
675 | PERL_CALLCONV bool Perl_is_uni_alnum(pTHX_ UV c) | |
abb2c242 JH |
676 | __attribute__warn_unused_result__ |
677 | __attribute__pure__; | |
f54cb97a AL |
678 | |
679 | PERL_CALLCONV bool Perl_is_uni_alnumc(pTHX_ UV c) | |
abb2c242 JH |
680 | __attribute__warn_unused_result__ |
681 | __attribute__pure__; | |
f54cb97a AL |
682 | |
683 | PERL_CALLCONV bool Perl_is_uni_idfirst(pTHX_ UV c) | |
abb2c242 JH |
684 | __attribute__warn_unused_result__ |
685 | __attribute__pure__; | |
f54cb97a AL |
686 | |
687 | PERL_CALLCONV bool Perl_is_uni_alpha(pTHX_ UV c) | |
abb2c242 JH |
688 | __attribute__warn_unused_result__ |
689 | __attribute__pure__; | |
f54cb97a AL |
690 | |
691 | PERL_CALLCONV bool Perl_is_uni_ascii(pTHX_ UV c) | |
abb2c242 JH |
692 | __attribute__warn_unused_result__ |
693 | __attribute__pure__; | |
f54cb97a AL |
694 | |
695 | PERL_CALLCONV bool Perl_is_uni_space(pTHX_ UV c) | |
abb2c242 JH |
696 | __attribute__warn_unused_result__ |
697 | __attribute__pure__; | |
f54cb97a AL |
698 | |
699 | PERL_CALLCONV bool Perl_is_uni_cntrl(pTHX_ UV c) | |
abb2c242 JH |
700 | __attribute__warn_unused_result__ |
701 | __attribute__pure__; | |
f54cb97a AL |
702 | |
703 | PERL_CALLCONV bool Perl_is_uni_graph(pTHX_ UV c) | |
abb2c242 JH |
704 | __attribute__warn_unused_result__ |
705 | __attribute__pure__; | |
f54cb97a AL |
706 | |
707 | PERL_CALLCONV bool Perl_is_uni_digit(pTHX_ UV c) | |
abb2c242 JH |
708 | __attribute__warn_unused_result__ |
709 | __attribute__pure__; | |
f54cb97a AL |
710 | |
711 | PERL_CALLCONV bool Perl_is_uni_upper(pTHX_ UV c) | |
abb2c242 JH |
712 | __attribute__warn_unused_result__ |
713 | __attribute__pure__; | |
f54cb97a AL |
714 | |
715 | PERL_CALLCONV bool Perl_is_uni_lower(pTHX_ UV c) | |
abb2c242 JH |
716 | __attribute__warn_unused_result__ |
717 | __attribute__pure__; | |
f54cb97a AL |
718 | |
719 | PERL_CALLCONV bool Perl_is_uni_print(pTHX_ UV c) | |
abb2c242 JH |
720 | __attribute__warn_unused_result__ |
721 | __attribute__pure__; | |
f54cb97a AL |
722 | |
723 | PERL_CALLCONV bool Perl_is_uni_punct(pTHX_ UV c) | |
abb2c242 JH |
724 | __attribute__warn_unused_result__ |
725 | __attribute__pure__; | |
f54cb97a AL |
726 | |
727 | PERL_CALLCONV bool Perl_is_uni_xdigit(pTHX_ UV c) | |
abb2c242 JH |
728 | __attribute__warn_unused_result__ |
729 | __attribute__pure__; | |
f54cb97a | 730 | |
4373e329 | 731 | PERL_CALLCONV UV Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp) |
abb2c242 JH |
732 | __attribute__nonnull__(pTHX_2) |
733 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 734 | |
4373e329 | 735 | PERL_CALLCONV UV Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp) |
abb2c242 JH |
736 | __attribute__nonnull__(pTHX_2) |
737 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 738 | |
4373e329 | 739 | PERL_CALLCONV UV Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp) |
abb2c242 JH |
740 | __attribute__nonnull__(pTHX_2) |
741 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 742 | |
4373e329 | 743 | PERL_CALLCONV UV Perl_to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp) |
abb2c242 JH |
744 | __attribute__nonnull__(pTHX_2) |
745 | __attribute__nonnull__(pTHX_3); | |
f54cb97a AL |
746 | |
747 | PERL_CALLCONV bool Perl_is_uni_alnum_lc(pTHX_ UV c) | |
abb2c242 JH |
748 | __attribute__warn_unused_result__ |
749 | __attribute__pure__; | |
f54cb97a AL |
750 | |
751 | PERL_CALLCONV bool Perl_is_uni_alnumc_lc(pTHX_ UV c) | |
abb2c242 JH |
752 | __attribute__warn_unused_result__ |
753 | __attribute__pure__; | |
f54cb97a AL |
754 | |
755 | PERL_CALLCONV bool Perl_is_uni_idfirst_lc(pTHX_ UV c) | |
abb2c242 JH |
756 | __attribute__warn_unused_result__ |
757 | __attribute__pure__; | |
f54cb97a AL |
758 | |
759 | PERL_CALLCONV bool Perl_is_uni_alpha_lc(pTHX_ UV c) | |
abb2c242 JH |
760 | __attribute__warn_unused_result__ |
761 | __attribute__pure__; | |
f54cb97a AL |
762 | |
763 | PERL_CALLCONV bool Perl_is_uni_ascii_lc(pTHX_ UV c) | |
abb2c242 JH |
764 | __attribute__warn_unused_result__ |
765 | __attribute__pure__; | |
f54cb97a AL |
766 | |
767 | PERL_CALLCONV bool Perl_is_uni_space_lc(pTHX_ UV c) | |
abb2c242 JH |
768 | __attribute__warn_unused_result__ |
769 | __attribute__pure__; | |
f54cb97a AL |
770 | |
771 | PERL_CALLCONV bool Perl_is_uni_cntrl_lc(pTHX_ UV c) | |
abb2c242 JH |
772 | __attribute__warn_unused_result__ |
773 | __attribute__pure__; | |
f54cb97a AL |
774 | |
775 | PERL_CALLCONV bool Perl_is_uni_graph_lc(pTHX_ UV c) | |
abb2c242 JH |
776 | __attribute__warn_unused_result__ |
777 | __attribute__pure__; | |
f54cb97a AL |
778 | |
779 | PERL_CALLCONV bool Perl_is_uni_digit_lc(pTHX_ UV c) | |
abb2c242 JH |
780 | __attribute__warn_unused_result__ |
781 | __attribute__pure__; | |
f54cb97a AL |
782 | |
783 | PERL_CALLCONV bool Perl_is_uni_upper_lc(pTHX_ UV c) | |
abb2c242 JH |
784 | __attribute__warn_unused_result__ |
785 | __attribute__pure__; | |
f54cb97a AL |
786 | |
787 | PERL_CALLCONV bool Perl_is_uni_lower_lc(pTHX_ UV c) | |
abb2c242 JH |
788 | __attribute__warn_unused_result__ |
789 | __attribute__pure__; | |
f54cb97a AL |
790 | |
791 | PERL_CALLCONV bool Perl_is_uni_print_lc(pTHX_ UV c) | |
abb2c242 JH |
792 | __attribute__warn_unused_result__ |
793 | __attribute__pure__; | |
f54cb97a AL |
794 | |
795 | PERL_CALLCONV bool Perl_is_uni_punct_lc(pTHX_ UV c) | |
abb2c242 JH |
796 | __attribute__warn_unused_result__ |
797 | __attribute__pure__; | |
f54cb97a AL |
798 | |
799 | PERL_CALLCONV bool Perl_is_uni_xdigit_lc(pTHX_ UV c) | |
abb2c242 JH |
800 | __attribute__warn_unused_result__ |
801 | __attribute__pure__; | |
f54cb97a | 802 | |
4373e329 | 803 | PERL_CALLCONV STRLEN Perl_is_utf8_char(pTHX_ const U8 *p) |
abb2c242 | 804 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 805 | |
4373e329 | 806 | PERL_CALLCONV bool Perl_is_utf8_string(pTHX_ const U8 *s, STRLEN len) |
abb2c242 | 807 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 808 | |
4373e329 | 809 | PERL_CALLCONV bool Perl_is_utf8_string_loc(pTHX_ const U8 *s, STRLEN len, const U8 **p) |
768c67ee JH |
810 | __attribute__nonnull__(pTHX_1); |
811 | ||
812 | PERL_CALLCONV bool Perl_is_utf8_string_loclen(pTHX_ const U8 *s, STRLEN len, const U8 **ep, STRLEN *el) | |
813 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 814 | |
4373e329 | 815 | PERL_CALLCONV bool Perl_is_utf8_alnum(pTHX_ const U8 *p) |
1df70142 | 816 | __attribute__warn_unused_result__ |
abb2c242 | 817 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 818 | |
4373e329 | 819 | PERL_CALLCONV bool Perl_is_utf8_alnumc(pTHX_ const U8 *p) |
1df70142 | 820 | __attribute__warn_unused_result__ |
abb2c242 | 821 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 822 | |
4373e329 | 823 | PERL_CALLCONV bool Perl_is_utf8_idfirst(pTHX_ const U8 *p) |
1df70142 | 824 | __attribute__warn_unused_result__ |
abb2c242 | 825 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 826 | |
4373e329 | 827 | PERL_CALLCONV bool Perl_is_utf8_idcont(pTHX_ const U8 *p) |
1df70142 | 828 | __attribute__warn_unused_result__ |
abb2c242 | 829 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 830 | |
4373e329 | 831 | PERL_CALLCONV bool Perl_is_utf8_alpha(pTHX_ const U8 *p) |
1df70142 | 832 | __attribute__warn_unused_result__ |
abb2c242 | 833 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 834 | |
4373e329 | 835 | PERL_CALLCONV bool Perl_is_utf8_ascii(pTHX_ const U8 *p) |
1df70142 | 836 | __attribute__warn_unused_result__ |
abb2c242 | 837 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 838 | |
4373e329 | 839 | PERL_CALLCONV bool Perl_is_utf8_space(pTHX_ const U8 *p) |
1df70142 | 840 | __attribute__warn_unused_result__ |
abb2c242 | 841 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 842 | |
4373e329 | 843 | PERL_CALLCONV bool Perl_is_utf8_cntrl(pTHX_ const U8 *p) |
1df70142 | 844 | __attribute__warn_unused_result__ |
abb2c242 | 845 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 846 | |
4373e329 | 847 | PERL_CALLCONV bool Perl_is_utf8_digit(pTHX_ const U8 *p) |
1df70142 | 848 | __attribute__warn_unused_result__ |
abb2c242 | 849 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 850 | |
4373e329 | 851 | PERL_CALLCONV bool Perl_is_utf8_graph(pTHX_ const U8 *p) |
1df70142 | 852 | __attribute__warn_unused_result__ |
abb2c242 | 853 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 854 | |
4373e329 | 855 | PERL_CALLCONV bool Perl_is_utf8_upper(pTHX_ const U8 *p) |
1df70142 | 856 | __attribute__warn_unused_result__ |
abb2c242 | 857 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 858 | |
4373e329 | 859 | PERL_CALLCONV bool Perl_is_utf8_lower(pTHX_ const U8 *p) |
1df70142 | 860 | __attribute__warn_unused_result__ |
abb2c242 | 861 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 862 | |
4373e329 | 863 | PERL_CALLCONV bool Perl_is_utf8_print(pTHX_ const U8 *p) |
1df70142 | 864 | __attribute__warn_unused_result__ |
abb2c242 | 865 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 866 | |
4373e329 | 867 | PERL_CALLCONV bool Perl_is_utf8_punct(pTHX_ const U8 *p) |
1df70142 | 868 | __attribute__warn_unused_result__ |
abb2c242 | 869 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 870 | |
4373e329 | 871 | PERL_CALLCONV bool Perl_is_utf8_xdigit(pTHX_ const U8 *p) |
1df70142 | 872 | __attribute__warn_unused_result__ |
abb2c242 | 873 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 874 | |
4373e329 | 875 | PERL_CALLCONV bool Perl_is_utf8_mark(pTHX_ const U8 *p) |
1df70142 | 876 | __attribute__warn_unused_result__ |
abb2c242 | 877 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 878 | |
4373e329 | 879 | PERL_CALLCONV OP* Perl_jmaybe(pTHX_ OP* arg) |
abb2c242 | 880 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 881 | |
672994ce | 882 | PERL_CALLCONV I32 Perl_keyword(pTHX_ const char* d, I32 len) |
abb2c242 JH |
883 | __attribute__pure__ |
884 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 885 | |
1d7c1841 GS |
886 | PERL_CALLCONV void Perl_leave_scope(pTHX_ I32 base); |
887 | PERL_CALLCONV void Perl_lex_end(pTHX); | |
888 | PERL_CALLCONV void Perl_lex_start(pTHX_ SV* line); | |
aec46f14 AL |
889 | PERL_CALLCONV void Perl_op_null(pTHX_ OP* o) |
890 | __attribute__nonnull__(pTHX_1); | |
891 | ||
892 | PERL_CALLCONV void Perl_op_clear(pTHX_ OP* o) | |
893 | __attribute__nonnull__(pTHX_1); | |
894 | ||
4026c95a SH |
895 | PERL_CALLCONV void Perl_op_refcnt_lock(pTHX); |
896 | PERL_CALLCONV void Perl_op_refcnt_unlock(pTHX); | |
aec46f14 AL |
897 | PERL_CALLCONV OP* Perl_linklist(pTHX_ OP* o) |
898 | __attribute__nonnull__(pTHX_1); | |
899 | ||
1d7c1841 GS |
900 | PERL_CALLCONV OP* Perl_list(pTHX_ OP* o); |
901 | PERL_CALLCONV OP* Perl_listkids(pTHX_ OP* o); | |
aec46f14 AL |
902 | PERL_CALLCONV void Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...) |
903 | __attribute__nonnull__(pTHX_2); | |
904 | ||
905 | PERL_CALLCONV void Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args) | |
906 | __attribute__nonnull__(pTHX_2); | |
907 | ||
1d7c1841 | 908 | PERL_CALLCONV OP* Perl_localize(pTHX_ OP* arg, I32 lexical); |
f54cb97a | 909 | PERL_CALLCONV I32 Perl_looks_like_number(pTHX_ SV* sv) |
abb2c242 JH |
910 | __attribute__warn_unused_result__ |
911 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 912 | |
a3b680e6 | 913 | PERL_CALLCONV UV Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result) |
abb2c242 JH |
914 | __attribute__nonnull__(pTHX_1) |
915 | __attribute__nonnull__(pTHX_2) | |
916 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 917 | |
a3b680e6 | 918 | PERL_CALLCONV UV Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result) |
abb2c242 JH |
919 | __attribute__nonnull__(pTHX_1) |
920 | __attribute__nonnull__(pTHX_2) | |
921 | __attribute__nonnull__(pTHX_3); | |
f54cb97a AL |
922 | |
923 | PERL_CALLCONV int Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep) | |
abb2c242 | 924 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 925 | |
901017d6 AL |
926 | PERL_CALLCONV bool Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send) |
927 | __attribute__warn_unused_result__; | |
928 | ||
a3b680e6 | 929 | PERL_CALLCONV UV Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result); |
1d7c1841 GS |
930 | PERL_CALLCONV int Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg); |
931 | PERL_CALLCONV int Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg); | |
932 | PERL_CALLCONV int Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg); | |
933 | PERL_CALLCONV int Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg); | |
934 | PERL_CALLCONV int Perl_magic_existspack(pTHX_ SV* sv, MAGIC* mg); | |
935 | PERL_CALLCONV int Perl_magic_freeregexp(pTHX_ SV* sv, MAGIC* mg); | |
d460ef45 | 936 | PERL_CALLCONV int Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg); |
1d7c1841 | 937 | PERL_CALLCONV int Perl_magic_get(pTHX_ SV* sv, MAGIC* mg); |
8772537c AL |
938 | PERL_CALLCONV int Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg) |
939 | __attribute__nonnull__(pTHX_1) | |
940 | __attribute__nonnull__(pTHX_2); | |
941 | ||
1d7c1841 GS |
942 | PERL_CALLCONV int Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg); |
943 | PERL_CALLCONV int Perl_magic_getglob(pTHX_ SV* sv, MAGIC* mg); | |
944 | PERL_CALLCONV int Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg); | |
945 | PERL_CALLCONV int Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg); | |
946 | PERL_CALLCONV int Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg); | |
947 | PERL_CALLCONV int Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg); | |
948 | PERL_CALLCONV int Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg); | |
949 | PERL_CALLCONV int Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg); | |
950 | PERL_CALLCONV int Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg); | |
951 | PERL_CALLCONV int Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg); | |
952 | PERL_CALLCONV U32 Perl_magic_len(pTHX_ SV* sv, MAGIC* mg); | |
1d7c1841 GS |
953 | PERL_CALLCONV int Perl_magic_nextpack(pTHX_ SV* sv, MAGIC* mg, SV* key); |
954 | PERL_CALLCONV U32 Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg); | |
955 | PERL_CALLCONV int Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg); | |
f54cb97a | 956 | PERL_CALLCONV int Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg) |
abb2c242 | 957 | __attribute__noreturn__; |
f54cb97a | 958 | |
1d7c1841 GS |
959 | PERL_CALLCONV int Perl_magic_set(pTHX_ SV* sv, MAGIC* mg); |
960 | PERL_CALLCONV int Perl_magic_setamagic(pTHX_ SV* sv, MAGIC* mg); | |
961 | PERL_CALLCONV int Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg); | |
83bf042f | 962 | PERL_CALLCONV int Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg); |
1d7c1841 GS |
963 | PERL_CALLCONV int Perl_magic_setbm(pTHX_ SV* sv, MAGIC* mg); |
964 | PERL_CALLCONV int Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg); | |
1d7c1841 GS |
965 | PERL_CALLCONV int Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg); |
966 | PERL_CALLCONV int Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg); | |
967 | PERL_CALLCONV int Perl_magic_setfm(pTHX_ SV* sv, MAGIC* mg); | |
968 | PERL_CALLCONV int Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg); | |
969 | PERL_CALLCONV int Perl_magic_setglob(pTHX_ SV* sv, MAGIC* mg); | |
970 | PERL_CALLCONV int Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg); | |
971 | PERL_CALLCONV int Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg); | |
972 | PERL_CALLCONV int Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg); | |
973 | PERL_CALLCONV int Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg); | |
faf82a0b | 974 | PERL_CALLCONV int Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg); |
1d7c1841 GS |
975 | PERL_CALLCONV int Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg); |
976 | PERL_CALLCONV int Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg); | |
977 | PERL_CALLCONV int Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg); | |
978 | PERL_CALLCONV int Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg); | |
979 | PERL_CALLCONV int Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg); | |
7e8c5dac | 980 | PERL_CALLCONV int Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg); |
1d7c1841 GS |
981 | PERL_CALLCONV int Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg); |
982 | PERL_CALLCONV U32 Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg); | |
983 | PERL_CALLCONV int Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg); | |
e1ec3a88 | 984 | PERL_CALLCONV void Perl_magicname(pTHX_ const char* sym, const char* name, I32 namlen); |
1d7c1841 | 985 | PERL_CALLCONV void Perl_markstack_grow(pTHX); |
864dbfa3 | 986 | #if defined(USE_LOCALE_COLLATE) |
504618e9 | 987 | PERL_CALLCONV int Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg); |
1d7c1841 | 988 | PERL_CALLCONV char* Perl_mem_collxfrm(pTHX_ const char* s, STRLEN len, STRLEN* xlen); |
0cb96387 | 989 | #endif |
894356b3 | 990 | PERL_CALLCONV SV* Perl_mess(pTHX_ const char* pat, ...) |
aec46f14 AL |
991 | __attribute__format__(__printf__,pTHX_1,pTHX_2) |
992 | __attribute__nonnull__(pTHX_1); | |
993 | ||
994 | PERL_CALLCONV SV* Perl_vmess(pTHX_ const char* pat, va_list* args) | |
995 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 996 | |
1d7c1841 | 997 | PERL_CALLCONV void Perl_qerror(pTHX_ SV* err); |
2a5a0c38 | 998 | PERL_CALLCONV void Perl_sortsv(pTHX_ SV ** array, size_t num_elts, SVCOMPARE_t cmp); |
9a957fbc AL |
999 | PERL_CALLCONV int Perl_mg_clear(pTHX_ SV* sv) |
1000 | __attribute__nonnull__(pTHX_1); | |
1001 | ||
1002 | PERL_CALLCONV int Perl_mg_copy(pTHX_ SV* sv, SV* nsv, const char* key, I32 klen) | |
1003 | __attribute__nonnull__(pTHX_1) | |
1004 | __attribute__nonnull__(pTHX_2); | |
1005 | ||
1006 | PERL_CALLCONV void Perl_mg_localize(pTHX_ SV* sv, SV* nsv) | |
1007 | __attribute__nonnull__(pTHX_1) | |
1008 | __attribute__nonnull__(pTHX_2); | |
1009 | ||
255164ba DM |
1010 | PERL_CALLCONV MAGIC* Perl_mg_find(pTHX_ const SV* sv, int type) |
1011 | __attribute__warn_unused_result__; | |
1012 | ||
9a957fbc AL |
1013 | PERL_CALLCONV int Perl_mg_free(pTHX_ SV* sv) |
1014 | __attribute__nonnull__(pTHX_1); | |
1015 | ||
1016 | PERL_CALLCONV int Perl_mg_get(pTHX_ SV* sv) | |
1017 | __attribute__nonnull__(pTHX_1); | |
1018 | ||
1019 | PERL_CALLCONV U32 Perl_mg_length(pTHX_ SV* sv) | |
1020 | __attribute__nonnull__(pTHX_1); | |
1021 | ||
1022 | PERL_CALLCONV void Perl_mg_magical(pTHX_ SV* sv) | |
1023 | __attribute__nonnull__(pTHX_1); | |
1024 | ||
1025 | PERL_CALLCONV int Perl_mg_set(pTHX_ SV* sv) | |
1026 | __attribute__nonnull__(pTHX_1); | |
1027 | ||
1028 | PERL_CALLCONV I32 Perl_mg_size(pTHX_ SV* sv) | |
1029 | __attribute__nonnull__(pTHX_1); | |
1030 | ||
1031 | PERL_CALLCONV void Perl_mini_mktime(pTHX_ struct tm *pm) | |
1032 | __attribute__nonnull__(pTHX_1); | |
1033 | ||
1d7c1841 | 1034 | PERL_CALLCONV OP* Perl_mod(pTHX_ OP* o, I32 type); |
16fe6d59 | 1035 | PERL_CALLCONV int Perl_mode_from_discipline(pTHX_ SV* discp); |
1d7c1841 | 1036 | PERL_CALLCONV char* Perl_moreswitches(pTHX_ char* s); |
4373e329 | 1037 | PERL_CALLCONV OP* Perl_my(pTHX_ OP* o) |
abb2c242 | 1038 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1039 | |
4373e329 | 1040 | PERL_CALLCONV NV Perl_my_atof(pTHX_ const char *s) |
abb2c242 | 1041 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1042 | |
2253333f | 1043 | #if (!defined(HAS_MEMCPY) && !defined(HAS_BCOPY)) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY) && !defined(HAS_SAFE_BCOPY)) |
4373e329 | 1044 | PERL_CALLCONV char* Perl_my_bcopy(const char* from, char* to, I32 len) |
abb2c242 JH |
1045 | __attribute__nonnull__(1) |
1046 | __attribute__nonnull__(2); | |
f54cb97a | 1047 | |
5f05dabc | 1048 | #endif |
a0d0e21e | 1049 | #if !defined(HAS_BZERO) && !defined(HAS_MEMSET) |
4373e329 | 1050 | PERL_CALLCONV char* Perl_my_bzero(char* loc, I32 len) |
abb2c242 | 1051 | __attribute__nonnull__(1); |
f54cb97a | 1052 | |
864dbfa3 | 1053 | #endif |
f54cb97a | 1054 | PERL_CALLCONV void Perl_my_exit(pTHX_ U32 status) |
abb2c242 | 1055 | __attribute__noreturn__; |
f54cb97a AL |
1056 | |
1057 | PERL_CALLCONV void Perl_my_failure_exit(pTHX) | |
abb2c242 | 1058 | __attribute__noreturn__; |
f54cb97a | 1059 | |
1d7c1841 | 1060 | PERL_CALLCONV I32 Perl_my_fflush_all(pTHX); |
52e18b1f GS |
1061 | PERL_CALLCONV Pid_t Perl_my_fork(void); |
1062 | PERL_CALLCONV void Perl_atfork_lock(void); | |
1063 | PERL_CALLCONV void Perl_atfork_unlock(void); | |
1d7c1841 | 1064 | PERL_CALLCONV I32 Perl_my_lstat(pTHX); |
5f05dabc | 1065 | #if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP) |
4373e329 | 1066 | PERL_CALLCONV I32 Perl_my_memcmp(const char* s1, const char* s2, I32 len) |
abb2c242 JH |
1067 | __attribute__pure__ |
1068 | __attribute__nonnull__(1) | |
1069 | __attribute__nonnull__(2); | |
f54cb97a | 1070 | |
a0d0e21e | 1071 | #endif |
fc36a67e | 1072 | #if !defined(HAS_MEMSET) |
4373e329 | 1073 | PERL_CALLCONV void* Perl_my_memset(char* loc, I32 ch, I32 len) |
abb2c242 | 1074 | __attribute__nonnull__(1); |
f54cb97a | 1075 | |
864dbfa3 | 1076 | #endif |
1d7c1841 | 1077 | PERL_CALLCONV I32 Perl_my_pclose(pTHX_ PerlIO* ptr); |
2fbb330f | 1078 | PERL_CALLCONV PerlIO* Perl_my_popen(pTHX_ const char* cmd, const char* mode); |
c60e0e09 | 1079 | PERL_CALLCONV PerlIO* Perl_my_popen_list(pTHX_ char* mode, int n, SV ** args); |
e1ec3a88 | 1080 | PERL_CALLCONV void Perl_my_setenv(pTHX_ const char* nam, const char* val); |
1d7c1841 | 1081 | PERL_CALLCONV I32 Perl_my_stat(pTHX); |
e1ec3a88 | 1082 | PERL_CALLCONV char * Perl_my_strftime(pTHX_ const char *fmt, int sec, int min, int hour, int mday, int mon, int year, int wday, int yday, int isdst); |
864dbfa3 | 1083 | #if defined(MYSWAP) |
4373e329 | 1084 | PERL_CALLCONV short Perl_my_swap(pTHX_ short s) |
abb2c242 JH |
1085 | __attribute__malloc__ |
1086 | __attribute__warn_unused_result__ | |
1087 | __attribute__pure__; | |
f54cb97a | 1088 | |
4373e329 | 1089 | PERL_CALLCONV long Perl_my_htonl(pTHX_ long l) |
abb2c242 JH |
1090 | __attribute__malloc__ |
1091 | __attribute__warn_unused_result__ | |
1092 | __attribute__pure__; | |
f54cb97a | 1093 | |
4373e329 | 1094 | PERL_CALLCONV long Perl_my_ntohl(pTHX_ long l) |
abb2c242 JH |
1095 | __attribute__malloc__ |
1096 | __attribute__warn_unused_result__ | |
1097 | __attribute__pure__; | |
f54cb97a | 1098 | |
0cb96387 | 1099 | #endif |
1d7c1841 | 1100 | PERL_CALLCONV void Perl_my_unexec(pTHX); |
f54cb97a | 1101 | PERL_CALLCONV OP* Perl_newANONLIST(pTHX_ OP* o) |
abb2c242 JH |
1102 | __attribute__malloc__ |
1103 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1104 | |
1105 | PERL_CALLCONV OP* Perl_newANONHASH(pTHX_ OP* o) | |
abb2c242 JH |
1106 | __attribute__malloc__ |
1107 | __attribute__warn_unused_result__; | |
f54cb97a | 1108 | |
1d7c1841 | 1109 | PERL_CALLCONV OP* Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block); |
f54cb97a | 1110 | PERL_CALLCONV OP* Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right) |
abb2c242 JH |
1111 | __attribute__malloc__ |
1112 | __attribute__warn_unused_result__; | |
f54cb97a | 1113 | |
aec46f14 | 1114 | PERL_CALLCONV OP* Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop) |
abb2c242 | 1115 | __attribute__malloc__ |
aec46f14 AL |
1116 | __attribute__warn_unused_result__ |
1117 | __attribute__nonnull__(pTHX_2); | |
1118 | ||
9a957fbc | 1119 | PERL_CALLCONV CV* Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv); |
1d7c1841 | 1120 | PERL_CALLCONV void Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block); |
2d03de9c | 1121 | PERL_CALLCONV OP* Perl_newFOROP(pTHX_ I32 flags, char* label, line_t forline, OP* sv, OP* expr, OP*block, OP*cont) |
abb2c242 JH |
1122 | __attribute__malloc__ |
1123 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1124 | |
1125 | PERL_CALLCONV OP* Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP* left, OP* right) | |
abb2c242 JH |
1126 | __attribute__malloc__ |
1127 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1128 | |
1129 | PERL_CALLCONV OP* Perl_newLOOPEX(pTHX_ I32 type, OP* label) | |
abb2c242 JH |
1130 | __attribute__malloc__ |
1131 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1132 | |
1133 | PERL_CALLCONV OP* Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block) | |
abb2c242 JH |
1134 | __attribute__malloc__ |
1135 | __attribute__warn_unused_result__; | |
f54cb97a | 1136 | |
4373e329 | 1137 | PERL_CALLCONV OP* Perl_newNULLLIST(pTHX) |
abb2c242 JH |
1138 | __attribute__malloc__ |
1139 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1140 | |
1141 | PERL_CALLCONV OP* Perl_newOP(pTHX_ I32 optype, I32 flags) | |
abb2c242 JH |
1142 | __attribute__malloc__ |
1143 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1144 | |
1145 | PERL_CALLCONV void Perl_newPROG(pTHX_ OP* o) | |
abb2c242 | 1146 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1147 | |
1148 | PERL_CALLCONV OP* Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right) | |
abb2c242 JH |
1149 | __attribute__malloc__ |
1150 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1151 | |
1152 | PERL_CALLCONV OP* Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop) | |
abb2c242 JH |
1153 | __attribute__malloc__ |
1154 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1155 | |
1156 | PERL_CALLCONV OP* Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o) | |
abb2c242 JH |
1157 | __attribute__malloc__ |
1158 | __attribute__warn_unused_result__; | |
f54cb97a | 1159 | |
1d7c1841 | 1160 | PERL_CALLCONV CV* Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block); |
4373e329 | 1161 | PERL_CALLCONV CV* Perl_newXS(pTHX_ const char* name, XSUBADDR_t f, const char* filename) |
abb2c242 | 1162 | __attribute__nonnull__(pTHX_1) |
9a957fbc | 1163 | __attribute__nonnull__(pTHX_2) |
abb2c242 | 1164 | __attribute__nonnull__(pTHX_3); |
f54cb97a AL |
1165 | |
1166 | PERL_CALLCONV AV* Perl_newAV(pTHX) | |
abb2c242 JH |
1167 | __attribute__malloc__ |
1168 | __attribute__warn_unused_result__; | |
f54cb97a | 1169 | |
4373e329 | 1170 | PERL_CALLCONV OP* Perl_newAVREF(pTHX_ OP* o) |
abb2c242 JH |
1171 | __attribute__malloc__ |
1172 | __attribute__warn_unused_result__ | |
1173 | __attribute__nonnull__(pTHX_1); | |
f54cb97a AL |
1174 | |
1175 | PERL_CALLCONV OP* Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last) | |
abb2c242 JH |
1176 | __attribute__malloc__ |
1177 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1178 | |
1179 | PERL_CALLCONV OP* Perl_newCVREF(pTHX_ I32 flags, OP* o) | |
abb2c242 JH |
1180 | __attribute__malloc__ |
1181 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1182 | |
1183 | PERL_CALLCONV OP* Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv) | |
abb2c242 | 1184 | __attribute__malloc__ |
2d03de9c AL |
1185 | __attribute__warn_unused_result__ |
1186 | __attribute__nonnull__(pTHX_3); | |
f54cb97a AL |
1187 | |
1188 | PERL_CALLCONV GV* Perl_newGVgen(pTHX_ const char* pack) | |
abb2c242 JH |
1189 | __attribute__malloc__ |
1190 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1191 | |
1192 | PERL_CALLCONV OP* Perl_newGVREF(pTHX_ I32 type, OP* o) | |
abb2c242 JH |
1193 | __attribute__malloc__ |
1194 | __attribute__warn_unused_result__; | |
f54cb97a | 1195 | |
4373e329 | 1196 | PERL_CALLCONV OP* Perl_newHVREF(pTHX_ OP* o) |
abb2c242 JH |
1197 | __attribute__malloc__ |
1198 | __attribute__warn_unused_result__ | |
1199 | __attribute__nonnull__(pTHX_1); | |
f54cb97a AL |
1200 | |
1201 | PERL_CALLCONV HV* Perl_newHV(pTHX) | |
abb2c242 JH |
1202 | __attribute__malloc__ |
1203 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1204 | |
1205 | PERL_CALLCONV HV* Perl_newHVhv(pTHX_ HV* hv) | |
abb2c242 JH |
1206 | __attribute__malloc__ |
1207 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1208 | |
1209 | PERL_CALLCONV IO* Perl_newIO(pTHX) | |
abb2c242 JH |
1210 | __attribute__malloc__ |
1211 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1212 | |
1213 | PERL_CALLCONV OP* Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last) | |
abb2c242 JH |
1214 | __attribute__malloc__ |
1215 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1216 | |
1217 | PERL_CALLCONV OP* Perl_newPADOP(pTHX_ I32 type, I32 flags, SV* sv) | |
abb2c242 JH |
1218 | __attribute__malloc__ |
1219 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1220 | |
1221 | PERL_CALLCONV OP* Perl_newPMOP(pTHX_ I32 type, I32 flags) | |
abb2c242 JH |
1222 | __attribute__malloc__ |
1223 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1224 | |
1225 | PERL_CALLCONV OP* Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv) | |
abb2c242 JH |
1226 | __attribute__malloc__ |
1227 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1228 | |
1229 | PERL_CALLCONV SV* Perl_newRV(pTHX_ SV* pref) | |
abb2c242 | 1230 | __attribute__malloc__ |
66a1b24b AL |
1231 | __attribute__warn_unused_result__ |
1232 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 1233 | |
4373e329 | 1234 | PERL_CALLCONV SV* Perl_newRV_noinc(pTHX_ SV *sv) |
abb2c242 JH |
1235 | __attribute__malloc__ |
1236 | __attribute__warn_unused_result__ | |
1237 | __attribute__nonnull__(pTHX_1); | |
f54cb97a AL |
1238 | |
1239 | PERL_CALLCONV SV* Perl_newSV(pTHX_ STRLEN len) | |
abb2c242 JH |
1240 | __attribute__malloc__ |
1241 | __attribute__warn_unused_result__; | |
f54cb97a | 1242 | |
4373e329 | 1243 | PERL_CALLCONV OP* Perl_newSVREF(pTHX_ OP* o) |
abb2c242 JH |
1244 | __attribute__malloc__ |
1245 | __attribute__warn_unused_result__ | |
1246 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 1247 | |
4373e329 | 1248 | PERL_CALLCONV OP* Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv) |
abb2c242 JH |
1249 | __attribute__malloc__ |
1250 | __attribute__warn_unused_result__ | |
1251 | __attribute__nonnull__(pTHX_3); | |
f54cb97a AL |
1252 | |
1253 | PERL_CALLCONV SV* Perl_newSViv(pTHX_ IV i) | |
abb2c242 JH |
1254 | __attribute__malloc__ |
1255 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1256 | |
1257 | PERL_CALLCONV SV* Perl_newSVuv(pTHX_ UV u) | |
abb2c242 JH |
1258 | __attribute__malloc__ |
1259 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1260 | |
1261 | PERL_CALLCONV SV* Perl_newSVnv(pTHX_ NV n) | |
abb2c242 JH |
1262 | __attribute__malloc__ |
1263 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1264 | |
1265 | PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char* s, STRLEN len) | |
abb2c242 JH |
1266 | __attribute__malloc__ |
1267 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1268 | |
1269 | PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char* s, STRLEN len) | |
abb2c242 JH |
1270 | __attribute__malloc__ |
1271 | __attribute__warn_unused_result__; | |
f54cb97a | 1272 | |
c1b02ed8 NC |
1273 | PERL_CALLCONV SV* Perl_newSVhek(pTHX_ const HEK *hek) |
1274 | __attribute__malloc__ | |
1275 | __attribute__warn_unused_result__; | |
1276 | ||
f54cb97a | 1277 | PERL_CALLCONV SV* Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash) |
abb2c242 JH |
1278 | __attribute__malloc__ |
1279 | __attribute__warn_unused_result__; | |
f54cb97a | 1280 | |
894356b3 | 1281 | PERL_CALLCONV SV* Perl_newSVpvf(pTHX_ const char* pat, ...) |
abb2c242 JH |
1282 | __attribute__malloc__ |
1283 | __attribute__warn_unused_result__ | |
aec46f14 AL |
1284 | __attribute__format__(__printf__,pTHX_1,pTHX_2) |
1285 | __attribute__nonnull__(pTHX_1); | |
1286 | ||
1287 | PERL_CALLCONV SV* Perl_vnewSVpvf(pTHX_ const char* pat, va_list* args) | |
1288 | __attribute__malloc__ | |
1289 | __attribute__warn_unused_result__ | |
1290 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 1291 | |
f54cb97a | 1292 | PERL_CALLCONV SV* Perl_newSVrv(pTHX_ SV* rv, const char* classname) |
abb2c242 | 1293 | __attribute__malloc__ |
1b6737cc AL |
1294 | __attribute__warn_unused_result__ |
1295 | __attribute__nonnull__(pTHX_1); | |
f54cb97a AL |
1296 | |
1297 | PERL_CALLCONV SV* Perl_newSVsv(pTHX_ SV* old) | |
abb2c242 JH |
1298 | __attribute__malloc__ |
1299 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1300 | |
1301 | PERL_CALLCONV OP* Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first) | |
abb2c242 JH |
1302 | __attribute__malloc__ |
1303 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1304 | |
1305 | PERL_CALLCONV OP* Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, I32 whileline, OP* expr, OP* block, OP* cont, I32 has_my) | |
abb2c242 JH |
1306 | __attribute__malloc__ |
1307 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1308 | |
1309 | PERL_CALLCONV PERL_SI* Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems) | |
abb2c242 JH |
1310 | __attribute__malloc__ |
1311 | __attribute__warn_unused_result__; | |
f54cb97a | 1312 | |
4373e329 | 1313 | PERL_CALLCONV char* Perl_scan_vstring(pTHX_ const char *vstr, SV *sv) |
abb2c242 JH |
1314 | __attribute__nonnull__(pTHX_1) |
1315 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1316 | |
9137345a | 1317 | PERL_CALLCONV const char* Perl_scan_version(pTHX_ const char *vstr, SV *sv, bool qv) |
abb2c242 JH |
1318 | __attribute__nonnull__(pTHX_1) |
1319 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1320 | |
2d03de9c AL |
1321 | PERL_CALLCONV SV* Perl_new_version(pTHX_ SV *ver) |
1322 | __attribute__nonnull__(pTHX_1); | |
1323 | ||
1324 | PERL_CALLCONV SV* Perl_upg_version(pTHX_ SV *ver) | |
1325 | __attribute__nonnull__(pTHX_1); | |
1326 | ||
1327 | PERL_CALLCONV SV* Perl_vnumify(pTHX_ SV *vs) | |
1328 | __attribute__nonnull__(pTHX_1); | |
1329 | ||
1330 | PERL_CALLCONV SV* Perl_vnormal(pTHX_ SV *vs) | |
1331 | __attribute__nonnull__(pTHX_1); | |
1332 | ||
1333 | PERL_CALLCONV SV* Perl_vstringify(pTHX_ SV *vs) | |
1334 | __attribute__nonnull__(pTHX_1); | |
1335 | ||
4373e329 | 1336 | PERL_CALLCONV int Perl_vcmp(pTHX_ SV *lvs, SV *rvs) |
abb2c242 JH |
1337 | __attribute__nonnull__(pTHX_1) |
1338 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1339 | |
2d03de9c AL |
1340 | PERL_CALLCONV PerlIO* Perl_nextargv(pTHX_ GV* gv) |
1341 | __attribute__nonnull__(pTHX_1); | |
1342 | ||
4373e329 | 1343 | PERL_CALLCONV char* Perl_ninstr(pTHX_ const char* big, const char* bigend, const char* little, const char* lend) |
2d03de9c AL |
1344 | __attribute__pure__ |
1345 | __attribute__nonnull__(pTHX_1) | |
1346 | __attribute__nonnull__(pTHX_2) | |
1347 | __attribute__nonnull__(pTHX_3) | |
1348 | __attribute__nonnull__(pTHX_4); | |
f54cb97a AL |
1349 | |
1350 | PERL_CALLCONV OP* Perl_oopsCV(pTHX_ OP* o) | |
2d03de9c AL |
1351 | __attribute__noreturn__ |
1352 | __attribute__nonnull__(pTHX_1); | |
1353 | ||
1354 | PERL_CALLCONV void Perl_op_free(pTHX_ OP* arg) | |
1355 | __attribute__nonnull__(pTHX_1); | |
1356 | ||
1357 | PERL_CALLCONV void Perl_package(pTHX_ OP* o) | |
1358 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 1359 | |
1d7c1841 | 1360 | PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype); |
4373e329 | 1361 | PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ char* name) |
abb2c242 | 1362 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1363 | |
4373e329 | 1364 | PERL_CALLCONV PADOFFSET Perl_pad_findmy(pTHX_ const char* name) |
255164ba | 1365 | __attribute__warn_unused_result__ |
abb2c242 | 1366 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1367 | |
e1f795dc | 1368 | PERL_CALLCONV PADOFFSET Perl_find_rundefsvoffset(pTHX); |
4373e329 | 1369 | PERL_CALLCONV OP* Perl_oopsAV(pTHX_ OP* o) |
1df70142 | 1370 | __attribute__warn_unused_result__ |
abb2c242 | 1371 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1372 | |
4373e329 | 1373 | PERL_CALLCONV OP* Perl_oopsHV(pTHX_ OP* o) |
1df70142 | 1374 | __attribute__warn_unused_result__ |
abb2c242 | 1375 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1376 | |
dd2155a4 | 1377 | PERL_CALLCONV void Perl_pad_leavemy(pTHX); |
1d7c1841 GS |
1378 | PERL_CALLCONV SV* Perl_pad_sv(pTHX_ PADOFFSET po); |
1379 | PERL_CALLCONV void Perl_pad_free(pTHX_ PADOFFSET po); | |
1380 | PERL_CALLCONV void Perl_pad_reset(pTHX); | |
dd2155a4 | 1381 | PERL_CALLCONV void Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust); |
1d7c1841 | 1382 | PERL_CALLCONV void Perl_peep(pTHX_ OP* o); |
2d03de9c AL |
1383 | PERL_CALLCONV PerlIO* Perl_start_glob(pTHX_ SV* pattern, IO *io) |
1384 | __attribute__nonnull__(pTHX_1) | |
1385 | __attribute__nonnull__(pTHX_2); | |
1386 | ||
59bd0823 | 1387 | #if defined(USE_REENTRANT_API) |
10bc17b6 | 1388 | PERL_CALLCONV void Perl_reentrant_size(pTHX); |
59bd0823 | 1389 | PERL_CALLCONV void Perl_reentrant_init(pTHX); |
10bc17b6 | 1390 | PERL_CALLCONV void Perl_reentrant_free(pTHX); |
c803eecc | 1391 | PERL_CALLCONV void* Perl_reentrant_retry(const char*, ...); |
59bd0823 | 1392 | #endif |
1d7c1841 | 1393 | PERL_CALLCONV void Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr); |
4373e329 | 1394 | PERL_CALLCONV I32 Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv) |
abb2c242 JH |
1395 | __attribute__nonnull__(pTHX_1) |
1396 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 1397 | |
4373e329 | 1398 | PERL_CALLCONV I32 Perl_call_method(pTHX_ const char* methname, I32 flags) |
abb2c242 | 1399 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1400 | |
4373e329 | 1401 | PERL_CALLCONV I32 Perl_call_pv(pTHX_ const char* sub_name, I32 flags) |
abb2c242 | 1402 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1403 | |
aec46f14 AL |
1404 | PERL_CALLCONV I32 Perl_call_sv(pTHX_ SV* sv, I32 flags) |
1405 | __attribute__nonnull__(pTHX_1); | |
1406 | ||
ce08f86c | 1407 | PERL_CALLCONV void Perl_despatch_signals(pTHX); |
4373e329 | 1408 | PERL_CALLCONV SV* Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error) |
abb2c242 | 1409 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1410 | |
4373e329 | 1411 | PERL_CALLCONV I32 Perl_eval_sv(pTHX_ SV* sv, I32 flags) |
abb2c242 | 1412 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1413 | |
4373e329 | 1414 | PERL_CALLCONV SV* Perl_get_sv(pTHX_ const char* name, I32 create) |
abb2c242 | 1415 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1416 | |
4373e329 | 1417 | PERL_CALLCONV AV* Perl_get_av(pTHX_ const char* name, I32 create) |
255164ba DM |
1418 | __attribute__nonnull__(pTHX_1); |
1419 | ||
1420 | PERL_CALLCONV HV* Perl_get_hv(pTHX_ const char* name, I32 create) | |
255164ba DM |
1421 | __attribute__nonnull__(pTHX_1); |
1422 | ||
1423 | PERL_CALLCONV CV* Perl_get_cv(pTHX_ const char* name, I32 create) | |
abb2c242 | 1424 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1425 | |
1d7c1841 GS |
1426 | PERL_CALLCONV int Perl_init_i18nl10n(pTHX_ int printwarn); |
1427 | PERL_CALLCONV int Perl_init_i18nl14n(pTHX_ int printwarn); | |
8772537c AL |
1428 | PERL_CALLCONV void Perl_new_collate(pTHX_ const char* newcoll); |
1429 | PERL_CALLCONV void Perl_new_ctype(pTHX_ const char* newctype) | |
abb2c242 | 1430 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1431 | |
8772537c | 1432 | PERL_CALLCONV void Perl_new_numeric(pTHX_ const char* newcoll); |
1d7c1841 GS |
1433 | PERL_CALLCONV void Perl_set_numeric_local(pTHX); |
1434 | PERL_CALLCONV void Perl_set_numeric_radix(pTHX); | |
1435 | PERL_CALLCONV void Perl_set_numeric_standard(pTHX); | |
4373e329 | 1436 | PERL_CALLCONV void Perl_require_pv(pTHX_ const char* pv) |
abb2c242 | 1437 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1438 | |
2d03de9c AL |
1439 | PERL_CALLCONV void Perl_pack_cat(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist, SV ***next_in_list, U32 flags) |
1440 | __attribute__nonnull__(pTHX_1) | |
1441 | __attribute__nonnull__(pTHX_2) | |
1442 | __attribute__nonnull__(pTHX_3) | |
1443 | __attribute__nonnull__(pTHX_4) | |
1444 | __attribute__nonnull__(pTHX_5) | |
1445 | __attribute__nonnull__(pTHX_6); | |
1446 | ||
1447 | PERL_CALLCONV void Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist) | |
1448 | __attribute__nonnull__(pTHX_1) | |
1449 | __attribute__nonnull__(pTHX_2) | |
1450 | __attribute__nonnull__(pTHX_3) | |
1451 | __attribute__nonnull__(pTHX_4) | |
1452 | __attribute__nonnull__(pTHX_5); | |
1453 | ||
1d7c1841 | 1454 | PERL_CALLCONV void Perl_pidgone(pTHX_ Pid_t pid, int status); |
4373e329 | 1455 | PERL_CALLCONV void Perl_pmflag(pTHX_ U32* pmfl, int ch) |
abb2c242 | 1456 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1457 | |
4373e329 | 1458 | PERL_CALLCONV OP* Perl_pmruntime(pTHX_ OP* pm, OP* expr, bool isreg) |
abb2c242 JH |
1459 | __attribute__nonnull__(pTHX_1) |
1460 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1461 | |
4373e329 | 1462 | PERL_CALLCONV OP* Perl_pmtrans(pTHX_ OP* o, OP* expr, OP* repl) |
abb2c242 | 1463 | __attribute__nonnull__(pTHX_1) |
2d03de9c AL |
1464 | __attribute__nonnull__(pTHX_2) |
1465 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 1466 | |
1d7c1841 GS |
1467 | PERL_CALLCONV void Perl_pop_scope(pTHX); |
1468 | PERL_CALLCONV OP* Perl_prepend_elem(pTHX_ I32 optype, OP* head, OP* tail); | |
1d7c1841 GS |
1469 | PERL_CALLCONV void Perl_push_scope(pTHX); |
1470 | PERL_CALLCONV OP* Perl_ref(pTHX_ OP* o, I32 type); | |
1471 | PERL_CALLCONV OP* Perl_refkids(pTHX_ OP* o, I32 type); | |
4373e329 | 1472 | PERL_CALLCONV void Perl_regdump(pTHX_ regexp* r) |
abb2c242 | 1473 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1474 | |
2d03de9c AL |
1475 | PERL_CALLCONV SV* Perl_regclass_swash(pTHX_ const struct regnode *n, bool doinit, SV **listsvp, SV **altsvp) |
1476 | __attribute__nonnull__(pTHX_1); | |
1477 | ||
4373e329 | 1478 | PERL_CALLCONV I32 Perl_pregexec(pTHX_ regexp* prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, U32 nosave) |
abb2c242 JH |
1479 | __attribute__nonnull__(pTHX_1) |
1480 | __attribute__nonnull__(pTHX_2) | |
1481 | __attribute__nonnull__(pTHX_3) | |
1482 | __attribute__nonnull__(pTHX_4) | |
1483 | __attribute__nonnull__(pTHX_6); | |
f54cb97a | 1484 | |
1d7c1841 | 1485 | PERL_CALLCONV void Perl_pregfree(pTHX_ struct regexp* r); |
4373e329 | 1486 | PERL_CALLCONV regexp* Perl_pregcomp(pTHX_ char* exp, char* xend, PMOP* pm) |
abb2c242 JH |
1487 | __attribute__nonnull__(pTHX_1) |
1488 | __attribute__nonnull__(pTHX_2) | |
1489 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 1490 | |
2d03de9c AL |
1491 | PERL_CALLCONV char* Perl_re_intuit_start(pTHX_ regexp* prog, SV* sv, char* strpos, char* strend, U32 flags, struct re_scream_pos_data_s *data) |
1492 | __attribute__nonnull__(pTHX_1) | |
1493 | __attribute__nonnull__(pTHX_3) | |
1494 | __attribute__nonnull__(pTHX_4); | |
1495 | ||
1496 | PERL_CALLCONV SV* Perl_re_intuit_string(pTHX_ regexp* prog) | |
1497 | __attribute__nonnull__(pTHX_1); | |
1498 | ||
a3b680e6 | 1499 | PERL_CALLCONV I32 Perl_regexec_flags(pTHX_ regexp* prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, void* data, U32 flags) |
abb2c242 JH |
1500 | __attribute__nonnull__(pTHX_1) |
1501 | __attribute__nonnull__(pTHX_2) | |
1502 | __attribute__nonnull__(pTHX_3) | |
1503 | __attribute__nonnull__(pTHX_4); | |
a3b680e6 | 1504 | |
1df70142 AL |
1505 | PERL_CALLCONV regnode* Perl_regnext(pTHX_ regnode* p) |
1506 | __attribute__warn_unused_result__ | |
1507 | __attribute__nonnull__(pTHX_1); | |
1508 | ||
2d03de9c AL |
1509 | PERL_CALLCONV void Perl_regprop(pTHX_ SV* sv, const regnode* o) |
1510 | __attribute__nonnull__(pTHX_1) | |
1511 | __attribute__nonnull__(pTHX_2); | |
1512 | ||
4373e329 | 1513 | PERL_CALLCONV void Perl_repeatcpy(pTHX_ char* to, const char* from, I32 len, I32 count) |
abb2c242 JH |
1514 | __attribute__nonnull__(pTHX_1) |
1515 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1516 | |
4373e329 | 1517 | PERL_CALLCONV char* Perl_rninstr(pTHX_ const char* big, const char* bigend, const char* little, const char* lend) |
abb2c242 JH |
1518 | __attribute__pure__ |
1519 | __attribute__nonnull__(pTHX_1) | |
1520 | __attribute__nonnull__(pTHX_2) | |
1521 | __attribute__nonnull__(pTHX_3) | |
1522 | __attribute__nonnull__(pTHX_4); | |
f54cb97a | 1523 | |
1d7c1841 GS |
1524 | PERL_CALLCONV Sighandler_t Perl_rsignal(pTHX_ int i, Sighandler_t t); |
1525 | PERL_CALLCONV int Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t); | |
9a957fbc AL |
1526 | PERL_CALLCONV int Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* t2) |
1527 | __attribute__nonnull__(pTHX_3); | |
1528 | ||
1d7c1841 | 1529 | PERL_CALLCONV Sighandler_t Perl_rsignal_state(pTHX_ int i); |
a3b680e6 | 1530 | PERL_CALLCONV void Perl_rxres_free(pTHX_ void** rsp) |
abb2c242 | 1531 | __attribute__nonnull__(pTHX_1); |
a3b680e6 AL |
1532 | |
1533 | PERL_CALLCONV void Perl_rxres_restore(pTHX_ void** rsp, REGEXP* prx) | |
abb2c242 JH |
1534 | __attribute__nonnull__(pTHX_1) |
1535 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 AL |
1536 | |
1537 | PERL_CALLCONV void Perl_rxres_save(pTHX_ void** rsp, REGEXP* prx) | |
abb2c242 JH |
1538 | __attribute__nonnull__(pTHX_1) |
1539 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 | 1540 | |
cea2e8a9 | 1541 | #if !defined(HAS_RENAME) |
4373e329 | 1542 | PERL_CALLCONV I32 Perl_same_dirent(pTHX_ const char* a, const char* b) |
abb2c242 JH |
1543 | __attribute__nonnull__(pTHX_1) |
1544 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1545 | |
0cb96387 | 1546 | #endif |
53c1dcc0 AL |
1547 | PERL_CALLCONV char* Perl_savepv(pTHX_ const char* pv) |
1548 | __attribute__malloc__ | |
1549 | __attribute__warn_unused_result__ | |
1550 | __attribute__nonnull__(pTHX_1); | |
1551 | ||
1552 | PERL_CALLCONV char* Perl_savepvn(pTHX_ const char* pv, I32 len) | |
1553 | __attribute__malloc__ | |
1554 | __attribute__warn_unused_result__ | |
1555 | __attribute__nonnull__(pTHX_1); | |
1556 | ||
1557 | PERL_CALLCONV char* Perl_savesharedpv(pTHX_ const char* pv) | |
1558 | __attribute__malloc__ | |
1559 | __attribute__warn_unused_result__; | |
1560 | ||
1561 | PERL_CALLCONV char* Perl_savesvpv(pTHX_ SV* sv) | |
1562 | __attribute__malloc__ | |
1563 | __attribute__warn_unused_result__ | |
1564 | __attribute__nonnull__(pTHX_1); | |
1565 | ||
1d7c1841 | 1566 | PERL_CALLCONV void Perl_savestack_grow(pTHX); |
4b3c1a47 | 1567 | PERL_CALLCONV void Perl_savestack_grow_cnt(pTHX_ I32 need); |
9a957fbc AL |
1568 | PERL_CALLCONV void Perl_save_aelem(pTHX_ const AV* av, I32 idx, SV **sptr) |
1569 | __attribute__nonnull__(pTHX_1) | |
1570 | __attribute__nonnull__(pTHX_3); | |
1571 | ||
1d7c1841 | 1572 | PERL_CALLCONV I32 Perl_save_alloc(pTHX_ I32 size, I32 pad); |
9a957fbc AL |
1573 | PERL_CALLCONV void Perl_save_aptr(pTHX_ AV** aptr) |
1574 | __attribute__nonnull__(pTHX_1); | |
1575 | ||
1576 | PERL_CALLCONV AV* Perl_save_ary(pTHX_ GV* gv) | |
1577 | __attribute__nonnull__(pTHX_1); | |
1578 | ||
1579 | PERL_CALLCONV void Perl_save_bool(pTHX_ bool* boolp) | |
1580 | __attribute__nonnull__(pTHX_1); | |
1581 | ||
1582 | PERL_CALLCONV void Perl_save_clearsv(pTHX_ SV** svp) | |
1583 | __attribute__nonnull__(pTHX_1); | |
1584 | ||
1585 | PERL_CALLCONV void Perl_save_delete(pTHX_ HV* hv, char* key, I32 klen) | |
1586 | __attribute__nonnull__(pTHX_1) | |
1587 | __attribute__nonnull__(pTHX_2); | |
1588 | ||
1d7c1841 GS |
1589 | PERL_CALLCONV void Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p); |
1590 | PERL_CALLCONV void Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p); | |
1591 | PERL_CALLCONV void Perl_save_freesv(pTHX_ SV* sv); | |
1592 | PERL_CALLCONV void Perl_save_freeop(pTHX_ OP* o); | |
1593 | PERL_CALLCONV void Perl_save_freepv(pTHX_ char* pv); | |
9a957fbc AL |
1594 | PERL_CALLCONV void Perl_save_generic_svref(pTHX_ SV** sptr) |
1595 | __attribute__nonnull__(pTHX_1); | |
1596 | ||
1597 | PERL_CALLCONV void Perl_save_generic_pvref(pTHX_ char** str) | |
1598 | __attribute__nonnull__(pTHX_1); | |
1599 | ||
1600 | PERL_CALLCONV void Perl_save_shared_pvref(pTHX_ char** str) | |
1601 | __attribute__nonnull__(pTHX_1); | |
1602 | ||
aec46f14 AL |
1603 | PERL_CALLCONV void Perl_save_gp(pTHX_ GV* gv, I32 empty) |
1604 | __attribute__nonnull__(pTHX_1); | |
1605 | ||
1606 | PERL_CALLCONV HV* Perl_save_hash(pTHX_ GV* gv) | |
1607 | __attribute__nonnull__(pTHX_1); | |
1608 | ||
9a957fbc AL |
1609 | PERL_CALLCONV void Perl_save_helem(pTHX_ HV* hv, SV *key, SV **sptr) |
1610 | __attribute__nonnull__(pTHX_1) | |
1611 | __attribute__nonnull__(pTHX_2) | |
1612 | __attribute__nonnull__(pTHX_3); | |
1613 | ||
f54cb97a | 1614 | PERL_CALLCONV void Perl_save_hints(pTHX) |
abb2c242 | 1615 | __attribute__noreturn__; |
f54cb97a | 1616 | |
aec46f14 AL |
1617 | PERL_CALLCONV void Perl_save_hptr(pTHX_ HV** hptr) |
1618 | __attribute__nonnull__(pTHX_1); | |
1619 | ||
1620 | PERL_CALLCONV void Perl_save_I16(pTHX_ I16* intp) | |
1621 | __attribute__nonnull__(pTHX_1); | |
1622 | ||
1623 | PERL_CALLCONV void Perl_save_I32(pTHX_ I32* intp) | |
1624 | __attribute__nonnull__(pTHX_1); | |
1625 | ||
1626 | PERL_CALLCONV void Perl_save_I8(pTHX_ I8* bytep) | |
1627 | __attribute__nonnull__(pTHX_1); | |
1628 | ||
1629 | PERL_CALLCONV void Perl_save_int(pTHX_ int* intp) | |
1630 | __attribute__nonnull__(pTHX_1); | |
1631 | ||
1632 | PERL_CALLCONV void Perl_save_item(pTHX_ SV* item) | |
1633 | __attribute__nonnull__(pTHX_1); | |
1634 | ||
1635 | PERL_CALLCONV void Perl_save_iv(pTHX_ IV* iv) | |
1636 | __attribute__nonnull__(pTHX_1); | |
1637 | ||
1638 | PERL_CALLCONV void Perl_save_list(pTHX_ SV** sarg, I32 maxsarg) | |
1639 | __attribute__nonnull__(pTHX_1); | |
1640 | ||
1641 | PERL_CALLCONV void Perl_save_long(pTHX_ long* longp) | |
1642 | __attribute__nonnull__(pTHX_1); | |
1643 | ||
1644 | PERL_CALLCONV void Perl_save_mortalizesv(pTHX_ SV* sv) | |
1645 | __attribute__nonnull__(pTHX_1); | |
1646 | ||
1d7c1841 GS |
1647 | PERL_CALLCONV void Perl_save_nogv(pTHX_ GV* gv); |
1648 | PERL_CALLCONV void Perl_save_op(pTHX); | |
aec46f14 AL |
1649 | PERL_CALLCONV SV* Perl_save_scalar(pTHX_ GV* gv) |
1650 | __attribute__nonnull__(pTHX_1); | |
1651 | ||
1652 | PERL_CALLCONV void Perl_save_pptr(pTHX_ char** pptr) | |
1653 | __attribute__nonnull__(pTHX_1); | |
1654 | ||
1655 | PERL_CALLCONV void Perl_save_vptr(pTHX_ void* pptr) | |
1656 | __attribute__nonnull__(pTHX_1); | |
1657 | ||
1d7c1841 | 1658 | PERL_CALLCONV void Perl_save_re_context(pTHX); |
c3564e5c | 1659 | PERL_CALLCONV void Perl_save_padsv(pTHX_ PADOFFSET off); |
aec46f14 AL |
1660 | PERL_CALLCONV void Perl_save_sptr(pTHX_ SV** sptr) |
1661 | __attribute__nonnull__(pTHX_1); | |
1662 | ||
1663 | PERL_CALLCONV SV* Perl_save_svref(pTHX_ SV** sptr) | |
1664 | __attribute__nonnull__(pTHX_1); | |
1665 | ||
f54cb97a | 1666 | PERL_CALLCONV SV** Perl_save_threadsv(pTHX_ PADOFFSET i) |
abb2c242 | 1667 | __attribute__noreturn__; |
f54cb97a | 1668 | |
1d7c1841 GS |
1669 | PERL_CALLCONV OP* Perl_sawparens(pTHX_ OP* o); |
1670 | PERL_CALLCONV OP* Perl_scalar(pTHX_ OP* o); | |
1671 | PERL_CALLCONV OP* Perl_scalarkids(pTHX_ OP* o); | |
1672 | PERL_CALLCONV OP* Perl_scalarseq(pTHX_ OP* o); | |
aec46f14 AL |
1673 | PERL_CALLCONV OP* Perl_scalarvoid(pTHX_ OP* o) |
1674 | __attribute__nonnull__(pTHX_1); | |
1675 | ||
1676 | PERL_CALLCONV NV Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen) | |
1677 | __attribute__nonnull__(pTHX_1) | |
1678 | __attribute__nonnull__(pTHX_3); | |
1679 | ||
1680 | PERL_CALLCONV NV Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen) | |
1681 | __attribute__nonnull__(pTHX_1) | |
1682 | __attribute__nonnull__(pTHX_3); | |
1683 | ||
1684 | PERL_CALLCONV char* Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp) | |
1685 | __attribute__nonnull__(pTHX_1) | |
1686 | __attribute__nonnull__(pTHX_2); | |
1687 | ||
1688 | PERL_CALLCONV NV Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen) | |
1689 | __attribute__nonnull__(pTHX_1) | |
1690 | __attribute__nonnull__(pTHX_3); | |
1691 | ||
1d7c1841 | 1692 | PERL_CALLCONV OP* Perl_scope(pTHX_ OP* o); |
aec46f14 AL |
1693 | PERL_CALLCONV char* Perl_screaminstr(pTHX_ SV *bigstr, SV *littlestr, I32 start_shift, I32 end_shift, I32 *oldposp, I32 last) |
1694 | __attribute__nonnull__(pTHX_1) | |
1695 | __attribute__nonnull__(pTHX_2) | |
1696 | __attribute__nonnull__(pTHX_5); | |
1697 | ||
864dbfa3 | 1698 | #if !defined(VMS) |
e1ec3a88 | 1699 | PERL_CALLCONV I32 Perl_setenv_getix(pTHX_ const char* nam); |
0cb96387 | 1700 | #endif |
1d7c1841 | 1701 | PERL_CALLCONV void Perl_setdefout(pTHX_ GV* gv); |
aec46f14 AL |
1702 | PERL_CALLCONV HEK* Perl_share_hek(pTHX_ const char* str, I32 len, U32 hash) |
1703 | __attribute__nonnull__(pTHX_1); | |
1704 | ||
8aad04aa JH |
1705 | #if defined(HAS_SIGACTION) && defined(SA_SIGINFO) |
1706 | PERL_CALLCONV Signal_t Perl_sighandler(int sig, ...); | |
1707 | PERL_CALLCONV Signal_t Perl_csighandler(int sig, ...); | |
1708 | #else | |
1d7c1841 | 1709 | PERL_CALLCONV Signal_t Perl_sighandler(int sig); |
d36b6582 | 1710 | PERL_CALLCONV Signal_t Perl_csighandler(int sig); |
8aad04aa | 1711 | #endif |
4373e329 | 1712 | PERL_CALLCONV SV** Perl_stack_grow(pTHX_ SV** sp, SV**p, int n) |
abb2c242 JH |
1713 | __attribute__nonnull__(pTHX_1) |
1714 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1715 | |
a3b680e6 | 1716 | PERL_CALLCONV I32 Perl_start_subparse(pTHX_ I32 is_format, U32 flags) |
abb2c242 | 1717 | __attribute__warn_unused_result__; |
a3b680e6 | 1718 | |
aec46f14 AL |
1719 | PERL_CALLCONV void Perl_sub_crush_depth(pTHX_ CV* cv) |
1720 | __attribute__nonnull__(pTHX_1); | |
1721 | ||
4373e329 | 1722 | PERL_CALLCONV bool Perl_sv_2bool(pTHX_ SV* sv) |
abb2c242 | 1723 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1724 | |
1725 | PERL_CALLCONV CV* Perl_sv_2cv(pTHX_ SV* sv, HV** st, GV** gvp, I32 lref) | |
aec46f14 AL |
1726 | __attribute__nonnull__(pTHX_2) |
1727 | __attribute__nonnull__(pTHX_3); | |
f54cb97a AL |
1728 | |
1729 | PERL_CALLCONV IO* Perl_sv_2io(pTHX_ SV* sv) | |
abb2c242 | 1730 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1731 | |
1732 | /* PERL_CALLCONV IV sv_2iv(pTHX_ SV* sv) | |
abb2c242 | 1733 | __attribute__nonnull__(pTHX_1); */ |
f54cb97a AL |
1734 | |
1735 | PERL_CALLCONV IV Perl_sv_2iv_flags(pTHX_ SV* sv, I32 flags) | |
abb2c242 | 1736 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1737 | |
1738 | PERL_CALLCONV SV* Perl_sv_2mortal(pTHX_ SV* sv) | |
abb2c242 | 1739 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1740 | |
1741 | PERL_CALLCONV NV Perl_sv_2nv(pTHX_ SV* sv) | |
abb2c242 | 1742 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1743 | |
4373e329 | 1744 | /* PERL_CALLCONV char* sv_2pv(pTHX_ SV* sv, STRLEN* lp) |
f49ed1da | 1745 | __attribute__nonnull__(pTHX_1); */ |
f54cb97a | 1746 | |
4373e329 | 1747 | PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV* sv, STRLEN* lp, I32 flags) |
f49ed1da | 1748 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1749 | |
4373e329 | 1750 | PERL_CALLCONV char* Perl_sv_2pvutf8(pTHX_ SV* sv, STRLEN* lp) |
f49ed1da | 1751 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1752 | |
4373e329 | 1753 | PERL_CALLCONV char* Perl_sv_2pvbyte(pTHX_ SV* sv, STRLEN* lp) |
f49ed1da | 1754 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1755 | |
4373e329 | 1756 | PERL_CALLCONV char* Perl_sv_pvn_nomg(pTHX_ SV* sv, STRLEN* lp) |
f49ed1da | 1757 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1758 | |
4373e329 | 1759 | /* PERL_CALLCONV UV sv_2uv(pTHX_ SV* sv) |
abb2c242 | 1760 | __attribute__nonnull__(pTHX_1); */ |
f54cb97a | 1761 | |
4373e329 | 1762 | PERL_CALLCONV UV Perl_sv_2uv_flags(pTHX_ SV* sv, I32 flags) |
abb2c242 | 1763 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1764 | |
4373e329 | 1765 | PERL_CALLCONV IV Perl_sv_iv(pTHX_ SV* sv) |
abb2c242 | 1766 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1767 | |
4373e329 | 1768 | PERL_CALLCONV UV Perl_sv_uv(pTHX_ SV* sv) |
abb2c242 | 1769 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1770 | |
4373e329 | 1771 | PERL_CALLCONV NV Perl_sv_nv(pTHX_ SV* sv) |
abb2c242 | 1772 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1773 | |
4373e329 | 1774 | PERL_CALLCONV char* Perl_sv_pvn(pTHX_ SV *sv, STRLEN *len) |
abb2c242 JH |
1775 | __attribute__nonnull__(pTHX_1) |
1776 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1777 | |
4373e329 | 1778 | PERL_CALLCONV char* Perl_sv_pvutf8n(pTHX_ SV *sv, STRLEN *len) |
abb2c242 JH |
1779 | __attribute__nonnull__(pTHX_1) |
1780 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1781 | |
4373e329 | 1782 | PERL_CALLCONV char* Perl_sv_pvbyten(pTHX_ SV *sv, STRLEN *len) |
abb2c242 JH |
1783 | __attribute__nonnull__(pTHX_1) |
1784 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1785 | |
aec46f14 | 1786 | PERL_CALLCONV I32 Perl_sv_true(pTHX_ SV *sv); |
f54cb97a | 1787 | PERL_CALLCONV void Perl_sv_add_arena(pTHX_ char* ptr, U32 size, U32 flags) |
abb2c242 | 1788 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1789 | |
1790 | PERL_CALLCONV int Perl_sv_backoff(pTHX_ SV* sv) | |
abb2c242 | 1791 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1792 | |
1793 | PERL_CALLCONV SV* Perl_sv_bless(pTHX_ SV* sv, HV* stash) | |
abb2c242 JH |
1794 | __attribute__nonnull__(pTHX_1) |
1795 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1796 | |
894356b3 | 1797 | PERL_CALLCONV void Perl_sv_catpvf(pTHX_ SV* sv, const char* pat, ...) |
f54cb97a | 1798 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
aec46f14 AL |
1799 | __attribute__nonnull__(pTHX_1) |
1800 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
1801 | |
1802 | PERL_CALLCONV void Perl_sv_vcatpvf(pTHX_ SV* sv, const char* pat, va_list* args) | |
aec46f14 AL |
1803 | __attribute__nonnull__(pTHX_1) |
1804 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
1805 | |
1806 | PERL_CALLCONV void Perl_sv_catpv(pTHX_ SV* sv, const char* ptr) | |
aec46f14 AL |
1807 | __attribute__nonnull__(pTHX_1) |
1808 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
1809 | |
1810 | /* PERL_CALLCONV void sv_catpvn(pTHX_ SV* sv, const char* ptr, STRLEN len) | |
aec46f14 AL |
1811 | __attribute__nonnull__(pTHX_1) |
1812 | __attribute__nonnull__(pTHX_2); */ | |
f54cb97a AL |
1813 | |
1814 | /* PERL_CALLCONV void sv_catsv(pTHX_ SV* dsv, SV* ssv) | |
abb2c242 | 1815 | __attribute__nonnull__(pTHX_1); */ |
f54cb97a AL |
1816 | |
1817 | PERL_CALLCONV void Perl_sv_chop(pTHX_ SV* sv, const char* ptr) | |
abb2c242 | 1818 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1819 | |
5226ed68 | 1820 | PERL_CALLCONV I32 Perl_sv_clean_all(pTHX); |
1d7c1841 | 1821 | PERL_CALLCONV void Perl_sv_clean_objs(pTHX); |
f54cb97a | 1822 | PERL_CALLCONV void Perl_sv_clear(pTHX_ SV* sv) |
abb2c242 | 1823 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1824 | |
1825 | PERL_CALLCONV I32 Perl_sv_cmp(pTHX_ SV* sv1, SV* sv2) | |
abb2c242 JH |
1826 | __attribute__nonnull__(pTHX_1) |
1827 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
1828 | |
1829 | PERL_CALLCONV I32 Perl_sv_cmp_locale(pTHX_ SV* sv1, SV* sv2) | |
abb2c242 JH |
1830 | __attribute__nonnull__(pTHX_1) |
1831 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1832 | |
864dbfa3 | 1833 | #if defined(USE_LOCALE_COLLATE) |
f54cb97a | 1834 | PERL_CALLCONV char* Perl_sv_collxfrm(pTHX_ SV* sv, STRLEN* nxp) |
1df70142 AL |
1835 | __attribute__nonnull__(pTHX_1) |
1836 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1837 | |
0cb96387 | 1838 | #endif |
4373e329 | 1839 | PERL_CALLCONV OP* Perl_sv_compile_2op(pTHX_ SV* sv, OP** startp, const char* code, PAD** padp) |
abb2c242 JH |
1840 | __attribute__nonnull__(pTHX_1) |
1841 | __attribute__nonnull__(pTHX_2) | |
1842 | __attribute__nonnull__(pTHX_3) | |
1843 | __attribute__nonnull__(pTHX_4); | |
f54cb97a | 1844 | |
4373e329 | 1845 | PERL_CALLCONV int Perl_getcwd_sv(pTHX_ SV* sv) |
abb2c242 | 1846 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1847 | |
1848 | PERL_CALLCONV void Perl_sv_dec(pTHX_ SV* sv) | |
abb2c242 | 1849 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1850 | |
1851 | PERL_CALLCONV void Perl_sv_dump(pTHX_ SV* sv) | |
abb2c242 | 1852 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1853 | |
4373e329 | 1854 | PERL_CALLCONV bool Perl_sv_derived_from(pTHX_ SV* sv, const char* name) |
abb2c242 JH |
1855 | __attribute__warn_unused_result__ |
1856 | __attribute__nonnull__(pTHX_1) | |
1857 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1858 | |
4373e329 | 1859 | PERL_CALLCONV I32 Perl_sv_eq(pTHX_ SV* sv1, SV* sv2) |
abb2c242 JH |
1860 | __attribute__nonnull__(pTHX_1) |
1861 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1862 | |
1d7c1841 | 1863 | PERL_CALLCONV void Perl_sv_free(pTHX_ SV* sv); |
4373e329 | 1864 | PERL_CALLCONV void Perl_sv_free2(pTHX_ SV* sv) |
abb2c242 | 1865 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1866 | |
1d7c1841 | 1867 | PERL_CALLCONV void Perl_sv_free_arenas(pTHX); |
4373e329 | 1868 | PERL_CALLCONV char* Perl_sv_gets(pTHX_ SV* sv, PerlIO* fp, I32 append) |
abb2c242 JH |
1869 | __attribute__nonnull__(pTHX_1) |
1870 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1871 | |
4373e329 | 1872 | PERL_CALLCONV char* Perl_sv_grow(pTHX_ SV* sv, STRLEN newlen) |
abb2c242 | 1873 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1874 | |
1875 | PERL_CALLCONV void Perl_sv_inc(pTHX_ SV* sv) | |
abb2c242 | 1876 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1877 | |
4373e329 | 1878 | PERL_CALLCONV void Perl_sv_insert(pTHX_ SV* bigsv, STRLEN offset, STRLEN len, const char* little, STRLEN littlelen) |
abb2c242 JH |
1879 | __attribute__nonnull__(pTHX_1) |
1880 | __attribute__nonnull__(pTHX_4); | |
f54cb97a AL |
1881 | |
1882 | PERL_CALLCONV int Perl_sv_isa(pTHX_ SV* sv, const char* name) | |
aec46f14 | 1883 | __attribute__nonnull__(pTHX_2); |
f54cb97a | 1884 | |
aec46f14 | 1885 | PERL_CALLCONV int Perl_sv_isobject(pTHX_ SV* sv); |
9d4ba2ae AL |
1886 | PERL_CALLCONV STRLEN Perl_sv_len(pTHX_ SV* sv); |
1887 | PERL_CALLCONV STRLEN Perl_sv_len_utf8(pTHX_ SV* sv); | |
f54cb97a | 1888 | PERL_CALLCONV void Perl_sv_magic(pTHX_ SV* sv, SV* obj, int how, const char* name, I32 namlen) |
abb2c242 | 1889 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1890 | |
1891 | PERL_CALLCONV MAGIC * Perl_sv_magicext(pTHX_ SV* sv, SV* obj, int how, const MGVTBL *vtbl, const char* name, I32 namlen) | |
abb2c242 | 1892 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1893 | |
4373e329 | 1894 | PERL_CALLCONV SV* Perl_sv_mortalcopy(pTHX_ SV* oldsv) |
1b6737cc AL |
1895 | __attribute__malloc__ |
1896 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1897 | |
1898 | PERL_CALLCONV SV* Perl_sv_newmortal(pTHX) | |
abb2c242 | 1899 | __attribute__warn_unused_result__; |
f54cb97a | 1900 | |
1d7c1841 GS |
1901 | PERL_CALLCONV SV* Perl_sv_newref(pTHX_ SV* sv); |
1902 | PERL_CALLCONV char* Perl_sv_peek(pTHX_ SV* sv); | |
b464bac0 AL |
1903 | PERL_CALLCONV void Perl_sv_pos_u2b(pTHX_ SV* sv, I32* offsetp, I32* lenp) |
1904 | __attribute__nonnull__(pTHX_2); | |
1905 | ||
1906 | PERL_CALLCONV void Perl_sv_pos_b2u(pTHX_ SV* sv, I32* offsetp) | |
1907 | __attribute__nonnull__(pTHX_2); | |
1908 | ||
aec46f14 AL |
1909 | /* PERL_CALLCONV char* sv_pvn_force(pTHX_ SV* sv, STRLEN* lp) |
1910 | __attribute__nonnull__(pTHX_1); */ | |
1911 | ||
1912 | PERL_CALLCONV char* Perl_sv_pvutf8n_force(pTHX_ SV* sv, STRLEN* lp) | |
1913 | __attribute__nonnull__(pTHX_1); | |
1914 | ||
1915 | PERL_CALLCONV char* Perl_sv_pvbyten_force(pTHX_ SV* sv, STRLEN* lp) | |
1916 | __attribute__nonnull__(pTHX_1); | |
1917 | ||
1918 | PERL_CALLCONV char* Perl_sv_recode_to_utf8(pTHX_ SV* sv, SV *encoding) | |
1919 | __attribute__nonnull__(pTHX_1) | |
1920 | __attribute__nonnull__(pTHX_2); | |
1921 | ||
1922 | PERL_CALLCONV bool Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen) | |
1923 | __attribute__nonnull__(pTHX_1) | |
1924 | __attribute__nonnull__(pTHX_2) | |
1925 | __attribute__nonnull__(pTHX_3) | |
1926 | __attribute__nonnull__(pTHX_4) | |
1927 | __attribute__nonnull__(pTHX_5); | |
1928 | ||
a3b680e6 | 1929 | PERL_CALLCONV char* Perl_sv_reftype(pTHX_ const SV* sv, int ob) |
abb2c242 JH |
1930 | __attribute__warn_unused_result__ |
1931 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
1932 | |
1933 | PERL_CALLCONV void Perl_sv_replace(pTHX_ SV* sv, SV* nsv) | |
abb2c242 JH |
1934 | __attribute__nonnull__(pTHX_1) |
1935 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 | 1936 | |
1d7c1841 | 1937 | PERL_CALLCONV void Perl_sv_report_used(pTHX); |
504618e9 AL |
1938 | PERL_CALLCONV void Perl_sv_reset(pTHX_ const char* s, HV* stash) |
1939 | __attribute__nonnull__(pTHX_1); | |
1940 | ||
894356b3 | 1941 | PERL_CALLCONV void Perl_sv_setpvf(pTHX_ SV* sv, const char* pat, ...) |
aec46f14 AL |
1942 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
1943 | __attribute__nonnull__(pTHX_1) | |
1944 | __attribute__nonnull__(pTHX_2); | |
1945 | ||
1946 | PERL_CALLCONV void Perl_sv_vsetpvf(pTHX_ SV* sv, const char* pat, va_list* args) | |
1947 | __attribute__nonnull__(pTHX_1) | |
1948 | __attribute__nonnull__(pTHX_2); | |
1949 | ||
1950 | PERL_CALLCONV void Perl_sv_setiv(pTHX_ SV* sv, IV num) | |
1951 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 1952 | |
504618e9 AL |
1953 | PERL_CALLCONV void Perl_sv_setpviv(pTHX_ SV* sv, IV num) |
1954 | __attribute__nonnull__(pTHX_1); | |
1955 | ||
aec46f14 AL |
1956 | PERL_CALLCONV void Perl_sv_setuv(pTHX_ SV* sv, UV num) |
1957 | __attribute__nonnull__(pTHX_1); | |
1958 | ||
1959 | PERL_CALLCONV void Perl_sv_setnv(pTHX_ SV* sv, NV num) | |
1960 | __attribute__nonnull__(pTHX_1); | |
1961 | ||
1962 | PERL_CALLCONV SV* Perl_sv_setref_iv(pTHX_ SV* rv, const char* classname, IV iv) | |
1963 | __attribute__nonnull__(pTHX_1); | |
1964 | ||
1965 | PERL_CALLCONV SV* Perl_sv_setref_uv(pTHX_ SV* rv, const char* classname, UV uv) | |
1966 | __attribute__nonnull__(pTHX_1); | |
1967 | ||
1968 | PERL_CALLCONV SV* Perl_sv_setref_nv(pTHX_ SV* rv, const char* classname, NV nv) | |
1969 | __attribute__nonnull__(pTHX_1); | |
1970 | ||
1971 | PERL_CALLCONV SV* Perl_sv_setref_pv(pTHX_ SV* rv, const char* classname, void* pv) | |
1972 | __attribute__nonnull__(pTHX_1); | |
1973 | ||
1b6737cc | 1974 | PERL_CALLCONV SV* Perl_sv_setref_pvn(pTHX_ SV* rv, const char* classname, const char* pv, STRLEN n) |
aec46f14 | 1975 | __attribute__nonnull__(pTHX_1) |
1b6737cc AL |
1976 | __attribute__nonnull__(pTHX_3); |
1977 | ||
aec46f14 AL |
1978 | PERL_CALLCONV void Perl_sv_setpv(pTHX_ SV* sv, const char* ptr) |
1979 | __attribute__nonnull__(pTHX_1); | |
1980 | ||
4373e329 | 1981 | PERL_CALLCONV void Perl_sv_setpvn(pTHX_ SV* sv, const char* ptr, STRLEN len) |
abb2c242 | 1982 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1983 | |
aec46f14 AL |
1984 | /* PERL_CALLCONV void sv_setsv(pTHX_ SV* dsv, SV* ssv) |
1985 | __attribute__nonnull__(pTHX_1); */ | |
1986 | ||
1987 | PERL_CALLCONV void Perl_sv_taint(pTHX_ SV* sv) | |
1988 | __attribute__nonnull__(pTHX_1); | |
1989 | ||
a28509cc | 1990 | PERL_CALLCONV bool Perl_sv_tainted(pTHX_ SV* sv) |
aec46f14 AL |
1991 | __attribute__warn_unused_result__ |
1992 | __attribute__nonnull__(pTHX_1); | |
a28509cc | 1993 | |
f54cb97a | 1994 | PERL_CALLCONV int Perl_sv_unmagic(pTHX_ SV* sv, int type) |
abb2c242 | 1995 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1996 | |
1997 | PERL_CALLCONV void Perl_sv_unref(pTHX_ SV* sv) | |
abb2c242 | 1998 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1999 | |
2000 | PERL_CALLCONV void Perl_sv_unref_flags(pTHX_ SV* sv, U32 flags) | |
abb2c242 | 2001 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2002 | |
2003 | PERL_CALLCONV void Perl_sv_untaint(pTHX_ SV* sv) | |
abb2c242 | 2004 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2005 | |
63f97190 | 2006 | PERL_CALLCONV void Perl_sv_upgrade(pTHX_ SV* sv, U32 mt) |
abb2c242 | 2007 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2008 | |
2009 | PERL_CALLCONV void Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len) | |
abb2c242 | 2010 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2011 | |
2012 | PERL_CALLCONV void Perl_sv_vcatpvfn(pTHX_ SV* sv, const char* pat, STRLEN patlen, va_list* args, SV** svargs, I32 svmax, bool *maybe_tainted) | |
abb2c242 JH |
2013 | __attribute__nonnull__(pTHX_1) |
2014 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
2015 | |
2016 | PERL_CALLCONV void Perl_sv_vsetpvfn(pTHX_ SV* sv, const char* pat, STRLEN patlen, va_list* args, SV** svargs, I32 svmax, bool *maybe_tainted) | |
abb2c242 JH |
2017 | __attribute__nonnull__(pTHX_1) |
2018 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2019 | |
aec46f14 AL |
2020 | PERL_CALLCONV NV Perl_str_to_version(pTHX_ SV *sv) |
2021 | __attribute__warn_unused_result__ | |
2022 | __attribute__nonnull__(pTHX_1); | |
2023 | ||
2024 | PERL_CALLCONV SV* Perl_swash_init(pTHX_ const char* pkg, const char* name, SV* listsv, I32 minbits, I32 none) | |
2025 | __attribute__nonnull__(pTHX_1) | |
2026 | __attribute__nonnull__(pTHX_2) | |
2027 | __attribute__nonnull__(pTHX_3); | |
2028 | ||
2029 | PERL_CALLCONV UV Perl_swash_fetch(pTHX_ SV *sv, const U8 *ptr, bool do_utf8) | |
2030 | __attribute__nonnull__(pTHX_1) | |
2031 | __attribute__nonnull__(pTHX_2); | |
2032 | ||
1d7c1841 | 2033 | PERL_CALLCONV void Perl_taint_env(pTHX); |
8772537c AL |
2034 | PERL_CALLCONV void Perl_taint_proper(pTHX_ const char* f, const char* s) |
2035 | __attribute__nonnull__(pTHX_2); | |
2036 | ||
9a957fbc | 2037 | PERL_CALLCONV UV Perl_to_utf8_case(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, SV **swashp, const char *normal, const char *special) |
abb2c242 | 2038 | __attribute__nonnull__(pTHX_1) |
9a957fbc AL |
2039 | __attribute__nonnull__(pTHX_2) |
2040 | __attribute__nonnull__(pTHX_4); | |
f54cb97a AL |
2041 | |
2042 | PERL_CALLCONV UV Perl_to_utf8_lower(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp) | |
abb2c242 JH |
2043 | __attribute__nonnull__(pTHX_1) |
2044 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
2045 | |
2046 | PERL_CALLCONV UV Perl_to_utf8_upper(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp) | |
abb2c242 JH |
2047 | __attribute__nonnull__(pTHX_1) |
2048 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
2049 | |
2050 | PERL_CALLCONV UV Perl_to_utf8_title(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp) | |
abb2c242 JH |
2051 | __attribute__nonnull__(pTHX_1) |
2052 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
2053 | |
2054 | PERL_CALLCONV UV Perl_to_utf8_fold(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp) | |
abb2c242 JH |
2055 | __attribute__nonnull__(pTHX_1) |
2056 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2057 | |
864dbfa3 | 2058 | #if defined(UNLINK_ALL_VERSIONS) |
6e732051 | 2059 | PERL_CALLCONV I32 Perl_unlnk(pTHX_ const char* f) |
aec46f14 AL |
2060 | __attribute__nonnull__(pTHX_1); |
2061 | ||
864dbfa3 | 2062 | #endif |
aec46f14 AL |
2063 | PERL_CALLCONV I32 Perl_unpack_str(pTHX_ const char *pat, const char *patend, const char *s, const char *strbeg, const char *strend, char **new_s, I32 ocnt, U32 flags) |
2064 | __attribute__nonnull__(pTHX_1) | |
2065 | __attribute__nonnull__(pTHX_2) | |
2066 | __attribute__nonnull__(pTHX_3) | |
2067 | __attribute__nonnull__(pTHX_5); | |
2068 | ||
2069 | PERL_CALLCONV I32 Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags) | |
2070 | __attribute__nonnull__(pTHX_1) | |
2071 | __attribute__nonnull__(pTHX_2) | |
2072 | __attribute__nonnull__(pTHX_3) | |
2073 | __attribute__nonnull__(pTHX_4); | |
2074 | ||
1d7c1841 GS |
2075 | PERL_CALLCONV void Perl_unsharepvn(pTHX_ const char* sv, I32 len, U32 hash); |
2076 | PERL_CALLCONV void Perl_unshare_hek(pTHX_ HEK* hek); | |
aec46f14 AL |
2077 | PERL_CALLCONV void Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg) |
2078 | __attribute__nonnull__(pTHX_4); | |
2079 | ||
2080 | PERL_CALLCONV U8* Perl_utf16_to_utf8(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen) | |
2081 | __attribute__nonnull__(pTHX_1) | |
2082 | __attribute__nonnull__(pTHX_2) | |
2083 | __attribute__nonnull__(pTHX_4); | |
2084 | ||
2085 | PERL_CALLCONV U8* Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen) | |
2086 | __attribute__nonnull__(pTHX_1) | |
2087 | __attribute__nonnull__(pTHX_2) | |
2088 | __attribute__nonnull__(pTHX_4); | |
2089 | ||
4373e329 | 2090 | PERL_CALLCONV STRLEN Perl_utf8_length(pTHX_ const U8* s, const U8 *e) |
abb2c242 JH |
2091 | __attribute__warn_unused_result__ |
2092 | __attribute__pure__ | |
2093 | __attribute__nonnull__(pTHX_1) | |
2094 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2095 | |
4373e329 | 2096 | PERL_CALLCONV IV Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b) |
abb2c242 JH |
2097 | __attribute__warn_unused_result__ |
2098 | __attribute__pure__ | |
2099 | __attribute__nonnull__(pTHX_1) | |
2100 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2101 | |
4373e329 | 2102 | PERL_CALLCONV U8* Perl_utf8_hop(pTHX_ const U8 *s, I32 off) |
abb2c242 JH |
2103 | __attribute__warn_unused_result__ |
2104 | __attribute__pure__ | |
2105 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 2106 | |
4373e329 | 2107 | PERL_CALLCONV U8* Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *len) |
abb2c242 JH |
2108 | __attribute__nonnull__(pTHX_1) |
2109 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2110 | |
aec46f14 AL |
2111 | PERL_CALLCONV U8* Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *len, bool *is_utf8) |
2112 | __attribute__nonnull__(pTHX_1) | |
2113 | __attribute__nonnull__(pTHX_2); | |
2114 | ||
2115 | PERL_CALLCONV U8* Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *len) | |
2116 | __attribute__nonnull__(pTHX_1) | |
2117 | __attribute__nonnull__(pTHX_2); | |
2118 | ||
2119 | PERL_CALLCONV UV Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen) | |
2120 | __attribute__nonnull__(pTHX_1); | |
2121 | ||
2122 | PERL_CALLCONV UV Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen) | |
2123 | __attribute__nonnull__(pTHX_1); | |
2124 | ||
2125 | PERL_CALLCONV UV Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags) | |
2126 | __attribute__nonnull__(pTHX_1); | |
2127 | ||
2128 | PERL_CALLCONV UV Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags) | |
2129 | __attribute__nonnull__(pTHX_1); | |
2130 | ||
4373e329 | 2131 | PERL_CALLCONV U8* Perl_uvchr_to_utf8(pTHX_ U8 *d, UV uv) |
abb2c242 | 2132 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2133 | |
4373e329 | 2134 | PERL_CALLCONV U8* Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv) |
abb2c242 | 2135 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2136 | |
4373e329 | 2137 | PERL_CALLCONV U8* Perl_uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags) |
abb2c242 | 2138 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2139 | |
4373e329 | 2140 | PERL_CALLCONV U8* Perl_uvuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags) |
abb2c242 | 2141 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2142 | |
e1ec3a88 | 2143 | PERL_CALLCONV char* Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags); |
a3b680e6 | 2144 | PERL_CALLCONV char* Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags) |
abb2c242 | 2145 | __attribute__warn_unused_result__; |
a3b680e6 | 2146 | |
aec46f14 AL |
2147 | PERL_CALLCONV void Perl_vivify_defelem(pTHX_ SV* sv) |
2148 | __attribute__nonnull__(pTHX_1); | |
2149 | ||
2150 | PERL_CALLCONV void Perl_vivify_ref(pTHX_ SV* sv, U32 to_what) | |
2151 | __attribute__nonnull__(pTHX_1); | |
2152 | ||
2153 | PERL_CALLCONV I32 Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags) | |
2154 | __attribute__nonnull__(pTHX_2); | |
2155 | ||
e1ec3a88 | 2156 | PERL_CALLCONV U32 Perl_parse_unicode_opts(pTHX_ const char **popt); |
132efe8b | 2157 | PERL_CALLCONV U32 Perl_seed(pTHX); |
255164ba DM |
2158 | PERL_CALLCONV UV Perl_get_hash_seed(pTHX) |
2159 | __attribute__warn_unused_result__; | |
2160 | ||
e1ec3a88 | 2161 | PERL_CALLCONV void Perl_report_evil_fh(pTHX_ const GV *gv, const IO *io, I32 op); |
29489e7c | 2162 | PERL_CALLCONV void Perl_report_uninit(pTHX_ SV* uninit_sv); |
894356b3 | 2163 | PERL_CALLCONV void Perl_warn(pTHX_ const char* pat, ...) |
aec46f14 AL |
2164 | __attribute__format__(__printf__,pTHX_1,pTHX_2) |
2165 | __attribute__nonnull__(pTHX_1); | |
2166 | ||
2167 | PERL_CALLCONV void Perl_vwarn(pTHX_ const char* pat, va_list* args) | |
2168 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 2169 | |
894356b3 | 2170 | PERL_CALLCONV void Perl_warner(pTHX_ U32 err, const char* pat, ...) |
aec46f14 AL |
2171 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
2172 | __attribute__nonnull__(pTHX_2); | |
2173 | ||
2174 | PERL_CALLCONV void Perl_vwarner(pTHX_ U32 err, const char* pat, va_list* args) | |
2175 | __attribute__nonnull__(pTHX_2); | |
2176 | ||
2177 | PERL_CALLCONV void Perl_watch(pTHX_ char** addr) | |
2178 | __attribute__nonnull__(pTHX_1); | |
2179 | ||
2180 | PERL_CALLCONV I32 Perl_whichsig(pTHX_ const char* sig) | |
2181 | __attribute__nonnull__(pTHX_1); | |
2182 | ||
2183 | PERL_CALLCONV void Perl_write_to_stderr(pTHX_ const char* message, int msglen) | |
2184 | __attribute__nonnull__(pTHX_1); | |
2185 | ||
2186 | PERL_CALLCONV int Perl_yyerror(pTHX_ const char* s) | |
2187 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 2188 | |
48cf72c8 | 2189 | PERL_CALLCONV int Perl_yylex(pTHX); |
1d7c1841 | 2190 | PERL_CALLCONV int Perl_yyparse(pTHX); |
aec46f14 AL |
2191 | PERL_CALLCONV int Perl_yywarn(pTHX_ const char* s) |
2192 | __attribute__nonnull__(pTHX_1); | |
2193 | ||
cea2e8a9 | 2194 | #if defined(MYMALLOC) |
aec46f14 AL |
2195 | PERL_CALLCONV void Perl_dump_mstats(pTHX_ char* s) |
2196 | __attribute__nonnull__(pTHX_1); | |
2197 | ||
255164ba DM |
2198 | PERL_CALLCONV int Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level) |
2199 | __attribute__warn_unused_result__ | |
2200 | __attribute__nonnull__(pTHX_1); | |
2201 | ||
0cb96387 | 2202 | #endif |
4373e329 | 2203 | PERL_CALLCONV Malloc_t Perl_safesysmalloc(MEM_SIZE nbytes) |
abb2c242 JH |
2204 | __attribute__malloc__ |
2205 | __attribute__warn_unused_result__; | |
f54cb97a | 2206 | |
4373e329 | 2207 | PERL_CALLCONV Malloc_t Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size) |
abb2c242 JH |
2208 | __attribute__malloc__ |
2209 | __attribute__warn_unused_result__; | |
f54cb97a | 2210 | |
4373e329 | 2211 | PERL_CALLCONV Malloc_t Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes) |
abb2c242 JH |
2212 | __attribute__malloc__ |
2213 | __attribute__warn_unused_result__; | |
f54cb97a | 2214 | |
1d7c1841 | 2215 | PERL_CALLCONV Free_t Perl_safesysfree(Malloc_t where); |
cea2e8a9 | 2216 | #if defined(PERL_GLOBAL_STRUCT) |
1d7c1841 | 2217 | PERL_CALLCONV struct perl_vars * Perl_GetVars(pTHX); |
77304e85 SH |
2218 | PERL_CALLCONV struct perl_vars* Perl_init_global_struct(pTHX); |
2219 | PERL_CALLCONV void Perl_free_global_struct(pTHX_ struct perl_vars*); | |
1d7c1841 GS |
2220 | #endif |
2221 | PERL_CALLCONV int Perl_runops_standard(pTHX); | |
2222 | PERL_CALLCONV int Perl_runops_debug(pTHX); | |
894356b3 | 2223 | PERL_CALLCONV void Perl_sv_catpvf_mg(pTHX_ SV *sv, const char* pat, ...) |
aec46f14 AL |
2224 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
2225 | __attribute__nonnull__(pTHX_1) | |
2226 | __attribute__nonnull__(pTHX_2); | |
2227 | ||
2228 | PERL_CALLCONV void Perl_sv_vcatpvf_mg(pTHX_ SV* sv, const char* pat, va_list* args) | |
2229 | __attribute__nonnull__(pTHX_1) | |
2230 | __attribute__nonnull__(pTHX_2); | |
2231 | ||
2232 | PERL_CALLCONV void Perl_sv_catpv_mg(pTHX_ SV *sv, const char *ptr) | |
2233 | __attribute__nonnull__(pTHX_1) | |
2234 | __attribute__nonnull__(pTHX_2); | |
2235 | ||
2236 | PERL_CALLCONV void Perl_sv_catpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len) | |
2237 | __attribute__nonnull__(pTHX_1) | |
2238 | __attribute__nonnull__(pTHX_2); | |
2239 | ||
2240 | PERL_CALLCONV void Perl_sv_catsv_mg(pTHX_ SV *dstr, SV *sstr) | |
2241 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 2242 | |
894356b3 | 2243 | PERL_CALLCONV void Perl_sv_setpvf_mg(pTHX_ SV *sv, const char* pat, ...) |
aec46f14 AL |
2244 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
2245 | __attribute__nonnull__(pTHX_1) | |
2246 | __attribute__nonnull__(pTHX_2); | |
2247 | ||
2248 | PERL_CALLCONV void Perl_sv_vsetpvf_mg(pTHX_ SV* sv, const char* pat, va_list* args) | |
2249 | __attribute__nonnull__(pTHX_1) | |
2250 | __attribute__nonnull__(pTHX_2); | |
2251 | ||
2252 | PERL_CALLCONV void Perl_sv_setiv_mg(pTHX_ SV *sv, IV i) | |
2253 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 2254 | |
504618e9 AL |
2255 | PERL_CALLCONV void Perl_sv_setpviv_mg(pTHX_ SV *sv, IV iv) |
2256 | __attribute__nonnull__(pTHX_1); | |
2257 | ||
aec46f14 AL |
2258 | PERL_CALLCONV void Perl_sv_setuv_mg(pTHX_ SV *sv, UV u) |
2259 | __attribute__nonnull__(pTHX_1); | |
2260 | ||
2261 | PERL_CALLCONV void Perl_sv_setnv_mg(pTHX_ SV *sv, NV num) | |
2262 | __attribute__nonnull__(pTHX_1); | |
2263 | ||
2264 | PERL_CALLCONV void Perl_sv_setpv_mg(pTHX_ SV *sv, const char *ptr) | |
2265 | __attribute__nonnull__(pTHX_1); | |
2266 | ||
2267 | PERL_CALLCONV void Perl_sv_setpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len) | |
2268 | __attribute__nonnull__(pTHX_1) | |
2269 | __attribute__nonnull__(pTHX_2); | |
2270 | ||
2271 | PERL_CALLCONV void Perl_sv_setsv_mg(pTHX_ SV *dstr, SV *sstr) | |
2272 | __attribute__nonnull__(pTHX_1); | |
2273 | ||
2274 | PERL_CALLCONV void Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len) | |
2275 | __attribute__nonnull__(pTHX_1); | |
2276 | ||
2277 | PERL_CALLCONV MGVTBL* Perl_get_vtbl(pTHX_ int vtbl_id) | |
2278 | __attribute__warn_unused_result__; | |
2279 | ||
2280 | PERL_CALLCONV char* Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim) | |
2281 | __attribute__nonnull__(pTHX_1) | |
2282 | __attribute__nonnull__(pTHX_2); | |
2283 | ||
894356b3 | 2284 | PERL_CALLCONV void Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...) |
1b6737cc | 2285 | __attribute__format__(__printf__,pTHX_3,pTHX_4) |
aec46f14 AL |
2286 | __attribute__nonnull__(pTHX_2) |
2287 | __attribute__nonnull__(pTHX_3); | |
1b6737cc AL |
2288 | |
2289 | PERL_CALLCONV void Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args) | |
aec46f14 AL |
2290 | __attribute__nonnull__(pTHX_2) |
2291 | __attribute__nonnull__(pTHX_3); | |
1b6737cc AL |
2292 | |
2293 | PERL_CALLCONV void Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv) | |
aec46f14 AL |
2294 | __attribute__nonnull__(pTHX_2) |
2295 | __attribute__nonnull__(pTHX_3) | |
2296 | __attribute__nonnull__(pTHX_4); | |
1b6737cc AL |
2297 | |
2298 | PERL_CALLCONV void Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv) | |
aec46f14 AL |
2299 | __attribute__nonnull__(pTHX_2) |
2300 | __attribute__nonnull__(pTHX_3) | |
2301 | __attribute__nonnull__(pTHX_4); | |
1b6737cc AL |
2302 | |
2303 | PERL_CALLCONV void Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv) | |
aec46f14 AL |
2304 | __attribute__nonnull__(pTHX_2) |
2305 | __attribute__nonnull__(pTHX_3) | |
2306 | __attribute__nonnull__(pTHX_4); | |
1b6737cc AL |
2307 | |
2308 | PERL_CALLCONV void Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim) | |
aec46f14 AL |
2309 | __attribute__nonnull__(pTHX_2) |
2310 | __attribute__nonnull__(pTHX_3); | |
1b6737cc AL |
2311 | |
2312 | PERL_CALLCONV void Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o) | |
2313 | __attribute__nonnull__(pTHX_2); | |
2314 | ||
2315 | PERL_CALLCONV void Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm) | |
2316 | __attribute__nonnull__(pTHX_2); | |
2317 | ||
2318 | PERL_CALLCONV void Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim) | |
2319 | __attribute__nonnull__(pTHX_2); | |
2320 | ||
6867be6d | 2321 | PERL_CALLCONV void Perl_magic_dump(pTHX_ const MAGIC *mg); |
1d7c1841 | 2322 | PERL_CALLCONV void Perl_reginitcolors(pTHX); |
aec46f14 AL |
2323 | PERL_CALLCONV char* Perl_sv_2pv_nolen(pTHX_ SV* sv) |
2324 | __attribute__warn_unused_result__ | |
2325 | __attribute__nonnull__(pTHX_1); | |
2326 | ||
2327 | PERL_CALLCONV char* Perl_sv_2pvutf8_nolen(pTHX_ SV* sv) | |
2328 | __attribute__warn_unused_result__ | |
2329 | __attribute__nonnull__(pTHX_1); | |
2330 | ||
2331 | PERL_CALLCONV char* Perl_sv_2pvbyte_nolen(pTHX_ SV* sv) | |
2332 | __attribute__warn_unused_result__ | |
2333 | __attribute__nonnull__(pTHX_1); | |
2334 | ||
f75877b5 SH |
2335 | /* PERL_CALLCONV char* sv_pv(pTHX_ SV *sv) |
2336 | __attribute__warn_unused_result__ | |
2337 | __attribute__nonnull__(pTHX_1); */ | |
2338 | ||
2339 | /* PERL_CALLCONV char* sv_pvutf8(pTHX_ SV *sv) | |
2340 | __attribute__warn_unused_result__ | |
2341 | __attribute__nonnull__(pTHX_1); */ | |
2342 | ||
2343 | /* PERL_CALLCONV char* sv_pvbyte(pTHX_ SV *sv) | |
2344 | __attribute__warn_unused_result__ | |
2345 | __attribute__nonnull__(pTHX_1); */ | |
2346 | ||
2347 | /* PERL_CALLCONV STRLEN sv_utf8_upgrade(pTHX_ SV *sv) | |
2348 | __attribute__nonnull__(pTHX_1); */ | |
2349 | ||
2350 | PERL_CALLCONV bool Perl_sv_utf8_downgrade(pTHX_ SV *sv, bool fail_ok) | |
2351 | __attribute__nonnull__(pTHX_1); | |
2352 | ||
2353 | PERL_CALLCONV void Perl_sv_utf8_encode(pTHX_ SV *sv) | |
2354 | __attribute__nonnull__(pTHX_1); | |
2355 | ||
2356 | PERL_CALLCONV bool Perl_sv_utf8_decode(pTHX_ SV *sv) | |
2357 | __attribute__nonnull__(pTHX_1); | |
2358 | ||
2359 | PERL_CALLCONV void Perl_sv_force_normal(pTHX_ SV *sv) | |
2360 | __attribute__nonnull__(pTHX_1); | |
2361 | ||
2362 | PERL_CALLCONV void Perl_sv_force_normal_flags(pTHX_ SV *sv, U32 flags) | |
2363 | __attribute__nonnull__(pTHX_1); | |
2364 | ||
1d7c1841 | 2365 | PERL_CALLCONV void Perl_tmps_grow(pTHX_ I32 n); |
f75877b5 SH |
2366 | PERL_CALLCONV SV* Perl_sv_rvweaken(pTHX_ SV *sv) |
2367 | __attribute__nonnull__(pTHX_1); | |
2368 | ||
2369 | PERL_CALLCONV int Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg) | |
2370 | __attribute__nonnull__(pTHX_1) | |
2371 | __attribute__nonnull__(pTHX_2); | |
2372 | ||
1d7c1841 GS |
2373 | PERL_CALLCONV OP* Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block); |
2374 | PERL_CALLCONV CV* Perl_newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block); | |
f54cb97a | 2375 | PERL_CALLCONV void Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block) |
abb2c242 | 2376 | __attribute__noreturn__; |
f54cb97a | 2377 | |
4373e329 | 2378 | PERL_CALLCONV OP * Perl_my_attrs(pTHX_ OP *o, OP *attrs) |
abb2c242 | 2379 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2380 | |
1d7c1841 GS |
2381 | PERL_CALLCONV void Perl_boot_core_xsutils(pTHX); |
2382 | #if defined(USE_ITHREADS) | |
53c1dcc0 AL |
2383 | PERL_CALLCONV PERL_CONTEXT* Perl_cx_dup(pTHX_ PERL_CONTEXT* cx, I32 ix, I32 max, CLONE_PARAMS* param) |
2384 | __attribute__malloc__ | |
aec46f14 AL |
2385 | __attribute__warn_unused_result__ |
2386 | __attribute__nonnull__(pTHX_4); | |
53c1dcc0 AL |
2387 | |
2388 | PERL_CALLCONV PERL_SI* Perl_si_dup(pTHX_ PERL_SI* si, CLONE_PARAMS* param) | |
2389 | __attribute__malloc__ | |
aec46f14 AL |
2390 | __attribute__warn_unused_result__ |
2391 | __attribute__nonnull__(pTHX_2); | |
53c1dcc0 AL |
2392 | |
2393 | PERL_CALLCONV ANY* Perl_ss_dup(pTHX_ PerlInterpreter* proto_perl, CLONE_PARAMS* param) | |
2394 | __attribute__malloc__ | |
2395 | __attribute__warn_unused_result__ | |
aec46f14 AL |
2396 | __attribute__nonnull__(pTHX_1) |
2397 | __attribute__nonnull__(pTHX_2); | |
53c1dcc0 AL |
2398 | |
2399 | PERL_CALLCONV void* Perl_any_dup(pTHX_ void* v, const PerlInterpreter* proto_perl) | |
2400 | __attribute__malloc__ | |
2401 | __attribute__warn_unused_result__ | |
abb2c242 | 2402 | __attribute__nonnull__(pTHX_2); |
f54cb97a | 2403 | |
53c1dcc0 AL |
2404 | PERL_CALLCONV HE* Perl_he_dup(pTHX_ HE* e, bool shared, CLONE_PARAMS* param) |
2405 | __attribute__malloc__ | |
aec46f14 AL |
2406 | __attribute__warn_unused_result__ |
2407 | __attribute__nonnull__(pTHX_3); | |
53c1dcc0 AL |
2408 | |
2409 | PERL_CALLCONV HEK* Perl_hek_dup(pTHX_ HEK* e, CLONE_PARAMS* param) | |
2410 | __attribute__malloc__ | |
aec46f14 AL |
2411 | __attribute__warn_unused_result__ |
2412 | __attribute__nonnull__(pTHX_2); | |
53c1dcc0 AL |
2413 | |
2414 | PERL_CALLCONV REGEXP* Perl_re_dup(pTHX_ const REGEXP* r, CLONE_PARAMS* param) | |
2415 | __attribute__malloc__ | |
aec46f14 AL |
2416 | __attribute__warn_unused_result__ |
2417 | __attribute__nonnull__(pTHX_2); | |
53c1dcc0 AL |
2418 | |
2419 | PERL_CALLCONV PerlIO* Perl_fp_dup(pTHX_ PerlIO* fp, char type, CLONE_PARAMS* param) | |
2420 | __attribute__malloc__ | |
aec46f14 AL |
2421 | __attribute__warn_unused_result__ |
2422 | __attribute__nonnull__(pTHX_3); | |
53c1dcc0 AL |
2423 | |
2424 | PERL_CALLCONV DIR* Perl_dirp_dup(pTHX_ DIR* dp) | |
2425 | __attribute__malloc__ | |
2426 | __attribute__warn_unused_result__; | |
2427 | ||
2428 | PERL_CALLCONV GP* Perl_gp_dup(pTHX_ GP* gp, CLONE_PARAMS* param) | |
2429 | __attribute__malloc__ | |
aec46f14 AL |
2430 | __attribute__warn_unused_result__ |
2431 | __attribute__nonnull__(pTHX_2); | |
53c1dcc0 AL |
2432 | |
2433 | PERL_CALLCONV MAGIC* Perl_mg_dup(pTHX_ MAGIC* mg, CLONE_PARAMS* param) | |
2434 | __attribute__malloc__ | |
2435 | __attribute__warn_unused_result__ | |
aec46f14 | 2436 | __attribute__nonnull__(pTHX_2); |
53c1dcc0 AL |
2437 | |
2438 | PERL_CALLCONV SV* Perl_sv_dup(pTHX_ SV* sstr, CLONE_PARAMS* param) | |
2439 | __attribute__malloc__ | |
2440 | __attribute__warn_unused_result__ | |
aec46f14 | 2441 | __attribute__nonnull__(pTHX_2); |
f54cb97a | 2442 | |
53c1dcc0 AL |
2443 | PERL_CALLCONV void Perl_rvpv_dup(pTHX_ SV* dstr, SV *sstr, CLONE_PARAMS* param) |
2444 | __attribute__nonnull__(pTHX_1) | |
aec46f14 AL |
2445 | __attribute__nonnull__(pTHX_2) |
2446 | __attribute__nonnull__(pTHX_3); | |
53c1dcc0 AL |
2447 | |
2448 | PERL_CALLCONV PTR_TBL_t* Perl_ptr_table_new(pTHX) | |
2449 | __attribute__malloc__ | |
2450 | __attribute__warn_unused_result__; | |
2451 | ||
2452 | PERL_CALLCONV void* Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *tbl, const void *sv) | |
2453 | __attribute__malloc__ | |
2454 | __attribute__warn_unused_result__ | |
2455 | __attribute__nonnull__(pTHX_1) | |
2456 | __attribute__nonnull__(pTHX_2); | |
2457 | ||
2458 | PERL_CALLCONV void Perl_ptr_table_store(pTHX_ PTR_TBL_t *tbl, const void *oldsv, void *newsv) | |
2459 | __attribute__nonnull__(pTHX_1) | |
2460 | __attribute__nonnull__(pTHX_3); | |
2461 | ||
4373e329 | 2462 | PERL_CALLCONV void Perl_ptr_table_split(pTHX_ PTR_TBL_t *tbl) |
abb2c242 | 2463 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2464 | |
690cf326 NIS |
2465 | PERL_CALLCONV void Perl_ptr_table_clear(pTHX_ PTR_TBL_t *tbl); |
2466 | PERL_CALLCONV void Perl_ptr_table_free(pTHX_ PTR_TBL_t *tbl); | |
504618e9 AL |
2467 | # if defined(HAVE_INTERP_INTERN) |
2468 | PERL_CALLCONV void Perl_sys_intern_dup(pTHX_ struct interp_intern* src, struct interp_intern* dst) | |
2469 | __attribute__nonnull__(pTHX_1) | |
2470 | __attribute__nonnull__(pTHX_2); | |
2471 | ||
ddacffcf SH |
2472 | # endif |
2473 | #endif | |
2474 | #if defined(HAVE_INTERP_INTERN) | |
3dbbd0f5 GS |
2475 | PERL_CALLCONV void Perl_sys_intern_clear(pTHX); |
2476 | PERL_CALLCONV void Perl_sys_intern_init(pTHX); | |
2477 | #endif | |
cae16f1a | 2478 | |
4373e329 | 2479 | PERL_CALLCONV char * Perl_custom_op_name(pTHX_ const OP* op) |
53c1dcc0 | 2480 | __attribute__warn_unused_result__ |
abb2c242 | 2481 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2482 | |
4373e329 | 2483 | PERL_CALLCONV char * Perl_custom_op_desc(pTHX_ const OP* op) |
53c1dcc0 | 2484 | __attribute__warn_unused_result__ |
abb2c242 | 2485 | __attribute__nonnull__(pTHX_1); |
cae16f1a | 2486 | |
f54cb97a | 2487 | |
f8c7b90f | 2488 | #if defined(PERL_OLD_COPY_ON_WRITE) |
aec46f14 AL |
2489 | PERL_CALLCONV int Perl_sv_release_IVX(pTHX_ SV *sv) |
2490 | __attribute__nonnull__(pTHX_1); | |
2491 | ||
765f542d NC |
2492 | #endif |
2493 | ||
68795e93 NIS |
2494 | PERL_CALLCONV void Perl_sv_nosharing(pTHX_ SV *); |
2495 | PERL_CALLCONV void Perl_sv_nolocking(pTHX_ SV *); | |
2496 | PERL_CALLCONV void Perl_sv_nounlocking(pTHX_ SV *); | |
62375a60 | 2497 | PERL_CALLCONV int Perl_nothreadhook(pTHX); |
1d7c1841 | 2498 | |
1d7c1841 | 2499 | END_EXTERN_C |
1d7c1841 | 2500 | |
0cb96387 | 2501 | #if defined(PERL_IN_DOOP_C) || defined(PERL_DECL_PROT) |
f54cb97a | 2502 | STATIC I32 S_do_trans_simple(pTHX_ SV *sv) |
53c1dcc0 | 2503 | __attribute__warn_unused_result__ |
abb2c242 | 2504 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2505 | |
2506 | STATIC I32 S_do_trans_count(pTHX_ SV *sv) | |
53c1dcc0 | 2507 | __attribute__warn_unused_result__ |
abb2c242 | 2508 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2509 | |
2510 | STATIC I32 S_do_trans_complex(pTHX_ SV *sv) | |
53c1dcc0 | 2511 | __attribute__warn_unused_result__ |
abb2c242 | 2512 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2513 | |
2514 | STATIC I32 S_do_trans_simple_utf8(pTHX_ SV *sv) | |
53c1dcc0 | 2515 | __attribute__warn_unused_result__ |
abb2c242 | 2516 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2517 | |
2518 | STATIC I32 S_do_trans_count_utf8(pTHX_ SV *sv) | |
53c1dcc0 | 2519 | __attribute__warn_unused_result__ |
abb2c242 | 2520 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2521 | |
2522 | STATIC I32 S_do_trans_complex_utf8(pTHX_ SV *sv) | |
53c1dcc0 | 2523 | __attribute__warn_unused_result__ |
abb2c242 | 2524 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2525 | |
cea2e8a9 | 2526 | #endif |
1d7c1841 | 2527 | |
0cb96387 | 2528 | #if defined(PERL_IN_GV_C) || defined(PERL_DECL_PROT) |
53c1dcc0 AL |
2529 | STATIC void S_gv_init_sv(pTHX_ GV *gv, I32 sv_type) |
2530 | __attribute__nonnull__(pTHX_1); | |
2531 | ||
a3b680e6 | 2532 | STATIC void S_require_errno(pTHX_ GV *gv) |
abb2c242 | 2533 | __attribute__nonnull__(pTHX_1); |
a3b680e6 | 2534 | |
864dbfa3 | 2535 | #endif |
1d7c1841 | 2536 | |
0cb96387 | 2537 | #if defined(PERL_IN_HV_C) || defined(PERL_DECL_PROT) |
53c1dcc0 AL |
2538 | STATIC void S_hsplit(pTHX_ HV *hv) |
2539 | __attribute__nonnull__(pTHX_1); | |
2540 | ||
3abe233e AL |
2541 | STATIC void S_hfreeentries(pTHX_ HV *hv) |
2542 | __attribute__nonnull__(pTHX_1); | |
2543 | ||
1df70142 | 2544 | STATIC HE* S_new_he(pTHX) |
53c1dcc0 | 2545 | __attribute__malloc__ |
1df70142 AL |
2546 | __attribute__warn_unused_result__; |
2547 | ||
1df70142 | 2548 | STATIC HEK* S_save_hek_flags(pTHX_ const char *str, I32 len, U32 hash, int flags) |
53c1dcc0 | 2549 | __attribute__malloc__ |
1df70142 AL |
2550 | __attribute__warn_unused_result__ |
2551 | __attribute__nonnull__(pTHX_1); | |
2552 | ||
2553 | STATIC void S_hv_magic_check(pTHX_ HV *hv, bool *needs_copy, bool *needs_store) | |
2554 | __attribute__nonnull__(pTHX_1) | |
2555 | __attribute__nonnull__(pTHX_2) | |
2556 | __attribute__nonnull__(pTHX_3); | |
2557 | ||
97ddebaf | 2558 | STATIC void S_unshare_hek_or_pvn(pTHX_ const HEK* hek, const char* str, I32 len, U32 hash); |
6e838c70 | 2559 | STATIC HEK* S_share_hek_flags(pTHX_ const char* sv, I32 len, U32 hash, int flags) |
1b6737cc AL |
2560 | __attribute__warn_unused_result__ |
2561 | __attribute__nonnull__(pTHX_1); | |
1df70142 | 2562 | |
f54cb97a | 2563 | STATIC void S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const char *msg) |
1df70142 AL |
2564 | __attribute__noreturn__ |
2565 | __attribute__nonnull__(pTHX_2) | |
2566 | __attribute__nonnull__(pTHX_4); | |
f54cb97a | 2567 | |
53c1dcc0 AL |
2568 | STATIC struct xpvhv_aux* S_hv_auxinit(pTHX_ HV *hv) |
2569 | __attribute__nonnull__(pTHX_1); | |
2570 | ||
aec46f14 AL |
2571 | STATIC SV* S_hv_delete_common(pTHX_ HV* tb, SV* keysv, const char* key, STRLEN klen, int k_flags, I32 d_flags, U32 hash); |
2572 | STATIC HE* S_hv_fetch_common(pTHX_ HV* tb, SV* keysv, const char* key, STRLEN klen, int flags, int action, SV* val, U32 hash); | |
864dbfa3 | 2573 | #endif |
1d7c1841 | 2574 | |
0cb96387 | 2575 | #if defined(PERL_IN_MG_C) || defined(PERL_DECL_PROT) |
504618e9 AL |
2576 | STATIC void S_save_magic(pTHX_ I32 mgs_ix, SV *sv) |
2577 | __attribute__nonnull__(pTHX_2); | |
2578 | ||
2579 | STATIC int S_magic_methpack(pTHX_ SV *sv, const MAGIC *mg, const char *meth) | |
2580 | __attribute__nonnull__(pTHX_1) | |
2581 | __attribute__nonnull__(pTHX_2) | |
2582 | __attribute__nonnull__(pTHX_3); | |
2583 | ||
2584 | STATIC int S_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, const char *meth, I32 f, int n, SV *val) | |
2585 | __attribute__nonnull__(pTHX_1) | |
2586 | __attribute__nonnull__(pTHX_2) | |
2587 | __attribute__nonnull__(pTHX_3); | |
2588 | ||
8772537c AL |
2589 | STATIC void S_restore_magic(pTHX_ const void *p) |
2590 | __attribute__nonnull__(pTHX_1); | |
2591 | ||
2592 | STATIC void S_unwind_handler_stack(pTHX_ const void *p) | |
2593 | __attribute__nonnull__(pTHX_1); | |
2594 | ||
2595 | ||
864dbfa3 | 2596 | #endif |
1d7c1841 | 2597 | |
0cb96387 | 2598 | #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT) |
504618e9 AL |
2599 | PERL_CALLCONV OP* Perl_ck_anoncode(pTHX_ OP *o) |
2600 | __attribute__warn_unused_result__ | |
2601 | __attribute__nonnull__(pTHX_1); | |
2602 | ||
2603 | PERL_CALLCONV OP* Perl_ck_bitop(pTHX_ OP *o) | |
2604 | __attribute__warn_unused_result__ | |
2605 | __attribute__nonnull__(pTHX_1); | |
2606 | ||
2607 | PERL_CALLCONV OP* Perl_ck_concat(pTHX_ OP *o) | |
2608 | __attribute__warn_unused_result__ | |
2609 | __attribute__nonnull__(pTHX_1); | |
2610 | ||
2611 | PERL_CALLCONV OP* Perl_ck_defined(pTHX_ OP *o) | |
2612 | __attribute__warn_unused_result__ | |
2613 | __attribute__nonnull__(pTHX_1); | |
2614 | ||
2615 | PERL_CALLCONV OP* Perl_ck_delete(pTHX_ OP *o) | |
2616 | __attribute__warn_unused_result__ | |
2617 | __attribute__nonnull__(pTHX_1); | |
2618 | ||
2619 | PERL_CALLCONV OP* Perl_ck_die(pTHX_ OP *o) | |
2620 | __attribute__warn_unused_result__ | |
2621 | __attribute__nonnull__(pTHX_1); | |
2622 | ||
2623 | PERL_CALLCONV OP* Perl_ck_eof(pTHX_ OP *o) | |
2624 | __attribute__warn_unused_result__ | |
2625 | __attribute__nonnull__(pTHX_1); | |
2626 | ||
2627 | PERL_CALLCONV OP* Perl_ck_eval(pTHX_ OP *o) | |
2628 | __attribute__warn_unused_result__ | |
2629 | __attribute__nonnull__(pTHX_1); | |
2630 | ||
2631 | PERL_CALLCONV OP* Perl_ck_exec(pTHX_ OP *o) | |
2632 | __attribute__warn_unused_result__ | |
2633 | __attribute__nonnull__(pTHX_1); | |
2634 | ||
2635 | PERL_CALLCONV OP* Perl_ck_exists(pTHX_ OP *o) | |
2636 | __attribute__warn_unused_result__ | |
2637 | __attribute__nonnull__(pTHX_1); | |
2638 | ||
2639 | PERL_CALLCONV OP* Perl_ck_exit(pTHX_ OP *o) | |
2640 | __attribute__warn_unused_result__ | |
2641 | __attribute__nonnull__(pTHX_1); | |
2642 | ||
2643 | PERL_CALLCONV OP* Perl_ck_ftst(pTHX_ OP *o) | |
2644 | __attribute__warn_unused_result__ | |
2645 | __attribute__nonnull__(pTHX_1); | |
2646 | ||
2647 | PERL_CALLCONV OP* Perl_ck_fun(pTHX_ OP *o) | |
2648 | __attribute__warn_unused_result__ | |
2649 | __attribute__nonnull__(pTHX_1); | |
2650 | ||
2651 | PERL_CALLCONV OP* Perl_ck_glob(pTHX_ OP *o) | |
2652 | __attribute__warn_unused_result__ | |
2653 | __attribute__nonnull__(pTHX_1); | |
2654 | ||
2655 | PERL_CALLCONV OP* Perl_ck_grep(pTHX_ OP *o) | |
2656 | __attribute__warn_unused_result__ | |
2657 | __attribute__nonnull__(pTHX_1); | |
2658 | ||
2659 | PERL_CALLCONV OP* Perl_ck_index(pTHX_ OP *o) | |
2660 | __attribute__warn_unused_result__ | |
2661 | __attribute__nonnull__(pTHX_1); | |
2662 | ||
2663 | PERL_CALLCONV OP* Perl_ck_join(pTHX_ OP *o) | |
2664 | __attribute__warn_unused_result__ | |
2665 | __attribute__nonnull__(pTHX_1); | |
2666 | ||
2667 | PERL_CALLCONV OP* Perl_ck_lengthconst(pTHX_ OP *o) | |
2668 | __attribute__warn_unused_result__ | |
2669 | __attribute__nonnull__(pTHX_1); | |
2670 | ||
2671 | PERL_CALLCONV OP* Perl_ck_lfun(pTHX_ OP *o) | |
2672 | __attribute__warn_unused_result__ | |
2673 | __attribute__nonnull__(pTHX_1); | |
2674 | ||
2675 | PERL_CALLCONV OP* Perl_ck_listiob(pTHX_ OP *o) | |
2676 | __attribute__warn_unused_result__ | |
2677 | __attribute__nonnull__(pTHX_1); | |
2678 | ||
2679 | PERL_CALLCONV OP* Perl_ck_match(pTHX_ OP *o) | |
2680 | __attribute__warn_unused_result__ | |
2681 | __attribute__nonnull__(pTHX_1); | |
2682 | ||
2683 | PERL_CALLCONV OP* Perl_ck_method(pTHX_ OP *o) | |
2684 | __attribute__warn_unused_result__ | |
2685 | __attribute__nonnull__(pTHX_1); | |
2686 | ||
2687 | PERL_CALLCONV OP* Perl_ck_null(pTHX_ OP *o) | |
2688 | __attribute__warn_unused_result__ | |
2689 | __attribute__nonnull__(pTHX_1); | |
2690 | ||
2691 | PERL_CALLCONV OP* Perl_ck_open(pTHX_ OP *o) | |
2692 | __attribute__warn_unused_result__ | |
2693 | __attribute__nonnull__(pTHX_1); | |
2694 | ||
2695 | PERL_CALLCONV OP* Perl_ck_repeat(pTHX_ OP *o) | |
2696 | __attribute__warn_unused_result__ | |
2697 | __attribute__nonnull__(pTHX_1); | |
2698 | ||
2699 | PERL_CALLCONV OP* Perl_ck_require(pTHX_ OP *o) | |
2700 | __attribute__warn_unused_result__ | |
2701 | __attribute__nonnull__(pTHX_1); | |
2702 | ||
2703 | PERL_CALLCONV OP* Perl_ck_retarget(pTHX_ OP *o) | |
2704 | __attribute__warn_unused_result__ | |
2705 | __attribute__nonnull__(pTHX_1); | |
2706 | ||
2707 | PERL_CALLCONV OP* Perl_ck_return(pTHX_ OP *o) | |
2708 | __attribute__warn_unused_result__ | |
2709 | __attribute__nonnull__(pTHX_1); | |
2710 | ||
2711 | PERL_CALLCONV OP* Perl_ck_rfun(pTHX_ OP *o) | |
2712 | __attribute__warn_unused_result__ | |
2713 | __attribute__nonnull__(pTHX_1); | |
2714 | ||
2715 | PERL_CALLCONV OP* Perl_ck_rvconst(pTHX_ OP *o) | |
2716 | __attribute__warn_unused_result__ | |
2717 | __attribute__nonnull__(pTHX_1); | |
2718 | ||
2719 | PERL_CALLCONV OP* Perl_ck_sassign(pTHX_ OP *o) | |
2720 | __attribute__warn_unused_result__ | |
2721 | __attribute__nonnull__(pTHX_1); | |
2722 | ||
2723 | PERL_CALLCONV OP* Perl_ck_select(pTHX_ OP *o) | |
2724 | __attribute__warn_unused_result__ | |
2725 | __attribute__nonnull__(pTHX_1); | |
2726 | ||
2727 | PERL_CALLCONV OP* Perl_ck_shift(pTHX_ OP *o) | |
2728 | __attribute__warn_unused_result__ | |
2729 | __attribute__nonnull__(pTHX_1); | |
2730 | ||
2731 | PERL_CALLCONV OP* Perl_ck_sort(pTHX_ OP *o) | |
2732 | __attribute__warn_unused_result__ | |
2733 | __attribute__nonnull__(pTHX_1); | |
2734 | ||
2735 | PERL_CALLCONV OP* Perl_ck_spair(pTHX_ OP *o) | |
2736 | __attribute__warn_unused_result__ | |
2737 | __attribute__nonnull__(pTHX_1); | |
2738 | ||
2739 | PERL_CALLCONV OP* Perl_ck_split(pTHX_ OP *o) | |
2740 | __attribute__warn_unused_result__ | |
2741 | __attribute__nonnull__(pTHX_1); | |
2742 | ||
2743 | PERL_CALLCONV OP* Perl_ck_subr(pTHX_ OP *o) | |
2744 | __attribute__warn_unused_result__ | |
2745 | __attribute__nonnull__(pTHX_1); | |
2746 | ||
2747 | PERL_CALLCONV OP* Perl_ck_substr(pTHX_ OP *o) | |
2748 | __attribute__warn_unused_result__ | |
2749 | __attribute__nonnull__(pTHX_1); | |
2750 | ||
2751 | PERL_CALLCONV OP* Perl_ck_svconst(pTHX_ OP *o) | |
2752 | __attribute__warn_unused_result__ | |
2753 | __attribute__nonnull__(pTHX_1); | |
2754 | ||
2755 | PERL_CALLCONV OP* Perl_ck_trunc(pTHX_ OP *o) | |
2756 | __attribute__warn_unused_result__ | |
2757 | __attribute__nonnull__(pTHX_1); | |
2758 | ||
2759 | PERL_CALLCONV OP* Perl_ck_unpack(pTHX_ OP *o) | |
2760 | __attribute__warn_unused_result__ | |
2761 | __attribute__nonnull__(pTHX_1); | |
2762 | ||
2763 | STATIC bool S_is_handle_constructor(pTHX_ const OP *o, I32 numargs) | |
2764 | __attribute__warn_unused_result__ | |
2765 | __attribute__nonnull__(pTHX_1); | |
2766 | ||
2767 | STATIC I32 S_is_list_assignment(pTHX_ const OP *o) | |
2768 | __attribute__warn_unused_result__; | |
2769 | ||
2770 | STATIC void S_cop_free(pTHX_ COP *cop) | |
2771 | __attribute__nonnull__(pTHX_1); | |
2772 | ||
cea2e8a9 | 2773 | STATIC OP* S_modkids(pTHX_ OP *o, I32 type); |
504618e9 AL |
2774 | STATIC OP* S_scalarboolean(pTHX_ OP *o) |
2775 | __attribute__nonnull__(pTHX_1); | |
2776 | ||
2777 | STATIC OP* S_newDEFSVOP(pTHX) | |
2778 | __attribute__warn_unused_result__; | |
2779 | ||
2780 | STATIC OP* S_new_logop(pTHX_ I32 type, I32 flags, OP **firstp, OP **otherp) | |
2781 | __attribute__warn_unused_result__ | |
2782 | __attribute__nonnull__(pTHX_3) | |
2783 | __attribute__nonnull__(pTHX_4); | |
2784 | ||
2785 | STATIC void S_simplify_sort(pTHX_ OP *o) | |
2786 | __attribute__nonnull__(pTHX_1); | |
2787 | ||
aec46f14 AL |
2788 | STATIC const char* S_gv_ename(pTHX_ GV *gv) |
2789 | __attribute__nonnull__(pTHX_1); | |
2790 | ||
2791 | STATIC bool S_scalar_mod_type(pTHX_ const OP *o, I32 type) | |
2792 | __attribute__nonnull__(pTHX_1); | |
2793 | ||
2794 | STATIC OP * S_my_kid(pTHX_ OP *o, OP *attrs, OP **imopsp) | |
2795 | __attribute__nonnull__(pTHX_3); | |
2796 | ||
2797 | STATIC OP * S_dup_attrlist(pTHX_ OP *o) | |
2798 | __attribute__nonnull__(pTHX_1); | |
2799 | ||
2800 | STATIC void S_apply_attrs(pTHX_ HV *stash, SV *target, OP *attrs, bool for_my) | |
2801 | __attribute__nonnull__(pTHX_1) | |
2802 | __attribute__nonnull__(pTHX_2); | |
2803 | ||
2804 | STATIC void S_apply_attrs_my(pTHX_ HV *stash, OP *target, OP *attrs, OP **imopsp) | |
2805 | __attribute__nonnull__(pTHX_1) | |
2806 | __attribute__nonnull__(pTHX_2) | |
2807 | __attribute__nonnull__(pTHX_4); | |
2808 | ||
504618e9 AL |
2809 | STATIC void S_bad_type(pTHX_ I32 n, const char *t, const char *name, const OP *kid) |
2810 | __attribute__nonnull__(pTHX_2) | |
2811 | __attribute__nonnull__(pTHX_3) | |
2812 | __attribute__nonnull__(pTHX_4); | |
2813 | ||
2814 | STATIC void S_no_bareword_allowed(pTHX_ const OP *o) | |
2815 | __attribute__nonnull__(pTHX_1); | |
2816 | ||
2817 | STATIC OP* S_no_fh_allowed(pTHX_ OP *o) | |
2818 | __attribute__warn_unused_result__ | |
2819 | __attribute__nonnull__(pTHX_1); | |
2820 | ||
2821 | STATIC OP* S_too_few_arguments(pTHX_ OP *o, const char* name) | |
2822 | __attribute__warn_unused_result__ | |
2823 | __attribute__nonnull__(pTHX_1) | |
2824 | __attribute__nonnull__(pTHX_2); | |
2825 | ||
2826 | STATIC OP* S_too_many_arguments(pTHX_ OP *o, const char* name) | |
2827 | __attribute__warn_unused_result__ | |
2828 | __attribute__nonnull__(pTHX_1) | |
2829 | __attribute__nonnull__(pTHX_2); | |
2830 | ||
c7e45529 AE |
2831 | #endif |
2832 | #if defined(PL_OP_SLAB_ALLOC) | |
504618e9 | 2833 | PERL_CALLCONV void* Perl_Slab_Alloc(pTHX_ int m, size_t sz) |
aec46f14 | 2834 | __attribute__malloc__ |
504618e9 AL |
2835 | __attribute__warn_unused_result__; |
2836 | ||
aec46f14 AL |
2837 | PERL_CALLCONV void Perl_Slab_Free(pTHX_ void *op) |
2838 | __attribute__nonnull__(pTHX_1); | |
2839 | ||
864dbfa3 | 2840 | #endif |
1d7c1841 | 2841 | |
0cb96387 | 2842 | #if defined(PERL_IN_PERL_C) || defined(PERL_DECL_PROT) |
cea2e8a9 | 2843 | STATIC void S_find_beginning(pTHX); |
aec46f14 AL |
2844 | STATIC void S_forbid_setid(pTHX_ const char * s) |
2845 | __attribute__nonnull__(pTHX_1); | |
2846 | ||
dd374669 | 2847 | STATIC void S_incpush(pTHX_ const char *dir, bool addsubdirs, bool addoldvers, bool usesep, bool canrelocate); |
cea2e8a9 GS |
2848 | STATIC void S_init_interp(pTHX); |
2849 | STATIC void S_init_ids(pTHX); | |
cea2e8a9 GS |
2850 | STATIC void S_init_lexer(pTHX); |
2851 | STATIC void S_init_main_stash(pTHX); | |
2852 | STATIC void S_init_perllib(pTHX); | |
aec46f14 AL |
2853 | STATIC void S_init_postdump_symbols(pTHX_ int argc, char **argv, char **env) |
2854 | __attribute__nonnull__(pTHX_2); | |
2855 | ||
cea2e8a9 | 2856 | STATIC void S_init_predump_symbols(pTHX); |
f54cb97a | 2857 | STATIC void S_my_exit_jump(pTHX) |
abb2c242 | 2858 | __attribute__noreturn__; |
f54cb97a | 2859 | |
cea2e8a9 | 2860 | STATIC void S_nuke_stacks(pTHX); |
aec46f14 AL |
2861 | STATIC void S_open_script(pTHX_ const char *scriptname, bool dosearch, SV *sv) |
2862 | __attribute__nonnull__(pTHX_1) | |
2863 | __attribute__nonnull__(pTHX_3); | |
2864 | ||
2865 | STATIC void S_usage(pTHX_ const char *name) | |
2866 | __attribute__nonnull__(pTHX_1); | |
2867 | ||
2868 | STATIC void S_validate_suid(pTHX_ const char *validarg, const char *scriptname) | |
2869 | __attribute__nonnull__(pTHX_1) | |
2870 | __attribute__nonnull__(pTHX_2); | |
2871 | ||
cea2e8a9 GS |
2872 | # if defined(IAMSUID) |
2873 | STATIC int S_fd_on_nosuid_fs(pTHX_ int fd); | |
2874 | # endif | |
14dd3ad8 | 2875 | STATIC void* S_parse_body(pTHX_ char **env, XSINIT_t xsinit); |
f54cb97a | 2876 | STATIC void S_run_body(pTHX_ I32 oldscope) |
abb2c242 | 2877 | __attribute__noreturn__; |
f54cb97a | 2878 | |
aec46f14 AL |
2879 | STATIC void S_call_body(pTHX_ const OP *myop, bool is_eval) |
2880 | __attribute__nonnull__(pTHX_1); | |
2881 | ||
2882 | STATIC void* S_call_list_body(pTHX_ CV *cv) | |
2883 | __attribute__nonnull__(pTHX_1); | |
2884 | ||
864dbfa3 | 2885 | #endif |
1d7c1841 | 2886 | |
0cb96387 | 2887 | #if defined(PERL_IN_PP_C) || defined(PERL_DECL_PROT) |
901017d6 | 2888 | STATIC SV* S_refto(pTHX_ SV* sv) |
aec46f14 AL |
2889 | __attribute__warn_unused_result__ |
2890 | __attribute__nonnull__(pTHX_1); | |
901017d6 | 2891 | |
a6ec74c1 JH |
2892 | #endif |
2893 | ||
2894 | #if defined(PERL_IN_PP_PACK_C) || defined(PERL_DECL_PROT) | |
aec46f14 AL |
2895 | STATIC I32 S_unpack_rec(pTHX_ struct tempsym* symptr, const char *s, const char *strbeg, const char *strend, const char **new_s) |
2896 | __attribute__nonnull__(pTHX_1) | |
2897 | __attribute__nonnull__(pTHX_2) | |
2898 | __attribute__nonnull__(pTHX_3) | |
2899 | __attribute__nonnull__(pTHX_4); | |
2900 | ||
2901 | STATIC SV ** S_pack_rec(pTHX_ SV *cat, struct tempsym* symptr, SV **beglist, SV **endlist) | |
2902 | __attribute__nonnull__(pTHX_1) | |
2903 | __attribute__nonnull__(pTHX_2) | |
2904 | __attribute__nonnull__(pTHX_3) | |
2905 | __attribute__nonnull__(pTHX_4); | |
2906 | ||
4373e329 | 2907 | STATIC SV* S_mul128(pTHX_ SV *sv, U8 m) |
abb2c242 | 2908 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2909 | |
4373e329 | 2910 | STATIC I32 S_measure_struct(pTHX_ struct tempsym* symptr) |
abb2c242 | 2911 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2912 | |
4373e329 | 2913 | STATIC bool S_next_symbol(pTHX_ struct tempsym* symptr) |
abb2c242 | 2914 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2915 | |
4373e329 | 2916 | STATIC SV* S_is_an_int(pTHX_ const char *s, STRLEN l) |
1df70142 | 2917 | __attribute__warn_unused_result__ |
abb2c242 | 2918 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2919 | |
4373e329 | 2920 | STATIC int S_div128(pTHX_ SV *pnum, bool *done) |
abb2c242 JH |
2921 | __attribute__nonnull__(pTHX_1) |
2922 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2923 | |
4373e329 | 2924 | STATIC const char * S_group_end(pTHX_ const char *pat, const char *patend, char ender) |
abb2c242 JH |
2925 | __attribute__nonnull__(pTHX_1) |
2926 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2927 | |
4373e329 | 2928 | STATIC const char * S_get_num(pTHX_ const char *ppat, I32 *lenptr) |
255164ba | 2929 | __attribute__warn_unused_result__ |
abb2c242 JH |
2930 | __attribute__nonnull__(pTHX_1) |
2931 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2932 | |
aec46f14 AL |
2933 | STATIC bool S_need_utf8(const char *pat, const char *patend) |
2934 | __attribute__nonnull__(1) | |
2935 | __attribute__nonnull__(2); | |
2936 | ||
2937 | STATIC char S_first_symbol(const char *pat, const char *patend) | |
2938 | __attribute__nonnull__(1) | |
2939 | __attribute__nonnull__(2); | |
2940 | ||
864dbfa3 | 2941 | #endif |
1d7c1841 | 2942 | |
0cb96387 | 2943 | #if defined(PERL_IN_PP_CTL_C) || defined(PERL_DECL_PROT) |
901017d6 AL |
2944 | STATIC OP* S_docatch(pTHX_ OP *o) |
2945 | __attribute__warn_unused_result__; | |
2946 | ||
2947 | STATIC void S_docatch_body(pTHX); | |
2948 | STATIC OP* S_dofindlabel(pTHX_ OP *o, const char *label, OP **opstack, OP **oplimit) | |
aec46f14 AL |
2949 | __attribute__warn_unused_result__ |
2950 | __attribute__nonnull__(pTHX_1) | |
2951 | __attribute__nonnull__(pTHX_2) | |
2952 | __attribute__nonnull__(pTHX_3) | |
2953 | __attribute__nonnull__(pTHX_4); | |
901017d6 AL |
2954 | |
2955 | STATIC OP* S_doparseform(pTHX_ SV *sv) | |
aec46f14 AL |
2956 | __attribute__warn_unused_result__ |
2957 | __attribute__nonnull__(pTHX_1); | |
901017d6 AL |
2958 | |
2959 | STATIC bool S_num_overflow(NV value, I32 fldsize, I32 frcsize) | |
2960 | __attribute__warn_unused_result__; | |
2961 | ||
2962 | STATIC I32 S_dopoptoeval(pTHX_ I32 startingblock) | |
2963 | __attribute__warn_unused_result__; | |
2964 | ||
4373e329 | 2965 | STATIC I32 S_dopoptolabel(pTHX_ const char *label) |
901017d6 | 2966 | __attribute__warn_unused_result__ |
abb2c242 | 2967 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2968 | |
901017d6 AL |
2969 | STATIC I32 S_dopoptoloop(pTHX_ I32 startingblock) |
2970 | __attribute__warn_unused_result__; | |
2971 | ||
2972 | STATIC I32 S_dopoptosub(pTHX_ I32 startingblock) | |
2973 | __attribute__warn_unused_result__; | |
2974 | ||
2975 | STATIC I32 S_dopoptosub_at(pTHX_ const PERL_CONTEXT* cxstk, I32 startingblock) | |
aec46f14 AL |
2976 | __attribute__warn_unused_result__ |
2977 | __attribute__nonnull__(pTHX_1); | |
901017d6 | 2978 | |
46c461b5 AL |
2979 | STATIC void S_save_lines(pTHX_ AV *array, SV *sv) |
2980 | __attribute__nonnull__(pTHX_2); | |
2981 | ||
901017d6 AL |
2982 | STATIC OP* S_doeval(pTHX_ int gimme, OP** startop, CV* outside, U32 seq) |
2983 | __attribute__warn_unused_result__; | |
2984 | ||
2985 | STATIC PerlIO * S_doopen_pm(pTHX_ const char *name, const char *mode) | |
aec46f14 AL |
2986 | __attribute__warn_unused_result__ |
2987 | __attribute__nonnull__(pTHX_1) | |
2988 | __attribute__nonnull__(pTHX_2); | |
901017d6 | 2989 | |
4373e329 | 2990 | STATIC bool S_path_is_absolute(pTHX_ const char *name) |
901017d6 | 2991 | __attribute__warn_unused_result__ |
abb2c242 | 2992 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2993 | |
864dbfa3 | 2994 | #endif |
1d7c1841 | 2995 | |
0cb96387 | 2996 | #if defined(PERL_IN_PP_HOT_C) || defined(PERL_DECL_PROT) |
a28509cc AL |
2997 | STATIC void S_do_oddball(pTHX_ HV *hash, SV **relem, SV **firstrelem) |
2998 | __attribute__nonnull__(pTHX_1) | |
2999 | __attribute__nonnull__(pTHX_2) | |
3000 | __attribute__nonnull__(pTHX_3); | |
3001 | ||
3002 | STATIC CV* S_get_db_sub(pTHX_ SV **svp, CV *cv) | |
3003 | __attribute__warn_unused_result__ | |
3004 | __attribute__nonnull__(pTHX_1) | |
3005 | __attribute__nonnull__(pTHX_2); | |
3006 | ||
3007 | STATIC SV* S_method_common(pTHX_ SV* meth, U32* hashp) | |
3008 | __attribute__warn_unused_result__ | |
3009 | __attribute__nonnull__(pTHX_1); | |
3010 | ||
864dbfa3 | 3011 | #endif |
1d7c1841 | 3012 | |
0cb96387 | 3013 | #if defined(PERL_IN_PP_SYS_C) || defined(PERL_DECL_PROT) |
b464bac0 AL |
3014 | STATIC OP* S_doform(pTHX_ CV *cv, GV *gv, OP *retop) |
3015 | __attribute__nonnull__(pTHX_1) | |
3016 | __attribute__nonnull__(pTHX_2) | |
3017 | __attribute__nonnull__(pTHX_3); | |
3018 | ||
3019 | STATIC int S_emulate_eaccess(pTHX_ const char* path, Mode_t mode) | |
b464bac0 AL |
3020 | __attribute__nonnull__(pTHX_1); |
3021 | ||
cea2e8a9 | 3022 | # if !defined(HAS_MKDIR) || !defined(HAS_RMDIR) |
b464bac0 AL |
3023 | STATIC int S_dooneliner(pTHX_ const char *cmd, const char *filename) |
3024 | __attribute__warn_unused_result__ | |
3025 | __attribute__nonnull__(pTHX_1) | |
3026 | __attribute__nonnull__(pTHX_2); | |
3027 | ||
cea2e8a9 | 3028 | # endif |
864dbfa3 | 3029 | #endif |
1d7c1841 | 3030 | |
0cb96387 | 3031 | #if defined(PERL_IN_REGCOMP_C) || defined(PERL_DECL_PROT) |
a28509cc AL |
3032 | STATIC regnode* S_reg(pTHX_ struct RExC_state_t *state, I32 paren, I32 *flagp) |
3033 | __attribute__nonnull__(pTHX_1) | |
3034 | __attribute__nonnull__(pTHX_3); | |
3035 | ||
3036 | STATIC regnode* S_reganode(pTHX_ struct RExC_state_t *state, U8 op, U32 arg) | |
3037 | __attribute__nonnull__(pTHX_1); | |
3038 | ||
3039 | STATIC regnode* S_regatom(pTHX_ struct RExC_state_t *state, I32 *flagp) | |
3040 | __attribute__nonnull__(pTHX_1) | |
3041 | __attribute__nonnull__(pTHX_2); | |
3042 | ||
3043 | STATIC regnode* S_regbranch(pTHX_ struct RExC_state_t *state, I32 *flagp, I32 first) | |
3044 | __attribute__nonnull__(pTHX_1) | |
3045 | __attribute__nonnull__(pTHX_2); | |
3046 | ||
3047 | STATIC void S_reguni(pTHX_ const struct RExC_state_t *state, UV uv, char *s, STRLEN *lenp) | |
3048 | __attribute__nonnull__(pTHX_1) | |
3049 | __attribute__nonnull__(pTHX_3) | |
3050 | __attribute__nonnull__(pTHX_4); | |
3051 | ||
3052 | STATIC regnode* S_regclass(pTHX_ struct RExC_state_t *state) | |
3053 | __attribute__nonnull__(pTHX_1); | |
3054 | ||
a3b680e6 | 3055 | STATIC I32 S_regcurly(pTHX_ const char *) |
abb2c242 JH |
3056 | __attribute__warn_unused_result__ |
3057 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 | 3058 | |
a28509cc AL |
3059 | STATIC regnode* S_reg_node(pTHX_ struct RExC_state_t *state, U8 op) |
3060 | __attribute__nonnull__(pTHX_1); | |
3061 | ||
3062 | STATIC regnode* S_regpiece(pTHX_ struct RExC_state_t *state, I32 *flagp) | |
3063 | __attribute__nonnull__(pTHX_1) | |
3064 | __attribute__nonnull__(pTHX_2); | |
3065 | ||
3066 | STATIC void S_reginsert(pTHX_ struct RExC_state_t *state, U8 op, regnode *opnd) | |
3067 | __attribute__nonnull__(pTHX_1) | |
3068 | __attribute__nonnull__(pTHX_3); | |
3069 | ||
3070 | STATIC void S_regoptail(pTHX_ struct RExC_state_t *state, regnode *p, regnode *val) | |
3071 | __attribute__nonnull__(pTHX_1) | |
3072 | __attribute__nonnull__(pTHX_2) | |
3073 | __attribute__nonnull__(pTHX_3); | |
3074 | ||
3075 | STATIC void S_regtail(pTHX_ struct RExC_state_t *state, regnode *p, regnode *val) | |
3076 | __attribute__nonnull__(pTHX_1) | |
3077 | __attribute__nonnull__(pTHX_2) | |
3078 | __attribute__nonnull__(pTHX_3); | |
3079 | ||
3080 | STATIC char* S_regwhite(pTHX_ char *p, const char *e) | |
3081 | __attribute__nonnull__(pTHX_1) | |
3082 | __attribute__nonnull__(pTHX_2); | |
3083 | ||
3084 | STATIC char* S_nextchar(pTHX_ struct RExC_state_t*) | |
3085 | __attribute__nonnull__(pTHX_1); | |
3086 | ||
8fa7f367 | 3087 | # ifdef DEBUGGING |
aec46f14 AL |
3088 | STATIC regnode* S_dumpuntil(pTHX_ regnode *start, regnode *node, regnode *last, SV* sv, I32 l) |
3089 | __attribute__nonnull__(pTHX_1) | |
3090 | __attribute__nonnull__(pTHX_2) | |
3091 | __attribute__nonnull__(pTHX_4); | |
3092 | ||
504618e9 AL |
3093 | STATIC void S_put_byte(pTHX_ SV* sv, int c) |
3094 | __attribute__nonnull__(pTHX_1); | |
3095 | ||
8fa7f367 | 3096 | # endif |
aec46f14 AL |
3097 | STATIC void S_scan_commit(pTHX_ struct RExC_state_t*, struct scan_data_t *data) |
3098 | __attribute__nonnull__(pTHX_1) | |
3099 | __attribute__nonnull__(pTHX_2); | |
3100 | ||
a28509cc AL |
3101 | STATIC void S_cl_anything(pTHX_ struct RExC_state_t*, struct regnode_charclass_class *cl) |
3102 | __attribute__nonnull__(pTHX_1) | |
3103 | __attribute__nonnull__(pTHX_2); | |
3104 | ||
3105 | STATIC int S_cl_is_anything(pTHX_ const struct regnode_charclass_class *cl) | |
3106 | __attribute__nonnull__(pTHX_1); | |
3107 | ||
3108 | STATIC void S_cl_init(pTHX_ struct RExC_state_t*, struct regnode_charclass_class *cl) | |
3109 | __attribute__nonnull__(pTHX_1) | |
3110 | __attribute__nonnull__(pTHX_2); | |
3111 | ||
3112 | STATIC void S_cl_init_zero(pTHX_ struct RExC_state_t*, struct regnode_charclass_class *cl) | |
3113 | __attribute__nonnull__(pTHX_1) | |
3114 | __attribute__nonnull__(pTHX_2); | |
3115 | ||
3116 | STATIC void S_cl_and(pTHX_ struct regnode_charclass_class *cl, const struct regnode_charclass_class *and_with) | |
46c461b5 AL |
3117 | __attribute__nonnull__(pTHX_1) |
3118 | __attribute__nonnull__(pTHX_2); | |
a28509cc AL |
3119 | |
3120 | STATIC void S_cl_or(pTHX_ struct RExC_state_t*, struct regnode_charclass_class *cl, const struct regnode_charclass_class *or_with) | |
3121 | __attribute__nonnull__(pTHX_1) | |
3122 | __attribute__nonnull__(pTHX_2) | |
3123 | __attribute__nonnull__(pTHX_3); | |
3124 | ||
aec46f14 AL |
3125 | STATIC I32 S_study_chunk(pTHX_ struct RExC_state_t* pRExC_state, regnode **scanp, I32 *deltap, regnode *last, struct scan_data_t *data, U32 flags, U32 depth) |
3126 | __attribute__nonnull__(pTHX_1) | |
3127 | __attribute__nonnull__(pTHX_2) | |
3128 | __attribute__nonnull__(pTHX_3) | |
9a957fbc | 3129 | __attribute__nonnull__(pTHX_4); |
aec46f14 AL |
3130 | |
3131 | STATIC I32 S_add_data(pTHX_ struct RExC_state_t*, I32 n, const char *s) | |
3132 | __attribute__nonnull__(pTHX_1) | |
3133 | __attribute__nonnull__(pTHX_3); | |
3134 | ||
f54cb97a | 3135 | STATIC void S_re_croak2(pTHX_ const char* pat1, const char* pat2, ...) |
46c461b5 AL |
3136 | __attribute__noreturn__ |
3137 | __attribute__nonnull__(pTHX_1) | |
3138 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 3139 | |
aec46f14 AL |
3140 | STATIC I32 S_regpposixcc(pTHX_ struct RExC_state_t*, I32 value) |
3141 | __attribute__nonnull__(pTHX_1); | |
3142 | ||
3143 | STATIC void S_checkposixcc(pTHX_ struct RExC_state_t*) | |
3144 | __attribute__nonnull__(pTHX_1); | |
3145 | ||
3146 | ||
3147 | STATIC I32 S_make_trie(pTHX_ struct RExC_state_t*, regnode *startbranch, regnode *first, regnode *last, regnode *tail, U32 flags) | |
3148 | __attribute__nonnull__(pTHX_1) | |
3149 | __attribute__nonnull__(pTHX_2) | |
3150 | __attribute__nonnull__(pTHX_3) | |
3151 | __attribute__nonnull__(pTHX_4) | |
3152 | __attribute__nonnull__(pTHX_5); | |
a3621e74 | 3153 | |
864dbfa3 | 3154 | #endif |
1d7c1841 | 3155 | |
0cb96387 | 3156 | #if defined(PERL_IN_REGEXEC_C) || defined(PERL_DECL_PROT) |
a3b680e6 | 3157 | STATIC I32 S_regmatch(pTHX_ regnode *prog) |
abb2c242 JH |
3158 | __attribute__warn_unused_result__ |
3159 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
3160 | |
3161 | STATIC I32 S_regrepeat(pTHX_ const regnode *p, I32 max) | |
abb2c242 JH |
3162 | __attribute__warn_unused_result__ |
3163 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
3164 | |
3165 | STATIC I32 S_regrepeat_hard(pTHX_ regnode *p, I32 max, I32 *lp) | |
abb2c242 JH |
3166 | __attribute__warn_unused_result__ |
3167 | __attribute__nonnull__(pTHX_1) | |
3168 | __attribute__nonnull__(pTHX_3); | |
a3b680e6 AL |
3169 | |
3170 | STATIC I32 S_regtry(pTHX_ regexp *prog, char *startpos) | |
46c461b5 AL |
3171 | __attribute__warn_unused_result__ |
3172 | __attribute__nonnull__(pTHX_1) | |
3173 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 AL |
3174 | |
3175 | STATIC bool S_reginclass(pTHX_ const regnode *n, const U8 *p, STRLEN *lenp, bool do_utf8sv_is_utf8) | |
abb2c242 JH |
3176 | __attribute__warn_unused_result__ |
3177 | __attribute__nonnull__(pTHX_1) | |
3178 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 | 3179 | |
cea2e8a9 GS |
3180 | STATIC CHECKPOINT S_regcppush(pTHX_ I32 parenfloor); |
3181 | STATIC char* S_regcppop(pTHX); | |
3182 | STATIC char* S_regcp_set_to(pTHX_ I32 ss); | |
46c461b5 AL |
3183 | STATIC void S_cache_re(pTHX_ regexp *prog) |
3184 | __attribute__nonnull__(pTHX_1); | |
3185 | ||
a3b680e6 | 3186 | STATIC U8* S_reghop(pTHX_ U8 *pos, I32 off) |
aec46f14 AL |
3187 | __attribute__warn_unused_result__ |
3188 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
3189 | |
3190 | STATIC U8* S_reghop3(pTHX_ U8 *pos, I32 off, U8 *lim) | |
aec46f14 AL |
3191 | __attribute__warn_unused_result__ |
3192 | __attribute__nonnull__(pTHX_1) | |
3193 | __attribute__nonnull__(pTHX_3); | |
a3b680e6 AL |
3194 | |
3195 | STATIC U8* S_reghopmaybe(pTHX_ U8 *pos, I32 off) | |
aec46f14 AL |
3196 | __attribute__warn_unused_result__ |
3197 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
3198 | |
3199 | STATIC U8* S_reghopmaybe3(pTHX_ U8 *pos, I32 off, U8 *lim) | |
abb2c242 JH |
3200 | __attribute__warn_unused_result__ |
3201 | __attribute__nonnull__(pTHX_1) | |
3202 | __attribute__nonnull__(pTHX_3); | |
a3b680e6 AL |
3203 | |
3204 | STATIC char* S_find_byclass(pTHX_ regexp * prog, regnode *c, char *s, const char *strend, I32 norun) | |
abb2c242 JH |
3205 | __attribute__warn_unused_result__ |
3206 | __attribute__nonnull__(pTHX_1) | |
3207 | __attribute__nonnull__(pTHX_2) | |
3208 | __attribute__nonnull__(pTHX_3) | |
3209 | __attribute__nonnull__(pTHX_4); | |
a3b680e6 AL |
3210 | |
3211 | STATIC void S_to_utf8_substr(pTHX_ regexp * prog) | |
abb2c242 | 3212 | __attribute__nonnull__(pTHX_1); |
a3b680e6 AL |
3213 | |
3214 | STATIC void S_to_byte_substr(pTHX_ regexp * prog) | |
abb2c242 | 3215 | __attribute__nonnull__(pTHX_1); |
a3b680e6 | 3216 | |
864dbfa3 | 3217 | #endif |
1d7c1841 | 3218 | |
bd16a5f0 | 3219 | #if defined(PERL_IN_DUMP_C) || defined(PERL_DECL_PROT) |
53a2efa2 | 3220 | STATIC CV* S_deb_curcv(pTHX_ I32 ix); |
46c461b5 AL |
3221 | STATIC void S_debprof(pTHX_ const OP *o) |
3222 | __attribute__nonnull__(pTHX_1); | |
3223 | ||
864dbfa3 | 3224 | #endif |
1d7c1841 | 3225 | |
0cb96387 | 3226 | #if defined(PERL_IN_SCOPE_C) || defined(PERL_DECL_PROT) |
46c461b5 AL |
3227 | STATIC SV* S_save_scalar_at(pTHX_ SV **sptr) |
3228 | __attribute__nonnull__(pTHX_1); | |
3229 | ||
864dbfa3 | 3230 | #endif |
1d7c1841 | 3231 | |
e15faf7d NC |
3232 | #if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT) |
3233 | PERL_CALLCONV void Perl_sv_add_backref(pTHX_ SV *tsv, SV *sv) | |
3234 | __attribute__nonnull__(pTHX_1) | |
3235 | __attribute__nonnull__(pTHX_2); | |
3236 | ||
3237 | #endif | |
3238 | ||
0cb96387 | 3239 | #if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT) |
aec46f14 AL |
3240 | STATIC char * S_uiv_2buf(char *buf, IV iv, UV uv, int is_uv, char **peob) |
3241 | __attribute__warn_unused_result__ | |
3242 | __attribute__nonnull__(1) | |
3243 | __attribute__nonnull__(5); | |
3244 | ||
1b6737cc AL |
3245 | STATIC IV S_asIV(pTHX_ SV* sv) |
3246 | __attribute__warn_unused_result__ | |
3247 | __attribute__nonnull__(pTHX_1); | |
3248 | ||
3249 | STATIC UV S_asUV(pTHX_ SV* sv) | |
3250 | __attribute__warn_unused_result__ | |
3251 | __attribute__nonnull__(pTHX_1); | |
3252 | ||
3253 | STATIC void S_sv_unglob(pTHX_ SV* sv) | |
3254 | __attribute__nonnull__(pTHX_1); | |
3255 | ||
3256 | STATIC void S_not_a_number(pTHX_ SV *sv) | |
3257 | __attribute__nonnull__(pTHX_1); | |
3258 | ||
3259 | STATIC I32 S_visit(pTHX_ SVFUNC_t f, U32 flags, U32 mask) | |
3260 | __attribute__nonnull__(pTHX_1); | |
3261 | ||
e15faf7d | 3262 | STATIC void S_sv_del_backref(pTHX_ SV *target, SV *ref) |
1b6737cc AL |
3263 | __attribute__nonnull__(pTHX_1) |
3264 | __attribute__nonnull__(pTHX_2); | |
3265 | ||
be2ef075 NC |
3266 | STATIC SV * S_varname(pTHX_ GV *gv, const char gvtype, PADOFFSET targ, SV *keyname, I32 aindex, int subscript_type) |
3267 | __attribute__warn_unused_result__; | |
a3b680e6 | 3268 | |
8fa7f367 | 3269 | # ifdef DEBUGGING |
46c461b5 AL |
3270 | STATIC void S_del_sv(pTHX_ SV *p) |
3271 | __attribute__nonnull__(pTHX_1); | |
3272 | ||
cea2e8a9 | 3273 | # endif |
28e5dec8 | 3274 | # if !defined(NV_PRESERVES_UV) |
46c461b5 AL |
3275 | STATIC int S_sv_2iuv_non_preserve(pTHX_ SV *sv, I32 numtype) |
3276 | __attribute__nonnull__(pTHX_1); | |
3277 | ||
28e5dec8 | 3278 | # endif |
a3b680e6 | 3279 | STATIC I32 S_expect_number(pTHX_ char** pattern) |
abb2c242 JH |
3280 | __attribute__warn_unused_result__ |
3281 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 | 3282 | |
9cbac4c7 | 3283 | # |
245d4a47 | 3284 | STATIC bool S_utf8_mg_pos(pTHX_ SV *sv, MAGIC **mgp, STRLEN **cachep, I32 i, I32 *offsetp, I32 uoff, const U8 **sp, const U8 *start, const U8 *send) |
abb2c242 JH |
3285 | __attribute__nonnull__(pTHX_1) |
3286 | __attribute__nonnull__(pTHX_2) | |
3287 | __attribute__nonnull__(pTHX_3) | |
3288 | __attribute__nonnull__(pTHX_5) | |
3289 | __attribute__nonnull__(pTHX_7) | |
3290 | __attribute__nonnull__(pTHX_8) | |
3291 | __attribute__nonnull__(pTHX_9); | |
a3b680e6 | 3292 | |
245d4a47 | 3293 | STATIC bool S_utf8_mg_pos_init(pTHX_ SV *sv, MAGIC **mgp, STRLEN **cachep, I32 i, I32 offsetp, const U8 *s, const U8 *start) |
abb2c242 JH |
3294 | __attribute__nonnull__(pTHX_1) |
3295 | __attribute__nonnull__(pTHX_2) | |
3296 | __attribute__nonnull__(pTHX_3) | |
3297 | __attribute__nonnull__(pTHX_6) | |
3298 | __attribute__nonnull__(pTHX_7); | |
a3b680e6 | 3299 | |
f8c7b90f | 3300 | #if defined(PERL_OLD_COPY_ON_WRITE) |
aec46f14 AL |
3301 | STATIC void S_sv_release_COW(pTHX_ SV *sv, const char *pvx, STRLEN len, SV *after) |
3302 | __attribute__nonnull__(pTHX_1) | |
3303 | __attribute__nonnull__(pTHX_2) | |
3304 | __attribute__nonnull__(pTHX_4); | |
3305 | ||
765f542d | 3306 | #endif |
cea2e8a9 | 3307 | #endif |
1d7c1841 | 3308 | |
0cb96387 | 3309 | #if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT) |
cea2e8a9 GS |
3310 | STATIC void S_check_uni(pTHX); |
3311 | STATIC void S_force_next(pTHX_ I32 type); | |
46c461b5 AL |
3312 | STATIC char* S_force_version(pTHX_ char *start, int guessing) |
3313 | __attribute__nonnull__(pTHX_1); | |
3314 | ||
3315 | STATIC char* S_force_word(pTHX_ char *start, int token, int check_keyword, int allow_pack, int allow_tick) | |
3316 | __attribute__nonnull__(pTHX_1); | |
3317 | ||
3318 | STATIC SV* S_tokeq(pTHX_ SV *sv) | |
3319 | __attribute__nonnull__(pTHX_1); | |
3320 | ||
8eceec63 | 3321 | STATIC int S_pending_ident(pTHX); |
f54cb97a | 3322 | STATIC char* S_scan_const(pTHX_ char *start) |
46c461b5 | 3323 | __attribute__warn_unused_result__ |
abb2c242 | 3324 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
3325 | |
3326 | STATIC char* S_scan_formline(pTHX_ char *s) | |
46c461b5 | 3327 | __attribute__warn_unused_result__ |
abb2c242 | 3328 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
3329 | |
3330 | STATIC char* S_scan_heredoc(pTHX_ char *s) | |
46c461b5 | 3331 | __attribute__warn_unused_result__ |
abb2c242 | 3332 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
3333 | |
3334 | STATIC char* S_scan_ident(pTHX_ char *s, const char *send, char *dest, STRLEN destlen, I32 ck_uni) | |
abb2c242 JH |
3335 | __attribute__nonnull__(pTHX_1) |
3336 | __attribute__nonnull__(pTHX_2) | |
3337 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 3338 | |
46c461b5 AL |
3339 | STATIC char* S_scan_inputsymbol(pTHX_ char *start) |
3340 | __attribute__warn_unused_result__ | |
3341 | __attribute__nonnull__(pTHX_1); | |
3342 | ||
3343 | STATIC char* S_scan_pat(pTHX_ char *start, I32 type) | |
3344 | __attribute__warn_unused_result__ | |
3345 | __attribute__nonnull__(pTHX_1); | |
3346 | ||
3347 | STATIC char* S_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims) | |
3348 | __attribute__warn_unused_result__ | |
3349 | __attribute__nonnull__(pTHX_1); | |
3350 | ||
3351 | STATIC char* S_scan_subst(pTHX_ char *start) | |
3352 | __attribute__warn_unused_result__ | |
3353 | __attribute__nonnull__(pTHX_1); | |
3354 | ||
3355 | STATIC char* S_scan_trans(pTHX_ char *start) | |
3356 | __attribute__warn_unused_result__ | |
3357 | __attribute__nonnull__(pTHX_1); | |
3358 | ||
3359 | STATIC char* S_scan_word(pTHX_ char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp) | |
3360 | __attribute__nonnull__(pTHX_1) | |
3361 | __attribute__nonnull__(pTHX_2) | |
3362 | __attribute__nonnull__(pTHX_5); | |
3363 | ||
3364 | STATIC char* S_skipspace(pTHX_ char *s) | |
3365 | __attribute__warn_unused_result__ | |
3366 | __attribute__nonnull__(pTHX_1); | |
3367 | ||
3368 | STATIC char* S_swallow_bom(pTHX_ U8 *s) | |
3369 | __attribute__warn_unused_result__ | |
3370 | __attribute__nonnull__(pTHX_1); | |
3371 | ||
f54cb97a | 3372 | STATIC void S_checkcomma(pTHX_ char *s, const char *name, const char *what) |
abb2c242 JH |
3373 | __attribute__nonnull__(pTHX_1) |
3374 | __attribute__nonnull__(pTHX_2) | |
3375 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 3376 | |
46c461b5 AL |
3377 | STATIC void S_force_ident(pTHX_ const char *s, int kind) |
3378 | __attribute__nonnull__(pTHX_1); | |
3379 | ||
3380 | STATIC void S_incline(pTHX_ char *s) | |
3381 | __attribute__nonnull__(pTHX_1); | |
3382 | ||
3383 | STATIC int S_intuit_method(pTHX_ char *s, GV *gv) | |
3384 | __attribute__nonnull__(pTHX_1) | |
3385 | __attribute__nonnull__(pTHX_2); | |
3386 | ||
3387 | STATIC int S_intuit_more(pTHX_ char *s) | |
3388 | __attribute__nonnull__(pTHX_1); | |
3389 | ||
3390 | STATIC I32 S_lop(pTHX_ I32 f, int x, char *s) | |
3391 | __attribute__nonnull__(pTHX_3); | |
3392 | ||
f54cb97a | 3393 | STATIC void S_missingterm(pTHX_ char *s) |
abb2c242 | 3394 | __attribute__noreturn__; |
f54cb97a | 3395 | |
46c461b5 AL |
3396 | STATIC void S_no_op(pTHX_ const char *what, char *s) |
3397 | __attribute__nonnull__(pTHX_1); | |
3398 | ||
cea2e8a9 | 3399 | STATIC void S_set_csh(pTHX); |
46c461b5 AL |
3400 | STATIC I32 S_sublex_done(pTHX) |
3401 | __attribute__warn_unused_result__; | |
3402 | ||
3403 | STATIC I32 S_sublex_push(pTHX) | |
3404 | __attribute__warn_unused_result__; | |
3405 | ||
3406 | STATIC I32 S_sublex_start(pTHX) | |
3407 | __attribute__warn_unused_result__; | |
3408 | ||
255164ba DM |
3409 | STATIC char * S_filter_gets(pTHX_ SV *sv, PerlIO *fp, STRLEN append) |
3410 | __attribute__warn_unused_result__ | |
3411 | __attribute__nonnull__(pTHX_1) | |
3412 | __attribute__nonnull__(pTHX_2); | |
3413 | ||
3414 | STATIC HV * S_find_in_my_stash(pTHX_ const char *pkgname, I32 len) | |
3415 | __attribute__warn_unused_result__ | |
3416 | __attribute__nonnull__(pTHX_1); | |
3417 | ||
aec46f14 AL |
3418 | STATIC SV* S_new_constant(pTHX_ const char *s, STRLEN len, const char *key, SV *sv, SV *pv, const char *type) |
3419 | __attribute__nonnull__(pTHX_3) | |
3420 | __attribute__nonnull__(pTHX_4); | |
3421 | ||
8fa7f367 | 3422 | # if defined(DEBUGGING) |
46c461b5 AL |
3423 | STATIC int S_tokereport(pTHX_ const char *s, I32 rv) |
3424 | __attribute__nonnull__(pTHX_1); | |
3425 | ||
8fa7f367 | 3426 | # endif |
cea2e8a9 GS |
3427 | STATIC int S_ao(pTHX_ int toketype); |
3428 | STATIC void S_depcom(pTHX); | |
bfed75c6 | 3429 | STATIC const char* S_incl_perldb(pTHX); |
c39cd008 GS |
3430 | # if defined(PERL_CR_FILTER) |
3431 | STATIC I32 S_cr_textfilter(pTHX_ int idx, SV *sv, int maxlen); | |
cea2e8a9 | 3432 | # endif |
864dbfa3 | 3433 | #endif |
1d7c1841 | 3434 | |
0cb96387 | 3435 | #if defined(PERL_IN_UNIVERSAL_C) || defined(PERL_DECL_PROT) |
46c461b5 AL |
3436 | STATIC SV* S_isa_lookup(pTHX_ HV *stash, const char *name, HV *name_stash, int len, int level) |
3437 | __attribute__nonnull__(pTHX_2); | |
3438 | ||
864dbfa3 | 3439 | #endif |
1d7c1841 | 3440 | |
2d31dd6a | 3441 | #if defined(PERL_IN_LOCALE_C) || defined(PERL_DECL_PROT) |
27da23d5 | 3442 | #if defined(USE_LOCALE_NUMERIC) || defined(USE_LOCALE_COLLATE) |
8772537c AL |
3443 | STATIC char* S_stdize_locale(pTHX_ char* locs) |
3444 | __attribute__nonnull__(pTHX_1); | |
3445 | ||
2d31dd6a | 3446 | #endif |
27da23d5 | 3447 | #endif |
2d31dd6a NIS |
3448 | |
3449 | #if defined(PERL_IN_UTIL_C) || defined(PERL_DECL_PROT) | |
8772537c AL |
3450 | STATIC COP* S_closest_cop(pTHX_ COP *cop, const OP *o) |
3451 | __attribute__nonnull__(pTHX_1); | |
3452 | ||
cea2e8a9 | 3453 | STATIC SV* S_mess_alloc(pTHX); |
255164ba DM |
3454 | STATIC const char * S_vdie_croak_common(pTHX_ const char *pat, va_list *args, STRLEN *msglen, I32* utf8); |
3455 | STATIC void S_vdie_common(pTHX_ const char *message, STRLEN msglen, I32 utf8); | |
864dbfa3 | 3456 | #endif |
1d7c1841 | 3457 | |
4801ca72 JH |
3458 | #if defined(PERL_IN_NUMERIC_C) || defined(PERL_DECL_PROT) |
3459 | STATIC NV S_mulexp10(NV value, I32 exponent); | |
3460 | #endif | |
3461 | ||
646ca15d JH |
3462 | #if defined(PERL_IN_UTF8_C) || defined(PERL_DECL_PROT) |
3463 | STATIC STRLEN S_is_utf8_char_slow(pTHX_ const U8 *s, const STRLEN len) | |
3464 | __attribute__nonnull__(pTHX_1); | |
3465 | ||
3466 | #endif | |
3467 | ||
902f5b58 JH |
3468 | START_EXTERN_C |
3469 | ||
4373e329 | 3470 | PERL_CALLCONV void Perl_sv_setsv_flags(pTHX_ SV* dsv, SV* ssv, I32 flags) |
abb2c242 | 3471 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 3472 | |
4373e329 | 3473 | PERL_CALLCONV void Perl_sv_catpvn_flags(pTHX_ SV* sv, const char* ptr, STRLEN len, I32 flags) |
abb2c242 JH |
3474 | __attribute__nonnull__(pTHX_1) |
3475 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 3476 | |
4373e329 | 3477 | PERL_CALLCONV void Perl_sv_catsv_flags(pTHX_ SV* dsv, SV* ssv, I32 flags) |
abb2c242 | 3478 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 3479 | |
4373e329 | 3480 | PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade_flags(pTHX_ SV *sv, I32 flags) |
abb2c242 | 3481 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 3482 | |
46c461b5 AL |
3483 | PERL_CALLCONV char* Perl_sv_pvn_force_flags(pTHX_ SV* sv, STRLEN* lp, I32 flags) |
3484 | __attribute__nonnull__(pTHX_1); | |
3485 | ||
4373e329 | 3486 | PERL_CALLCONV void Perl_sv_copypv(pTHX_ SV* dsv, SV* ssv) |
abb2c242 JH |
3487 | __attribute__nonnull__(pTHX_1) |
3488 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 3489 | |
4373e329 | 3490 | PERL_CALLCONV char* Perl_my_atof2(pTHX_ const char *s, NV* value) |
abb2c242 JH |
3491 | __attribute__nonnull__(pTHX_1) |
3492 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 3493 | |
706e3e0f | 3494 | PERL_CALLCONV int Perl_my_socketpair(int family, int type, int protocol, int fd[2]); |
f8c7b90f | 3495 | #ifdef PERL_OLD_COPY_ON_WRITE |
46c461b5 AL |
3496 | PERL_CALLCONV SV* Perl_sv_setsv_cow(pTHX_ SV* dsv, SV* ssv) |
3497 | __attribute__nonnull__(pTHX_1) | |
3498 | __attribute__nonnull__(pTHX_2); | |
3499 | ||
ed252734 | 3500 | #endif |
902f5b58 | 3501 | |
e87a358a | 3502 | #if defined(USE_PERLIO) && !defined(USE_SFIO) |
66a1b24b AL |
3503 | PERL_CALLCONV int Perl_PerlIO_close(pTHX_ PerlIO *f); |
3504 | PERL_CALLCONV int Perl_PerlIO_fill(pTHX_ PerlIO *f); | |
3505 | PERL_CALLCONV int Perl_PerlIO_fileno(pTHX_ PerlIO *f); | |
3506 | PERL_CALLCONV int Perl_PerlIO_eof(pTHX_ PerlIO *f); | |
3507 | PERL_CALLCONV int Perl_PerlIO_error(pTHX_ PerlIO *f); | |
3508 | PERL_CALLCONV int Perl_PerlIO_flush(pTHX_ PerlIO *f); | |
3509 | PERL_CALLCONV void Perl_PerlIO_clearerr(pTHX_ PerlIO *f); | |
3510 | PERL_CALLCONV void Perl_PerlIO_set_cnt(pTHX_ PerlIO *f, int cnt); | |
3511 | PERL_CALLCONV void Perl_PerlIO_set_ptrcnt(pTHX_ PerlIO *f, STDCHAR *ptr, int cnt) | |
3512 | __attribute__nonnull__(pTHX_2); | |
3513 | ||
3514 | PERL_CALLCONV void Perl_PerlIO_setlinebuf(pTHX_ PerlIO *f); | |
3515 | PERL_CALLCONV SSize_t Perl_PerlIO_read(pTHX_ PerlIO *f, void *buf, Size_t count) | |
3516 | __attribute__nonnull__(pTHX_2); | |
3517 | ||
3518 | PERL_CALLCONV SSize_t Perl_PerlIO_write(pTHX_ PerlIO *f, const void *buf, Size_t count) | |
3519 | __attribute__nonnull__(pTHX_2); | |
3520 | ||
3521 | PERL_CALLCONV SSize_t Perl_PerlIO_unread(pTHX_ PerlIO *f, const void *buf, Size_t count) | |
3522 | __attribute__nonnull__(pTHX_2); | |
3523 | ||
3524 | PERL_CALLCONV Off_t Perl_PerlIO_tell(pTHX_ PerlIO *f); | |
3525 | PERL_CALLCONV int Perl_PerlIO_seek(pTHX_ PerlIO *f, Off_t offset, int whence); | |