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, |
c0c4672b | 6 | * 2000, 2001, 2002, 2003, 2004, 2005, 2006, 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) | |
fb9bf107 NC |
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) |
23 | __attribute__nonnull__(1) | |
24 | __attribute__nonnull__(2) | |
25 | __attribute__nonnull__(3) | |
26 | __attribute__nonnull__(4) | |
27 | __attribute__nonnull__(5) | |
28 | __attribute__nonnull__(6) | |
29 | __attribute__nonnull__(7) | |
30 | __attribute__nonnull__(8) | |
31 | __attribute__nonnull__(9); | |
32 | ||
1d7c1841 | 33 | #endif |
b46bc2b6 | 34 | PERL_CALLCONV PerlInterpreter* perl_alloc(void); |
4373e329 | 35 | PERL_CALLCONV void perl_construct(PerlInterpreter* interp) |
abb2c242 | 36 | __attribute__nonnull__(1); |
f54cb97a | 37 | |
4373e329 | 38 | PERL_CALLCONV int perl_destruct(PerlInterpreter* interp) |
abb2c242 | 39 | __attribute__nonnull__(1); |
f54cb97a | 40 | |
4373e329 | 41 | PERL_CALLCONV void perl_free(PerlInterpreter* interp) |
abb2c242 | 42 | __attribute__nonnull__(1); |
f54cb97a | 43 | |
4373e329 | 44 | PERL_CALLCONV int perl_run(PerlInterpreter* interp) |
abb2c242 | 45 | __attribute__nonnull__(1); |
f54cb97a | 46 | |
fb9bf107 NC |
47 | PERL_CALLCONV int perl_parse(PerlInterpreter* interp, XSINIT_t xsinit, int argc, char** argv, char** env) |
48 | __attribute__nonnull__(1); | |
49 | ||
a28509cc AL |
50 | PERL_CALLCONV bool Perl_doing_taint(int argc, char** argv, char** env) |
51 | __attribute__warn_unused_result__; | |
52 | ||
1d7c1841 | 53 | #if defined(USE_ITHREADS) |
fb9bf107 NC |
54 | PERL_CALLCONV PerlInterpreter* perl_clone(PerlInterpreter* interp, UV flags) |
55 | __attribute__nonnull__(1); | |
56 | ||
1d7c1841 | 57 | # if defined(PERL_IMPLICIT_SYS) |
fb9bf107 NC |
58 | 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) |
59 | __attribute__nonnull__(1) | |
60 | __attribute__nonnull__(3) | |
61 | __attribute__nonnull__(4) | |
62 | __attribute__nonnull__(5) | |
63 | __attribute__nonnull__(6) | |
64 | __attribute__nonnull__(7) | |
65 | __attribute__nonnull__(8) | |
66 | __attribute__nonnull__(9) | |
67 | __attribute__nonnull__(10) | |
68 | __attribute__nonnull__(11); | |
69 | ||
1d7c1841 GS |
70 | # endif |
71 | #endif | |
72 | ||
4373e329 | 73 | PERL_CALLCONV Malloc_t Perl_malloc(MEM_SIZE nbytes) |
abb2c242 JH |
74 | __attribute__malloc__ |
75 | __attribute__warn_unused_result__; | |
f54cb97a | 76 | |
4373e329 | 77 | PERL_CALLCONV Malloc_t Perl_calloc(MEM_SIZE elements, MEM_SIZE size) |
abb2c242 JH |
78 | __attribute__malloc__ |
79 | __attribute__warn_unused_result__; | |
f54cb97a | 80 | |
4373e329 | 81 | PERL_CALLCONV Malloc_t Perl_realloc(Malloc_t where, MEM_SIZE nbytes) |
abb2c242 JH |
82 | __attribute__malloc__ |
83 | __attribute__warn_unused_result__; | |
f54cb97a | 84 | |
1d7c1841 | 85 | PERL_CALLCONV Free_t Perl_mfree(Malloc_t where); |
cae6d0e5 | 86 | #if defined(MYMALLOC) |
b464bac0 | 87 | PERL_CALLCONV MEM_SIZE Perl_malloced_size(void *p) |
fb9bf107 NC |
88 | __attribute__warn_unused_result__ |
89 | __attribute__nonnull__(1); | |
b464bac0 | 90 | |
1d7c1841 GS |
91 | #endif |
92 | ||
255164ba DM |
93 | PERL_CALLCONV void* Perl_get_context(void) |
94 | __attribute__warn_unused_result__; | |
95 | ||
96 | PERL_CALLCONV void Perl_set_context(void *thx) | |
97 | __attribute__nonnull__(1); | |
98 | ||
ba869deb | 99 | |
1d7c1841 GS |
100 | END_EXTERN_C |
101 | ||
102 | /* functions with flag 'n' should come before here */ | |
1d7c1841 | 103 | START_EXTERN_C |
1d7c1841 | 104 | # include "pp_proto.h" |
46c461b5 AL |
105 | PERL_CALLCONV SV* Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir) |
106 | __attribute__nonnull__(pTHX_1) | |
107 | __attribute__nonnull__(pTHX_2); | |
108 | ||
255164ba DM |
109 | PERL_CALLCONV bool Perl_Gv_AMupdate(pTHX_ HV* stash) |
110 | __attribute__nonnull__(pTHX_1); | |
111 | ||
112 | PERL_CALLCONV CV* Perl_gv_handler(pTHX_ HV* stash, I32 id) | |
113 | __attribute__warn_unused_result__; | |
114 | ||
115 | PERL_CALLCONV OP* Perl_append_elem(pTHX_ I32 optype, OP* first, OP* last); | |
1d7c1841 | 116 | PERL_CALLCONV OP* Perl_append_list(pTHX_ I32 optype, LISTOP* first, LISTOP* last); |
255164ba DM |
117 | PERL_CALLCONV I32 Perl_apply(pTHX_ I32 type, SV** mark, SV** sp) |
118 | __attribute__nonnull__(pTHX_2) | |
119 | __attribute__nonnull__(pTHX_3); | |
120 | ||
121 | PERL_CALLCONV void Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len) | |
122 | __attribute__nonnull__(pTHX_1) | |
123 | __attribute__nonnull__(pTHX_2) | |
124 | __attribute__nonnull__(pTHX_3); | |
125 | ||
7a5b473e AL |
126 | PERL_CALLCONV void Perl_av_clear(pTHX_ AV* ar) |
127 | __attribute__nonnull__(pTHX_1); | |
128 | ||
129 | PERL_CALLCONV SV* Perl_av_delete(pTHX_ AV* ar, I32 key, I32 flags) | |
130 | __attribute__nonnull__(pTHX_1); | |
131 | ||
a3b680e6 | 132 | PERL_CALLCONV bool Perl_av_exists(pTHX_ AV* ar, I32 key) |
7a5b473e AL |
133 | __attribute__warn_unused_result__ |
134 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
135 | |
136 | PERL_CALLCONV void Perl_av_extend(pTHX_ AV* ar, I32 key) | |
abb2c242 | 137 | __attribute__nonnull__(pTHX_1); |
a3b680e6 AL |
138 | |
139 | PERL_CALLCONV AV* Perl_av_fake(pTHX_ I32 size, SV** svp) | |
abb2c242 JH |
140 | __attribute__warn_unused_result__ |
141 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 AL |
142 | |
143 | PERL_CALLCONV SV** Perl_av_fetch(pTHX_ AV* ar, I32 key, I32 lval) | |
7a5b473e AL |
144 | __attribute__warn_unused_result__ |
145 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 | 146 | |
255164ba DM |
147 | PERL_CALLCONV void Perl_av_fill(pTHX_ AV* ar, I32 fill) |
148 | __attribute__nonnull__(pTHX_1); | |
149 | ||
a3b680e6 | 150 | PERL_CALLCONV I32 Perl_av_len(pTHX_ const AV* ar) |
255164ba DM |
151 | __attribute__warn_unused_result__ |
152 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
153 | |
154 | PERL_CALLCONV AV* Perl_av_make(pTHX_ I32 size, SV** svp) | |
abb2c242 JH |
155 | __attribute__warn_unused_result__ |
156 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 | 157 | |
7a5b473e AL |
158 | PERL_CALLCONV SV* Perl_av_pop(pTHX_ AV* ar) |
159 | __attribute__nonnull__(pTHX_1); | |
160 | ||
255164ba | 161 | PERL_CALLCONV void Perl_av_push(pTHX_ AV* ar, SV* val) |
7a5b473e | 162 | __attribute__nonnull__(pTHX_1) |
255164ba DM |
163 | __attribute__nonnull__(pTHX_2); |
164 | ||
165 | PERL_CALLCONV void Perl_av_reify(pTHX_ AV* ar) | |
166 | __attribute__nonnull__(pTHX_1); | |
167 | ||
a3b680e6 | 168 | PERL_CALLCONV SV* Perl_av_shift(pTHX_ AV* ar) |
7a5b473e AL |
169 | __attribute__warn_unused_result__ |
170 | __attribute__nonnull__(pTHX_1); | |
171 | ||
172 | PERL_CALLCONV SV** Perl_av_store(pTHX_ AV* ar, I32 key, SV* val) | |
173 | __attribute__nonnull__(pTHX_1); | |
174 | ||
175 | PERL_CALLCONV void Perl_av_undef(pTHX_ AV* ar) | |
176 | __attribute__nonnull__(pTHX_1); | |
177 | ||
178 | PERL_CALLCONV void Perl_av_unshift(pTHX_ AV* ar, I32 num) | |
179 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 | 180 | |
255164ba DM |
181 | PERL_CALLCONV SV** Perl_av_arylen_p(pTHX_ AV* av) |
182 | __attribute__nonnull__(pTHX_1); | |
183 | ||
a3b680e6 | 184 | PERL_CALLCONV OP* Perl_bind_match(pTHX_ I32 type, OP* left, OP* pat) |
abb2c242 JH |
185 | __attribute__warn_unused_result__ |
186 | __attribute__nonnull__(pTHX_2) | |
187 | __attribute__nonnull__(pTHX_3); | |
a3b680e6 AL |
188 | |
189 | PERL_CALLCONV OP* Perl_block_end(pTHX_ I32 floor, OP* seq) | |
6472dca1 | 190 | __attribute__warn_unused_result__; |
a3b680e6 AL |
191 | |
192 | PERL_CALLCONV I32 Perl_block_gimme(pTHX) | |
abb2c242 | 193 | __attribute__warn_unused_result__; |
a3b680e6 AL |
194 | |
195 | PERL_CALLCONV int Perl_block_start(pTHX_ int full) | |
abb2c242 | 196 | __attribute__warn_unused_result__; |
a3b680e6 | 197 | |
1d7c1841 | 198 | PERL_CALLCONV void Perl_boot_core_UNIVERSAL(pTHX); |
36ed5425 | 199 | PERL_CALLCONV void Perl_boot_core_PerlIO(pTHX); |
a3b680e6 | 200 | PERL_CALLCONV void Perl_call_list(pTHX_ I32 oldscope, AV* av_list) |
abb2c242 | 201 | __attribute__nonnull__(pTHX_2); |
a3b680e6 | 202 | |
ae1951c1 | 203 | PERL_CALLCONV bool Perl_cando(pTHX_ Mode_t mode, bool effective, const Stat_t* statbufp) |
abb2c242 JH |
204 | __attribute__warn_unused_result__ |
205 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 206 | |
53c1dcc0 AL |
207 | PERL_CALLCONV U32 Perl_cast_ulong(pTHX_ NV f) |
208 | __attribute__warn_unused_result__; | |
209 | ||
210 | PERL_CALLCONV I32 Perl_cast_i32(pTHX_ NV f) | |
211 | __attribute__warn_unused_result__; | |
212 | ||
213 | PERL_CALLCONV IV Perl_cast_iv(pTHX_ NV f) | |
214 | __attribute__warn_unused_result__; | |
215 | ||
216 | PERL_CALLCONV UV Perl_cast_uv(pTHX_ NV f) | |
217 | __attribute__warn_unused_result__; | |
218 | ||
cea2e8a9 | 219 | #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP) |
53c1dcc0 AL |
220 | PERL_CALLCONV I32 Perl_my_chsize(pTHX_ int fd, Off_t length) |
221 | __attribute__warn_unused_result__; | |
222 | ||
cea2e8a9 | 223 | #endif |
53c1dcc0 AL |
224 | PERL_CALLCONV OP* Perl_convert(pTHX_ I32 optype, I32 flags, OP* o) |
225 | __attribute__warn_unused_result__; | |
226 | ||
edb2152a | 227 | PERL_CALLCONV PERL_CONTEXT* Perl_create_eval_scope(pTHX_ U32 flags); |
f54cb97a | 228 | PERL_CALLCONV void Perl_croak(pTHX_ const char* pat, ...) |
abb2c242 | 229 | __attribute__noreturn__ |
551405c4 | 230 | __attribute__format__(__printf__,pTHX_1,pTHX_2); |
f54cb97a AL |
231 | |
232 | PERL_CALLCONV void Perl_vcroak(pTHX_ const char* pat, va_list* args) | |
fb9bf107 NC |
233 | __attribute__noreturn__ |
234 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 235 | |
cea2e8a9 | 236 | #if defined(PERL_IMPLICIT_CONTEXT) |
f54cb97a | 237 | PERL_CALLCONV void Perl_croak_nocontext(const char* pat, ...) |
abb2c242 | 238 | __attribute__noreturn__ |
fb9bf107 NC |
239 | __attribute__format__(__printf__,1,2) |
240 | __attribute__nonnull__(1); | |
f54cb97a | 241 | |
894356b3 | 242 | PERL_CALLCONV OP* Perl_die_nocontext(const char* pat, ...) |
255164ba DM |
243 | __attribute__format__(__printf__,1,2) |
244 | __attribute__nonnull__(1); | |
f54cb97a | 245 | |
894356b3 | 246 | PERL_CALLCONV void Perl_deb_nocontext(const char* pat, ...) |
255164ba DM |
247 | __attribute__format__(__printf__,1,2) |
248 | __attribute__nonnull__(1); | |
f54cb97a | 249 | |
894356b3 | 250 | PERL_CALLCONV char* Perl_form_nocontext(const char* pat, ...) |
255164ba DM |
251 | __attribute__format__(__printf__,1,2) |
252 | __attribute__nonnull__(1); | |
253 | ||
254 | PERL_CALLCONV void Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...) | |
255 | __attribute__nonnull__(2) | |
256 | __attribute__nonnull__(3); | |
f54cb97a | 257 | |
894356b3 | 258 | PERL_CALLCONV SV* Perl_mess_nocontext(const char* pat, ...) |
255164ba DM |
259 | __attribute__format__(__printf__,1,2) |
260 | __attribute__nonnull__(1); | |
f54cb97a | 261 | |
894356b3 | 262 | PERL_CALLCONV void Perl_warn_nocontext(const char* pat, ...) |
255164ba DM |
263 | __attribute__format__(__printf__,1,2) |
264 | __attribute__nonnull__(1); | |
f54cb97a | 265 | |
894356b3 | 266 | PERL_CALLCONV void Perl_warner_nocontext(U32 err, const char* pat, ...) |
255164ba DM |
267 | __attribute__format__(__printf__,2,3) |
268 | __attribute__nonnull__(2); | |
f54cb97a | 269 | |
894356b3 | 270 | PERL_CALLCONV SV* Perl_newSVpvf_nocontext(const char* pat, ...) |
255164ba DM |
271 | __attribute__format__(__printf__,1,2) |
272 | __attribute__nonnull__(1); | |
f54cb97a | 273 | |
894356b3 | 274 | PERL_CALLCONV void Perl_sv_catpvf_nocontext(SV* sv, const char* pat, ...) |
255164ba | 275 | __attribute__format__(__printf__,2,3) |
fb9bf107 NC |
276 | __attribute__nonnull__(1) |
277 | __attribute__nonnull__(2); | |
f54cb97a | 278 | |
894356b3 | 279 | PERL_CALLCONV void Perl_sv_setpvf_nocontext(SV* sv, const char* pat, ...) |
255164ba | 280 | __attribute__format__(__printf__,2,3) |
fb9bf107 NC |
281 | __attribute__nonnull__(1) |
282 | __attribute__nonnull__(2); | |
f54cb97a | 283 | |
894356b3 | 284 | PERL_CALLCONV void Perl_sv_catpvf_mg_nocontext(SV* sv, const char* pat, ...) |
255164ba | 285 | __attribute__format__(__printf__,2,3) |
fb9bf107 NC |
286 | __attribute__nonnull__(1) |
287 | __attribute__nonnull__(2); | |
f54cb97a | 288 | |
894356b3 | 289 | PERL_CALLCONV void Perl_sv_setpvf_mg_nocontext(SV* sv, const char* pat, ...) |
255164ba | 290 | __attribute__format__(__printf__,2,3) |
fb9bf107 NC |
291 | __attribute__nonnull__(1) |
292 | __attribute__nonnull__(2); | |
f54cb97a | 293 | |
894356b3 | 294 | PERL_CALLCONV int Perl_fprintf_nocontext(PerlIO* stream, const char* fmt, ...) |
255164ba DM |
295 | __attribute__format__(__printf__,2,3) |
296 | __attribute__nonnull__(1) | |
297 | __attribute__nonnull__(2); | |
f54cb97a | 298 | |
b0316773 | 299 | PERL_CALLCONV int Perl_printf_nocontext(const char* fmt, ...) |
255164ba DM |
300 | __attribute__format__(__printf__,1,2) |
301 | __attribute__nonnull__(1); | |
f54cb97a | 302 | |
0cb96387 | 303 | #endif |
a3b680e6 | 304 | PERL_CALLCONV void Perl_cv_ckproto(pTHX_ const CV* cv, const GV* gv, const char* p) |
abb2c242 | 305 | __attribute__nonnull__(pTHX_1); |
a3b680e6 | 306 | |
cbf82dd0 NC |
307 | PERL_CALLCONV void Perl_cv_ckproto_len(pTHX_ const CV* cv, const GV* gv, const char* p, const STRLEN len) |
308 | __attribute__nonnull__(pTHX_1); | |
309 | ||
4373e329 | 310 | PERL_CALLCONV CV* Perl_cv_clone(pTHX_ CV* proto) |
abb2c242 | 311 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 312 | |
62d55b22 NC |
313 | PERL_CALLCONV SV* Perl_gv_const_sv(pTHX_ GV* gv) |
314 | __attribute__warn_unused_result__ | |
315 | __attribute__nonnull__(pTHX_1); | |
316 | ||
255164ba DM |
317 | PERL_CALLCONV SV* Perl_cv_const_sv(pTHX_ CV* cv) |
318 | __attribute__warn_unused_result__; | |
319 | ||
320 | PERL_CALLCONV SV* Perl_op_const_sv(pTHX_ const OP* o, CV* cv) | |
321 | __attribute__warn_unused_result__; | |
322 | ||
323 | PERL_CALLCONV void Perl_cv_undef(pTHX_ CV* cv) | |
324 | __attribute__nonnull__(pTHX_1); | |
325 | ||
326 | PERL_CALLCONV void Perl_cx_dump(pTHX_ PERL_CONTEXT* cx) | |
327 | __attribute__nonnull__(pTHX_1); | |
328 | ||
1d7c1841 | 329 | PERL_CALLCONV SV* Perl_filter_add(pTHX_ filter_t funcp, SV* datasv); |
255164ba DM |
330 | PERL_CALLCONV void Perl_filter_del(pTHX_ filter_t funcp) |
331 | __attribute__nonnull__(pTHX_1); | |
332 | ||
333 | PERL_CALLCONV I32 Perl_filter_read(pTHX_ int idx, SV* buffer, int maxlen) | |
334 | __attribute__warn_unused_result__ | |
335 | __attribute__nonnull__(pTHX_2); | |
336 | ||
4373e329 | 337 | PERL_CALLCONV char** Perl_get_op_descs(pTHX) |
abb2c242 JH |
338 | __attribute__warn_unused_result__ |
339 | __attribute__pure__; | |
f54cb97a | 340 | |
4373e329 | 341 | PERL_CALLCONV char** Perl_get_op_names(pTHX) |
abb2c242 JH |
342 | __attribute__warn_unused_result__ |
343 | __attribute__pure__; | |
f54cb97a | 344 | |
4373e329 | 345 | PERL_CALLCONV const char* Perl_get_no_modify(pTHX) |
abb2c242 JH |
346 | __attribute__warn_unused_result__ |
347 | __attribute__pure__; | |
f54cb97a | 348 | |
4373e329 | 349 | PERL_CALLCONV U32* Perl_get_opargs(pTHX) |
abb2c242 JH |
350 | __attribute__warn_unused_result__ |
351 | __attribute__pure__; | |
f54cb97a | 352 | |
4373e329 | 353 | PERL_CALLCONV PPADDR_t* Perl_get_ppaddr(pTHX) |
abb2c242 JH |
354 | __attribute__warn_unused_result__ |
355 | __attribute__pure__; | |
f54cb97a | 356 | |
a3b680e6 | 357 | PERL_CALLCONV I32 Perl_cxinc(pTHX) |
abb2c242 | 358 | __attribute__warn_unused_result__; |
a3b680e6 | 359 | |
894356b3 | 360 | PERL_CALLCONV void Perl_deb(pTHX_ const char* pat, ...) |
255164ba DM |
361 | __attribute__format__(__printf__,pTHX_1,pTHX_2) |
362 | __attribute__nonnull__(pTHX_1); | |
363 | ||
364 | PERL_CALLCONV void Perl_vdeb(pTHX_ const char* pat, va_list* args) | |
365 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 366 | |
1d7c1841 | 367 | PERL_CALLCONV void Perl_debprofdump(pTHX); |
4373e329 | 368 | PERL_CALLCONV I32 Perl_debop(pTHX_ const OP* o) |
abb2c242 | 369 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 370 | |
1d7c1841 GS |
371 | PERL_CALLCONV I32 Perl_debstack(pTHX); |
372 | PERL_CALLCONV I32 Perl_debstackptrs(pTHX); | |
4373e329 | 373 | PERL_CALLCONV char* Perl_delimcpy(pTHX_ char* to, const char* toend, const char* from, const char* fromend, int delim, I32* retlen) |
abb2c242 JH |
374 | __attribute__nonnull__(pTHX_1) |
375 | __attribute__nonnull__(pTHX_2) | |
376 | __attribute__nonnull__(pTHX_3) | |
377 | __attribute__nonnull__(pTHX_4) | |
378 | __attribute__nonnull__(pTHX_6); | |
f54cb97a | 379 | |
edb2152a | 380 | PERL_CALLCONV void Perl_delete_eval_scope(pTHX); |
4373e329 | 381 | PERL_CALLCONV void Perl_deprecate(pTHX_ const char* s) |
abb2c242 | 382 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 383 | |
4373e329 | 384 | PERL_CALLCONV void Perl_deprecate_old(pTHX_ const char* s) |
abb2c242 | 385 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 386 | |
894356b3 | 387 | PERL_CALLCONV OP* Perl_die(pTHX_ const char* pat, ...) |
c3bdd826 | 388 | __attribute__format__(__printf__,pTHX_1,pTHX_2); |
f54cb97a | 389 | |
1d7c1841 | 390 | PERL_CALLCONV OP* Perl_vdie(pTHX_ const char* pat, va_list* args); |
6472dca1 | 391 | PERL_CALLCONV OP* Perl_die_where(pTHX_ const char* message, STRLEN msglen); |
1d7c1841 | 392 | PERL_CALLCONV void Perl_dounwind(pTHX_ I32 cxix); |
a9f96b3f | 393 | /* PERL_CALLCONV bool Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp) |
255164ba | 394 | __attribute__nonnull__(pTHX_2) |
a9f96b3f | 395 | __attribute__nonnull__(pTHX_3); */ |
255164ba | 396 | |
5b5cf8d2 | 397 | PERL_CALLCONV bool Perl_do_aexec5(pTHX_ SV* really, SV** mark, SV** sp, int fd, int do_report) |
255164ba DM |
398 | __attribute__nonnull__(pTHX_2) |
399 | __attribute__nonnull__(pTHX_3); | |
400 | ||
4373e329 | 401 | PERL_CALLCONV int Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int mode) |
abb2c242 | 402 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 403 | |
4373e329 | 404 | PERL_CALLCONV void Perl_do_chop(pTHX_ SV* asv, SV* sv) |
abb2c242 JH |
405 | __attribute__nonnull__(pTHX_1) |
406 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 407 | |
4373e329 | 408 | PERL_CALLCONV bool Perl_do_close(pTHX_ GV* gv, bool not_implicit) |
abb2c242 | 409 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 410 | |
4373e329 | 411 | PERL_CALLCONV bool Perl_do_eof(pTHX_ GV* gv) |
abb2c242 | 412 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 413 | |
8c654ff2 NC |
414 | |
415 | #ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION | |
9555a685 NC |
416 | /* PERL_CALLCONV bool Perl_do_exec(pTHX_ const char* cmd) |
417 | __attribute__nonnull__(pTHX_1); */ | |
f54cb97a | 418 | |
8c654ff2 NC |
419 | #else |
420 | PERL_CALLCONV bool Perl_do_exec(pTHX_ const char* cmd) | |
421 | __attribute__nonnull__(pTHX_1); | |
422 | ||
423 | #endif | |
424 | ||
d8c40edc | 425 | #if defined(WIN32) || defined(__SYMBIAN32__) |
255164ba DM |
426 | PERL_CALLCONV int Perl_do_aspawn(pTHX_ SV* really, SV** mark, SV** sp) |
427 | __attribute__nonnull__(pTHX_1) | |
428 | __attribute__nonnull__(pTHX_2) | |
429 | __attribute__nonnull__(pTHX_3); | |
430 | ||
431 | PERL_CALLCONV int Perl_do_spawn(pTHX_ char* cmd) | |
432 | __attribute__nonnull__(pTHX_1); | |
433 | ||
434 | PERL_CALLCONV int Perl_do_spawn_nowait(pTHX_ char* cmd) | |
435 | __attribute__nonnull__(pTHX_1); | |
436 | ||
54725af6 | 437 | #endif |
864dbfa3 | 438 | #if !defined(WIN32) |
5b5cf8d2 | 439 | PERL_CALLCONV bool Perl_do_exec3(pTHX_ const char* cmd, int fd, int do_report) |
255164ba DM |
440 | __attribute__nonnull__(pTHX_1); |
441 | ||
864dbfa3 | 442 | #endif |
1d7c1841 | 443 | PERL_CALLCONV void Perl_do_execfree(pTHX); |
a0f2c8ec | 444 | #ifdef PERL_IN_DOIO_C |
b1366aaf RGS |
445 | STATIC void S_exec_failed(pTHX_ const char *cmd, int fd, int do_report) |
446 | __attribute__nonnull__(pTHX_1); | |
447 | ||
a0f2c8ec | 448 | #endif |
864dbfa3 | 449 | #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM) |
fb9bf107 NC |
450 | PERL_CALLCONV I32 Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp) |
451 | __attribute__nonnull__(pTHX_2) | |
452 | __attribute__nonnull__(pTHX_3); | |
453 | ||
454 | PERL_CALLCONV I32 Perl_do_ipcget(pTHX_ I32 optype, SV** mark, SV** sp) | |
455 | __attribute__nonnull__(pTHX_2) | |
456 | __attribute__nonnull__(pTHX_3); | |
457 | ||
458 | PERL_CALLCONV I32 Perl_do_msgrcv(pTHX_ SV** mark, SV** sp) | |
459 | __attribute__nonnull__(pTHX_1) | |
460 | __attribute__nonnull__(pTHX_2); | |
461 | ||
462 | PERL_CALLCONV I32 Perl_do_msgsnd(pTHX_ SV** mark, SV** sp) | |
463 | __attribute__nonnull__(pTHX_1) | |
464 | __attribute__nonnull__(pTHX_2); | |
465 | ||
466 | PERL_CALLCONV I32 Perl_do_semop(pTHX_ SV** mark, SV** sp) | |
467 | __attribute__nonnull__(pTHX_1) | |
468 | __attribute__nonnull__(pTHX_2); | |
469 | ||
470 | PERL_CALLCONV I32 Perl_do_shmio(pTHX_ I32 optype, SV** mark, SV** sp) | |
471 | __attribute__nonnull__(pTHX_2) | |
472 | __attribute__nonnull__(pTHX_3); | |
473 | ||
0cb96387 | 474 | #endif |
f54cb97a | 475 | PERL_CALLCONV void Perl_do_join(pTHX_ SV* sv, SV* del, SV** mark, SV** sp) |
abb2c242 JH |
476 | __attribute__nonnull__(pTHX_1) |
477 | __attribute__nonnull__(pTHX_2) | |
478 | __attribute__nonnull__(pTHX_3) | |
479 | __attribute__nonnull__(pTHX_4); | |
f54cb97a | 480 | |
1d7c1841 | 481 | PERL_CALLCONV OP* Perl_do_kv(pTHX); |
e4dba786 | 482 | /* 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 | 483 | __attribute__nonnull__(pTHX_1) |
e4dba786 | 484 | __attribute__nonnull__(pTHX_2); */ |
255164ba | 485 | |
2fbb330f | 486 | 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 |
487 | __attribute__nonnull__(pTHX_1) |
488 | __attribute__nonnull__(pTHX_2) | |
489 | __attribute__nonnull__(pTHX_8); | |
490 | ||
2fbb330f | 491 | 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 |
492 | __attribute__nonnull__(pTHX_1) |
493 | __attribute__nonnull__(pTHX_2); | |
494 | ||
495 | PERL_CALLCONV void Perl_do_pipe(pTHX_ SV* sv, GV* rgv, GV* wgv) | |
496 | __attribute__nonnull__(pTHX_1); | |
497 | ||
498 | PERL_CALLCONV bool Perl_do_print(pTHX_ SV* sv, PerlIO* fp) | |
499 | __attribute__nonnull__(pTHX_2); | |
500 | ||
501 | PERL_CALLCONV OP* Perl_do_readline(pTHX) | |
502 | __attribute__warn_unused_result__; | |
503 | ||
504 | PERL_CALLCONV I32 Perl_do_chomp(pTHX_ SV* sv) | |
505 | __attribute__nonnull__(pTHX_1); | |
506 | ||
1d7c1841 | 507 | PERL_CALLCONV bool Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence); |
255164ba DM |
508 | PERL_CALLCONV void Perl_do_sprintf(pTHX_ SV* sv, I32 len, SV** sarg) |
509 | __attribute__nonnull__(pTHX_1) | |
510 | __attribute__nonnull__(pTHX_3); | |
511 | ||
512 | PERL_CALLCONV Off_t Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence) | |
513 | __attribute__nonnull__(pTHX_1); | |
514 | ||
515 | PERL_CALLCONV Off_t Perl_do_tell(pTHX_ GV* gv) | |
516 | __attribute__warn_unused_result__ | |
517 | __attribute__nonnull__(pTHX_1); | |
518 | ||
519 | PERL_CALLCONV I32 Perl_do_trans(pTHX_ SV* sv) | |
520 | __attribute__nonnull__(pTHX_1); | |
521 | ||
4373e329 | 522 | PERL_CALLCONV UV Perl_do_vecget(pTHX_ SV* sv, I32 offset, I32 size) |
abb2c242 | 523 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 524 | |
4373e329 | 525 | PERL_CALLCONV void Perl_do_vecset(pTHX_ SV* sv) |
abb2c242 | 526 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 527 | |
255164ba DM |
528 | PERL_CALLCONV void Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right) |
529 | __attribute__nonnull__(pTHX_2) | |
530 | __attribute__nonnull__(pTHX_3) | |
531 | __attribute__nonnull__(pTHX_4); | |
532 | ||
850e8516 | 533 | PERL_CALLCONV OP* Perl_dofile(pTHX_ OP* term, I32 force_builtin) |
255164ba DM |
534 | __attribute__nonnull__(pTHX_1); |
535 | ||
536 | PERL_CALLCONV I32 Perl_dowantarray(pTHX) | |
537 | __attribute__warn_unused_result__; | |
538 | ||
1d7c1841 GS |
539 | PERL_CALLCONV void Perl_dump_all(pTHX); |
540 | PERL_CALLCONV void Perl_dump_eval(pTHX); | |
864dbfa3 | 541 | #if defined(DUMP_FDS) |
9a957fbc AL |
542 | PERL_CALLCONV void Perl_dump_fds(pTHX_ char* s) |
543 | __attribute__nonnull__(pTHX_1); | |
544 | ||
0cb96387 | 545 | #endif |
9a957fbc AL |
546 | PERL_CALLCONV void Perl_dump_form(pTHX_ const GV* gv) |
547 | __attribute__nonnull__(pTHX_1); | |
548 | ||
255164ba DM |
549 | PERL_CALLCONV void Perl_gv_dump(pTHX_ GV* gv) |
550 | __attribute__nonnull__(pTHX_1); | |
551 | ||
552 | PERL_CALLCONV void Perl_op_dump(pTHX_ const OP* arg) | |
553 | __attribute__nonnull__(pTHX_1); | |
554 | ||
1d7c1841 | 555 | PERL_CALLCONV void Perl_pmop_dump(pTHX_ PMOP* pm); |
9a957fbc AL |
556 | PERL_CALLCONV void Perl_dump_packsubs(pTHX_ const HV* stash) |
557 | __attribute__nonnull__(pTHX_1); | |
558 | ||
f54cb97a | 559 | PERL_CALLCONV void Perl_dump_sub(pTHX_ const GV* gv) |
abb2c242 | 560 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 561 | |
255164ba DM |
562 | PERL_CALLCONV void Perl_fbm_compile(pTHX_ SV* sv, U32 flags) |
563 | __attribute__nonnull__(pTHX_1); | |
564 | ||
565 | PERL_CALLCONV char* Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlesv, U32 flags) | |
566 | __attribute__warn_unused_result__ | |
567 | __attribute__nonnull__(pTHX_1) | |
568 | __attribute__nonnull__(pTHX_2) | |
569 | __attribute__nonnull__(pTHX_3); | |
570 | ||
fb9bf107 NC |
571 | PERL_CALLCONV char* Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char *const *const search_ext, I32 flags) |
572 | __attribute__nonnull__(pTHX_1); | |
573 | ||
2d03de9c | 574 | PERL_CALLCONV OP* Perl_force_list(pTHX_ OP* arg); |
4373e329 | 575 | PERL_CALLCONV OP* Perl_fold_constants(pTHX_ OP* arg) |
abb2c242 | 576 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 577 | |
894356b3 | 578 | PERL_CALLCONV char* Perl_form(pTHX_ const char* pat, ...) |
aec46f14 AL |
579 | __attribute__format__(__printf__,pTHX_1,pTHX_2) |
580 | __attribute__nonnull__(pTHX_1); | |
581 | ||
582 | PERL_CALLCONV char* Perl_vform(pTHX_ const char* pat, va_list* args) | |
583 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 584 | |
1d7c1841 GS |
585 | PERL_CALLCONV void Perl_free_tmps(pTHX); |
586 | PERL_CALLCONV OP* Perl_gen_constant_list(pTHX_ OP* o); | |
864dbfa3 | 587 | #if !defined(HAS_GETENV_LEN) |
8772537c AL |
588 | PERL_CALLCONV char* Perl_getenv_len(pTHX_ const char* key, unsigned long *len) |
589 | __attribute__nonnull__(pTHX_1) | |
590 | __attribute__nonnull__(pTHX_2); | |
591 | ||
0cb96387 | 592 | #endif |
1d7c1841 GS |
593 | PERL_CALLCONV void Perl_gp_free(pTHX_ GV* gv); |
594 | PERL_CALLCONV GP* Perl_gp_ref(pTHX_ GP* gp); | |
53c1dcc0 AL |
595 | PERL_CALLCONV GV* Perl_gv_AVadd(pTHX_ GV* gv) |
596 | __attribute__nonnull__(pTHX_1); | |
597 | ||
598 | PERL_CALLCONV GV* Perl_gv_HVadd(pTHX_ GV* gv) | |
599 | __attribute__nonnull__(pTHX_1); | |
600 | ||
601 | PERL_CALLCONV GV* Perl_gv_IOadd(pTHX_ GV* gv) | |
602 | __attribute__nonnull__(pTHX_1); | |
603 | ||
a28509cc AL |
604 | PERL_CALLCONV GV* Perl_gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method) |
605 | __attribute__warn_unused_result__ | |
606 | __attribute__nonnull__(pTHX_2); | |
607 | ||
1146e912 | 608 | PERL_CALLCONV void Perl_gv_check(pTHX_ const HV* stash) |
46c461b5 AL |
609 | __attribute__nonnull__(pTHX_1); |
610 | ||
611 | PERL_CALLCONV void Perl_gv_efullname(pTHX_ SV* sv, const GV* gv) | |
612 | __attribute__nonnull__(pTHX_1) | |
613 | __attribute__nonnull__(pTHX_2); | |
614 | ||
615 | /* PERL_CALLCONV void Perl_gv_efullname3(pTHX_ SV* sv, const GV* gv, const char* prefix) | |
616 | __attribute__nonnull__(pTHX_1) | |
617 | __attribute__nonnull__(pTHX_2); */ | |
618 | ||
619 | PERL_CALLCONV void Perl_gv_efullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain) | |
620 | __attribute__nonnull__(pTHX_1) | |
621 | __attribute__nonnull__(pTHX_2); | |
622 | ||
53c1dcc0 AL |
623 | PERL_CALLCONV GV* Perl_gv_fetchfile(pTHX_ const char* name) |
624 | __attribute__nonnull__(pTHX_1); | |
625 | ||
fb9bf107 NC |
626 | PERL_CALLCONV GV* Perl_gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level) |
627 | __attribute__nonnull__(pTHX_2); | |
628 | ||
629 | PERL_CALLCONV GV* Perl_gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level) | |
630 | __attribute__nonnull__(pTHX_2); | |
631 | ||
887986eb NC |
632 | /* PERL_CALLCONV GV* Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name) |
633 | __attribute__nonnull__(pTHX_2); */ | |
fb9bf107 NC |
634 | |
635 | PERL_CALLCONV GV* Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload) | |
636 | __attribute__nonnull__(pTHX_2); | |
637 | ||
9a957fbc AL |
638 | PERL_CALLCONV GV* Perl_gv_fetchpv(pTHX_ const char* name, I32 add, I32 sv_type) |
639 | __attribute__nonnull__(pTHX_1); | |
640 | ||
641 | PERL_CALLCONV void Perl_gv_fullname(pTHX_ SV* sv, const GV* gv) | |
642 | __attribute__nonnull__(pTHX_1) | |
643 | __attribute__nonnull__(pTHX_2); | |
644 | ||
645 | /* PERL_CALLCONV void Perl_gv_fullname3(pTHX_ SV* sv, const GV* gv, const char* prefix) | |
646 | __attribute__nonnull__(pTHX_1) | |
647 | __attribute__nonnull__(pTHX_2); */ | |
648 | ||
649 | PERL_CALLCONV void Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain) | |
650 | __attribute__nonnull__(pTHX_1) | |
651 | __attribute__nonnull__(pTHX_2); | |
652 | ||
12816592 NC |
653 | PERL_CALLCONV GP * Perl_newGP(pTHX_ GV *const gv) |
654 | __attribute__nonnull__(pTHX_1); | |
655 | ||
53c1dcc0 AL |
656 | PERL_CALLCONV void Perl_gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi) |
657 | __attribute__nonnull__(pTHX_1) | |
53c1dcc0 AL |
658 | __attribute__nonnull__(pTHX_3); |
659 | ||
f5c1e807 | 660 | PERL_CALLCONV void Perl_gv_name_set(pTHX_ GV* gv, const char *name, U32 len, U32 flags) |
9f616d01 MHM |
661 | __attribute__nonnull__(pTHX_1) |
662 | __attribute__nonnull__(pTHX_2); | |
f5c1e807 | 663 | |
aa924a5a SH |
664 | PERL_CALLCONV HV* Perl_gv_stashpv(pTHX_ const char* name, I32 create) |
665 | __attribute__nonnull__(pTHX_1); | |
666 | ||
667 | PERL_CALLCONV HV* Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 create) | |
668 | __attribute__nonnull__(pTHX_1); | |
669 | ||
1d7c1841 GS |
670 | PERL_CALLCONV HV* Perl_gv_stashsv(pTHX_ SV* sv, I32 create); |
671 | PERL_CALLCONV void Perl_hv_clear(pTHX_ HV* tb); | |
5b9c0671 NC |
672 | PERL_CALLCONV HV * Perl_hv_copy_hints_hv(pTHX_ HV *const ohv) |
673 | __attribute__nonnull__(pTHX_1); | |
674 | ||
aa924a5a SH |
675 | PERL_CALLCONV void Perl_hv_delayfree_ent(pTHX_ HV* hv, HE* entry) |
676 | __attribute__nonnull__(pTHX_1); | |
677 | ||
678 | PERL_CALLCONV SV* Perl_hv_delete(pTHX_ HV* tb, const char* key, I32 klen, I32 flags) | |
679 | __attribute__nonnull__(pTHX_2); | |
680 | ||
681 | PERL_CALLCONV SV* Perl_hv_delete_ent(pTHX_ HV* tb, SV* key, I32 flags, U32 hash) | |
682 | __attribute__nonnull__(pTHX_2); | |
683 | ||
901017d6 | 684 | PERL_CALLCONV bool Perl_hv_exists(pTHX_ HV* tb, const char* key, I32 klen) |
aa924a5a SH |
685 | __attribute__warn_unused_result__ |
686 | __attribute__nonnull__(pTHX_2); | |
901017d6 AL |
687 | |
688 | PERL_CALLCONV bool Perl_hv_exists_ent(pTHX_ HV* tb, SV* key, U32 hash) | |
aa924a5a SH |
689 | __attribute__warn_unused_result__ |
690 | __attribute__nonnull__(pTHX_2); | |
691 | ||
692 | PERL_CALLCONV SV** Perl_hv_fetch(pTHX_ HV* tb, const char* key, I32 klen, I32 lval) | |
693 | __attribute__nonnull__(pTHX_2); | |
901017d6 | 694 | |
aa924a5a SH |
695 | PERL_CALLCONV HE* Perl_hv_fetch_ent(pTHX_ HV* tb, SV* key, I32 lval, U32 hash) |
696 | __attribute__nonnull__(pTHX_2); | |
697 | ||
698 | PERL_CALLCONV void Perl_hv_free_ent(pTHX_ HV* hv, HE* entryK) | |
abb2c242 | 699 | __attribute__nonnull__(pTHX_1); |
a3b680e6 AL |
700 | |
701 | PERL_CALLCONV I32 Perl_hv_iterinit(pTHX_ HV* tb) | |
abb2c242 | 702 | __attribute__nonnull__(pTHX_1); |
a3b680e6 AL |
703 | |
704 | PERL_CALLCONV char* Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen) | |
abb2c242 JH |
705 | __attribute__warn_unused_result__ |
706 | __attribute__nonnull__(pTHX_1) | |
707 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 AL |
708 | |
709 | PERL_CALLCONV SV* Perl_hv_iterkeysv(pTHX_ HE* entry) | |
abb2c242 JH |
710 | __attribute__warn_unused_result__ |
711 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 | 712 | |
7a7b9979 | 713 | /* PERL_CALLCONV HE* Perl_hv_iternext(pTHX_ HV* tb) |
abb2c242 | 714 | __attribute__warn_unused_result__ |
7a7b9979 | 715 | __attribute__nonnull__(pTHX_1); */ |
a3b680e6 AL |
716 | |
717 | PERL_CALLCONV SV* Perl_hv_iternextsv(pTHX_ HV* hv, char** key, I32* retlen) | |
abb2c242 JH |
718 | __attribute__warn_unused_result__ |
719 | __attribute__nonnull__(pTHX_1) | |
720 | __attribute__nonnull__(pTHX_2) | |
721 | __attribute__nonnull__(pTHX_3); | |
a3b680e6 AL |
722 | |
723 | PERL_CALLCONV HE* Perl_hv_iternext_flags(pTHX_ HV* tb, I32 flags) | |
abb2c242 JH |
724 | __attribute__warn_unused_result__ |
725 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
726 | |
727 | PERL_CALLCONV SV* Perl_hv_iterval(pTHX_ HV* tb, HE* entry) | |
abb2c242 JH |
728 | __attribute__warn_unused_result__ |
729 | __attribute__nonnull__(pTHX_1) | |
730 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 AL |
731 | |
732 | PERL_CALLCONV void Perl_hv_ksplit(pTHX_ HV* hv, IV newmax) | |
abb2c242 | 733 | __attribute__nonnull__(pTHX_1); |
a3b680e6 | 734 | |
bc5cdc23 NC |
735 | /* PERL_CALLCONV void Perl_hv_magic(pTHX_ HV* hv, GV* gv, int how) |
736 | __attribute__nonnull__(pTHX_1); */ | |
fb9bf107 | 737 | |
b3ca2e83 | 738 | PERL_CALLCONV HV * Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c); |
7b0bddfa NC |
739 | PERL_CALLCONV SV * Perl_refcounted_he_fetch(pTHX_ const struct refcounted_he *chain, SV *keysv, const char *key, STRLEN klen, int flags, U32 hash) |
740 | __attribute__nonnull__(pTHX_1); | |
741 | ||
b3ca2e83 | 742 | PERL_CALLCONV void Perl_refcounted_he_free(pTHX_ struct refcounted_he *he); |
b46c265e | 743 | PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_new(pTHX_ struct refcounted_he *const parent, SV *const key, SV *const value); |
da58a35d | 744 | PERL_CALLCONV SV** Perl_hv_store(pTHX_ HV* tb, const char* key, I32 klen, SV* val, U32 hash); |
1d7c1841 | 745 | PERL_CALLCONV HE* Perl_hv_store_ent(pTHX_ HV* tb, SV* key, SV* val, U32 hash); |
e16e2ff8 | 746 | PERL_CALLCONV SV** Perl_hv_store_flags(pTHX_ HV* tb, const char* key, I32 klen, SV* val, U32 hash, int flags); |
1d7c1841 | 747 | PERL_CALLCONV void Perl_hv_undef(pTHX_ HV* tb); |
4373e329 | 748 | PERL_CALLCONV I32 Perl_ibcmp(pTHX_ const char* a, const char* b, I32 len) |
abb2c242 JH |
749 | __attribute__pure__ |
750 | __attribute__nonnull__(pTHX_1) | |
751 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 752 | |
4373e329 | 753 | PERL_CALLCONV I32 Perl_ibcmp_locale(pTHX_ const char* a, const char* b, I32 len) |
abb2c242 JH |
754 | __attribute__pure__ |
755 | __attribute__nonnull__(pTHX_1) | |
756 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 757 | |
4373e329 | 758 | 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 |
759 | __attribute__nonnull__(pTHX_1) |
760 | __attribute__nonnull__(pTHX_5); | |
f54cb97a | 761 | |
ae1951c1 | 762 | PERL_CALLCONV bool Perl_ingroup(pTHX_ Gid_t testgid, bool effective) |
abb2c242 | 763 | __attribute__warn_unused_result__; |
f54cb97a | 764 | |
4373e329 | 765 | PERL_CALLCONV void Perl_init_argv_symbols(pTHX_ int argc, char **argv) |
abb2c242 | 766 | __attribute__nonnull__(pTHX_2); |
f54cb97a | 767 | |
1d7c1841 GS |
768 | PERL_CALLCONV void Perl_init_debugger(pTHX); |
769 | PERL_CALLCONV void Perl_init_stacks(pTHX); | |
bfce84ec AL |
770 | PERL_CALLCONV void Perl_init_tm(pTHX_ struct tm *ptm) |
771 | __attribute__nonnull__(pTHX_1); | |
772 | ||
1d7c1841 | 773 | PERL_CALLCONV U32 Perl_intro_my(pTHX); |
4373e329 | 774 | PERL_CALLCONV char* Perl_instr(pTHX_ const char* big, const char* little) |
b464bac0 | 775 | __attribute__warn_unused_result__ |
abb2c242 JH |
776 | __attribute__pure__ |
777 | __attribute__nonnull__(pTHX_1) | |
778 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 779 | |
b464bac0 | 780 | PERL_CALLCONV bool Perl_io_close(pTHX_ IO* io, bool not_implicit) |
b464bac0 AL |
781 | __attribute__nonnull__(pTHX_1); |
782 | ||
783 | PERL_CALLCONV OP* Perl_invert(pTHX_ OP* cmd) | |
784 | __attribute__warn_unused_result__; | |
785 | ||
f54cb97a | 786 | PERL_CALLCONV bool Perl_is_gv_magical(pTHX_ const char *name, STRLEN len, U32 flags) |
9d4ba2ae AL |
787 | __attribute__warn_unused_result__ |
788 | __attribute__nonnull__(pTHX_1); | |
f54cb97a AL |
789 | |
790 | PERL_CALLCONV I32 Perl_is_lvalue_sub(pTHX) | |
abb2c242 | 791 | __attribute__warn_unused_result__; |
f54cb97a AL |
792 | |
793 | PERL_CALLCONV U32 Perl_to_uni_upper_lc(pTHX_ U32 c) | |
abb2c242 JH |
794 | __attribute__warn_unused_result__ |
795 | __attribute__pure__; | |
f54cb97a AL |
796 | |
797 | PERL_CALLCONV U32 Perl_to_uni_title_lc(pTHX_ U32 c) | |
abb2c242 JH |
798 | __attribute__warn_unused_result__ |
799 | __attribute__pure__; | |
f54cb97a AL |
800 | |
801 | PERL_CALLCONV U32 Perl_to_uni_lower_lc(pTHX_ U32 c) | |
abb2c242 JH |
802 | __attribute__warn_unused_result__ |
803 | __attribute__pure__; | |
f54cb97a AL |
804 | |
805 | PERL_CALLCONV bool Perl_is_uni_alnum(pTHX_ UV c) | |
abb2c242 JH |
806 | __attribute__warn_unused_result__ |
807 | __attribute__pure__; | |
f54cb97a AL |
808 | |
809 | PERL_CALLCONV bool Perl_is_uni_alnumc(pTHX_ UV c) | |
abb2c242 JH |
810 | __attribute__warn_unused_result__ |
811 | __attribute__pure__; | |
f54cb97a AL |
812 | |
813 | PERL_CALLCONV bool Perl_is_uni_idfirst(pTHX_ UV c) | |
abb2c242 JH |
814 | __attribute__warn_unused_result__ |
815 | __attribute__pure__; | |
f54cb97a AL |
816 | |
817 | PERL_CALLCONV bool Perl_is_uni_alpha(pTHX_ UV c) | |
abb2c242 JH |
818 | __attribute__warn_unused_result__ |
819 | __attribute__pure__; | |
f54cb97a AL |
820 | |
821 | PERL_CALLCONV bool Perl_is_uni_ascii(pTHX_ UV c) | |
abb2c242 JH |
822 | __attribute__warn_unused_result__ |
823 | __attribute__pure__; | |
f54cb97a AL |
824 | |
825 | PERL_CALLCONV bool Perl_is_uni_space(pTHX_ UV c) | |
abb2c242 JH |
826 | __attribute__warn_unused_result__ |
827 | __attribute__pure__; | |
f54cb97a AL |
828 | |
829 | PERL_CALLCONV bool Perl_is_uni_cntrl(pTHX_ UV c) | |
abb2c242 JH |
830 | __attribute__warn_unused_result__ |
831 | __attribute__pure__; | |
f54cb97a AL |
832 | |
833 | PERL_CALLCONV bool Perl_is_uni_graph(pTHX_ UV c) | |
abb2c242 JH |
834 | __attribute__warn_unused_result__ |
835 | __attribute__pure__; | |
f54cb97a AL |
836 | |
837 | PERL_CALLCONV bool Perl_is_uni_digit(pTHX_ UV c) | |
abb2c242 JH |
838 | __attribute__warn_unused_result__ |
839 | __attribute__pure__; | |
f54cb97a AL |
840 | |
841 | PERL_CALLCONV bool Perl_is_uni_upper(pTHX_ UV c) | |
abb2c242 JH |
842 | __attribute__warn_unused_result__ |
843 | __attribute__pure__; | |
f54cb97a AL |
844 | |
845 | PERL_CALLCONV bool Perl_is_uni_lower(pTHX_ UV c) | |
abb2c242 JH |
846 | __attribute__warn_unused_result__ |
847 | __attribute__pure__; | |
f54cb97a AL |
848 | |
849 | PERL_CALLCONV bool Perl_is_uni_print(pTHX_ UV c) | |
abb2c242 JH |
850 | __attribute__warn_unused_result__ |
851 | __attribute__pure__; | |
f54cb97a AL |
852 | |
853 | PERL_CALLCONV bool Perl_is_uni_punct(pTHX_ UV c) | |
abb2c242 JH |
854 | __attribute__warn_unused_result__ |
855 | __attribute__pure__; | |
f54cb97a AL |
856 | |
857 | PERL_CALLCONV bool Perl_is_uni_xdigit(pTHX_ UV c) | |
abb2c242 JH |
858 | __attribute__warn_unused_result__ |
859 | __attribute__pure__; | |
f54cb97a | 860 | |
4373e329 | 861 | PERL_CALLCONV UV Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp) |
abb2c242 JH |
862 | __attribute__nonnull__(pTHX_2) |
863 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 864 | |
4373e329 | 865 | PERL_CALLCONV UV Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp) |
abb2c242 JH |
866 | __attribute__nonnull__(pTHX_2) |
867 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 868 | |
4373e329 | 869 | PERL_CALLCONV UV Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp) |
abb2c242 JH |
870 | __attribute__nonnull__(pTHX_2) |
871 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 872 | |
4373e329 | 873 | PERL_CALLCONV UV Perl_to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp) |
abb2c242 JH |
874 | __attribute__nonnull__(pTHX_2) |
875 | __attribute__nonnull__(pTHX_3); | |
f54cb97a AL |
876 | |
877 | PERL_CALLCONV bool Perl_is_uni_alnum_lc(pTHX_ UV c) | |
abb2c242 JH |
878 | __attribute__warn_unused_result__ |
879 | __attribute__pure__; | |
f54cb97a AL |
880 | |
881 | PERL_CALLCONV bool Perl_is_uni_alnumc_lc(pTHX_ UV c) | |
abb2c242 JH |
882 | __attribute__warn_unused_result__ |
883 | __attribute__pure__; | |
f54cb97a AL |
884 | |
885 | PERL_CALLCONV bool Perl_is_uni_idfirst_lc(pTHX_ UV c) | |
abb2c242 JH |
886 | __attribute__warn_unused_result__ |
887 | __attribute__pure__; | |
f54cb97a AL |
888 | |
889 | PERL_CALLCONV bool Perl_is_uni_alpha_lc(pTHX_ UV c) | |
abb2c242 JH |
890 | __attribute__warn_unused_result__ |
891 | __attribute__pure__; | |
f54cb97a AL |
892 | |
893 | PERL_CALLCONV bool Perl_is_uni_ascii_lc(pTHX_ UV c) | |
abb2c242 JH |
894 | __attribute__warn_unused_result__ |
895 | __attribute__pure__; | |
f54cb97a AL |
896 | |
897 | PERL_CALLCONV bool Perl_is_uni_space_lc(pTHX_ UV c) | |
abb2c242 JH |
898 | __attribute__warn_unused_result__ |
899 | __attribute__pure__; | |
f54cb97a AL |
900 | |
901 | PERL_CALLCONV bool Perl_is_uni_cntrl_lc(pTHX_ UV c) | |
abb2c242 JH |
902 | __attribute__warn_unused_result__ |
903 | __attribute__pure__; | |
f54cb97a AL |
904 | |
905 | PERL_CALLCONV bool Perl_is_uni_graph_lc(pTHX_ UV c) | |
abb2c242 JH |
906 | __attribute__warn_unused_result__ |
907 | __attribute__pure__; | |
f54cb97a AL |
908 | |
909 | PERL_CALLCONV bool Perl_is_uni_digit_lc(pTHX_ UV c) | |
abb2c242 JH |
910 | __attribute__warn_unused_result__ |
911 | __attribute__pure__; | |
f54cb97a AL |
912 | |
913 | PERL_CALLCONV bool Perl_is_uni_upper_lc(pTHX_ UV c) | |
abb2c242 JH |
914 | __attribute__warn_unused_result__ |
915 | __attribute__pure__; | |
f54cb97a AL |
916 | |
917 | PERL_CALLCONV bool Perl_is_uni_lower_lc(pTHX_ UV c) | |
abb2c242 JH |
918 | __attribute__warn_unused_result__ |
919 | __attribute__pure__; | |
f54cb97a AL |
920 | |
921 | PERL_CALLCONV bool Perl_is_uni_print_lc(pTHX_ UV c) | |
abb2c242 JH |
922 | __attribute__warn_unused_result__ |
923 | __attribute__pure__; | |
f54cb97a AL |
924 | |
925 | PERL_CALLCONV bool Perl_is_uni_punct_lc(pTHX_ UV c) | |
abb2c242 JH |
926 | __attribute__warn_unused_result__ |
927 | __attribute__pure__; | |
f54cb97a AL |
928 | |
929 | PERL_CALLCONV bool Perl_is_uni_xdigit_lc(pTHX_ UV c) | |
abb2c242 JH |
930 | __attribute__warn_unused_result__ |
931 | __attribute__pure__; | |
f54cb97a | 932 | |
4373e329 | 933 | PERL_CALLCONV STRLEN Perl_is_utf8_char(pTHX_ const U8 *p) |
abb2c242 | 934 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 935 | |
4373e329 | 936 | PERL_CALLCONV bool Perl_is_utf8_string(pTHX_ const U8 *s, STRLEN len) |
abb2c242 | 937 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 938 | |
814fafa7 NC |
939 | /* PERL_CALLCONV bool Perl_is_utf8_string_loc(pTHX_ const U8 *s, STRLEN len, const U8 **p) |
940 | __attribute__nonnull__(pTHX_1); */ | |
768c67ee JH |
941 | |
942 | PERL_CALLCONV bool Perl_is_utf8_string_loclen(pTHX_ const U8 *s, STRLEN len, const U8 **ep, STRLEN *el) | |
943 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 944 | |
4373e329 | 945 | PERL_CALLCONV bool Perl_is_utf8_alnum(pTHX_ const U8 *p) |
1df70142 | 946 | __attribute__warn_unused_result__ |
abb2c242 | 947 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 948 | |
4373e329 | 949 | PERL_CALLCONV bool Perl_is_utf8_alnumc(pTHX_ const U8 *p) |
1df70142 | 950 | __attribute__warn_unused_result__ |
abb2c242 | 951 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 952 | |
4373e329 | 953 | PERL_CALLCONV bool Perl_is_utf8_idfirst(pTHX_ const U8 *p) |
1df70142 | 954 | __attribute__warn_unused_result__ |
abb2c242 | 955 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 956 | |
4373e329 | 957 | PERL_CALLCONV bool Perl_is_utf8_idcont(pTHX_ const U8 *p) |
1df70142 | 958 | __attribute__warn_unused_result__ |
abb2c242 | 959 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 960 | |
4373e329 | 961 | PERL_CALLCONV bool Perl_is_utf8_alpha(pTHX_ const U8 *p) |
1df70142 | 962 | __attribute__warn_unused_result__ |
abb2c242 | 963 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 964 | |
4373e329 | 965 | PERL_CALLCONV bool Perl_is_utf8_ascii(pTHX_ const U8 *p) |
1df70142 | 966 | __attribute__warn_unused_result__ |
abb2c242 | 967 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 968 | |
4373e329 | 969 | PERL_CALLCONV bool Perl_is_utf8_space(pTHX_ const U8 *p) |
1df70142 | 970 | __attribute__warn_unused_result__ |
abb2c242 | 971 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 972 | |
4373e329 | 973 | PERL_CALLCONV bool Perl_is_utf8_cntrl(pTHX_ const U8 *p) |
1df70142 | 974 | __attribute__warn_unused_result__ |
abb2c242 | 975 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 976 | |
4373e329 | 977 | PERL_CALLCONV bool Perl_is_utf8_digit(pTHX_ const U8 *p) |
1df70142 | 978 | __attribute__warn_unused_result__ |
abb2c242 | 979 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 980 | |
4373e329 | 981 | PERL_CALLCONV bool Perl_is_utf8_graph(pTHX_ const U8 *p) |
1df70142 | 982 | __attribute__warn_unused_result__ |
abb2c242 | 983 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 984 | |
4373e329 | 985 | PERL_CALLCONV bool Perl_is_utf8_upper(pTHX_ const U8 *p) |
1df70142 | 986 | __attribute__warn_unused_result__ |
abb2c242 | 987 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 988 | |
4373e329 | 989 | PERL_CALLCONV bool Perl_is_utf8_lower(pTHX_ const U8 *p) |
1df70142 | 990 | __attribute__warn_unused_result__ |
abb2c242 | 991 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 992 | |
4373e329 | 993 | PERL_CALLCONV bool Perl_is_utf8_print(pTHX_ const U8 *p) |
1df70142 | 994 | __attribute__warn_unused_result__ |
abb2c242 | 995 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 996 | |
4373e329 | 997 | PERL_CALLCONV bool Perl_is_utf8_punct(pTHX_ const U8 *p) |
1df70142 | 998 | __attribute__warn_unused_result__ |
abb2c242 | 999 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1000 | |
4373e329 | 1001 | PERL_CALLCONV bool Perl_is_utf8_xdigit(pTHX_ const U8 *p) |
1df70142 | 1002 | __attribute__warn_unused_result__ |
abb2c242 | 1003 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1004 | |
4373e329 | 1005 | PERL_CALLCONV bool Perl_is_utf8_mark(pTHX_ const U8 *p) |
1df70142 | 1006 | __attribute__warn_unused_result__ |
abb2c242 | 1007 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1008 | |
4373e329 | 1009 | PERL_CALLCONV OP* Perl_jmaybe(pTHX_ OP* arg) |
abb2c242 | 1010 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1011 | |
672994ce | 1012 | PERL_CALLCONV I32 Perl_keyword(pTHX_ const char* d, I32 len) |
abb2c242 JH |
1013 | __attribute__pure__ |
1014 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 1015 | |
1d7c1841 GS |
1016 | PERL_CALLCONV void Perl_leave_scope(pTHX_ I32 base); |
1017 | PERL_CALLCONV void Perl_lex_end(pTHX); | |
bfce84ec AL |
1018 | PERL_CALLCONV void Perl_lex_start(pTHX_ SV* line) |
1019 | __attribute__nonnull__(pTHX_1); | |
1020 | ||
aec46f14 AL |
1021 | PERL_CALLCONV void Perl_op_null(pTHX_ OP* o) |
1022 | __attribute__nonnull__(pTHX_1); | |
1023 | ||
1024 | PERL_CALLCONV void Perl_op_clear(pTHX_ OP* o) | |
1025 | __attribute__nonnull__(pTHX_1); | |
1026 | ||
4026c95a SH |
1027 | PERL_CALLCONV void Perl_op_refcnt_lock(pTHX); |
1028 | PERL_CALLCONV void Perl_op_refcnt_unlock(pTHX); | |
aec46f14 AL |
1029 | PERL_CALLCONV OP* Perl_linklist(pTHX_ OP* o) |
1030 | __attribute__nonnull__(pTHX_1); | |
1031 | ||
1d7c1841 GS |
1032 | PERL_CALLCONV OP* Perl_list(pTHX_ OP* o); |
1033 | PERL_CALLCONV OP* Perl_listkids(pTHX_ OP* o); | |
aec46f14 AL |
1034 | PERL_CALLCONV void Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...) |
1035 | __attribute__nonnull__(pTHX_2); | |
1036 | ||
1037 | PERL_CALLCONV void Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args) | |
1038 | __attribute__nonnull__(pTHX_2); | |
1039 | ||
bfce84ec AL |
1040 | PERL_CALLCONV OP* Perl_localize(pTHX_ OP* arg, I32 lexical) |
1041 | __attribute__nonnull__(pTHX_1); | |
1042 | ||
f54cb97a | 1043 | PERL_CALLCONV I32 Perl_looks_like_number(pTHX_ SV* sv) |
abb2c242 JH |
1044 | __attribute__warn_unused_result__ |
1045 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 1046 | |
a3b680e6 | 1047 | PERL_CALLCONV UV Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result) |
abb2c242 JH |
1048 | __attribute__nonnull__(pTHX_1) |
1049 | __attribute__nonnull__(pTHX_2) | |
1050 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 1051 | |
a3b680e6 | 1052 | PERL_CALLCONV UV Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result) |
abb2c242 JH |
1053 | __attribute__nonnull__(pTHX_1) |
1054 | __attribute__nonnull__(pTHX_2) | |
1055 | __attribute__nonnull__(pTHX_3); | |
f54cb97a AL |
1056 | |
1057 | PERL_CALLCONV int Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep) | |
abb2c242 | 1058 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1059 | |
901017d6 | 1060 | PERL_CALLCONV bool Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send) |
bfce84ec AL |
1061 | __attribute__warn_unused_result__ |
1062 | __attribute__nonnull__(pTHX_1) | |
1063 | __attribute__nonnull__(pTHX_2); | |
1064 | ||
1065 | PERL_CALLCONV UV Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result) | |
fb9bf107 NC |
1066 | __attribute__nonnull__(pTHX_1) |
1067 | __attribute__nonnull__(pTHX_2) | |
1068 | __attribute__nonnull__(pTHX_3); | |
bfce84ec AL |
1069 | |
1070 | PERL_CALLCONV int Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg) | |
1071 | __attribute__nonnull__(pTHX_1) | |
1072 | __attribute__nonnull__(pTHX_2); | |
1073 | ||
1074 | PERL_CALLCONV int Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg) | |
1075 | __attribute__nonnull__(pTHX_1) | |
1076 | __attribute__nonnull__(pTHX_2); | |
1077 | ||
b3ca2e83 NC |
1078 | PERL_CALLCONV int Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg) |
1079 | __attribute__nonnull__(pTHX_1) | |
1080 | __attribute__nonnull__(pTHX_2); | |
1081 | ||
bfce84ec AL |
1082 | PERL_CALLCONV int Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg) |
1083 | __attribute__nonnull__(pTHX_1) | |
1084 | __attribute__nonnull__(pTHX_2); | |
1085 | ||
1086 | PERL_CALLCONV int Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg) | |
1087 | __attribute__nonnull__(pTHX_1) | |
1088 | __attribute__nonnull__(pTHX_2); | |
1089 | ||
1146e912 | 1090 | PERL_CALLCONV int Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg) |
bfce84ec AL |
1091 | __attribute__nonnull__(pTHX_1) |
1092 | __attribute__nonnull__(pTHX_2); | |
1093 | ||
1094 | PERL_CALLCONV int Perl_magic_freeregexp(pTHX_ SV* sv, MAGIC* mg) | |
1095 | __attribute__nonnull__(pTHX_1) | |
1096 | __attribute__nonnull__(pTHX_2); | |
1097 | ||
1098 | PERL_CALLCONV int Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg) | |
1099 | __attribute__nonnull__(pTHX_1) | |
1100 | __attribute__nonnull__(pTHX_2); | |
1101 | ||
1102 | PERL_CALLCONV int Perl_magic_get(pTHX_ SV* sv, MAGIC* mg) | |
1103 | __attribute__nonnull__(pTHX_1) | |
1104 | __attribute__nonnull__(pTHX_2); | |
901017d6 | 1105 | |
8772537c AL |
1106 | PERL_CALLCONV int Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg) |
1107 | __attribute__nonnull__(pTHX_1) | |
1108 | __attribute__nonnull__(pTHX_2); | |
1109 | ||
bfce84ec AL |
1110 | PERL_CALLCONV int Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg) |
1111 | __attribute__nonnull__(pTHX_1) | |
1112 | __attribute__nonnull__(pTHX_2); | |
1113 | ||
bfce84ec AL |
1114 | PERL_CALLCONV int Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg) |
1115 | __attribute__nonnull__(pTHX_1) | |
1116 | __attribute__nonnull__(pTHX_2); | |
1117 | ||
1118 | PERL_CALLCONV int Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg) | |
1119 | __attribute__nonnull__(pTHX_1) | |
1120 | __attribute__nonnull__(pTHX_2); | |
1121 | ||
1122 | PERL_CALLCONV int Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg) | |
1123 | __attribute__nonnull__(pTHX_1) | |
1124 | __attribute__nonnull__(pTHX_2); | |
1125 | ||
1126 | PERL_CALLCONV int Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg) | |
1127 | __attribute__nonnull__(pTHX_1) | |
1128 | __attribute__nonnull__(pTHX_2); | |
1129 | ||
1130 | PERL_CALLCONV int Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg) | |
1131 | __attribute__nonnull__(pTHX_1) | |
1132 | __attribute__nonnull__(pTHX_2); | |
1133 | ||
1134 | PERL_CALLCONV int Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg) | |
1135 | __attribute__nonnull__(pTHX_1) | |
1136 | __attribute__nonnull__(pTHX_2); | |
1137 | ||
1138 | PERL_CALLCONV int Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg) | |
1139 | __attribute__nonnull__(pTHX_1) | |
1140 | __attribute__nonnull__(pTHX_2); | |
1141 | ||
1142 | PERL_CALLCONV int Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg) | |
1143 | __attribute__nonnull__(pTHX_1) | |
1144 | __attribute__nonnull__(pTHX_2); | |
1145 | ||
1146 | PERL_CALLCONV U32 Perl_magic_len(pTHX_ SV* sv, MAGIC* mg) | |
1147 | __attribute__nonnull__(pTHX_1) | |
1148 | __attribute__nonnull__(pTHX_2); | |
1149 | ||
1150 | PERL_CALLCONV int Perl_magic_nextpack(pTHX_ SV* sv, MAGIC* mg, SV* key) | |
1151 | __attribute__nonnull__(pTHX_1) | |
1152 | __attribute__nonnull__(pTHX_2) | |
1153 | __attribute__nonnull__(pTHX_3); | |
1154 | ||
1155 | PERL_CALLCONV U32 Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg) | |
1156 | __attribute__nonnull__(pTHX_1) | |
1157 | __attribute__nonnull__(pTHX_2); | |
1158 | ||
1159 | PERL_CALLCONV int Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg) | |
1160 | __attribute__nonnull__(pTHX_1) | |
1161 | __attribute__nonnull__(pTHX_2); | |
1162 | ||
f54cb97a | 1163 | PERL_CALLCONV int Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg) |
bfce84ec AL |
1164 | __attribute__noreturn__ |
1165 | __attribute__nonnull__(pTHX_1) | |
1166 | __attribute__nonnull__(pTHX_2); | |
1167 | ||
1168 | PERL_CALLCONV int Perl_magic_set(pTHX_ SV* sv, MAGIC* mg) | |
1169 | __attribute__nonnull__(pTHX_1) | |
1170 | __attribute__nonnull__(pTHX_2); | |
1171 | ||
1172 | PERL_CALLCONV int Perl_magic_setamagic(pTHX_ SV* sv, MAGIC* mg) | |
1173 | __attribute__nonnull__(pTHX_1) | |
1174 | __attribute__nonnull__(pTHX_2); | |
1175 | ||
1176 | PERL_CALLCONV int Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg) | |
1177 | __attribute__nonnull__(pTHX_1) | |
1178 | __attribute__nonnull__(pTHX_2); | |
1179 | ||
1180 | PERL_CALLCONV int Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg) | |
1181 | __attribute__nonnull__(pTHX_1) | |
1182 | __attribute__nonnull__(pTHX_2); | |
1183 | ||
1184 | PERL_CALLCONV int Perl_magic_setbm(pTHX_ SV* sv, MAGIC* mg) | |
1185 | __attribute__nonnull__(pTHX_1) | |
1186 | __attribute__nonnull__(pTHX_2); | |
1187 | ||
1188 | PERL_CALLCONV int Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg) | |
1189 | __attribute__nonnull__(pTHX_1) | |
1190 | __attribute__nonnull__(pTHX_2); | |
1191 | ||
1192 | PERL_CALLCONV int Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg) | |
1193 | __attribute__nonnull__(pTHX_1) | |
1194 | __attribute__nonnull__(pTHX_2); | |
1195 | ||
1196 | PERL_CALLCONV int Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg) | |
1197 | __attribute__nonnull__(pTHX_1) | |
1198 | __attribute__nonnull__(pTHX_2); | |
1199 | ||
1200 | PERL_CALLCONV int Perl_magic_setfm(pTHX_ SV* sv, MAGIC* mg) | |
1201 | __attribute__nonnull__(pTHX_1) | |
1202 | __attribute__nonnull__(pTHX_2); | |
1203 | ||
b3ca2e83 NC |
1204 | PERL_CALLCONV int Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg) |
1205 | __attribute__nonnull__(pTHX_1) | |
1206 | __attribute__nonnull__(pTHX_2); | |
1207 | ||
bfce84ec AL |
1208 | PERL_CALLCONV int Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg) |
1209 | __attribute__nonnull__(pTHX_1) | |
1210 | __attribute__nonnull__(pTHX_2); | |
1211 | ||
1212 | PERL_CALLCONV int Perl_magic_setglob(pTHX_ SV* sv, MAGIC* mg) | |
1213 | __attribute__nonnull__(pTHX_1) | |
1214 | __attribute__nonnull__(pTHX_2); | |
1215 | ||
1216 | PERL_CALLCONV int Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg) | |
1217 | __attribute__nonnull__(pTHX_1) | |
1218 | __attribute__nonnull__(pTHX_2); | |
1219 | ||
1220 | PERL_CALLCONV int Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg) | |
1221 | __attribute__nonnull__(pTHX_1) | |
1222 | __attribute__nonnull__(pTHX_2); | |
1223 | ||
1224 | PERL_CALLCONV int Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg) | |
1225 | __attribute__nonnull__(pTHX_1) | |
1226 | __attribute__nonnull__(pTHX_2); | |
1227 | ||
1228 | PERL_CALLCONV int Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg) | |
1229 | __attribute__nonnull__(pTHX_1) | |
1230 | __attribute__nonnull__(pTHX_2); | |
1231 | ||
1232 | PERL_CALLCONV int Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg) | |
1233 | __attribute__nonnull__(pTHX_1) | |
1234 | __attribute__nonnull__(pTHX_2); | |
1235 | ||
1236 | PERL_CALLCONV int Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg) | |
1237 | __attribute__nonnull__(pTHX_1) | |
1238 | __attribute__nonnull__(pTHX_2); | |
1239 | ||
1240 | PERL_CALLCONV int Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg) | |
1241 | __attribute__nonnull__(pTHX_1) | |
1242 | __attribute__nonnull__(pTHX_2); | |
1243 | ||
1244 | PERL_CALLCONV int Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg) | |
1245 | __attribute__nonnull__(pTHX_1) | |
1246 | __attribute__nonnull__(pTHX_2); | |
1247 | ||
1248 | PERL_CALLCONV int Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg) | |
1249 | __attribute__nonnull__(pTHX_1) | |
1250 | __attribute__nonnull__(pTHX_2); | |
1251 | ||
1252 | PERL_CALLCONV int Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg) | |
1253 | __attribute__nonnull__(pTHX_1) | |
1254 | __attribute__nonnull__(pTHX_2); | |
1255 | ||
1256 | PERL_CALLCONV int Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg) | |
1257 | __attribute__nonnull__(pTHX_1) | |
1258 | __attribute__nonnull__(pTHX_2); | |
1259 | ||
1260 | PERL_CALLCONV int Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg) | |
1261 | __attribute__nonnull__(pTHX_1) | |
1262 | __attribute__nonnull__(pTHX_2); | |
1263 | ||
1264 | PERL_CALLCONV U32 Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg) | |
1265 | __attribute__nonnull__(pTHX_1) | |
1266 | __attribute__nonnull__(pTHX_2); | |
1267 | ||
1268 | PERL_CALLCONV int Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg) | |
1269 | __attribute__nonnull__(pTHX_1) | |
1270 | __attribute__nonnull__(pTHX_2); | |
1271 | ||
1272 | PERL_CALLCONV void Perl_magicname(pTHX_ const char* sym, const char* name, I32 namlen) | |
1273 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 1274 | |
1d7c1841 | 1275 | PERL_CALLCONV void Perl_markstack_grow(pTHX); |
864dbfa3 | 1276 | #if defined(USE_LOCALE_COLLATE) |
aa924a5a SH |
1277 | PERL_CALLCONV int Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg) |
1278 | __attribute__nonnull__(pTHX_1) | |
1279 | __attribute__nonnull__(pTHX_2); | |
1280 | ||
1281 | PERL_CALLCONV char* Perl_mem_collxfrm(pTHX_ const char* s, STRLEN len, STRLEN* xlen) | |
1282 | __attribute__nonnull__(pTHX_1) | |
1283 | __attribute__nonnull__(pTHX_3); | |
1284 | ||
0cb96387 | 1285 | #endif |
894356b3 | 1286 | PERL_CALLCONV SV* Perl_mess(pTHX_ const char* pat, ...) |
aec46f14 AL |
1287 | __attribute__format__(__printf__,pTHX_1,pTHX_2) |
1288 | __attribute__nonnull__(pTHX_1); | |
1289 | ||
1290 | PERL_CALLCONV SV* Perl_vmess(pTHX_ const char* pat, va_list* args) | |
1291 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 1292 | |
aa924a5a SH |
1293 | PERL_CALLCONV void Perl_qerror(pTHX_ SV* err) |
1294 | __attribute__nonnull__(pTHX_1); | |
1295 | ||
1296 | PERL_CALLCONV void Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp) | |
52657f30 AL |
1297 | __attribute__nonnull__(pTHX_1) |
1298 | __attribute__nonnull__(pTHX_3); | |
aa924a5a | 1299 | |
7b9ef140 | 1300 | PERL_CALLCONV void Perl_sortsv_flags(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags) |
52657f30 AL |
1301 | __attribute__nonnull__(pTHX_1) |
1302 | __attribute__nonnull__(pTHX_3); | |
7b9ef140 | 1303 | |
9a957fbc AL |
1304 | PERL_CALLCONV int Perl_mg_clear(pTHX_ SV* sv) |
1305 | __attribute__nonnull__(pTHX_1); | |
1306 | ||
1307 | PERL_CALLCONV int Perl_mg_copy(pTHX_ SV* sv, SV* nsv, const char* key, I32 klen) | |
1308 | __attribute__nonnull__(pTHX_1) | |
1309 | __attribute__nonnull__(pTHX_2); | |
1310 | ||
1311 | PERL_CALLCONV void Perl_mg_localize(pTHX_ SV* sv, SV* nsv) | |
1312 | __attribute__nonnull__(pTHX_1) | |
1313 | __attribute__nonnull__(pTHX_2); | |
1314 | ||
255164ba DM |
1315 | PERL_CALLCONV MAGIC* Perl_mg_find(pTHX_ const SV* sv, int type) |
1316 | __attribute__warn_unused_result__; | |
1317 | ||
9a957fbc AL |
1318 | PERL_CALLCONV int Perl_mg_free(pTHX_ SV* sv) |
1319 | __attribute__nonnull__(pTHX_1); | |
1320 | ||
1321 | PERL_CALLCONV int Perl_mg_get(pTHX_ SV* sv) | |
1322 | __attribute__nonnull__(pTHX_1); | |
1323 | ||
1324 | PERL_CALLCONV U32 Perl_mg_length(pTHX_ SV* sv) | |
1325 | __attribute__nonnull__(pTHX_1); | |
1326 | ||
1327 | PERL_CALLCONV void Perl_mg_magical(pTHX_ SV* sv) | |
1328 | __attribute__nonnull__(pTHX_1); | |
1329 | ||
1330 | PERL_CALLCONV int Perl_mg_set(pTHX_ SV* sv) | |
1331 | __attribute__nonnull__(pTHX_1); | |
1332 | ||
1333 | PERL_CALLCONV I32 Perl_mg_size(pTHX_ SV* sv) | |
1334 | __attribute__nonnull__(pTHX_1); | |
1335 | ||
1336 | PERL_CALLCONV void Perl_mini_mktime(pTHX_ struct tm *pm) | |
1337 | __attribute__nonnull__(pTHX_1); | |
1338 | ||
1d7c1841 | 1339 | PERL_CALLCONV OP* Perl_mod(pTHX_ OP* o, I32 type); |
16fe6d59 | 1340 | PERL_CALLCONV int Perl_mode_from_discipline(pTHX_ SV* discp); |
97bd5664 | 1341 | PERL_CALLCONV char* Perl_moreswitches(pTHX_ char* s) |
bfce84ec AL |
1342 | __attribute__nonnull__(pTHX_1); |
1343 | ||
4373e329 | 1344 | PERL_CALLCONV OP* Perl_my(pTHX_ OP* o) |
abb2c242 | 1345 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1346 | |
4373e329 | 1347 | PERL_CALLCONV NV Perl_my_atof(pTHX_ const char *s) |
abb2c242 | 1348 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1349 | |
2253333f | 1350 | #if (!defined(HAS_MEMCPY) && !defined(HAS_BCOPY)) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY) && !defined(HAS_SAFE_BCOPY)) |
4373e329 | 1351 | PERL_CALLCONV char* Perl_my_bcopy(const char* from, char* to, I32 len) |
abb2c242 JH |
1352 | __attribute__nonnull__(1) |
1353 | __attribute__nonnull__(2); | |
f54cb97a | 1354 | |
5f05dabc | 1355 | #endif |
a0d0e21e | 1356 | #if !defined(HAS_BZERO) && !defined(HAS_MEMSET) |
4373e329 | 1357 | PERL_CALLCONV char* Perl_my_bzero(char* loc, I32 len) |
abb2c242 | 1358 | __attribute__nonnull__(1); |
f54cb97a | 1359 | |
864dbfa3 | 1360 | #endif |
f54cb97a | 1361 | PERL_CALLCONV void Perl_my_exit(pTHX_ U32 status) |
abb2c242 | 1362 | __attribute__noreturn__; |
f54cb97a AL |
1363 | |
1364 | PERL_CALLCONV void Perl_my_failure_exit(pTHX) | |
abb2c242 | 1365 | __attribute__noreturn__; |
f54cb97a | 1366 | |
1d7c1841 | 1367 | PERL_CALLCONV I32 Perl_my_fflush_all(pTHX); |
52e18b1f GS |
1368 | PERL_CALLCONV Pid_t Perl_my_fork(void); |
1369 | PERL_CALLCONV void Perl_atfork_lock(void); | |
1370 | PERL_CALLCONV void Perl_atfork_unlock(void); | |
1d7c1841 | 1371 | PERL_CALLCONV I32 Perl_my_lstat(pTHX); |
5f05dabc | 1372 | #if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP) |
4373e329 | 1373 | PERL_CALLCONV I32 Perl_my_memcmp(const char* s1, const char* s2, I32 len) |
abb2c242 JH |
1374 | __attribute__pure__ |
1375 | __attribute__nonnull__(1) | |
1376 | __attribute__nonnull__(2); | |
f54cb97a | 1377 | |
a0d0e21e | 1378 | #endif |
fc36a67e | 1379 | #if !defined(HAS_MEMSET) |
4373e329 | 1380 | PERL_CALLCONV void* Perl_my_memset(char* loc, I32 ch, I32 len) |
abb2c242 | 1381 | __attribute__nonnull__(1); |
f54cb97a | 1382 | |
864dbfa3 | 1383 | #endif |
1d7c1841 | 1384 | PERL_CALLCONV I32 Perl_my_pclose(pTHX_ PerlIO* ptr); |
bfce84ec AL |
1385 | PERL_CALLCONV PerlIO* Perl_my_popen(pTHX_ const char* cmd, const char* mode) |
1386 | __attribute__nonnull__(pTHX_1) | |
1387 | __attribute__nonnull__(pTHX_2); | |
1388 | ||
1389 | PERL_CALLCONV PerlIO* Perl_my_popen_list(pTHX_ char* mode, int n, SV ** args) | |
1390 | __attribute__nonnull__(pTHX_1) | |
1391 | __attribute__nonnull__(pTHX_3); | |
1392 | ||
e1ec3a88 | 1393 | PERL_CALLCONV void Perl_my_setenv(pTHX_ const char* nam, const char* val); |
1d7c1841 | 1394 | PERL_CALLCONV I32 Perl_my_stat(pTHX); |
bfce84ec AL |
1395 | 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) |
1396 | __attribute__nonnull__(pTHX_1); | |
1397 | ||
864dbfa3 | 1398 | #if defined(MYSWAP) |
4373e329 | 1399 | PERL_CALLCONV short Perl_my_swap(pTHX_ short s) |
abb2c242 JH |
1400 | __attribute__malloc__ |
1401 | __attribute__warn_unused_result__ | |
1402 | __attribute__pure__; | |
f54cb97a | 1403 | |
4373e329 | 1404 | PERL_CALLCONV long Perl_my_htonl(pTHX_ long l) |
abb2c242 JH |
1405 | __attribute__malloc__ |
1406 | __attribute__warn_unused_result__ | |
1407 | __attribute__pure__; | |
f54cb97a | 1408 | |
4373e329 | 1409 | PERL_CALLCONV long Perl_my_ntohl(pTHX_ long l) |
abb2c242 JH |
1410 | __attribute__malloc__ |
1411 | __attribute__warn_unused_result__ | |
1412 | __attribute__pure__; | |
f54cb97a | 1413 | |
0cb96387 | 1414 | #endif |
1d7c1841 | 1415 | PERL_CALLCONV void Perl_my_unexec(pTHX); |
f54cb97a | 1416 | PERL_CALLCONV OP* Perl_newANONLIST(pTHX_ OP* o) |
abb2c242 JH |
1417 | __attribute__malloc__ |
1418 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1419 | |
1420 | PERL_CALLCONV OP* Perl_newANONHASH(pTHX_ OP* o) | |
abb2c242 JH |
1421 | __attribute__malloc__ |
1422 | __attribute__warn_unused_result__; | |
f54cb97a | 1423 | |
1d7c1841 | 1424 | PERL_CALLCONV OP* Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block); |
f54cb97a | 1425 | PERL_CALLCONV OP* Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right) |
abb2c242 JH |
1426 | __attribute__malloc__ |
1427 | __attribute__warn_unused_result__; | |
f54cb97a | 1428 | |
aec46f14 | 1429 | PERL_CALLCONV OP* Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop) |
abb2c242 | 1430 | __attribute__malloc__ |
aec46f14 AL |
1431 | __attribute__warn_unused_result__ |
1432 | __attribute__nonnull__(pTHX_2); | |
1433 | ||
9a957fbc | 1434 | PERL_CALLCONV CV* Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv); |
eb8433b7 NC |
1435 | #ifdef PERL_MAD |
1436 | PERL_CALLCONV OP* Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block); | |
1437 | #else | |
1d7c1841 | 1438 | PERL_CALLCONV void Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block); |
eb8433b7 | 1439 | #endif |
aa924a5a | 1440 | PERL_CALLCONV OP* Perl_newFOROP(pTHX_ I32 flags, char* label, line_t forline, OP* sv, OP* expr, OP* block, OP* cont) |
abb2c242 | 1441 | __attribute__malloc__ |
aa924a5a SH |
1442 | __attribute__warn_unused_result__ |
1443 | __attribute__nonnull__(pTHX_5); | |
f54cb97a | 1444 | |
0d863452 RH |
1445 | PERL_CALLCONV OP* Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off) |
1446 | __attribute__malloc__ | |
1447 | __attribute__warn_unused_result__ | |
1448 | __attribute__nonnull__(pTHX_1) | |
1449 | __attribute__nonnull__(pTHX_2); | |
1450 | ||
f54cb97a | 1451 | PERL_CALLCONV OP* Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP* left, OP* right) |
abb2c242 | 1452 | __attribute__malloc__ |
aa924a5a SH |
1453 | __attribute__warn_unused_result__ |
1454 | __attribute__nonnull__(pTHX_3) | |
1455 | __attribute__nonnull__(pTHX_4); | |
f54cb97a AL |
1456 | |
1457 | PERL_CALLCONV OP* Perl_newLOOPEX(pTHX_ I32 type, OP* label) | |
abb2c242 | 1458 | __attribute__malloc__ |
aa924a5a SH |
1459 | __attribute__warn_unused_result__ |
1460 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
1461 | |
1462 | PERL_CALLCONV OP* Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block) | |
abb2c242 JH |
1463 | __attribute__malloc__ |
1464 | __attribute__warn_unused_result__; | |
f54cb97a | 1465 | |
4373e329 | 1466 | PERL_CALLCONV OP* Perl_newNULLLIST(pTHX) |
abb2c242 JH |
1467 | __attribute__malloc__ |
1468 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1469 | |
1470 | PERL_CALLCONV OP* Perl_newOP(pTHX_ I32 optype, I32 flags) | |
abb2c242 JH |
1471 | __attribute__malloc__ |
1472 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1473 | |
1474 | PERL_CALLCONV void Perl_newPROG(pTHX_ OP* o) | |
abb2c242 | 1475 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1476 | |
1477 | PERL_CALLCONV OP* Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right) | |
abb2c242 | 1478 | __attribute__malloc__ |
aa924a5a SH |
1479 | __attribute__warn_unused_result__ |
1480 | __attribute__nonnull__(pTHX_2) | |
1481 | __attribute__nonnull__(pTHX_3); | |
f54cb97a AL |
1482 | |
1483 | PERL_CALLCONV OP* Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop) | |
abb2c242 JH |
1484 | __attribute__malloc__ |
1485 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1486 | |
1487 | PERL_CALLCONV OP* Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o) | |
abb2c242 JH |
1488 | __attribute__malloc__ |
1489 | __attribute__warn_unused_result__; | |
f54cb97a | 1490 | |
1d7c1841 | 1491 | PERL_CALLCONV CV* Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block); |
77004dee NC |
1492 | PERL_CALLCONV CV * Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags) |
1493 | __attribute__nonnull__(pTHX_2) | |
1494 | __attribute__nonnull__(pTHX_3); | |
1495 | ||
4373e329 | 1496 | PERL_CALLCONV CV* Perl_newXS(pTHX_ const char* name, XSUBADDR_t f, const char* filename) |
9a957fbc | 1497 | __attribute__nonnull__(pTHX_2) |
abb2c242 | 1498 | __attribute__nonnull__(pTHX_3); |
f54cb97a AL |
1499 | |
1500 | PERL_CALLCONV AV* Perl_newAV(pTHX) | |
abb2c242 JH |
1501 | __attribute__malloc__ |
1502 | __attribute__warn_unused_result__; | |
f54cb97a | 1503 | |
4373e329 | 1504 | PERL_CALLCONV OP* Perl_newAVREF(pTHX_ OP* o) |
abb2c242 JH |
1505 | __attribute__malloc__ |
1506 | __attribute__warn_unused_result__ | |
1507 | __attribute__nonnull__(pTHX_1); | |
f54cb97a AL |
1508 | |
1509 | PERL_CALLCONV OP* Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last) | |
abb2c242 JH |
1510 | __attribute__malloc__ |
1511 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1512 | |
1513 | PERL_CALLCONV OP* Perl_newCVREF(pTHX_ I32 flags, OP* o) | |
abb2c242 JH |
1514 | __attribute__malloc__ |
1515 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1516 | |
1517 | PERL_CALLCONV OP* Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv) | |
abb2c242 | 1518 | __attribute__malloc__ |
2d03de9c AL |
1519 | __attribute__warn_unused_result__ |
1520 | __attribute__nonnull__(pTHX_3); | |
f54cb97a AL |
1521 | |
1522 | PERL_CALLCONV GV* Perl_newGVgen(pTHX_ const char* pack) | |
abb2c242 | 1523 | __attribute__malloc__ |
aa924a5a SH |
1524 | __attribute__warn_unused_result__ |
1525 | __attribute__nonnull__(pTHX_1); | |
f54cb97a AL |
1526 | |
1527 | PERL_CALLCONV OP* Perl_newGVREF(pTHX_ I32 type, OP* o) | |
abb2c242 JH |
1528 | __attribute__malloc__ |
1529 | __attribute__warn_unused_result__; | |
f54cb97a | 1530 | |
4373e329 | 1531 | PERL_CALLCONV OP* Perl_newHVREF(pTHX_ OP* o) |
abb2c242 JH |
1532 | __attribute__malloc__ |
1533 | __attribute__warn_unused_result__ | |
1534 | __attribute__nonnull__(pTHX_1); | |
f54cb97a AL |
1535 | |
1536 | PERL_CALLCONV HV* Perl_newHV(pTHX) | |
abb2c242 JH |
1537 | __attribute__malloc__ |
1538 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1539 | |
1540 | PERL_CALLCONV HV* Perl_newHVhv(pTHX_ HV* hv) | |
abb2c242 JH |
1541 | __attribute__malloc__ |
1542 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1543 | |
1544 | PERL_CALLCONV IO* Perl_newIO(pTHX) | |
abb2c242 JH |
1545 | __attribute__malloc__ |
1546 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1547 | |
1548 | PERL_CALLCONV OP* Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last) | |
abb2c242 JH |
1549 | __attribute__malloc__ |
1550 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1551 | |
1552 | PERL_CALLCONV OP* Perl_newPADOP(pTHX_ I32 type, I32 flags, SV* sv) | |
abb2c242 JH |
1553 | __attribute__malloc__ |
1554 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1555 | |
1556 | PERL_CALLCONV OP* Perl_newPMOP(pTHX_ I32 type, I32 flags) | |
abb2c242 JH |
1557 | __attribute__malloc__ |
1558 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1559 | |
1560 | PERL_CALLCONV OP* Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv) | |
abb2c242 JH |
1561 | __attribute__malloc__ |
1562 | __attribute__warn_unused_result__; | |
f54cb97a | 1563 | |
7f466ec7 | 1564 | PERL_CALLCONV SV* Perl_newRV(pTHX_ SV* sv) |
abb2c242 | 1565 | __attribute__malloc__ |
66a1b24b AL |
1566 | __attribute__warn_unused_result__ |
1567 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 1568 | |
7f466ec7 | 1569 | PERL_CALLCONV SV* Perl_newRV_noinc(pTHX_ SV* sv) |
abb2c242 JH |
1570 | __attribute__malloc__ |
1571 | __attribute__warn_unused_result__ | |
1572 | __attribute__nonnull__(pTHX_1); | |
f54cb97a AL |
1573 | |
1574 | PERL_CALLCONV SV* Perl_newSV(pTHX_ STRLEN len) | |
abb2c242 JH |
1575 | __attribute__malloc__ |
1576 | __attribute__warn_unused_result__; | |
f54cb97a | 1577 | |
4373e329 | 1578 | PERL_CALLCONV OP* Perl_newSVREF(pTHX_ OP* o) |
abb2c242 JH |
1579 | __attribute__malloc__ |
1580 | __attribute__warn_unused_result__ | |
1581 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 1582 | |
4373e329 | 1583 | PERL_CALLCONV OP* Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv) |
abb2c242 JH |
1584 | __attribute__malloc__ |
1585 | __attribute__warn_unused_result__ | |
1586 | __attribute__nonnull__(pTHX_3); | |
f54cb97a AL |
1587 | |
1588 | PERL_CALLCONV SV* Perl_newSViv(pTHX_ IV i) | |
abb2c242 JH |
1589 | __attribute__malloc__ |
1590 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1591 | |
1592 | PERL_CALLCONV SV* Perl_newSVuv(pTHX_ UV u) | |
abb2c242 JH |
1593 | __attribute__malloc__ |
1594 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1595 | |
1596 | PERL_CALLCONV SV* Perl_newSVnv(pTHX_ NV n) | |
abb2c242 JH |
1597 | __attribute__malloc__ |
1598 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1599 | |
1600 | PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char* s, STRLEN len) | |
abb2c242 JH |
1601 | __attribute__malloc__ |
1602 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1603 | |
1604 | PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char* s, STRLEN len) | |
abb2c242 JH |
1605 | __attribute__malloc__ |
1606 | __attribute__warn_unused_result__; | |
f54cb97a | 1607 | |
c1b02ed8 NC |
1608 | PERL_CALLCONV SV* Perl_newSVhek(pTHX_ const HEK *hek) |
1609 | __attribute__malloc__ | |
1610 | __attribute__warn_unused_result__; | |
1611 | ||
f54cb97a | 1612 | PERL_CALLCONV SV* Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash) |
abb2c242 JH |
1613 | __attribute__malloc__ |
1614 | __attribute__warn_unused_result__; | |
f54cb97a | 1615 | |
894356b3 | 1616 | PERL_CALLCONV SV* Perl_newSVpvf(pTHX_ const char* pat, ...) |
abb2c242 JH |
1617 | __attribute__malloc__ |
1618 | __attribute__warn_unused_result__ | |
aec46f14 AL |
1619 | __attribute__format__(__printf__,pTHX_1,pTHX_2) |
1620 | __attribute__nonnull__(pTHX_1); | |
1621 | ||
1622 | PERL_CALLCONV SV* Perl_vnewSVpvf(pTHX_ const char* pat, va_list* args) | |
1623 | __attribute__malloc__ | |
1624 | __attribute__warn_unused_result__ | |
1625 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 1626 | |
f54cb97a | 1627 | PERL_CALLCONV SV* Perl_newSVrv(pTHX_ SV* rv, const char* classname) |
1b6737cc | 1628 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1629 | |
1630 | PERL_CALLCONV SV* Perl_newSVsv(pTHX_ SV* old) | |
abb2c242 JH |
1631 | __attribute__malloc__ |
1632 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1633 | |
1634 | PERL_CALLCONV OP* Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first) | |
abb2c242 JH |
1635 | __attribute__malloc__ |
1636 | __attribute__warn_unused_result__; | |
f54cb97a | 1637 | |
0d863452 RH |
1638 | PERL_CALLCONV OP* Perl_newWHENOP(pTHX_ OP* cond, OP* block) |
1639 | __attribute__malloc__ | |
1640 | __attribute__warn_unused_result__ | |
1641 | __attribute__nonnull__(pTHX_2); | |
1642 | ||
f54cb97a | 1643 | 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 |
1644 | __attribute__malloc__ |
1645 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1646 | |
1647 | PERL_CALLCONV PERL_SI* Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems) | |
abb2c242 JH |
1648 | __attribute__malloc__ |
1649 | __attribute__warn_unused_result__; | |
f54cb97a | 1650 | |
4373e329 | 1651 | PERL_CALLCONV char* Perl_scan_vstring(pTHX_ const char *vstr, SV *sv) |
abb2c242 JH |
1652 | __attribute__nonnull__(pTHX_1) |
1653 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1654 | |
9137345a | 1655 | PERL_CALLCONV const char* Perl_scan_version(pTHX_ const char *vstr, SV *sv, bool qv) |
abb2c242 JH |
1656 | __attribute__nonnull__(pTHX_1) |
1657 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1658 | |
2d03de9c AL |
1659 | PERL_CALLCONV SV* Perl_new_version(pTHX_ SV *ver) |
1660 | __attribute__nonnull__(pTHX_1); | |
1661 | ||
1662 | PERL_CALLCONV SV* Perl_upg_version(pTHX_ SV *ver) | |
1663 | __attribute__nonnull__(pTHX_1); | |
1664 | ||
e0218a61 JP |
1665 | PERL_CALLCONV bool Perl_vverify(pTHX_ SV *vs) |
1666 | __attribute__nonnull__(pTHX_1); | |
1667 | ||
2d03de9c AL |
1668 | PERL_CALLCONV SV* Perl_vnumify(pTHX_ SV *vs) |
1669 | __attribute__nonnull__(pTHX_1); | |
1670 | ||
1671 | PERL_CALLCONV SV* Perl_vnormal(pTHX_ SV *vs) | |
1672 | __attribute__nonnull__(pTHX_1); | |
1673 | ||
1674 | PERL_CALLCONV SV* Perl_vstringify(pTHX_ SV *vs) | |
1675 | __attribute__nonnull__(pTHX_1); | |
1676 | ||
4373e329 | 1677 | PERL_CALLCONV int Perl_vcmp(pTHX_ SV *lvs, SV *rvs) |
abb2c242 JH |
1678 | __attribute__nonnull__(pTHX_1) |
1679 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1680 | |
2d03de9c AL |
1681 | PERL_CALLCONV PerlIO* Perl_nextargv(pTHX_ GV* gv) |
1682 | __attribute__nonnull__(pTHX_1); | |
1683 | ||
4373e329 | 1684 | PERL_CALLCONV char* Perl_ninstr(pTHX_ const char* big, const char* bigend, const char* little, const char* lend) |
2d03de9c AL |
1685 | __attribute__pure__ |
1686 | __attribute__nonnull__(pTHX_1) | |
1687 | __attribute__nonnull__(pTHX_2) | |
1688 | __attribute__nonnull__(pTHX_3) | |
1689 | __attribute__nonnull__(pTHX_4); | |
f54cb97a AL |
1690 | |
1691 | PERL_CALLCONV OP* Perl_oopsCV(pTHX_ OP* o) | |
2d03de9c AL |
1692 | __attribute__noreturn__ |
1693 | __attribute__nonnull__(pTHX_1); | |
1694 | ||
6472dca1 | 1695 | PERL_CALLCONV void Perl_op_free(pTHX_ OP* arg); |
eb8433b7 NC |
1696 | #ifdef PERL_MAD |
1697 | PERL_CALLCONV OP* Perl_package(pTHX_ OP* o) | |
1698 | __attribute__nonnull__(pTHX_1); | |
1699 | ||
1700 | #else | |
2d03de9c AL |
1701 | PERL_CALLCONV void Perl_package(pTHX_ OP* o) |
1702 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 1703 | |
eb8433b7 | 1704 | #endif |
1d7c1841 | 1705 | PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype); |
262cbcdb | 1706 | PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name) |
abb2c242 | 1707 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1708 | |
4373e329 | 1709 | PERL_CALLCONV PADOFFSET Perl_pad_findmy(pTHX_ const char* name) |
255164ba | 1710 | __attribute__warn_unused_result__ |
abb2c242 | 1711 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1712 | |
e1f795dc | 1713 | PERL_CALLCONV PADOFFSET Perl_find_rundefsvoffset(pTHX); |
4373e329 | 1714 | PERL_CALLCONV OP* Perl_oopsAV(pTHX_ OP* o) |
1df70142 | 1715 | __attribute__warn_unused_result__ |
abb2c242 | 1716 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1717 | |
4373e329 | 1718 | PERL_CALLCONV OP* Perl_oopsHV(pTHX_ OP* o) |
1df70142 | 1719 | __attribute__warn_unused_result__ |
abb2c242 | 1720 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1721 | |
dd2155a4 | 1722 | PERL_CALLCONV void Perl_pad_leavemy(pTHX); |
1d7c1841 GS |
1723 | PERL_CALLCONV SV* Perl_pad_sv(pTHX_ PADOFFSET po); |
1724 | PERL_CALLCONV void Perl_pad_free(pTHX_ PADOFFSET po); | |
1725 | PERL_CALLCONV void Perl_pad_reset(pTHX); | |
dd2155a4 | 1726 | PERL_CALLCONV void Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust); |
1d7c1841 | 1727 | PERL_CALLCONV void Perl_peep(pTHX_ OP* o); |
2d03de9c AL |
1728 | PERL_CALLCONV PerlIO* Perl_start_glob(pTHX_ SV* pattern, IO *io) |
1729 | __attribute__nonnull__(pTHX_1) | |
1730 | __attribute__nonnull__(pTHX_2); | |
1731 | ||
59bd0823 | 1732 | #if defined(USE_REENTRANT_API) |
10bc17b6 | 1733 | PERL_CALLCONV void Perl_reentrant_size(pTHX); |
59bd0823 | 1734 | PERL_CALLCONV void Perl_reentrant_init(pTHX); |
10bc17b6 | 1735 | PERL_CALLCONV void Perl_reentrant_free(pTHX); |
fb9bf107 NC |
1736 | PERL_CALLCONV void* Perl_reentrant_retry(const char*, ...) |
1737 | __attribute__nonnull__(1); | |
1738 | ||
59bd0823 | 1739 | #endif |
1d7c1841 | 1740 | PERL_CALLCONV void Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr); |
4373e329 | 1741 | PERL_CALLCONV I32 Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv) |
abb2c242 JH |
1742 | __attribute__nonnull__(pTHX_1) |
1743 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 1744 | |
4373e329 | 1745 | PERL_CALLCONV I32 Perl_call_method(pTHX_ const char* methname, I32 flags) |
abb2c242 | 1746 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1747 | |
4373e329 | 1748 | PERL_CALLCONV I32 Perl_call_pv(pTHX_ const char* sub_name, I32 flags) |
abb2c242 | 1749 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1750 | |
aec46f14 AL |
1751 | PERL_CALLCONV I32 Perl_call_sv(pTHX_ SV* sv, I32 flags) |
1752 | __attribute__nonnull__(pTHX_1); | |
1753 | ||
ce08f86c | 1754 | PERL_CALLCONV void Perl_despatch_signals(pTHX); |
e4c5ccf3 RH |
1755 | PERL_CALLCONV OP * Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref) |
1756 | __attribute__nonnull__(pTHX_1); | |
1757 | ||
4373e329 | 1758 | PERL_CALLCONV SV* Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error) |
abb2c242 | 1759 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1760 | |
4373e329 | 1761 | PERL_CALLCONV I32 Perl_eval_sv(pTHX_ SV* sv, I32 flags) |
abb2c242 | 1762 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1763 | |
4373e329 | 1764 | PERL_CALLCONV SV* Perl_get_sv(pTHX_ const char* name, I32 create) |
abb2c242 | 1765 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1766 | |
4373e329 | 1767 | PERL_CALLCONV AV* Perl_get_av(pTHX_ const char* name, I32 create) |
255164ba DM |
1768 | __attribute__nonnull__(pTHX_1); |
1769 | ||
1770 | PERL_CALLCONV HV* Perl_get_hv(pTHX_ const char* name, I32 create) | |
255164ba DM |
1771 | __attribute__nonnull__(pTHX_1); |
1772 | ||
1773 | PERL_CALLCONV CV* Perl_get_cv(pTHX_ const char* name, I32 create) | |
abb2c242 | 1774 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1775 | |
1d7c1841 GS |
1776 | PERL_CALLCONV int Perl_init_i18nl10n(pTHX_ int printwarn); |
1777 | PERL_CALLCONV int Perl_init_i18nl14n(pTHX_ int printwarn); | |
8772537c AL |
1778 | PERL_CALLCONV void Perl_new_collate(pTHX_ const char* newcoll); |
1779 | PERL_CALLCONV void Perl_new_ctype(pTHX_ const char* newctype) | |
abb2c242 | 1780 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1781 | |
8772537c | 1782 | PERL_CALLCONV void Perl_new_numeric(pTHX_ const char* newcoll); |
1d7c1841 GS |
1783 | PERL_CALLCONV void Perl_set_numeric_local(pTHX); |
1784 | PERL_CALLCONV void Perl_set_numeric_radix(pTHX); | |
1785 | PERL_CALLCONV void Perl_set_numeric_standard(pTHX); | |
4373e329 | 1786 | PERL_CALLCONV void Perl_require_pv(pTHX_ const char* pv) |
abb2c242 | 1787 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1788 | |
2d03de9c AL |
1789 | 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) |
1790 | __attribute__nonnull__(pTHX_1) | |
1791 | __attribute__nonnull__(pTHX_2) | |
1792 | __attribute__nonnull__(pTHX_3) | |
1793 | __attribute__nonnull__(pTHX_4) | |
1794 | __attribute__nonnull__(pTHX_5) | |
1795 | __attribute__nonnull__(pTHX_6); | |
1796 | ||
1797 | PERL_CALLCONV void Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist) | |
1798 | __attribute__nonnull__(pTHX_1) | |
1799 | __attribute__nonnull__(pTHX_2) | |
1800 | __attribute__nonnull__(pTHX_3) | |
1801 | __attribute__nonnull__(pTHX_4) | |
1802 | __attribute__nonnull__(pTHX_5); | |
1803 | ||
e3790a26 | 1804 | #ifdef PERL_USES_PL_PIDSTATUS |
1d7c1841 | 1805 | PERL_CALLCONV void Perl_pidgone(pTHX_ Pid_t pid, int status); |
e3790a26 | 1806 | #endif |
4373e329 | 1807 | PERL_CALLCONV void Perl_pmflag(pTHX_ U32* pmfl, int ch) |
abb2c242 | 1808 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1809 | |
4373e329 | 1810 | PERL_CALLCONV OP* Perl_pmruntime(pTHX_ OP* pm, OP* expr, bool isreg) |
abb2c242 JH |
1811 | __attribute__nonnull__(pTHX_1) |
1812 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1813 | |
4373e329 | 1814 | PERL_CALLCONV OP* Perl_pmtrans(pTHX_ OP* o, OP* expr, OP* repl) |
abb2c242 | 1815 | __attribute__nonnull__(pTHX_1) |
2d03de9c AL |
1816 | __attribute__nonnull__(pTHX_2) |
1817 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 1818 | |
1d7c1841 GS |
1819 | PERL_CALLCONV void Perl_pop_scope(pTHX); |
1820 | PERL_CALLCONV OP* Perl_prepend_elem(pTHX_ I32 optype, OP* head, OP* tail); | |
1d7c1841 | 1821 | PERL_CALLCONV void Perl_push_scope(pTHX); |
e4c5ccf3 | 1822 | /* PERL_CALLCONV OP* ref(pTHX_ OP* o, I32 type); */ |
1d7c1841 | 1823 | PERL_CALLCONV OP* Perl_refkids(pTHX_ OP* o, I32 type); |
097eb12c | 1824 | PERL_CALLCONV void Perl_regdump(pTHX_ const regexp* r) |
abb2c242 | 1825 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1826 | |
32fc9b6a DM |
1827 | PERL_CALLCONV SV* Perl_regclass_swash(pTHX_ const regexp *prog, const struct regnode *n, bool doinit, SV **listsvp, SV **altsvp) |
1828 | __attribute__nonnull__(pTHX_2); | |
2d03de9c | 1829 | |
4373e329 | 1830 | PERL_CALLCONV I32 Perl_pregexec(pTHX_ regexp* prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, U32 nosave) |
abb2c242 JH |
1831 | __attribute__nonnull__(pTHX_1) |
1832 | __attribute__nonnull__(pTHX_2) | |
1833 | __attribute__nonnull__(pTHX_3) | |
1834 | __attribute__nonnull__(pTHX_4) | |
1835 | __attribute__nonnull__(pTHX_6); | |
f54cb97a | 1836 | |
1d7c1841 | 1837 | PERL_CALLCONV void Perl_pregfree(pTHX_ struct regexp* r); |
4373e329 | 1838 | PERL_CALLCONV regexp* Perl_pregcomp(pTHX_ char* exp, char* xend, PMOP* pm) |
abb2c242 JH |
1839 | __attribute__nonnull__(pTHX_1) |
1840 | __attribute__nonnull__(pTHX_2) | |
1841 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 1842 | |
2d03de9c AL |
1843 | 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) |
1844 | __attribute__nonnull__(pTHX_1) | |
1845 | __attribute__nonnull__(pTHX_3) | |
1846 | __attribute__nonnull__(pTHX_4); | |
1847 | ||
1848 | PERL_CALLCONV SV* Perl_re_intuit_string(pTHX_ regexp* prog) | |
1849 | __attribute__nonnull__(pTHX_1); | |
1850 | ||
a3b680e6 | 1851 | 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 |
1852 | __attribute__nonnull__(pTHX_1) |
1853 | __attribute__nonnull__(pTHX_2) | |
1854 | __attribute__nonnull__(pTHX_3) | |
fb9bf107 NC |
1855 | __attribute__nonnull__(pTHX_4) |
1856 | __attribute__nonnull__(pTHX_6); | |
a3b680e6 | 1857 | |
1df70142 AL |
1858 | PERL_CALLCONV regnode* Perl_regnext(pTHX_ regnode* p) |
1859 | __attribute__warn_unused_result__ | |
1860 | __attribute__nonnull__(pTHX_1); | |
1861 | ||
32fc9b6a DM |
1862 | PERL_CALLCONV void Perl_regprop(pTHX_ const regexp *prog, SV* sv, const regnode* o) |
1863 | __attribute__nonnull__(pTHX_2) | |
1864 | __attribute__nonnull__(pTHX_3); | |
2d03de9c | 1865 | |
4373e329 | 1866 | PERL_CALLCONV void Perl_repeatcpy(pTHX_ char* to, const char* from, I32 len, I32 count) |
abb2c242 JH |
1867 | __attribute__nonnull__(pTHX_1) |
1868 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1869 | |
4373e329 | 1870 | PERL_CALLCONV char* Perl_rninstr(pTHX_ const char* big, const char* bigend, const char* little, const char* lend) |
abb2c242 JH |
1871 | __attribute__pure__ |
1872 | __attribute__nonnull__(pTHX_1) | |
1873 | __attribute__nonnull__(pTHX_2) | |
1874 | __attribute__nonnull__(pTHX_3) | |
1875 | __attribute__nonnull__(pTHX_4); | |
f54cb97a | 1876 | |
1d7c1841 GS |
1877 | PERL_CALLCONV Sighandler_t Perl_rsignal(pTHX_ int i, Sighandler_t t); |
1878 | PERL_CALLCONV int Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t); | |
9a957fbc AL |
1879 | PERL_CALLCONV int Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* t2) |
1880 | __attribute__nonnull__(pTHX_3); | |
1881 | ||
1d7c1841 | 1882 | PERL_CALLCONV Sighandler_t Perl_rsignal_state(pTHX_ int i); |
a3b680e6 | 1883 | PERL_CALLCONV void Perl_rxres_free(pTHX_ void** rsp) |
abb2c242 | 1884 | __attribute__nonnull__(pTHX_1); |
a3b680e6 AL |
1885 | |
1886 | PERL_CALLCONV void Perl_rxres_restore(pTHX_ void** rsp, REGEXP* prx) | |
abb2c242 JH |
1887 | __attribute__nonnull__(pTHX_1) |
1888 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 AL |
1889 | |
1890 | PERL_CALLCONV void Perl_rxres_save(pTHX_ void** rsp, REGEXP* prx) | |
abb2c242 JH |
1891 | __attribute__nonnull__(pTHX_1) |
1892 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 | 1893 | |
cea2e8a9 | 1894 | #if !defined(HAS_RENAME) |
4373e329 | 1895 | PERL_CALLCONV I32 Perl_same_dirent(pTHX_ const char* a, const char* b) |
abb2c242 JH |
1896 | __attribute__nonnull__(pTHX_1) |
1897 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1898 | |
0cb96387 | 1899 | #endif |
53c1dcc0 AL |
1900 | PERL_CALLCONV char* Perl_savepv(pTHX_ const char* pv) |
1901 | __attribute__malloc__ | |
639f6c3d | 1902 | __attribute__warn_unused_result__; |
53c1dcc0 AL |
1903 | |
1904 | PERL_CALLCONV char* Perl_savepvn(pTHX_ const char* pv, I32 len) | |
1905 | __attribute__malloc__ | |
639f6c3d | 1906 | __attribute__warn_unused_result__; |
53c1dcc0 AL |
1907 | |
1908 | PERL_CALLCONV char* Perl_savesharedpv(pTHX_ const char* pv) | |
1909 | __attribute__malloc__ | |
1910 | __attribute__warn_unused_result__; | |
1911 | ||
1912 | PERL_CALLCONV char* Perl_savesvpv(pTHX_ SV* sv) | |
1913 | __attribute__malloc__ | |
1914 | __attribute__warn_unused_result__ | |
1915 | __attribute__nonnull__(pTHX_1); | |
1916 | ||
1d7c1841 | 1917 | PERL_CALLCONV void Perl_savestack_grow(pTHX); |
4b3c1a47 | 1918 | PERL_CALLCONV void Perl_savestack_grow_cnt(pTHX_ I32 need); |
59413342 | 1919 | PERL_CALLCONV void Perl_save_aelem(pTHX_ AV* av, I32 idx, SV **sptr) |
9a957fbc AL |
1920 | __attribute__nonnull__(pTHX_1) |
1921 | __attribute__nonnull__(pTHX_3); | |
1922 | ||
1d7c1841 | 1923 | PERL_CALLCONV I32 Perl_save_alloc(pTHX_ I32 size, I32 pad); |
9a957fbc AL |
1924 | PERL_CALLCONV void Perl_save_aptr(pTHX_ AV** aptr) |
1925 | __attribute__nonnull__(pTHX_1); | |
1926 | ||
1927 | PERL_CALLCONV AV* Perl_save_ary(pTHX_ GV* gv) | |
1928 | __attribute__nonnull__(pTHX_1); | |
1929 | ||
1930 | PERL_CALLCONV void Perl_save_bool(pTHX_ bool* boolp) | |
1931 | __attribute__nonnull__(pTHX_1); | |
1932 | ||
1933 | PERL_CALLCONV void Perl_save_clearsv(pTHX_ SV** svp) | |
1934 | __attribute__nonnull__(pTHX_1); | |
1935 | ||
1936 | PERL_CALLCONV void Perl_save_delete(pTHX_ HV* hv, char* key, I32 klen) | |
1937 | __attribute__nonnull__(pTHX_1) | |
1938 | __attribute__nonnull__(pTHX_2); | |
1939 | ||
fb9bf107 NC |
1940 | PERL_CALLCONV void Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p) |
1941 | __attribute__nonnull__(pTHX_2); | |
1942 | ||
55968144 | 1943 | PERL_CALLCONV void Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p); |
1d7c1841 GS |
1944 | PERL_CALLCONV void Perl_save_freesv(pTHX_ SV* sv); |
1945 | PERL_CALLCONV void Perl_save_freeop(pTHX_ OP* o); | |
1946 | PERL_CALLCONV void Perl_save_freepv(pTHX_ char* pv); | |
9a957fbc AL |
1947 | PERL_CALLCONV void Perl_save_generic_svref(pTHX_ SV** sptr) |
1948 | __attribute__nonnull__(pTHX_1); | |
1949 | ||
1950 | PERL_CALLCONV void Perl_save_generic_pvref(pTHX_ char** str) | |
1951 | __attribute__nonnull__(pTHX_1); | |
1952 | ||
1953 | PERL_CALLCONV void Perl_save_shared_pvref(pTHX_ char** str) | |
1954 | __attribute__nonnull__(pTHX_1); | |
1955 | ||
aec46f14 AL |
1956 | PERL_CALLCONV void Perl_save_gp(pTHX_ GV* gv, I32 empty) |
1957 | __attribute__nonnull__(pTHX_1); | |
1958 | ||
1959 | PERL_CALLCONV HV* Perl_save_hash(pTHX_ GV* gv) | |
1960 | __attribute__nonnull__(pTHX_1); | |
1961 | ||
9a957fbc AL |
1962 | PERL_CALLCONV void Perl_save_helem(pTHX_ HV* hv, SV *key, SV **sptr) |
1963 | __attribute__nonnull__(pTHX_1) | |
1964 | __attribute__nonnull__(pTHX_2) | |
1965 | __attribute__nonnull__(pTHX_3); | |
1966 | ||
f54cb97a | 1967 | PERL_CALLCONV void Perl_save_hints(pTHX) |
abb2c242 | 1968 | __attribute__noreturn__; |
f54cb97a | 1969 | |
aec46f14 AL |
1970 | PERL_CALLCONV void Perl_save_hptr(pTHX_ HV** hptr) |
1971 | __attribute__nonnull__(pTHX_1); | |
1972 | ||
1973 | PERL_CALLCONV void Perl_save_I16(pTHX_ I16* intp) | |
1974 | __attribute__nonnull__(pTHX_1); | |
1975 | ||
1976 | PERL_CALLCONV void Perl_save_I32(pTHX_ I32* intp) | |
1977 | __attribute__nonnull__(pTHX_1); | |
1978 | ||
1979 | PERL_CALLCONV void Perl_save_I8(pTHX_ I8* bytep) | |
1980 | __attribute__nonnull__(pTHX_1); | |
1981 | ||
1982 | PERL_CALLCONV void Perl_save_int(pTHX_ int* intp) | |
1983 | __attribute__nonnull__(pTHX_1); | |
1984 | ||
1985 | PERL_CALLCONV void Perl_save_item(pTHX_ SV* item) | |
1986 | __attribute__nonnull__(pTHX_1); | |
1987 | ||
1988 | PERL_CALLCONV void Perl_save_iv(pTHX_ IV* iv) | |
1989 | __attribute__nonnull__(pTHX_1); | |
1990 | ||
1991 | PERL_CALLCONV void Perl_save_list(pTHX_ SV** sarg, I32 maxsarg) | |
1992 | __attribute__nonnull__(pTHX_1); | |
1993 | ||
1994 | PERL_CALLCONV void Perl_save_long(pTHX_ long* longp) | |
1995 | __attribute__nonnull__(pTHX_1); | |
1996 | ||
1997 | PERL_CALLCONV void Perl_save_mortalizesv(pTHX_ SV* sv) | |
1998 | __attribute__nonnull__(pTHX_1); | |
1999 | ||
1d7c1841 GS |
2000 | PERL_CALLCONV void Perl_save_nogv(pTHX_ GV* gv); |
2001 | PERL_CALLCONV void Perl_save_op(pTHX); | |
aec46f14 AL |
2002 | PERL_CALLCONV SV* Perl_save_scalar(pTHX_ GV* gv) |
2003 | __attribute__nonnull__(pTHX_1); | |
2004 | ||
2005 | PERL_CALLCONV void Perl_save_pptr(pTHX_ char** pptr) | |
2006 | __attribute__nonnull__(pTHX_1); | |
2007 | ||
2008 | PERL_CALLCONV void Perl_save_vptr(pTHX_ void* pptr) | |
2009 | __attribute__nonnull__(pTHX_1); | |
2010 | ||
1d7c1841 | 2011 | PERL_CALLCONV void Perl_save_re_context(pTHX); |
c3564e5c | 2012 | PERL_CALLCONV void Perl_save_padsv(pTHX_ PADOFFSET off); |
aec46f14 AL |
2013 | PERL_CALLCONV void Perl_save_sptr(pTHX_ SV** sptr) |
2014 | __attribute__nonnull__(pTHX_1); | |
2015 | ||
2016 | PERL_CALLCONV SV* Perl_save_svref(pTHX_ SV** sptr) | |
2017 | __attribute__nonnull__(pTHX_1); | |
2018 | ||
1d7c1841 GS |
2019 | PERL_CALLCONV OP* Perl_sawparens(pTHX_ OP* o); |
2020 | PERL_CALLCONV OP* Perl_scalar(pTHX_ OP* o); | |
2021 | PERL_CALLCONV OP* Perl_scalarkids(pTHX_ OP* o); | |
2022 | PERL_CALLCONV OP* Perl_scalarseq(pTHX_ OP* o); | |
aec46f14 AL |
2023 | PERL_CALLCONV OP* Perl_scalarvoid(pTHX_ OP* o) |
2024 | __attribute__nonnull__(pTHX_1); | |
2025 | ||
2026 | PERL_CALLCONV NV Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen) | |
2027 | __attribute__nonnull__(pTHX_1) | |
2028 | __attribute__nonnull__(pTHX_3); | |
2029 | ||
2030 | PERL_CALLCONV NV Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen) | |
2031 | __attribute__nonnull__(pTHX_1) | |
2032 | __attribute__nonnull__(pTHX_3); | |
2033 | ||
2034 | PERL_CALLCONV char* Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp) | |
2035 | __attribute__nonnull__(pTHX_1) | |
2036 | __attribute__nonnull__(pTHX_2); | |
2037 | ||
2038 | PERL_CALLCONV NV Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen) | |
2039 | __attribute__nonnull__(pTHX_1) | |
2040 | __attribute__nonnull__(pTHX_3); | |
2041 | ||
1d7c1841 | 2042 | PERL_CALLCONV OP* Perl_scope(pTHX_ OP* o); |
aec46f14 AL |
2043 | PERL_CALLCONV char* Perl_screaminstr(pTHX_ SV *bigstr, SV *littlestr, I32 start_shift, I32 end_shift, I32 *oldposp, I32 last) |
2044 | __attribute__nonnull__(pTHX_1) | |
2045 | __attribute__nonnull__(pTHX_2) | |
2046 | __attribute__nonnull__(pTHX_5); | |
2047 | ||
864dbfa3 | 2048 | #if !defined(VMS) |
fb9bf107 NC |
2049 | PERL_CALLCONV I32 Perl_setenv_getix(pTHX_ const char* nam) |
2050 | __attribute__nonnull__(pTHX_1); | |
2051 | ||
0cb96387 | 2052 | #endif |
1d7c1841 | 2053 | PERL_CALLCONV void Perl_setdefout(pTHX_ GV* gv); |
aec46f14 AL |
2054 | PERL_CALLCONV HEK* Perl_share_hek(pTHX_ const char* str, I32 len, U32 hash) |
2055 | __attribute__nonnull__(pTHX_1); | |
2056 | ||
8aad04aa JH |
2057 | #if defined(HAS_SIGACTION) && defined(SA_SIGINFO) |
2058 | PERL_CALLCONV Signal_t Perl_sighandler(int sig, ...); | |
2059 | PERL_CALLCONV Signal_t Perl_csighandler(int sig, ...); | |
2060 | #else | |
1d7c1841 | 2061 | PERL_CALLCONV Signal_t Perl_sighandler(int sig); |
d36b6582 | 2062 | PERL_CALLCONV Signal_t Perl_csighandler(int sig); |
8aad04aa | 2063 | #endif |
c48640ec | 2064 | PERL_CALLCONV SV** Perl_stack_grow(pTHX_ SV** sp, SV** p, int n) |
abb2c242 JH |
2065 | __attribute__nonnull__(pTHX_1) |
2066 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2067 | |
0b1558d1 | 2068 | PERL_CALLCONV I32 Perl_start_subparse(pTHX_ I32 is_format, U32 flags); |
aec46f14 AL |
2069 | PERL_CALLCONV void Perl_sub_crush_depth(pTHX_ CV* cv) |
2070 | __attribute__nonnull__(pTHX_1); | |
2071 | ||
4373e329 | 2072 | PERL_CALLCONV bool Perl_sv_2bool(pTHX_ SV* sv) |
abb2c242 | 2073 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2074 | |
2075 | PERL_CALLCONV CV* Perl_sv_2cv(pTHX_ SV* sv, HV** st, GV** gvp, I32 lref) | |
aec46f14 AL |
2076 | __attribute__nonnull__(pTHX_2) |
2077 | __attribute__nonnull__(pTHX_3); | |
f54cb97a AL |
2078 | |
2079 | PERL_CALLCONV IO* Perl_sv_2io(pTHX_ SV* sv) | |
abb2c242 | 2080 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2081 | |
180488f8 | 2082 | #ifdef PERL_IN_SV_C |
19f6321d | 2083 | STATIC bool S_glob_2number(pTHX_ GV* const gv) |
180488f8 NC |
2084 | __attribute__nonnull__(pTHX_1); |
2085 | ||
19f6321d | 2086 | STATIC char* S_glob_2pv(pTHX_ GV* const gv, STRLEN * const len) |
4789ae7c | 2087 | __attribute__nonnull__(pTHX_1); |
675c862f | 2088 | |
180488f8 | 2089 | #endif |
f54cb97a | 2090 | /* PERL_CALLCONV IV sv_2iv(pTHX_ SV* sv) |
abb2c242 | 2091 | __attribute__nonnull__(pTHX_1); */ |
f54cb97a AL |
2092 | |
2093 | PERL_CALLCONV IV Perl_sv_2iv_flags(pTHX_ SV* sv, I32 flags) | |
abb2c242 | 2094 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2095 | |
6472dca1 | 2096 | PERL_CALLCONV SV* Perl_sv_2mortal(pTHX_ SV* sv); |
f54cb97a | 2097 | PERL_CALLCONV NV Perl_sv_2nv(pTHX_ SV* sv) |
abb2c242 | 2098 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2099 | |
4373e329 | 2100 | /* PERL_CALLCONV char* sv_2pv(pTHX_ SV* sv, STRLEN* lp) |
f49ed1da | 2101 | __attribute__nonnull__(pTHX_1); */ |
f54cb97a | 2102 | |
4373e329 | 2103 | PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV* sv, STRLEN* lp, I32 flags) |
f49ed1da | 2104 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2105 | |
4373e329 | 2106 | PERL_CALLCONV char* Perl_sv_2pvutf8(pTHX_ SV* sv, STRLEN* lp) |
f49ed1da | 2107 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2108 | |
4373e329 | 2109 | PERL_CALLCONV char* Perl_sv_2pvbyte(pTHX_ SV* sv, STRLEN* lp) |
f49ed1da | 2110 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2111 | |
4373e329 | 2112 | PERL_CALLCONV char* Perl_sv_pvn_nomg(pTHX_ SV* sv, STRLEN* lp) |
f49ed1da | 2113 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2114 | |
4373e329 | 2115 | /* PERL_CALLCONV UV sv_2uv(pTHX_ SV* sv) |
abb2c242 | 2116 | __attribute__nonnull__(pTHX_1); */ |
f54cb97a | 2117 | |
4373e329 | 2118 | PERL_CALLCONV UV Perl_sv_2uv_flags(pTHX_ SV* sv, I32 flags) |
abb2c242 | 2119 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2120 | |
4373e329 | 2121 | PERL_CALLCONV IV Perl_sv_iv(pTHX_ SV* sv) |
abb2c242 | 2122 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2123 | |
4373e329 | 2124 | PERL_CALLCONV UV Perl_sv_uv(pTHX_ SV* sv) |
abb2c242 | 2125 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2126 | |
4373e329 | 2127 | PERL_CALLCONV NV Perl_sv_nv(pTHX_ SV* sv) |
abb2c242 | 2128 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2129 | |
4373e329 | 2130 | PERL_CALLCONV char* Perl_sv_pvn(pTHX_ SV *sv, STRLEN *len) |
abb2c242 JH |
2131 | __attribute__nonnull__(pTHX_1) |
2132 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2133 | |
4373e329 | 2134 | PERL_CALLCONV char* Perl_sv_pvutf8n(pTHX_ SV *sv, STRLEN *len) |
abb2c242 JH |
2135 | __attribute__nonnull__(pTHX_1) |
2136 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2137 | |
4373e329 | 2138 | PERL_CALLCONV char* Perl_sv_pvbyten(pTHX_ SV *sv, STRLEN *len) |
abb2c242 JH |
2139 | __attribute__nonnull__(pTHX_1) |
2140 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2141 | |
aec46f14 | 2142 | PERL_CALLCONV I32 Perl_sv_true(pTHX_ SV *sv); |
f54cb97a | 2143 | PERL_CALLCONV void Perl_sv_add_arena(pTHX_ char* ptr, U32 size, U32 flags) |
abb2c242 | 2144 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2145 | |
2146 | PERL_CALLCONV int Perl_sv_backoff(pTHX_ SV* sv) | |
abb2c242 | 2147 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2148 | |
2149 | PERL_CALLCONV SV* Perl_sv_bless(pTHX_ SV* sv, HV* stash) | |
abb2c242 JH |
2150 | __attribute__nonnull__(pTHX_1) |
2151 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2152 | |
894356b3 | 2153 | PERL_CALLCONV void Perl_sv_catpvf(pTHX_ SV* sv, const char* pat, ...) |
f54cb97a | 2154 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
aec46f14 AL |
2155 | __attribute__nonnull__(pTHX_1) |
2156 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
2157 | |
2158 | PERL_CALLCONV void Perl_sv_vcatpvf(pTHX_ SV* sv, const char* pat, va_list* args) | |
aec46f14 AL |
2159 | __attribute__nonnull__(pTHX_1) |
2160 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
2161 | |
2162 | PERL_CALLCONV void Perl_sv_catpv(pTHX_ SV* sv, const char* ptr) | |
aec46f14 AL |
2163 | __attribute__nonnull__(pTHX_1) |
2164 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
2165 | |
2166 | /* PERL_CALLCONV void sv_catpvn(pTHX_ SV* sv, const char* ptr, STRLEN len) | |
aec46f14 AL |
2167 | __attribute__nonnull__(pTHX_1) |
2168 | __attribute__nonnull__(pTHX_2); */ | |
f54cb97a AL |
2169 | |
2170 | /* PERL_CALLCONV void sv_catsv(pTHX_ SV* dsv, SV* ssv) | |
abb2c242 | 2171 | __attribute__nonnull__(pTHX_1); */ |
f54cb97a AL |
2172 | |
2173 | PERL_CALLCONV void Perl_sv_chop(pTHX_ SV* sv, const char* ptr) | |
abb2c242 | 2174 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2175 | |
5226ed68 | 2176 | PERL_CALLCONV I32 Perl_sv_clean_all(pTHX); |
1d7c1841 | 2177 | PERL_CALLCONV void Perl_sv_clean_objs(pTHX); |
f54cb97a | 2178 | PERL_CALLCONV void Perl_sv_clear(pTHX_ SV* sv) |
abb2c242 | 2179 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2180 | |
2181 | PERL_CALLCONV I32 Perl_sv_cmp(pTHX_ SV* sv1, SV* sv2) | |
abb2c242 JH |
2182 | __attribute__nonnull__(pTHX_1) |
2183 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
2184 | |
2185 | PERL_CALLCONV I32 Perl_sv_cmp_locale(pTHX_ SV* sv1, SV* sv2) | |
abb2c242 JH |
2186 | __attribute__nonnull__(pTHX_1) |
2187 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2188 | |
864dbfa3 | 2189 | #if defined(USE_LOCALE_COLLATE) |
f54cb97a | 2190 | PERL_CALLCONV char* Perl_sv_collxfrm(pTHX_ SV* sv, STRLEN* nxp) |
1df70142 AL |
2191 | __attribute__nonnull__(pTHX_1) |
2192 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2193 | |
0cb96387 | 2194 | #endif |
4373e329 | 2195 | PERL_CALLCONV OP* Perl_sv_compile_2op(pTHX_ SV* sv, OP** startp, const char* code, PAD** padp) |
abb2c242 JH |
2196 | __attribute__nonnull__(pTHX_1) |
2197 | __attribute__nonnull__(pTHX_2) | |
2198 | __attribute__nonnull__(pTHX_3) | |
2199 | __attribute__nonnull__(pTHX_4); | |
f54cb97a | 2200 | |
4373e329 | 2201 | PERL_CALLCONV int Perl_getcwd_sv(pTHX_ SV* sv) |
abb2c242 | 2202 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2203 | |
2204 | PERL_CALLCONV void Perl_sv_dec(pTHX_ SV* sv) | |
abb2c242 | 2205 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2206 | |
2207 | PERL_CALLCONV void Perl_sv_dump(pTHX_ SV* sv) | |
abb2c242 | 2208 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2209 | |
4373e329 | 2210 | PERL_CALLCONV bool Perl_sv_derived_from(pTHX_ SV* sv, const char* name) |
abb2c242 JH |
2211 | __attribute__warn_unused_result__ |
2212 | __attribute__nonnull__(pTHX_1) | |
2213 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2214 | |
cbc021f9 | 2215 | PERL_CALLCONV bool Perl_sv_does(pTHX_ SV* sv, const char* name) |
2216 | __attribute__warn_unused_result__ | |
2217 | __attribute__nonnull__(pTHX_1) | |
2218 | __attribute__nonnull__(pTHX_2); | |
2219 | ||
551405c4 | 2220 | PERL_CALLCONV I32 Perl_sv_eq(pTHX_ SV* sv1, SV* sv2); |
1d7c1841 | 2221 | PERL_CALLCONV void Perl_sv_free(pTHX_ SV* sv); |
4373e329 | 2222 | PERL_CALLCONV void Perl_sv_free2(pTHX_ SV* sv) |
abb2c242 | 2223 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2224 | |
1d7c1841 | 2225 | PERL_CALLCONV void Perl_sv_free_arenas(pTHX); |
4373e329 | 2226 | PERL_CALLCONV char* Perl_sv_gets(pTHX_ SV* sv, PerlIO* fp, I32 append) |
abb2c242 JH |
2227 | __attribute__nonnull__(pTHX_1) |
2228 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2229 | |
4373e329 | 2230 | PERL_CALLCONV char* Perl_sv_grow(pTHX_ SV* sv, STRLEN newlen) |
abb2c242 | 2231 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2232 | |
2233 | PERL_CALLCONV void Perl_sv_inc(pTHX_ SV* sv) | |
abb2c242 | 2234 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2235 | |
4373e329 | 2236 | PERL_CALLCONV void Perl_sv_insert(pTHX_ SV* bigsv, STRLEN offset, STRLEN len, const char* little, STRLEN littlelen) |
abb2c242 JH |
2237 | __attribute__nonnull__(pTHX_1) |
2238 | __attribute__nonnull__(pTHX_4); | |
f54cb97a AL |
2239 | |
2240 | PERL_CALLCONV int Perl_sv_isa(pTHX_ SV* sv, const char* name) | |
aec46f14 | 2241 | __attribute__nonnull__(pTHX_2); |
f54cb97a | 2242 | |
aec46f14 | 2243 | PERL_CALLCONV int Perl_sv_isobject(pTHX_ SV* sv); |
9d4ba2ae AL |
2244 | PERL_CALLCONV STRLEN Perl_sv_len(pTHX_ SV* sv); |
2245 | PERL_CALLCONV STRLEN Perl_sv_len_utf8(pTHX_ SV* sv); | |
f54cb97a | 2246 | PERL_CALLCONV void Perl_sv_magic(pTHX_ SV* sv, SV* obj, int how, const char* name, I32 namlen) |
abb2c242 | 2247 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2248 | |
92e67595 | 2249 | PERL_CALLCONV MAGIC * Perl_sv_magicext(pTHX_ SV* sv, SV* obj, int how, MGVTBL *vtbl, const char* name, I32 namlen) |
abb2c242 | 2250 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2251 | |
4373e329 | 2252 | PERL_CALLCONV SV* Perl_sv_mortalcopy(pTHX_ SV* oldsv) |
1b6737cc AL |
2253 | __attribute__malloc__ |
2254 | __attribute__warn_unused_result__; | |
f54cb97a AL |
2255 | |
2256 | PERL_CALLCONV SV* Perl_sv_newmortal(pTHX) | |
abb2c242 | 2257 | __attribute__warn_unused_result__; |
f54cb97a | 2258 | |
1d7c1841 GS |
2259 | PERL_CALLCONV SV* Perl_sv_newref(pTHX_ SV* sv); |
2260 | PERL_CALLCONV char* Perl_sv_peek(pTHX_ SV* sv); | |
b464bac0 AL |
2261 | PERL_CALLCONV void Perl_sv_pos_u2b(pTHX_ SV* sv, I32* offsetp, I32* lenp) |
2262 | __attribute__nonnull__(pTHX_2); | |
2263 | ||
2264 | PERL_CALLCONV void Perl_sv_pos_b2u(pTHX_ SV* sv, I32* offsetp) | |
2265 | __attribute__nonnull__(pTHX_2); | |
2266 | ||
aec46f14 AL |
2267 | /* PERL_CALLCONV char* sv_pvn_force(pTHX_ SV* sv, STRLEN* lp) |
2268 | __attribute__nonnull__(pTHX_1); */ | |
2269 | ||
2270 | PERL_CALLCONV char* Perl_sv_pvutf8n_force(pTHX_ SV* sv, STRLEN* lp) | |
2271 | __attribute__nonnull__(pTHX_1); | |
2272 | ||
2273 | PERL_CALLCONV char* Perl_sv_pvbyten_force(pTHX_ SV* sv, STRLEN* lp) | |
2274 | __attribute__nonnull__(pTHX_1); | |
2275 | ||
2276 | PERL_CALLCONV char* Perl_sv_recode_to_utf8(pTHX_ SV* sv, SV *encoding) | |
2277 | __attribute__nonnull__(pTHX_1) | |
2278 | __attribute__nonnull__(pTHX_2); | |
2279 | ||
2280 | PERL_CALLCONV bool Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen) | |
2281 | __attribute__nonnull__(pTHX_1) | |
2282 | __attribute__nonnull__(pTHX_2) | |
2283 | __attribute__nonnull__(pTHX_3) | |
2284 | __attribute__nonnull__(pTHX_4) | |
2285 | __attribute__nonnull__(pTHX_5); | |
2286 | ||
a3b680e6 | 2287 | PERL_CALLCONV char* Perl_sv_reftype(pTHX_ const SV* sv, int ob) |
abb2c242 JH |
2288 | __attribute__warn_unused_result__ |
2289 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
2290 | |
2291 | PERL_CALLCONV void Perl_sv_replace(pTHX_ SV* sv, SV* nsv) | |
abb2c242 JH |
2292 | __attribute__nonnull__(pTHX_1) |
2293 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 | 2294 | |
1d7c1841 | 2295 | PERL_CALLCONV void Perl_sv_report_used(pTHX); |
504618e9 AL |
2296 | PERL_CALLCONV void Perl_sv_reset(pTHX_ const char* s, HV* stash) |
2297 | __attribute__nonnull__(pTHX_1); | |
2298 | ||
894356b3 | 2299 | PERL_CALLCONV void Perl_sv_setpvf(pTHX_ SV* sv, const char* pat, ...) |
aec46f14 AL |
2300 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
2301 | __attribute__nonnull__(pTHX_1) | |
2302 | __attribute__nonnull__(pTHX_2); | |
2303 | ||
2304 | PERL_CALLCONV void Perl_sv_vsetpvf(pTHX_ SV* sv, const char* pat, va_list* args) | |
2305 | __attribute__nonnull__(pTHX_1) | |
2306 | __attribute__nonnull__(pTHX_2); | |
2307 | ||
2308 | PERL_CALLCONV void Perl_sv_setiv(pTHX_ SV* sv, IV num) | |
2309 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 2310 | |
504618e9 AL |
2311 | PERL_CALLCONV void Perl_sv_setpviv(pTHX_ SV* sv, IV num) |
2312 | __attribute__nonnull__(pTHX_1); | |
2313 | ||
aec46f14 AL |
2314 | PERL_CALLCONV void Perl_sv_setuv(pTHX_ SV* sv, UV num) |
2315 | __attribute__nonnull__(pTHX_1); | |
2316 | ||
2317 | PERL_CALLCONV void Perl_sv_setnv(pTHX_ SV* sv, NV num) | |
2318 | __attribute__nonnull__(pTHX_1); | |
2319 | ||
2320 | PERL_CALLCONV SV* Perl_sv_setref_iv(pTHX_ SV* rv, const char* classname, IV iv) | |
2321 | __attribute__nonnull__(pTHX_1); | |
2322 | ||
2323 | PERL_CALLCONV SV* Perl_sv_setref_uv(pTHX_ SV* rv, const char* classname, UV uv) | |
2324 | __attribute__nonnull__(pTHX_1); | |
2325 | ||
2326 | PERL_CALLCONV SV* Perl_sv_setref_nv(pTHX_ SV* rv, const char* classname, NV nv) | |
2327 | __attribute__nonnull__(pTHX_1); | |
2328 | ||
2329 | PERL_CALLCONV SV* Perl_sv_setref_pv(pTHX_ SV* rv, const char* classname, void* pv) | |
2330 | __attribute__nonnull__(pTHX_1); | |
2331 | ||
1b6737cc | 2332 | PERL_CALLCONV SV* Perl_sv_setref_pvn(pTHX_ SV* rv, const char* classname, const char* pv, STRLEN n) |
aec46f14 | 2333 | __attribute__nonnull__(pTHX_1) |
1b6737cc AL |
2334 | __attribute__nonnull__(pTHX_3); |
2335 | ||
aec46f14 AL |
2336 | PERL_CALLCONV void Perl_sv_setpv(pTHX_ SV* sv, const char* ptr) |
2337 | __attribute__nonnull__(pTHX_1); | |
2338 | ||
4373e329 | 2339 | PERL_CALLCONV void Perl_sv_setpvn(pTHX_ SV* sv, const char* ptr, STRLEN len) |
abb2c242 | 2340 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2341 | |
aec46f14 AL |
2342 | /* PERL_CALLCONV void sv_setsv(pTHX_ SV* dsv, SV* ssv) |
2343 | __attribute__nonnull__(pTHX_1); */ | |
2344 | ||
aae9cea0 NC |
2345 | /* PERL_CALLCONV void sv_taint(pTHX_ SV* sv) |
2346 | __attribute__nonnull__(pTHX_1); */ | |
aec46f14 | 2347 | |
a28509cc | 2348 | PERL_CALLCONV bool Perl_sv_tainted(pTHX_ SV* sv) |
aec46f14 AL |
2349 | __attribute__warn_unused_result__ |
2350 | __attribute__nonnull__(pTHX_1); | |
a28509cc | 2351 | |
f54cb97a | 2352 | PERL_CALLCONV int Perl_sv_unmagic(pTHX_ SV* sv, int type) |
abb2c242 | 2353 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2354 | |
174c73e3 NC |
2355 | /* PERL_CALLCONV void Perl_sv_unref(pTHX_ SV* sv) |
2356 | __attribute__nonnull__(pTHX_1); */ | |
f54cb97a AL |
2357 | |
2358 | PERL_CALLCONV void Perl_sv_unref_flags(pTHX_ SV* sv, U32 flags) | |
abb2c242 | 2359 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2360 | |
2361 | PERL_CALLCONV void Perl_sv_untaint(pTHX_ SV* sv) | |
abb2c242 | 2362 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2363 | |
42d0e0b7 | 2364 | PERL_CALLCONV void Perl_sv_upgrade(pTHX_ SV* sv, svtype new_type) |
abb2c242 | 2365 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2366 | |
47518d95 NC |
2367 | /* PERL_CALLCONV void Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len) |
2368 | __attribute__nonnull__(pTHX_1); */ | |
2369 | ||
2370 | PERL_CALLCONV void Perl_sv_usepvn_flags(pTHX_ SV* sv, char* ptr, STRLEN len, U32 flags) | |
abb2c242 | 2371 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2372 | |
2373 | 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 |
2374 | __attribute__nonnull__(pTHX_1) |
2375 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
2376 | |
2377 | 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 |
2378 | __attribute__nonnull__(pTHX_1) |
2379 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2380 | |
aec46f14 AL |
2381 | PERL_CALLCONV NV Perl_str_to_version(pTHX_ SV *sv) |
2382 | __attribute__warn_unused_result__ | |
2383 | __attribute__nonnull__(pTHX_1); | |
2384 | ||
2385 | PERL_CALLCONV SV* Perl_swash_init(pTHX_ const char* pkg, const char* name, SV* listsv, I32 minbits, I32 none) | |
2386 | __attribute__nonnull__(pTHX_1) | |
2387 | __attribute__nonnull__(pTHX_2) | |
2388 | __attribute__nonnull__(pTHX_3); | |
2389 | ||
680c470c | 2390 | PERL_CALLCONV UV Perl_swash_fetch(pTHX_ SV *swash, const U8 *ptr, bool do_utf8) |
aec46f14 AL |
2391 | __attribute__nonnull__(pTHX_1) |
2392 | __attribute__nonnull__(pTHX_2); | |
2393 | ||
1d7c1841 | 2394 | PERL_CALLCONV void Perl_taint_env(pTHX); |
8772537c AL |
2395 | PERL_CALLCONV void Perl_taint_proper(pTHX_ const char* f, const char* s) |
2396 | __attribute__nonnull__(pTHX_2); | |
2397 | ||
9a957fbc | 2398 | PERL_CALLCONV UV Perl_to_utf8_case(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, SV **swashp, const char *normal, const char *special) |
abb2c242 | 2399 | __attribute__nonnull__(pTHX_1) |
9a957fbc | 2400 | __attribute__nonnull__(pTHX_2) |
fb9bf107 NC |
2401 | __attribute__nonnull__(pTHX_4) |
2402 | __attribute__nonnull__(pTHX_5) | |
2403 | __attribute__nonnull__(pTHX_6); | |
f54cb97a AL |
2404 | |
2405 | PERL_CALLCONV UV Perl_to_utf8_lower(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp) | |
abb2c242 JH |
2406 | __attribute__nonnull__(pTHX_1) |
2407 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
2408 | |
2409 | PERL_CALLCONV UV Perl_to_utf8_upper(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp) | |
abb2c242 JH |
2410 | __attribute__nonnull__(pTHX_1) |
2411 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
2412 | |
2413 | PERL_CALLCONV UV Perl_to_utf8_title(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp) | |
abb2c242 JH |
2414 | __attribute__nonnull__(pTHX_1) |
2415 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
2416 | |
2417 | PERL_CALLCONV UV Perl_to_utf8_fold(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp) | |
abb2c242 JH |
2418 | __attribute__nonnull__(pTHX_1) |
2419 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2420 | |
864dbfa3 | 2421 | #if defined(UNLINK_ALL_VERSIONS) |
6e732051 | 2422 | PERL_CALLCONV I32 Perl_unlnk(pTHX_ const char* f) |
aec46f14 AL |
2423 | __attribute__nonnull__(pTHX_1); |
2424 | ||
864dbfa3 | 2425 | #endif |
aec46f14 AL |
2426 | 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) |
2427 | __attribute__nonnull__(pTHX_1) | |
2428 | __attribute__nonnull__(pTHX_2) | |
2429 | __attribute__nonnull__(pTHX_3) | |
2430 | __attribute__nonnull__(pTHX_5); | |
2431 | ||
2432 | PERL_CALLCONV I32 Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags) | |
2433 | __attribute__nonnull__(pTHX_1) | |
2434 | __attribute__nonnull__(pTHX_2) | |
2435 | __attribute__nonnull__(pTHX_3) | |
2436 | __attribute__nonnull__(pTHX_4); | |
2437 | ||
1d7c1841 GS |
2438 | PERL_CALLCONV void Perl_unsharepvn(pTHX_ const char* sv, I32 len, U32 hash); |
2439 | PERL_CALLCONV void Perl_unshare_hek(pTHX_ HEK* hek); | |
eb8433b7 NC |
2440 | #ifdef PERL_MAD |
2441 | PERL_CALLCONV OP * Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg) | |
2442 | __attribute__nonnull__(pTHX_4); | |
2443 | ||
2444 | #else | |
aec46f14 AL |
2445 | PERL_CALLCONV void Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg) |
2446 | __attribute__nonnull__(pTHX_4); | |
2447 | ||
eb8433b7 | 2448 | #endif |
aec46f14 AL |
2449 | PERL_CALLCONV U8* Perl_utf16_to_utf8(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen) |
2450 | __attribute__nonnull__(pTHX_1) | |
2451 | __attribute__nonnull__(pTHX_2) | |
2452 | __attribute__nonnull__(pTHX_4); | |
2453 | ||
2454 | PERL_CALLCONV U8* Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen) | |
2455 | __attribute__nonnull__(pTHX_1) | |
2456 | __attribute__nonnull__(pTHX_2) | |
2457 | __attribute__nonnull__(pTHX_4); | |
2458 | ||
4373e329 | 2459 | PERL_CALLCONV STRLEN Perl_utf8_length(pTHX_ const U8* s, const U8 *e) |
abb2c242 JH |
2460 | __attribute__warn_unused_result__ |
2461 | __attribute__pure__ | |
2462 | __attribute__nonnull__(pTHX_1) | |
2463 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2464 | |
4373e329 | 2465 | PERL_CALLCONV IV Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b) |
abb2c242 JH |
2466 | __attribute__warn_unused_result__ |
2467 | __attribute__pure__ | |
2468 | __attribute__nonnull__(pTHX_1) | |
2469 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2470 | |
4373e329 | 2471 | PERL_CALLCONV U8* Perl_utf8_hop(pTHX_ const U8 *s, I32 off) |
abb2c242 JH |
2472 | __attribute__warn_unused_result__ |
2473 | __attribute__pure__ | |
2474 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 2475 | |
4373e329 | 2476 | PERL_CALLCONV U8* Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *len) |
abb2c242 JH |
2477 | __attribute__nonnull__(pTHX_1) |
2478 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2479 | |
aec46f14 AL |
2480 | PERL_CALLCONV U8* Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *len, bool *is_utf8) |
2481 | __attribute__nonnull__(pTHX_1) | |
2482 | __attribute__nonnull__(pTHX_2); | |
2483 | ||
2484 | PERL_CALLCONV U8* Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *len) | |
2485 | __attribute__nonnull__(pTHX_1) | |
2486 | __attribute__nonnull__(pTHX_2); | |
2487 | ||
2488 | PERL_CALLCONV UV Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen) | |
2489 | __attribute__nonnull__(pTHX_1); | |
2490 | ||
2491 | PERL_CALLCONV UV Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen) | |
2492 | __attribute__nonnull__(pTHX_1); | |
2493 | ||
1754c1a1 NC |
2494 | |
2495 | #ifdef EBCDIC | |
aec46f14 AL |
2496 | PERL_CALLCONV UV Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags) |
2497 | __attribute__nonnull__(pTHX_1); | |
2498 | ||
1754c1a1 NC |
2499 | #else |
2500 | /* PERL_CALLCONV UV Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags) | |
2501 | __attribute__nonnull__(pTHX_1); */ | |
2502 | ||
2503 | #endif | |
2504 | ||
aec46f14 AL |
2505 | PERL_CALLCONV UV Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags) |
2506 | __attribute__nonnull__(pTHX_1); | |
2507 | ||
1754c1a1 NC |
2508 | |
2509 | #ifdef EBCDIC | |
4373e329 | 2510 | PERL_CALLCONV U8* Perl_uvchr_to_utf8(pTHX_ U8 *d, UV uv) |
abb2c242 | 2511 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2512 | |
1754c1a1 NC |
2513 | #else |
2514 | /* PERL_CALLCONV U8* Perl_uvchr_to_utf8(pTHX_ U8 *d, UV uv) | |
2515 | __attribute__nonnull__(pTHX_1); */ | |
2516 | ||
2517 | #endif | |
2518 | ||
038e8d3c NC |
2519 | /* PERL_CALLCONV U8* Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv) |
2520 | __attribute__nonnull__(pTHX_1); */ | |
f54cb97a | 2521 | |
4373e329 | 2522 | PERL_CALLCONV U8* Perl_uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags) |
abb2c242 | 2523 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2524 | |
4373e329 | 2525 | PERL_CALLCONV U8* Perl_uvuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags) |
abb2c242 | 2526 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2527 | |
fb9bf107 NC |
2528 | PERL_CALLCONV char* Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags) |
2529 | __attribute__nonnull__(pTHX_1) | |
2530 | __attribute__nonnull__(pTHX_2); | |
2531 | ||
a3b680e6 | 2532 | PERL_CALLCONV char* Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags) |
fb9bf107 NC |
2533 | __attribute__warn_unused_result__ |
2534 | __attribute__nonnull__(pTHX_1) | |
2535 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 | 2536 | |
aec46f14 AL |
2537 | PERL_CALLCONV void Perl_vivify_defelem(pTHX_ SV* sv) |
2538 | __attribute__nonnull__(pTHX_1); | |
2539 | ||
2540 | PERL_CALLCONV void Perl_vivify_ref(pTHX_ SV* sv, U32 to_what) | |
2541 | __attribute__nonnull__(pTHX_1); | |
2542 | ||
2543 | PERL_CALLCONV I32 Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags) | |
2544 | __attribute__nonnull__(pTHX_2); | |
2545 | ||
fb9bf107 NC |
2546 | PERL_CALLCONV U32 Perl_parse_unicode_opts(pTHX_ const char **popt) |
2547 | __attribute__nonnull__(pTHX_1); | |
2548 | ||
132efe8b | 2549 | PERL_CALLCONV U32 Perl_seed(pTHX); |
255164ba DM |
2550 | PERL_CALLCONV UV Perl_get_hash_seed(pTHX) |
2551 | __attribute__warn_unused_result__; | |
2552 | ||
e1ec3a88 | 2553 | PERL_CALLCONV void Perl_report_evil_fh(pTHX_ const GV *gv, const IO *io, I32 op); |
29489e7c | 2554 | PERL_CALLCONV void Perl_report_uninit(pTHX_ SV* uninit_sv); |
894356b3 | 2555 | PERL_CALLCONV void Perl_warn(pTHX_ const char* pat, ...) |
aec46f14 AL |
2556 | __attribute__format__(__printf__,pTHX_1,pTHX_2) |
2557 | __attribute__nonnull__(pTHX_1); | |
2558 | ||
2559 | PERL_CALLCONV void Perl_vwarn(pTHX_ const char* pat, va_list* args) | |
2560 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 2561 | |
894356b3 | 2562 | PERL_CALLCONV void Perl_warner(pTHX_ U32 err, const char* pat, ...) |
aec46f14 AL |
2563 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
2564 | __attribute__nonnull__(pTHX_2); | |
2565 | ||
2566 | PERL_CALLCONV void Perl_vwarner(pTHX_ U32 err, const char* pat, va_list* args) | |
2567 | __attribute__nonnull__(pTHX_2); | |
2568 | ||
2569 | PERL_CALLCONV void Perl_watch(pTHX_ char** addr) | |
2570 | __attribute__nonnull__(pTHX_1); | |
2571 | ||
2572 | PERL_CALLCONV I32 Perl_whichsig(pTHX_ const char* sig) | |
2573 | __attribute__nonnull__(pTHX_1); | |
2574 | ||
2575 | PERL_CALLCONV void Perl_write_to_stderr(pTHX_ const char* message, int msglen) | |
2576 | __attribute__nonnull__(pTHX_1); | |
2577 | ||
2578 | PERL_CALLCONV int Perl_yyerror(pTHX_ const char* s) | |
2579 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 2580 | |
48cf72c8 | 2581 | PERL_CALLCONV int Perl_yylex(pTHX); |
1d7c1841 | 2582 | PERL_CALLCONV int Perl_yyparse(pTHX); |
aec46f14 AL |
2583 | PERL_CALLCONV int Perl_yywarn(pTHX_ const char* s) |
2584 | __attribute__nonnull__(pTHX_1); | |
2585 | ||
cea2e8a9 | 2586 | #if defined(MYMALLOC) |
aec46f14 AL |
2587 | PERL_CALLCONV void Perl_dump_mstats(pTHX_ char* s) |
2588 | __attribute__nonnull__(pTHX_1); | |
2589 | ||
255164ba | 2590 | PERL_CALLCONV int Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level) |
255164ba DM |
2591 | __attribute__nonnull__(pTHX_1); |
2592 | ||
0cb96387 | 2593 | #endif |
4373e329 | 2594 | PERL_CALLCONV Malloc_t Perl_safesysmalloc(MEM_SIZE nbytes) |
abb2c242 JH |
2595 | __attribute__malloc__ |
2596 | __attribute__warn_unused_result__; | |
f54cb97a | 2597 | |
4373e329 | 2598 | PERL_CALLCONV Malloc_t Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size) |
abb2c242 JH |
2599 | __attribute__malloc__ |
2600 | __attribute__warn_unused_result__; | |
f54cb97a | 2601 | |
4373e329 | 2602 | PERL_CALLCONV Malloc_t Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes) |
abb2c242 JH |
2603 | __attribute__malloc__ |
2604 | __attribute__warn_unused_result__; | |
f54cb97a | 2605 | |
1d7c1841 | 2606 | PERL_CALLCONV Free_t Perl_safesysfree(Malloc_t where); |
cea2e8a9 | 2607 | #if defined(PERL_GLOBAL_STRUCT) |
1d7c1841 | 2608 | PERL_CALLCONV struct perl_vars * Perl_GetVars(pTHX); |
77304e85 | 2609 | PERL_CALLCONV struct perl_vars* Perl_init_global_struct(pTHX); |
fb9bf107 NC |
2610 | PERL_CALLCONV void Perl_free_global_struct(pTHX_ struct perl_vars *plvarsp) |
2611 | __attribute__nonnull__(pTHX_1); | |
2612 | ||
1d7c1841 GS |
2613 | #endif |
2614 | PERL_CALLCONV int Perl_runops_standard(pTHX); | |
2615 | PERL_CALLCONV int Perl_runops_debug(pTHX); | |
894356b3 | 2616 | PERL_CALLCONV void Perl_sv_catpvf_mg(pTHX_ SV *sv, const char* pat, ...) |
aec46f14 AL |
2617 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
2618 | __attribute__nonnull__(pTHX_1) | |
2619 | __attribute__nonnull__(pTHX_2); | |
2620 | ||
2621 | PERL_CALLCONV void Perl_sv_vcatpvf_mg(pTHX_ SV* sv, const char* pat, va_list* args) | |
2622 | __attribute__nonnull__(pTHX_1) | |
2623 | __attribute__nonnull__(pTHX_2); | |
2624 | ||
2625 | PERL_CALLCONV void Perl_sv_catpv_mg(pTHX_ SV *sv, const char *ptr) | |
2626 | __attribute__nonnull__(pTHX_1) | |
2627 | __attribute__nonnull__(pTHX_2); | |
2628 | ||
b347df82 | 2629 | /* PERL_CALLCONV void Perl_sv_catpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len) |
aec46f14 | 2630 | __attribute__nonnull__(pTHX_1) |
b347df82 | 2631 | __attribute__nonnull__(pTHX_2); */ |
aec46f14 | 2632 | |
b347df82 NC |
2633 | /* PERL_CALLCONV void Perl_sv_catsv_mg(pTHX_ SV *dstr, SV *sstr) |
2634 | __attribute__nonnull__(pTHX_1); */ | |
f54cb97a | 2635 | |
894356b3 | 2636 | PERL_CALLCONV void Perl_sv_setpvf_mg(pTHX_ SV *sv, const char* pat, ...) |
aec46f14 AL |
2637 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
2638 | __attribute__nonnull__(pTHX_1) | |
2639 | __attribute__nonnull__(pTHX_2); | |
2640 | ||
2641 | PERL_CALLCONV void Perl_sv_vsetpvf_mg(pTHX_ SV* sv, const char* pat, va_list* args) | |
2642 | __attribute__nonnull__(pTHX_1) | |
2643 | __attribute__nonnull__(pTHX_2); | |
2644 | ||
2645 | PERL_CALLCONV void Perl_sv_setiv_mg(pTHX_ SV *sv, IV i) | |
2646 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 2647 | |
504618e9 AL |
2648 | PERL_CALLCONV void Perl_sv_setpviv_mg(pTHX_ SV *sv, IV iv) |
2649 | __attribute__nonnull__(pTHX_1); | |
2650 | ||
aec46f14 AL |
2651 | PERL_CALLCONV void Perl_sv_setuv_mg(pTHX_ SV *sv, UV u) |
2652 | __attribute__nonnull__(pTHX_1); | |
2653 | ||
2654 | PERL_CALLCONV void Perl_sv_setnv_mg(pTHX_ SV *sv, NV num) | |
2655 | __attribute__nonnull__(pTHX_1); | |
2656 | ||
2657 | PERL_CALLCONV void Perl_sv_setpv_mg(pTHX_ SV *sv, const char *ptr) | |
2658 | __attribute__nonnull__(pTHX_1); | |
2659 | ||
2660 | PERL_CALLCONV void Perl_sv_setpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len) | |
2661 | __attribute__nonnull__(pTHX_1) | |
2662 | __attribute__nonnull__(pTHX_2); | |
2663 | ||
2664 | PERL_CALLCONV void Perl_sv_setsv_mg(pTHX_ SV *dstr, SV *sstr) | |
2665 | __attribute__nonnull__(pTHX_1); | |
2666 | ||
47518d95 NC |
2667 | /* PERL_CALLCONV void Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len) |
2668 | __attribute__nonnull__(pTHX_1); */ | |
aec46f14 AL |
2669 | |
2670 | PERL_CALLCONV MGVTBL* Perl_get_vtbl(pTHX_ int vtbl_id) | |
2671 | __attribute__warn_unused_result__; | |
2672 | ||
2673 | PERL_CALLCONV char* Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim) | |
2674 | __attribute__nonnull__(pTHX_1) | |
2675 | __attribute__nonnull__(pTHX_2); | |
2676 | ||
3df15adc YO |
2677 | PERL_CALLCONV char* Perl_pv_escape(pTHX_ SV *dsv, const char *pv, const STRLEN count, const STRLEN max, const U32 flags) |
2678 | __attribute__nonnull__(pTHX_1) | |
2679 | __attribute__nonnull__(pTHX_2); | |
2680 | ||
894356b3 | 2681 | PERL_CALLCONV void Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...) |
1b6737cc | 2682 | __attribute__format__(__printf__,pTHX_3,pTHX_4) |
aec46f14 AL |
2683 | __attribute__nonnull__(pTHX_2) |
2684 | __attribute__nonnull__(pTHX_3); | |
1b6737cc AL |
2685 | |
2686 | PERL_CALLCONV void Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args) | |
aec46f14 AL |
2687 | __attribute__nonnull__(pTHX_2) |
2688 | __attribute__nonnull__(pTHX_3); | |
1b6737cc AL |
2689 | |
2690 | PERL_CALLCONV void Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv) | |
aec46f14 AL |
2691 | __attribute__nonnull__(pTHX_2) |
2692 | __attribute__nonnull__(pTHX_3) | |
2693 | __attribute__nonnull__(pTHX_4); | |
1b6737cc AL |
2694 | |
2695 | PERL_CALLCONV void Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv) | |
aec46f14 AL |
2696 | __attribute__nonnull__(pTHX_2) |
2697 | __attribute__nonnull__(pTHX_3) | |
2698 | __attribute__nonnull__(pTHX_4); | |
1b6737cc AL |
2699 | |
2700 | PERL_CALLCONV void Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv) | |
aec46f14 AL |
2701 | __attribute__nonnull__(pTHX_2) |
2702 | __attribute__nonnull__(pTHX_3) | |
2703 | __attribute__nonnull__(pTHX_4); | |
1b6737cc AL |
2704 | |
2705 | 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 |
2706 | __attribute__nonnull__(pTHX_2) |
2707 | __attribute__nonnull__(pTHX_3); | |
1b6737cc AL |
2708 | |
2709 | PERL_CALLCONV void Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o) | |
2710 | __attribute__nonnull__(pTHX_2); | |
2711 | ||
2712 | PERL_CALLCONV void Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm) | |
2713 | __attribute__nonnull__(pTHX_2); | |
2714 | ||
2715 | PERL_CALLCONV void Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim) | |
2716 | __attribute__nonnull__(pTHX_2); | |
2717 | ||
6867be6d | 2718 | PERL_CALLCONV void Perl_magic_dump(pTHX_ const MAGIC *mg); |
1d7c1841 | 2719 | PERL_CALLCONV void Perl_reginitcolors(pTHX); |
cb2f1b7b | 2720 | /* PERL_CALLCONV char* Perl_sv_2pv_nolen(pTHX_ SV* sv) |
aec46f14 | 2721 | __attribute__warn_unused_result__ |
cb2f1b7b | 2722 | __attribute__nonnull__(pTHX_1); */ |
aec46f14 | 2723 | |
cb2f1b7b | 2724 | /* PERL_CALLCONV char* Perl_sv_2pvutf8_nolen(pTHX_ SV* sv) |
aec46f14 | 2725 | __attribute__warn_unused_result__ |
cb2f1b7b | 2726 | __attribute__nonnull__(pTHX_1); */ |
aec46f14 | 2727 | |
cb2f1b7b | 2728 | /* PERL_CALLCONV char* Perl_sv_2pvbyte_nolen(pTHX_ SV* sv) |
aec46f14 | 2729 | __attribute__warn_unused_result__ |
cb2f1b7b | 2730 | __attribute__nonnull__(pTHX_1); */ |
aec46f14 | 2731 | |
f75877b5 SH |
2732 | /* PERL_CALLCONV char* sv_pv(pTHX_ SV *sv) |
2733 | __attribute__warn_unused_result__ | |
2734 | __attribute__nonnull__(pTHX_1); */ | |
2735 | ||
2736 | /* PERL_CALLCONV char* sv_pvutf8(pTHX_ SV *sv) | |
2737 | __attribute__warn_unused_result__ | |
2738 | __attribute__nonnull__(pTHX_1); */ | |
2739 | ||
2740 | /* PERL_CALLCONV char* sv_pvbyte(pTHX_ SV *sv) | |
2741 | __attribute__warn_unused_result__ | |
2742 | __attribute__nonnull__(pTHX_1); */ | |
2743 | ||
2744 | /* PERL_CALLCONV STRLEN sv_utf8_upgrade(pTHX_ SV *sv) | |
2745 | __attribute__nonnull__(pTHX_1); */ | |
2746 | ||
2747 | PERL_CALLCONV bool Perl_sv_utf8_downgrade(pTHX_ SV *sv, bool fail_ok) | |
2748 | __attribute__nonnull__(pTHX_1); | |
2749 | ||
2750 | PERL_CALLCONV void Perl_sv_utf8_encode(pTHX_ SV *sv) | |
2751 | __attribute__nonnull__(pTHX_1); | |
2752 | ||
2753 | PERL_CALLCONV bool Perl_sv_utf8_decode(pTHX_ SV *sv) | |
2754 | __attribute__nonnull__(pTHX_1); | |
2755 | ||
5abc721d NC |
2756 | /* PERL_CALLCONV void Perl_sv_force_normal(pTHX_ SV *sv) |
2757 | __attribute__nonnull__(pTHX_1); */ | |
f75877b5 SH |
2758 | |
2759 | PERL_CALLCONV void Perl_sv_force_normal_flags(pTHX_ SV *sv, U32 flags) | |
2760 | __attribute__nonnull__(pTHX_1); | |
2761 | ||
1d7c1841 | 2762 | PERL_CALLCONV void Perl_tmps_grow(pTHX_ I32 n); |
f75877b5 SH |
2763 | PERL_CALLCONV SV* Perl_sv_rvweaken(pTHX_ SV *sv) |
2764 | __attribute__nonnull__(pTHX_1); | |
2765 | ||
2766 | PERL_CALLCONV int Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg) | |
2767 | __attribute__nonnull__(pTHX_1) | |
2768 | __attribute__nonnull__(pTHX_2); | |
2769 | ||
1d7c1841 GS |
2770 | PERL_CALLCONV OP* Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block); |
2771 | PERL_CALLCONV CV* Perl_newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block); | |
eb8433b7 NC |
2772 | #ifdef PERL_MAD |
2773 | PERL_CALLCONV OP * Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block) | |
2774 | __attribute__noreturn__; | |
2775 | ||
2776 | #else | |
f54cb97a | 2777 | PERL_CALLCONV void Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block) |
abb2c242 | 2778 | __attribute__noreturn__; |
f54cb97a | 2779 | |
eb8433b7 | 2780 | #endif |
4373e329 | 2781 | PERL_CALLCONV OP * Perl_my_attrs(pTHX_ OP *o, OP *attrs) |
abb2c242 | 2782 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2783 | |
1d7c1841 GS |
2784 | PERL_CALLCONV void Perl_boot_core_xsutils(pTHX); |
2785 | #if defined(USE_ITHREADS) | |
53c1dcc0 | 2786 | PERL_CALLCONV PERL_CONTEXT* Perl_cx_dup(pTHX_ PERL_CONTEXT* cx, I32 ix, I32 max, CLONE_PARAMS* param) |
aec46f14 AL |
2787 | __attribute__warn_unused_result__ |
2788 | __attribute__nonnull__(pTHX_4); | |
53c1dcc0 AL |
2789 | |
2790 | PERL_CALLCONV PERL_SI* Perl_si_dup(pTHX_ PERL_SI* si, CLONE_PARAMS* param) | |
aec46f14 AL |
2791 | __attribute__warn_unused_result__ |
2792 | __attribute__nonnull__(pTHX_2); | |
53c1dcc0 AL |
2793 | |
2794 | PERL_CALLCONV ANY* Perl_ss_dup(pTHX_ PerlInterpreter* proto_perl, CLONE_PARAMS* param) | |
2795 | __attribute__malloc__ | |
2796 | __attribute__warn_unused_result__ | |
aec46f14 AL |
2797 | __attribute__nonnull__(pTHX_1) |
2798 | __attribute__nonnull__(pTHX_2); | |
53c1dcc0 AL |
2799 | |
2800 | PERL_CALLCONV void* Perl_any_dup(pTHX_ void* v, const PerlInterpreter* proto_perl) | |
53c1dcc0 | 2801 | __attribute__warn_unused_result__ |
abb2c242 | 2802 | __attribute__nonnull__(pTHX_2); |
f54cb97a | 2803 | |
5c4138a0 | 2804 | PERL_CALLCONV HE* Perl_he_dup(pTHX_ const HE* e, bool shared, CLONE_PARAMS* param) |
aec46f14 AL |
2805 | __attribute__warn_unused_result__ |
2806 | __attribute__nonnull__(pTHX_3); | |
53c1dcc0 AL |
2807 | |
2808 | PERL_CALLCONV HEK* Perl_hek_dup(pTHX_ HEK* e, CLONE_PARAMS* param) | |
aec46f14 AL |
2809 | __attribute__warn_unused_result__ |
2810 | __attribute__nonnull__(pTHX_2); | |
53c1dcc0 AL |
2811 | |
2812 | PERL_CALLCONV REGEXP* Perl_re_dup(pTHX_ const REGEXP* r, CLONE_PARAMS* param) | |
aec46f14 AL |
2813 | __attribute__warn_unused_result__ |
2814 | __attribute__nonnull__(pTHX_2); | |
53c1dcc0 AL |
2815 | |
2816 | PERL_CALLCONV PerlIO* Perl_fp_dup(pTHX_ PerlIO* fp, char type, CLONE_PARAMS* param) | |
aec46f14 | 2817 | __attribute__nonnull__(pTHX_3); |
53c1dcc0 AL |
2818 | |
2819 | PERL_CALLCONV DIR* Perl_dirp_dup(pTHX_ DIR* dp) | |
53c1dcc0 AL |
2820 | __attribute__warn_unused_result__; |
2821 | ||
2822 | PERL_CALLCONV GP* Perl_gp_dup(pTHX_ GP* gp, CLONE_PARAMS* param) | |
aec46f14 AL |
2823 | __attribute__warn_unused_result__ |
2824 | __attribute__nonnull__(pTHX_2); | |
53c1dcc0 AL |
2825 | |
2826 | PERL_CALLCONV MAGIC* Perl_mg_dup(pTHX_ MAGIC* mg, CLONE_PARAMS* param) | |
53c1dcc0 | 2827 | __attribute__warn_unused_result__ |
aec46f14 | 2828 | __attribute__nonnull__(pTHX_2); |
53c1dcc0 | 2829 | |
eb86f8b3 | 2830 | PERL_CALLCONV SV* Perl_sv_dup(pTHX_ const SV* sstr, CLONE_PARAMS* param) |
53c1dcc0 | 2831 | __attribute__warn_unused_result__ |
aec46f14 | 2832 | __attribute__nonnull__(pTHX_2); |
f54cb97a | 2833 | |
eb86f8b3 | 2834 | PERL_CALLCONV void Perl_rvpv_dup(pTHX_ SV* dstr, const SV *sstr, CLONE_PARAMS* param) |
53c1dcc0 | 2835 | __attribute__nonnull__(pTHX_1) |
aec46f14 AL |
2836 | __attribute__nonnull__(pTHX_2) |
2837 | __attribute__nonnull__(pTHX_3); | |
53c1dcc0 AL |
2838 | |
2839 | PERL_CALLCONV PTR_TBL_t* Perl_ptr_table_new(pTHX) | |
2840 | __attribute__malloc__ | |
2841 | __attribute__warn_unused_result__; | |
2842 | ||
2843 | PERL_CALLCONV void* Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *tbl, const void *sv) | |
53c1dcc0 AL |
2844 | __attribute__warn_unused_result__ |
2845 | __attribute__nonnull__(pTHX_1) | |
2846 | __attribute__nonnull__(pTHX_2); | |
2847 | ||
2848 | PERL_CALLCONV void Perl_ptr_table_store(pTHX_ PTR_TBL_t *tbl, const void *oldsv, void *newsv) | |
2849 | __attribute__nonnull__(pTHX_1) | |
2850 | __attribute__nonnull__(pTHX_3); | |
2851 | ||
4373e329 | 2852 | PERL_CALLCONV void Perl_ptr_table_split(pTHX_ PTR_TBL_t *tbl) |
abb2c242 | 2853 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2854 | |
690cf326 NIS |
2855 | PERL_CALLCONV void Perl_ptr_table_clear(pTHX_ PTR_TBL_t *tbl); |
2856 | PERL_CALLCONV void Perl_ptr_table_free(pTHX_ PTR_TBL_t *tbl); | |
504618e9 AL |
2857 | # if defined(HAVE_INTERP_INTERN) |
2858 | PERL_CALLCONV void Perl_sys_intern_dup(pTHX_ struct interp_intern* src, struct interp_intern* dst) | |
2859 | __attribute__nonnull__(pTHX_1) | |
2860 | __attribute__nonnull__(pTHX_2); | |
2861 | ||
ddacffcf SH |
2862 | # endif |
2863 | #endif | |
2864 | #if defined(HAVE_INTERP_INTERN) | |
3dbbd0f5 GS |
2865 | PERL_CALLCONV void Perl_sys_intern_clear(pTHX); |
2866 | PERL_CALLCONV void Perl_sys_intern_init(pTHX); | |
2867 | #endif | |
cae16f1a | 2868 | |
4373e329 | 2869 | PERL_CALLCONV char * Perl_custom_op_name(pTHX_ const OP* op) |
53c1dcc0 | 2870 | __attribute__warn_unused_result__ |
abb2c242 | 2871 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2872 | |
4373e329 | 2873 | PERL_CALLCONV char * Perl_custom_op_desc(pTHX_ const OP* op) |
53c1dcc0 | 2874 | __attribute__warn_unused_result__ |
abb2c242 | 2875 | __attribute__nonnull__(pTHX_1); |
cae16f1a | 2876 | |
f54cb97a | 2877 | |
f8c7b90f | 2878 | #if defined(PERL_OLD_COPY_ON_WRITE) |
aec46f14 AL |
2879 | PERL_CALLCONV int Perl_sv_release_IVX(pTHX_ SV *sv) |
2880 | __attribute__nonnull__(pTHX_1); | |
2881 | ||
765f542d NC |
2882 | #endif |
2883 | ||
c48640ec AL |
2884 | PERL_CALLCONV void Perl_sv_nosharing(pTHX_ SV *sv); |
2885 | /* PERL_CALLCONV void Perl_sv_nolocking(pTHX_ SV *sv); */ | |
d0647d4e | 2886 | #ifdef NO_MATHOMS |
c48640ec | 2887 | /* PERL_CALLCONV void Perl_sv_nounlocking(pTHX_ SV *sv); */ |
d0647d4e NC |
2888 | #else |
2889 | PERL_CALLCONV void Perl_sv_nounlocking(pTHX_ SV *sv); | |
2890 | #endif | |
62375a60 | 2891 | PERL_CALLCONV int Perl_nothreadhook(pTHX); |
1d7c1841 | 2892 | |
1d7c1841 | 2893 | END_EXTERN_C |
1d7c1841 | 2894 | |
0cb96387 | 2895 | #if defined(PERL_IN_DOOP_C) || defined(PERL_DECL_PROT) |
c395bd6c | 2896 | STATIC I32 S_do_trans_simple(pTHX_ SV * const sv) |
53c1dcc0 | 2897 | __attribute__warn_unused_result__ |
abb2c242 | 2898 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2899 | |
c395bd6c | 2900 | STATIC I32 S_do_trans_count(pTHX_ SV * const sv) |
53c1dcc0 | 2901 | __attribute__warn_unused_result__ |
abb2c242 | 2902 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2903 | |
c395bd6c | 2904 | STATIC I32 S_do_trans_complex(pTHX_ SV * const sv) |
53c1dcc0 | 2905 | __attribute__warn_unused_result__ |
abb2c242 | 2906 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2907 | |
c395bd6c | 2908 | STATIC I32 S_do_trans_simple_utf8(pTHX_ SV * const sv) |
53c1dcc0 | 2909 | __attribute__warn_unused_result__ |
abb2c242 | 2910 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2911 | |
c395bd6c | 2912 | STATIC I32 S_do_trans_count_utf8(pTHX_ SV * const sv) |
53c1dcc0 | 2913 | __attribute__warn_unused_result__ |
abb2c242 | 2914 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2915 | |
c395bd6c | 2916 | STATIC I32 S_do_trans_complex_utf8(pTHX_ SV * const sv) |
53c1dcc0 | 2917 | __attribute__warn_unused_result__ |
abb2c242 | 2918 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2919 | |
cea2e8a9 | 2920 | #endif |
1d7c1841 | 2921 | |
0cb96387 | 2922 | #if defined(PERL_IN_GV_C) || defined(PERL_DECL_PROT) |
53c1dcc0 AL |
2923 | STATIC void S_gv_init_sv(pTHX_ GV *gv, I32 sv_type) |
2924 | __attribute__nonnull__(pTHX_1); | |
2925 | ||
a3b680e6 | 2926 | STATIC void S_require_errno(pTHX_ GV *gv) |
abb2c242 | 2927 | __attribute__nonnull__(pTHX_1); |
a3b680e6 | 2928 | |
864dbfa3 | 2929 | #endif |
1d7c1841 | 2930 | |
5e258f8c JC |
2931 | PERL_CALLCONV void* Perl_get_arena(pTHX_ int svtype) |
2932 | __attribute__malloc__ | |
2933 | __attribute__warn_unused_result__; | |
2934 | ||
2935 | ||
0cb96387 | 2936 | #if defined(PERL_IN_HV_C) || defined(PERL_DECL_PROT) |
53c1dcc0 AL |
2937 | STATIC void S_hsplit(pTHX_ HV *hv) |
2938 | __attribute__nonnull__(pTHX_1); | |
2939 | ||
3abe233e AL |
2940 | STATIC void S_hfreeentries(pTHX_ HV *hv) |
2941 | __attribute__nonnull__(pTHX_1); | |
2942 | ||
1df70142 | 2943 | STATIC HE* S_new_he(pTHX) |
53c1dcc0 | 2944 | __attribute__malloc__ |
1df70142 AL |
2945 | __attribute__warn_unused_result__; |
2946 | ||
44af46ee | 2947 | STATIC HEK* S_save_hek_flags(const char *str, I32 len, U32 hash, int flags) |
53c1dcc0 | 2948 | __attribute__malloc__ |
1df70142 | 2949 | __attribute__warn_unused_result__ |
44af46ee | 2950 | __attribute__nonnull__(1); |
1df70142 | 2951 | |
b0e6ae5b SH |
2952 | STATIC void S_hv_magic_check(HV *hv, bool *needs_copy, bool *needs_store) |
2953 | __attribute__nonnull__(1) | |
2954 | __attribute__nonnull__(2) | |
2955 | __attribute__nonnull__(3); | |
1df70142 | 2956 | |
97ddebaf | 2957 | STATIC void S_unshare_hek_or_pvn(pTHX_ const HEK* hek, const char* str, I32 len, U32 hash); |
6e838c70 | 2958 | STATIC HEK* S_share_hek_flags(pTHX_ const char* sv, I32 len, U32 hash, int flags) |
1b6737cc AL |
2959 | __attribute__warn_unused_result__ |
2960 | __attribute__nonnull__(pTHX_1); | |
1df70142 | 2961 | |
1e73acc8 AS |
2962 | STATIC SV* S_hv_magic_uvar_xkey(pTHX_ HV* hv, SV* keysv, int action) |
2963 | __attribute__warn_unused_result__ | |
2964 | __attribute__nonnull__(pTHX_1) | |
2965 | __attribute__nonnull__(pTHX_2); | |
2966 | ||
f54cb97a | 2967 | STATIC void S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const char *msg) |
1df70142 AL |
2968 | __attribute__noreturn__ |
2969 | __attribute__nonnull__(pTHX_2) | |
2970 | __attribute__nonnull__(pTHX_4); | |
f54cb97a | 2971 | |
44af46ee | 2972 | STATIC struct xpvhv_aux* S_hv_auxinit(HV *hv) |
44af46ee | 2973 | __attribute__nonnull__(1); |
53c1dcc0 | 2974 | |
aec46f14 AL |
2975 | STATIC SV* S_hv_delete_common(pTHX_ HV* tb, SV* keysv, const char* key, STRLEN klen, int k_flags, I32 d_flags, U32 hash); |
2976 | STATIC HE* S_hv_fetch_common(pTHX_ HV* tb, SV* keysv, const char* key, STRLEN klen, int flags, int action, SV* val, U32 hash); | |
b3ca2e83 | 2977 | STATIC void S_clear_placeholders(pTHX_ HV* hb, U32 items) |
7b0bddfa NC |
2978 | __attribute__nonnull__(pTHX_1); |
2979 | ||
2980 | STATIC SV * S_refcounted_he_value(pTHX_ const struct refcounted_he *he) | |
b3ca2e83 NC |
2981 | __attribute__nonnull__(pTHX_1); |
2982 | ||
864dbfa3 | 2983 | #endif |
1d7c1841 | 2984 | |
0cb96387 | 2985 | #if defined(PERL_IN_MG_C) || defined(PERL_DECL_PROT) |
504618e9 AL |
2986 | STATIC void S_save_magic(pTHX_ I32 mgs_ix, SV *sv) |
2987 | __attribute__nonnull__(pTHX_2); | |
2988 | ||
2989 | STATIC int S_magic_methpack(pTHX_ SV *sv, const MAGIC *mg, const char *meth) | |
2990 | __attribute__nonnull__(pTHX_1) | |
2991 | __attribute__nonnull__(pTHX_2) | |
2992 | __attribute__nonnull__(pTHX_3); | |
2993 | ||
2994 | STATIC int S_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, const char *meth, I32 f, int n, SV *val) | |
2995 | __attribute__nonnull__(pTHX_1) | |
2996 | __attribute__nonnull__(pTHX_2) | |
2997 | __attribute__nonnull__(pTHX_3); | |
2998 | ||
8772537c AL |
2999 | STATIC void S_restore_magic(pTHX_ const void *p) |
3000 | __attribute__nonnull__(pTHX_1); | |
3001 | ||
3002 | STATIC void S_unwind_handler_stack(pTHX_ const void *p) | |
3003 | __attribute__nonnull__(pTHX_1); | |
3004 | ||
3005 | ||
864dbfa3 | 3006 | #endif |
1d7c1841 | 3007 | |
0cb96387 | 3008 | #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT) |
504618e9 AL |
3009 | PERL_CALLCONV OP* Perl_ck_anoncode(pTHX_ OP *o) |
3010 | __attribute__warn_unused_result__ | |
3011 | __attribute__nonnull__(pTHX_1); | |
3012 | ||
3013 | PERL_CALLCONV OP* Perl_ck_bitop(pTHX_ OP *o) | |
3014 | __attribute__warn_unused_result__ | |
3015 | __attribute__nonnull__(pTHX_1); | |
3016 | ||
3017 | PERL_CALLCONV OP* Perl_ck_concat(pTHX_ OP *o) | |
3018 | __attribute__warn_unused_result__ | |
3019 | __attribute__nonnull__(pTHX_1); | |
3020 | ||
3021 | PERL_CALLCONV OP* Perl_ck_defined(pTHX_ OP *o) | |
3022 | __attribute__warn_unused_result__ | |
3023 | __attribute__nonnull__(pTHX_1); | |
3024 | ||
3025 | PERL_CALLCONV OP* Perl_ck_delete(pTHX_ OP *o) | |
3026 | __attribute__warn_unused_result__ | |
3027 | __attribute__nonnull__(pTHX_1); | |
3028 | ||
3029 | PERL_CALLCONV OP* Perl_ck_die(pTHX_ OP *o) | |
3030 | __attribute__warn_unused_result__ | |
3031 | __attribute__nonnull__(pTHX_1); | |
3032 | ||
3033 | PERL_CALLCONV OP* Perl_ck_eof(pTHX_ OP *o) | |
3034 | __attribute__warn_unused_result__ | |
3035 | __attribute__nonnull__(pTHX_1); | |
3036 | ||
3037 | PERL_CALLCONV OP* Perl_ck_eval(pTHX_ OP *o) | |
3038 | __attribute__warn_unused_result__ | |
3039 | __attribute__nonnull__(pTHX_1); | |
3040 | ||
3041 | PERL_CALLCONV OP* Perl_ck_exec(pTHX_ OP *o) | |
3042 | __attribute__warn_unused_result__ | |
3043 | __attribute__nonnull__(pTHX_1); | |
3044 | ||
3045 | PERL_CALLCONV OP* Perl_ck_exists(pTHX_ OP *o) | |
3046 | __attribute__warn_unused_result__ | |
3047 | __attribute__nonnull__(pTHX_1); | |
3048 | ||
3049 | PERL_CALLCONV OP* Perl_ck_exit(pTHX_ OP *o) | |
3050 | __attribute__warn_unused_result__ | |
3051 | __attribute__nonnull__(pTHX_1); | |
3052 | ||
3053 | PERL_CALLCONV OP* Perl_ck_ftst(pTHX_ OP *o) | |
3054 | __attribute__warn_unused_result__ | |
3055 | __attribute__nonnull__(pTHX_1); | |
3056 | ||
3057 | PERL_CALLCONV OP* Perl_ck_fun(pTHX_ OP *o) | |
3058 | __attribute__warn_unused_result__ | |
3059 | __attribute__nonnull__(pTHX_1); | |
3060 | ||
3061 | PERL_CALLCONV OP* Perl_ck_glob(pTHX_ OP *o) | |
3062 | __attribute__warn_unused_result__ | |
3063 | __attribute__nonnull__(pTHX_1); | |
3064 | ||
3065 | PERL_CALLCONV OP* Perl_ck_grep(pTHX_ OP *o) | |
3066 | __attribute__warn_unused_result__ | |
3067 | __attribute__nonnull__(pTHX_1); | |
3068 | ||
3069 | PERL_CALLCONV OP* Perl_ck_index(pTHX_ OP *o) | |
3070 | __attribute__warn_unused_result__ | |
3071 | __attribute__nonnull__(pTHX_1); | |
3072 | ||
3073 | PERL_CALLCONV OP* Perl_ck_join(pTHX_ OP *o) | |
3074 | __attribute__warn_unused_result__ | |
3075 | __attribute__nonnull__(pTHX_1); | |
3076 | ||
3077 | PERL_CALLCONV OP* Perl_ck_lengthconst(pTHX_ OP *o) | |
3078 | __attribute__warn_unused_result__ | |
3079 | __attribute__nonnull__(pTHX_1); | |
3080 | ||
3081 | PERL_CALLCONV OP* Perl_ck_lfun(pTHX_ OP *o) | |
3082 | __attribute__warn_unused_result__ | |
3083 | __attribute__nonnull__(pTHX_1); | |
3084 | ||
3085 | PERL_CALLCONV OP* Perl_ck_listiob(pTHX_ OP *o) | |
3086 | __attribute__warn_unused_result__ | |
3087 | __attribute__nonnull__(pTHX_1); | |
3088 | ||
3089 | PERL_CALLCONV OP* Perl_ck_match(pTHX_ OP *o) | |
3090 | __attribute__warn_unused_result__ | |
3091 | __attribute__nonnull__(pTHX_1); | |
3092 | ||
3093 | PERL_CALLCONV OP* Perl_ck_method(pTHX_ OP *o) | |
3094 | __attribute__warn_unused_result__ | |
3095 | __attribute__nonnull__(pTHX_1); | |
3096 | ||
3097 | PERL_CALLCONV OP* Perl_ck_null(pTHX_ OP *o) | |
3098 | __attribute__warn_unused_result__ | |
3099 | __attribute__nonnull__(pTHX_1); | |
3100 | ||
3101 | PERL_CALLCONV OP* Perl_ck_open(pTHX_ OP *o) | |
3102 | __attribute__warn_unused_result__ | |
3103 | __attribute__nonnull__(pTHX_1); | |
3104 | ||
3105 | PERL_CALLCONV OP* Perl_ck_repeat(pTHX_ OP *o) | |
3106 | __attribute__warn_unused_result__ | |
3107 | __attribute__nonnull__(pTHX_1); | |
3108 | ||
3109 | PERL_CALLCONV OP* Perl_ck_require(pTHX_ OP *o) | |
3110 | __attribute__warn_unused_result__ | |
3111 | __attribute__nonnull__(pTHX_1); | |
3112 | ||
3113 | PERL_CALLCONV OP* Perl_ck_retarget(pTHX_ OP *o) | |
3114 | __attribute__warn_unused_result__ | |
3115 | __attribute__nonnull__(pTHX_1); | |
3116 | ||
3117 | PERL_CALLCONV OP* Perl_ck_return(pTHX_ OP *o) | |
3118 | __attribute__warn_unused_result__ | |
3119 | __attribute__nonnull__(pTHX_1); | |
3120 | ||
3121 | PERL_CALLCONV OP* Perl_ck_rfun(pTHX_ OP *o) | |
3122 | __attribute__warn_unused_result__ | |
3123 | __attribute__nonnull__(pTHX_1); | |
3124 | ||
3125 | PERL_CALLCONV OP* Perl_ck_rvconst(pTHX_ OP *o) | |
3126 | __attribute__warn_unused_result__ | |
3127 | __attribute__nonnull__(pTHX_1); | |
3128 | ||
3129 | PERL_CALLCONV OP* Perl_ck_sassign(pTHX_ OP *o) | |
3130 | __attribute__warn_unused_result__ | |
3131 | __attribute__nonnull__(pTHX_1); | |
3132 | ||
0d863452 RH |
3133 | PERL_CALLCONV OP* Perl_ck_say(pTHX_ OP *o) |
3134 | __attribute__warn_unused_result__ | |
3135 | __attribute__nonnull__(pTHX_1); | |
3136 | ||
504618e9 AL |
3137 | PERL_CALLCONV OP* Perl_ck_select(pTHX_ OP *o) |
3138 | __attribute__warn_unused_result__ | |
3139 | __attribute__nonnull__(pTHX_1); | |
3140 | ||
3141 | PERL_CALLCONV OP* Perl_ck_shift(pTHX_ OP *o) | |
3142 | __attribute__warn_unused_result__ | |
3143 | __attribute__nonnull__(pTHX_1); | |
3144 | ||
3145 | PERL_CALLCONV OP* Perl_ck_sort(pTHX_ OP *o) | |
3146 | __attribute__warn_unused_result__ | |
3147 | __attribute__nonnull__(pTHX_1); | |
3148 | ||
3149 | PERL_CALLCONV OP* Perl_ck_spair(pTHX_ OP *o) | |
3150 | __attribute__warn_unused_result__ | |
3151 | __attribute__nonnull__(pTHX_1); | |
3152 | ||
3153 | PERL_CALLCONV OP* Perl_ck_split(pTHX_ OP *o) | |
3154 | __attribute__warn_unused_result__ | |
3155 | __attribute__nonnull__(pTHX_1); | |
3156 | ||
3157 | PERL_CALLCONV OP* Perl_ck_subr(pTHX_ OP *o) | |
3158 | __attribute__warn_unused_result__ | |
3159 | __attribute__nonnull__(pTHX_1); | |
3160 | ||
3161 | PERL_CALLCONV OP* Perl_ck_substr(pTHX_ OP *o) | |
3162 | __attribute__warn_unused_result__ | |
3163 | __attribute__nonnull__(pTHX_1); | |
3164 | ||
3165 | PERL_CALLCONV OP* Perl_ck_svconst(pTHX_ OP *o) | |
3166 | __attribute__warn_unused_result__ | |
3167 | __attribute__nonnull__(pTHX_1); | |
3168 | ||
3169 | PERL_CALLCONV OP* Perl_ck_trunc(pTHX_ OP *o) | |
3170 | __attribute__warn_unused_result__ | |
3171 | __attribute__nonnull__(pTHX_1); | |
3172 | ||
3173 | PERL_CALLCONV OP* Perl_ck_unpack(pTHX_ OP *o) | |
3174 | __attribute__warn_unused_result__ | |
3175 | __attribute__nonnull__(pTHX_1); | |
3176 | ||
44af46ee | 3177 | STATIC bool S_is_handle_constructor(const OP *o, I32 numargs) |
504618e9 | 3178 | __attribute__warn_unused_result__ |
44af46ee | 3179 | __attribute__nonnull__(1); |
504618e9 AL |
3180 | |
3181 | STATIC I32 S_is_list_assignment(pTHX_ const OP *o) | |
3182 | __attribute__warn_unused_result__; | |
3183 | ||
3184 | STATIC void S_cop_free(pTHX_ COP *cop) | |
3185 | __attribute__nonnull__(pTHX_1); | |
3186 | ||
cea2e8a9 | 3187 | STATIC OP* S_modkids(pTHX_ OP *o, I32 type); |
504618e9 AL |
3188 | STATIC OP* S_scalarboolean(pTHX_ OP *o) |
3189 | __attribute__nonnull__(pTHX_1); | |
3190 | ||
3191 | STATIC OP* S_newDEFSVOP(pTHX) | |
3192 | __attribute__warn_unused_result__; | |
3193 | ||
3194 | STATIC OP* S_new_logop(pTHX_ I32 type, I32 flags, OP **firstp, OP **otherp) | |
3195 | __attribute__warn_unused_result__ | |
3196 | __attribute__nonnull__(pTHX_3) | |
3197 | __attribute__nonnull__(pTHX_4); | |
3198 | ||
3199 | STATIC void S_simplify_sort(pTHX_ OP *o) | |
3200 | __attribute__nonnull__(pTHX_1); | |
3201 | ||
aec46f14 AL |
3202 | STATIC const char* S_gv_ename(pTHX_ GV *gv) |
3203 | __attribute__nonnull__(pTHX_1); | |
3204 | ||
44af46ee RGS |
3205 | STATIC bool S_scalar_mod_type(const OP *o, I32 type) |
3206 | __attribute__warn_unused_result__ | |
3207 | __attribute__nonnull__(1); | |
aec46f14 AL |
3208 | |
3209 | STATIC OP * S_my_kid(pTHX_ OP *o, OP *attrs, OP **imopsp) | |
3210 | __attribute__nonnull__(pTHX_3); | |
3211 | ||
3212 | STATIC OP * S_dup_attrlist(pTHX_ OP *o) | |
3213 | __attribute__nonnull__(pTHX_1); | |
3214 | ||
3215 | STATIC void S_apply_attrs(pTHX_ HV *stash, SV *target, OP *attrs, bool for_my) | |
3216 | __attribute__nonnull__(pTHX_1) | |
3217 | __attribute__nonnull__(pTHX_2); | |
3218 | ||
3219 | STATIC void S_apply_attrs_my(pTHX_ HV *stash, OP *target, OP *attrs, OP **imopsp) | |
3220 | __attribute__nonnull__(pTHX_1) | |
3221 | __attribute__nonnull__(pTHX_2) | |
3222 | __attribute__nonnull__(pTHX_4); | |
3223 | ||
504618e9 AL |
3224 | STATIC void S_bad_type(pTHX_ I32 n, const char *t, const char *name, const OP *kid) |
3225 | __attribute__nonnull__(pTHX_2) | |
3226 | __attribute__nonnull__(pTHX_3) | |
3227 | __attribute__nonnull__(pTHX_4); | |
3228 | ||
3229 | STATIC void S_no_bareword_allowed(pTHX_ const OP *o) | |
3230 | __attribute__nonnull__(pTHX_1); | |
3231 | ||
3232 | STATIC OP* S_no_fh_allowed(pTHX_ OP *o) | |
3233 | __attribute__warn_unused_result__ | |
3234 | __attribute__nonnull__(pTHX_1); | |
3235 | ||
3236 | STATIC OP* S_too_few_arguments(pTHX_ OP *o, const char* name) | |
3237 | __attribute__warn_unused_result__ | |
3238 | __attribute__nonnull__(pTHX_1) | |
3239 | __attribute__nonnull__(pTHX_2); | |
3240 | ||
3241 | STATIC OP* S_too_many_arguments(pTHX_ OP *o, const char* name) | |
3242 | __attribute__warn_unused_result__ | |
3243 | __attribute__nonnull__(pTHX_1) | |
3244 | __attribute__nonnull__(pTHX_2); | |
3245 | ||
ef519e13 | 3246 | STATIC bool S_looks_like_bool(pTHX_ const OP* o) |
0d863452 RH |
3247 | __attribute__nonnull__(pTHX_1); |
3248 | ||
3249 | STATIC OP* S_newGIVWHENOP(pTHX_ OP* cond, OP *block, I32 enter_opcode, I32 leave_opcode, PADOFFSET entertarg) | |
3250 | __attribute__nonnull__(pTHX_2); | |
3251 | ||
3252 | STATIC OP* S_ref_array_or_hash(pTHX_ OP* cond); | |
c7e45529 AE |
3253 | #endif |
3254 | #if defined(PL_OP_SLAB_ALLOC) | |
504618e9 | 3255 | PERL_CALLCONV void* Perl_Slab_Alloc(pTHX_ int m, size_t sz) |
aec46f14 | 3256 | __attribute__malloc__ |
504618e9 AL |
3257 | __attribute__warn_unused_result__; |
3258 | ||
aec46f14 AL |
3259 | PERL_CALLCONV void Perl_Slab_Free(pTHX_ void *op) |
3260 | __attribute__nonnull__(pTHX_1); | |
3261 | ||
864dbfa3 | 3262 | #endif |
1d7c1841 | 3263 | |
0cb96387 | 3264 | #if defined(PERL_IN_PERL_C) || defined(PERL_DECL_PROT) |
faef540c | 3265 | STATIC void S_find_beginning(pTHX); |
458cb9d2 | 3266 | STATIC void S_forbid_setid(pTHX_ const char flag, const int suidscript); |
dd374669 | 3267 | STATIC void S_incpush(pTHX_ const char *dir, bool addsubdirs, bool addoldvers, bool usesep, bool canrelocate); |
cea2e8a9 GS |
3268 | STATIC void S_init_interp(pTHX); |
3269 | STATIC void S_init_ids(pTHX); | |
cea2e8a9 GS |
3270 | STATIC void S_init_lexer(pTHX); |
3271 | STATIC void S_init_main_stash(pTHX); | |
3272 | STATIC void S_init_perllib(pTHX); | |
aec46f14 AL |
3273 | STATIC void S_init_postdump_symbols(pTHX_ int argc, char **argv, char **env) |
3274 | __attribute__nonnull__(pTHX_2); | |
3275 | ||
cea2e8a9 | 3276 | STATIC void S_init_predump_symbols(pTHX); |
f54cb97a | 3277 | STATIC void S_my_exit_jump(pTHX) |
abb2c242 | 3278 | __attribute__noreturn__; |
f54cb97a | 3279 | |
cea2e8a9 | 3280 | STATIC void S_nuke_stacks(pTHX); |
cdd8118e | 3281 | STATIC int S_open_script(pTHX_ const char *scriptname, bool dosearch, SV *sv, int *suidscript) |
aec46f14 | 3282 | __attribute__nonnull__(pTHX_1) |
cdd8118e NC |
3283 | __attribute__nonnull__(pTHX_3) |
3284 | __attribute__nonnull__(pTHX_4); | |
aec46f14 AL |
3285 | |
3286 | STATIC void S_usage(pTHX_ const char *name) | |
3287 | __attribute__nonnull__(pTHX_1); | |
3288 | ||
cdd8118e | 3289 | STATIC void S_validate_suid(pTHX_ const char *validarg, const char *scriptname, int fdscript, int suidscript) |
aec46f14 AL |
3290 | __attribute__nonnull__(pTHX_1) |
3291 | __attribute__nonnull__(pTHX_2); | |
3292 | ||
cea2e8a9 GS |
3293 | # if defined(IAMSUID) |
3294 | STATIC int S_fd_on_nosuid_fs(pTHX_ int fd); | |
3295 | # endif | |
14dd3ad8 | 3296 | STATIC void* S_parse_body(pTHX_ char **env, XSINIT_t xsinit); |
f54cb97a | 3297 | STATIC void S_run_body(pTHX_ I32 oldscope) |
abb2c242 | 3298 | __attribute__noreturn__; |
f54cb97a | 3299 | |
0bd48802 AL |
3300 | STATIC SV * S_incpush_if_exists(pTHX_ SV *dir) |
3301 | __attribute__nonnull__(pTHX_1); | |
3302 | ||
864dbfa3 | 3303 | #endif |
1d7c1841 | 3304 | |
0cb96387 | 3305 | #if defined(PERL_IN_PP_C) || defined(PERL_DECL_PROT) |
901017d6 | 3306 | STATIC SV* S_refto(pTHX_ SV* sv) |
aec46f14 AL |
3307 | __attribute__warn_unused_result__ |
3308 | __attribute__nonnull__(pTHX_1); | |
901017d6 | 3309 | |
a6ec74c1 JH |
3310 | #endif |
3311 | ||
3312 | #if defined(PERL_IN_PP_PACK_C) || defined(PERL_DECL_PROT) | |
aec46f14 AL |
3313 | STATIC I32 S_unpack_rec(pTHX_ struct tempsym* symptr, const char *s, const char *strbeg, const char *strend, const char **new_s) |
3314 | __attribute__nonnull__(pTHX_1) | |
3315 | __attribute__nonnull__(pTHX_2) | |
3316 | __attribute__nonnull__(pTHX_3) | |
3317 | __attribute__nonnull__(pTHX_4); | |
3318 | ||
3319 | STATIC SV ** S_pack_rec(pTHX_ SV *cat, struct tempsym* symptr, SV **beglist, SV **endlist) | |
3320 | __attribute__nonnull__(pTHX_1) | |
3321 | __attribute__nonnull__(pTHX_2) | |
3322 | __attribute__nonnull__(pTHX_3) | |
3323 | __attribute__nonnull__(pTHX_4); | |
3324 | ||
4373e329 | 3325 | STATIC SV* S_mul128(pTHX_ SV *sv, U8 m) |
abb2c242 | 3326 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 3327 | |
4373e329 | 3328 | STATIC I32 S_measure_struct(pTHX_ struct tempsym* symptr) |
abb2c242 | 3329 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 3330 | |
4373e329 | 3331 | STATIC bool S_next_symbol(pTHX_ struct tempsym* symptr) |
abb2c242 | 3332 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 3333 | |
4373e329 | 3334 | STATIC SV* S_is_an_int(pTHX_ const char *s, STRLEN l) |
1df70142 | 3335 | __attribute__warn_unused_result__ |
abb2c242 | 3336 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 3337 | |
4373e329 | 3338 | STATIC int S_div128(pTHX_ SV *pnum, bool *done) |
abb2c242 JH |
3339 | __attribute__nonnull__(pTHX_1) |
3340 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 3341 | |
4373e329 | 3342 | STATIC const char * S_group_end(pTHX_ const char *pat, const char *patend, char ender) |
abb2c242 JH |
3343 | __attribute__nonnull__(pTHX_1) |
3344 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 3345 | |
4373e329 | 3346 | STATIC const char * S_get_num(pTHX_ const char *ppat, I32 *lenptr) |
255164ba | 3347 | __attribute__warn_unused_result__ |
abb2c242 JH |
3348 | __attribute__nonnull__(pTHX_1) |
3349 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 3350 | |
aec46f14 AL |
3351 | STATIC bool S_need_utf8(const char *pat, const char *patend) |
3352 | __attribute__nonnull__(1) | |
3353 | __attribute__nonnull__(2); | |
3354 | ||
3355 | STATIC char S_first_symbol(const char *pat, const char *patend) | |
3356 | __attribute__nonnull__(1) | |
3357 | __attribute__nonnull__(2); | |
3358 | ||
0bd48802 AL |
3359 | STATIC char * S_sv_exp_grow(pTHX_ SV *sv, STRLEN needed) |
3360 | __attribute__warn_unused_result__ | |
3361 | __attribute__nonnull__(pTHX_1); | |
3362 | ||
14333449 | 3363 | STATIC char * S_bytes_to_uni(const U8 *start, STRLEN len, char *dest) |
64844641 | 3364 | __attribute__warn_unused_result__ |
14333449 AL |
3365 | __attribute__nonnull__(1) |
3366 | __attribute__nonnull__(3); | |
64844641 | 3367 | |
864dbfa3 | 3368 | #endif |
1d7c1841 | 3369 | |
0cb96387 | 3370 | #if defined(PERL_IN_PP_CTL_C) || defined(PERL_DECL_PROT) |
901017d6 AL |
3371 | STATIC OP* S_docatch(pTHX_ OP *o) |
3372 | __attribute__warn_unused_result__; | |
3373 | ||
3374 | STATIC void S_docatch_body(pTHX); | |
3375 | STATIC OP* S_dofindlabel(pTHX_ OP *o, const char *label, OP **opstack, OP **oplimit) | |
aec46f14 AL |
3376 | __attribute__warn_unused_result__ |
3377 | __attribute__nonnull__(pTHX_1) | |
3378 | __attribute__nonnull__(pTHX_2) | |
3379 | __attribute__nonnull__(pTHX_3) | |
3380 | __attribute__nonnull__(pTHX_4); | |
901017d6 AL |
3381 | |
3382 | STATIC OP* S_doparseform(pTHX_ SV *sv) | |
aec46f14 AL |
3383 | __attribute__warn_unused_result__ |
3384 | __attribute__nonnull__(pTHX_1); | |
901017d6 AL |
3385 | |
3386 | STATIC bool S_num_overflow(NV value, I32 fldsize, I32 frcsize) | |
3387 | __attribute__warn_unused_result__; | |
3388 | ||
3389 | STATIC I32 S_dopoptoeval(pTHX_ I32 startingblock) | |
3390 | __attribute__warn_unused_result__; | |
3391 | ||
0d863452 RH |
3392 | STATIC I32 S_dopoptogiven(pTHX_ I32 startingblock) |
3393 | __attribute__warn_unused_result__; | |
3394 | ||
4373e329 | 3395 | STATIC I32 S_dopoptolabel(pTHX_ const char *label) |
901017d6 | 3396 | __attribute__warn_unused_result__ |
abb2c242 | 3397 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 3398 | |
901017d6 AL |
3399 | STATIC I32 S_dopoptoloop(pTHX_ I32 startingblock) |
3400 | __attribute__warn_unused_result__; | |
3401 | ||
3402 | STATIC I32 S_dopoptosub(pTHX_ I32 startingblock) | |
3403 | __attribute__warn_unused_result__; | |
3404 | ||
3405 | STATIC I32 S_dopoptosub_at(pTHX_ const PERL_CONTEXT* cxstk, I32 startingblock) | |
aec46f14 AL |
3406 | __attribute__warn_unused_result__ |
3407 | __attribute__nonnull__(pTHX_1); | |
901017d6 | 3408 | |
0d863452 RH |
3409 | STATIC I32 S_dopoptowhen(pTHX_ I32 startingblock) |
3410 | __attribute__warn_unused_result__; | |
3411 | ||
46c461b5 AL |
3412 | STATIC void S_save_lines(pTHX_ AV *array, SV *sv) |
3413 | __attribute__nonnull__(pTHX_2); | |
3414 | ||
901017d6 AL |
3415 | STATIC OP* S_doeval(pTHX_ int gimme, OP** startop, CV* outside, U32 seq) |
3416 | __attribute__warn_unused_result__; | |
3417 | ||
74d5ed12 | 3418 | STATIC PerlIO * S_check_type_and_open(pTHX_ const char *name, const char *mode) |
ce8abf5f | 3419 | __attribute__warn_unused_result__ |
74d5ed12 SP |
3420 | __attribute__nonnull__(pTHX_1) |
3421 | __attribute__nonnull__(pTHX_2); | |
ce8abf5f | 3422 | |
901017d6 | 3423 | STATIC PerlIO * S_doopen_pm(pTHX_ const char *name, const char *mode) |
aec46f14 AL |
3424 | __attribute__warn_unused_result__ |
3425 | __attribute__nonnull__(pTHX_1) | |
3426 | __attribute__nonnull__(pTHX_2); | |
901017d6 | 3427 | |
44af46ee | 3428 | STATIC bool S_path_is_absolute(const char *name) |
901017d6 | 3429 | __attribute__warn_unused_result__ |
44af46ee | 3430 | __attribute__nonnull__(1); |
f54cb97a | 3431 | |
0bd48802 AL |
3432 | STATIC I32 S_run_user_filter(pTHX_ int idx, SV *buf_sv, int maxlen) |
3433 | __attribute__warn_unused_result__ | |
3434 | __attribute__nonnull__(pTHX_2); | |
3435 | ||
0d863452 RH |
3436 | STATIC PMOP* S_make_matcher(pTHX_ regexp* re) |
3437 | __attribute__warn_unused_result__ | |
3438 | __attribute__nonnull__(pTHX_1); | |
3439 | ||
3440 | STATIC bool S_matcher_matches_sv(pTHX_ PMOP* matcher, SV* sv) | |
3441 | __attribute__warn_unused_result__ | |
3442 | __attribute__nonnull__(pTHX_1) | |
3443 | __attribute__nonnull__(pTHX_2); | |
3444 | ||
3445 | STATIC void S_destroy_matcher(pTHX_ PMOP* matcher) | |
3446 | __attribute__nonnull__(pTHX_1); | |
3447 | ||
3448 | STATIC OP* S_do_smartmatch(pTHX_ HV* seen_this, HV* seen_other); | |
864dbfa3 | 3449 | #endif |
1d7c1841 | 3450 | |
0cb96387 | 3451 | #if defined(PERL_IN_PP_HOT_C) || defined(PERL_DECL_PROT) |
a28509cc AL |
3452 | STATIC void S_do_oddball(pTHX_ HV *hash, SV **relem, SV **firstrelem) |
3453 | __attribute__nonnull__(pTHX_1) | |
3454 | __attribute__nonnull__(pTHX_2) | |
3455 | __attribute__nonnull__(pTHX_3); | |
3456 | ||
3457 | STATIC CV* S_get_db_sub(pTHX_ SV **svp, CV *cv) | |
3458 | __attribute__warn_unused_result__ | |
3459 | __attribute__nonnull__(pTHX_1) | |
3460 | __attribute__nonnull__(pTHX_2); | |
3461 | ||
3462 | STATIC SV* S_method_common(pTHX_ SV* meth, U32* hashp) | |
3463 | __attribute__warn_unused_result__ | |
3464 | __attribute__nonnull__(pTHX_1); | |
3465 | ||
864dbfa3 | 3466 | #endif |
1d7c1841 | 3467 | |
f0f5dc9d AL |
3468 | #if defined(PERL_IN_PP_SORT_C) || defined(PERL_DECL_PROT) |
3469 | STATIC I32 S_sv_ncmp(pTHX_ SV *a, SV *b) | |
3470 | __attribute__nonnull__(pTHX_1) | |
3471 | __attribute__nonnull__(pTHX_2); | |
3472 | ||
3473 | STATIC I32 S_sv_i_ncmp(pTHX_ SV *a, SV *b) | |
3474 | __attribute__nonnull__(pTHX_1) | |
3475 | __attribute__nonnull__(pTHX_2); | |
3476 | ||
3477 | STATIC I32 S_amagic_ncmp(pTHX_ SV *a, SV *b) | |
3478 | __attribute__nonnull__(pTHX_1) | |
3479 | __attribute__nonnull__(pTHX_2); | |
3480 | ||
3481 | STATIC I32 S_amagic_i_ncmp(pTHX_ SV *a, SV *b) | |
3482 | __attribute__nonnull__(pTHX_1) | |
3483 | __attribute__nonnull__(pTHX_2); | |
3484 | ||
3485 | STATIC I32 S_amagic_cmp(pTHX_ SV *a, SV *b) | |
3486 | __attribute__nonnull__(pTHX_1) | |
3487 | __attribute__nonnull__(pTHX_2); | |
3488 | ||
3489 | STATIC I32 S_amagic_cmp_locale(pTHX_ SV *a, SV *b) | |
3490 | __attribute__nonnull__(pTHX_1) | |
3491 | __attribute__nonnull__(pTHX_2); | |
3492 | ||
3493 | STATIC I32 S_sortcv(pTHX_ SV *a, SV *b) | |
3494 | __attribute__nonnull__(pTHX_1) | |
3495 | __attribute__nonnull__(pTHX_2); | |
3496 | ||
3497 | STATIC I32 S_sortcv_xsub(pTHX_ SV *a, SV *b) | |
3498 | __attribute__nonnull__(pTHX_1) | |
3499 | __attribute__nonnull__(pTHX_2); | |
3500 | ||
3501 | STATIC I32 S_sortcv_stacked(pTHX_ SV *a, SV *b) | |
3502 | __attribute__nonnull__(pTHX_1) | |
3503 | __attribute__nonnull__(pTHX_2); | |
3504 | ||
fe2ae508 AL |
3505 | STATIC void S_qsortsvu(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t compare) |
3506 | __attribute__nonnull__(pTHX_1) | |
3507 | __attribute__nonnull__(pTHX_3); | |
3508 | ||
f0f5dc9d AL |
3509 | #endif |
3510 | ||
0cb96387 | 3511 | #if defined(PERL_IN_PP_SYS_C) || defined(PERL_DECL_PROT) |
b464bac0 AL |
3512 | STATIC OP* S_doform(pTHX_ CV *cv, GV *gv, OP *retop) |
3513 | __attribute__nonnull__(pTHX_1) | |
3514 | __attribute__nonnull__(pTHX_2) | |
3515 | __attribute__nonnull__(pTHX_3); | |
3516 | ||
3517 | STATIC int S_emulate_eaccess(pTHX_ const char* path, Mode_t mode) | |
b464bac0 AL |
3518 | __attribute__nonnull__(pTHX_1); |
3519 | ||
cea2e8a9 | 3520 | # if !defined(HAS_MKDIR) || !defined(HAS_RMDIR) |
b464bac0 AL |
3521 | STATIC int S_dooneliner(pTHX_ const char *cmd, const char *filename) |
3522 | __attribute__warn_unused_result__ | |
3523 | __attribute__nonnull__(pTHX_1) | |
3524 | __attribute__nonnull__(pTHX_2); | |
3525 | ||
cea2e8a9 | 3526 | # endif |
5cdc4e88 NC |
3527 | STATIC SV * S_space_join_names_mortal(pTHX_ char *const *array) |
3528 | __attribute__nonnull__(pTHX_1); | |
3529 | ||
864dbfa3 | 3530 | #endif |
1d7c1841 | 3531 | |
0cb96387 | 3532 | #if defined(PERL_IN_REGCOMP_C) || defined(PERL_DECL_PROT) |
8e11feef | 3533 | STATIC regnode* S_reg(pTHX_ struct RExC_state_t *state, I32 paren, I32 *flagp, U32 depth) |
a28509cc AL |
3534 | __attribute__nonnull__(pTHX_1) |
3535 | __attribute__nonnull__(pTHX_3); | |
3536 | ||
3537 | STATIC regnode* S_reganode(pTHX_ struct RExC_state_t *state, U8 op, U32 arg) | |
3538 | __attribute__nonnull__(pTHX_1); | |
3539 | ||
8e11feef | 3540 | STATIC regnode* S_regatom(pTHX_ struct RExC_state_t *state, I32 *flagp, U32 depth) |
a28509cc AL |
3541 | __attribute__nonnull__(pTHX_1) |
3542 | __attribute__nonnull__(pTHX_2); | |
3543 | ||
8e11feef | 3544 | STATIC regnode* S_regbranch(pTHX_ struct RExC_state_t *state, I32 *flagp, I32 first, U32 depth) |
a28509cc AL |
3545 | __attribute__nonnull__(pTHX_1) |
3546 | __attribute__nonnull__(pTHX_2); | |
3547 | ||
71207a34 | 3548 | STATIC STRLEN S_reguni(pTHX_ const struct RExC_state_t *state, UV uv, char *s) |
a28509cc | 3549 | __attribute__nonnull__(pTHX_1) |
71207a34 | 3550 | __attribute__nonnull__(pTHX_3); |
a28509cc | 3551 | |
8e11feef | 3552 | STATIC regnode* S_regclass(pTHX_ struct RExC_state_t *state, U32 depth) |
a28509cc AL |
3553 | __attribute__nonnull__(pTHX_1); |
3554 | ||
44af46ee | 3555 | STATIC I32 S_regcurly(const char *) |
abb2c242 | 3556 | __attribute__warn_unused_result__ |
44af46ee | 3557 | __attribute__nonnull__(1); |
a3b680e6 | 3558 | |
a28509cc AL |
3559 | STATIC regnode* S_reg_node(pTHX_ struct RExC_state_t *state, U8 op) |
3560 | __attribute__nonnull__(pTHX_1); | |
3561 | ||
8e11feef | 3562 | STATIC regnode* S_regpiece(pTHX_ struct RExC_state_t *state, I32 *flagp, U32 depth) |
a28509cc AL |
3563 | __attribute__nonnull__(pTHX_1) |
3564 | __attribute__nonnull__(pTHX_2); | |
3565 | ||
3566 | STATIC void S_reginsert(pTHX_ struct RExC_state_t *state, U8 op, regnode *opnd) | |
3567 | __attribute__nonnull__(pTHX_1) | |
3568 | __attribute__nonnull__(pTHX_3); | |
3569 | ||
8e11feef RGS |
3570 | STATIC void S_regtail(pTHX_ struct RExC_state_t *state, regnode *p, const regnode *val, U32 depth) |
3571 | __attribute__nonnull__(pTHX_1) | |
3572 | __attribute__nonnull__(pTHX_2) | |
3573 | __attribute__nonnull__(pTHX_3); | |
3574 | ||
07be1b83 | 3575 | STATIC U32 S_join_exact(pTHX_ struct RExC_state_t *state, regnode *scan, I32 *min, U32 flags, regnode *val, U32 depth) |
a28509cc AL |
3576 | __attribute__nonnull__(pTHX_1) |
3577 | __attribute__nonnull__(pTHX_2) | |
3578 | __attribute__nonnull__(pTHX_3); | |
3579 | ||
44af46ee RGS |
3580 | STATIC char* S_regwhite(char *p, const char *e) |
3581 | __attribute__warn_unused_result__ | |
3582 | __attribute__nonnull__(1) | |
3583 | __attribute__nonnull__(2); | |
a28509cc | 3584 | |
c48640ec | 3585 | STATIC char* S_nextchar(pTHX_ struct RExC_state_t *state) |
a28509cc AL |
3586 | __attribute__nonnull__(pTHX_1); |
3587 | ||
097eb12c | 3588 | STATIC void S_scan_commit(pTHX_ const struct RExC_state_t* state, struct scan_data_t *data) |
aec46f14 AL |
3589 | __attribute__nonnull__(pTHX_1) |
3590 | __attribute__nonnull__(pTHX_2); | |
3591 | ||
097eb12c | 3592 | STATIC void S_cl_anything(const struct RExC_state_t* state, struct regnode_charclass_class *cl) |
44af46ee RGS |
3593 | __attribute__nonnull__(1) |
3594 | __attribute__nonnull__(2); | |
a28509cc | 3595 | |
44af46ee RGS |
3596 | STATIC int S_cl_is_anything(const struct regnode_charclass_class *cl) |
3597 | __attribute__warn_unused_result__ | |
3598 | __attribute__nonnull__(1); | |
a28509cc | 3599 | |
097eb12c | 3600 | STATIC void S_cl_init(const struct RExC_state_t* state, struct regnode_charclass_class *cl) |
44af46ee RGS |
3601 | __attribute__nonnull__(1) |
3602 | __attribute__nonnull__(2); | |
a28509cc | 3603 | |
097eb12c | 3604 | STATIC void S_cl_init_zero(const struct RExC_state_t* state, struct regnode_charclass_class *cl) |
44af46ee RGS |
3605 | __attribute__nonnull__(1) |
3606 | __attribute__nonnull__(2); | |
a28509cc | 3607 | |
44af46ee RGS |
3608 | STATIC void S_cl_and(struct regnode_charclass_class *cl, const struct regnode_charclass_class *and_with) |
3609 | __attribute__nonnull__(1) | |
3610 | __attribute__nonnull__(2); | |
a28509cc | 3611 | |
097eb12c | 3612 | STATIC void S_cl_or(const struct RExC_state_t* state, struct regnode_charclass_class *cl, const struct regnode_charclass_class *or_with) |
44af46ee RGS |
3613 | __attribute__nonnull__(1) |
3614 | __attribute__nonnull__(2) | |
3615 | __attribute__nonnull__(3); | |
a28509cc | 3616 | |
c48640ec | 3617 | STATIC I32 S_study_chunk(pTHX_ struct RExC_state_t* state, regnode **scanp, I32 *deltap, regnode *last, struct scan_data_t *data, U32 flags, U32 depth) |
aec46f14 AL |
3618 | __attribute__nonnull__(pTHX_1) |
3619 | __attribute__nonnull__(pTHX_2) | |
3620 | __attribute__nonnull__(pTHX_3) | |
9a957fbc | 3621 | __attribute__nonnull__(pTHX_4); |
aec46f14 | 3622 | |
44af46ee RGS |
3623 | STATIC I32 S_add_data(struct RExC_state_t* state, I32 n, const char *s) |
3624 | __attribute__warn_unused_result__ | |
3625 | __attribute__nonnull__(1) | |
3626 | __attribute__nonnull__(3); | |
aec46f14 | 3627 | |
f54cb97a | 3628 | STATIC void S_re_croak2(pTHX_ const char* pat1, const char* pat2, ...) |
46c461b5 AL |
3629 | __attribute__noreturn__ |
3630 | __attribute__nonnull__(pTHX_1) | |
3631 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 3632 | |
c48640ec | 3633 | STATIC I32 S_regpposixcc(pTHX_ struct RExC_state_t* state, I32 value) |
aec46f14 AL |
3634 | __attribute__nonnull__(pTHX_1); |
3635 | ||
c48640ec | 3636 | STATIC void S_checkposixcc(pTHX_ struct RExC_state_t* state) |
aec46f14 AL |
3637 | __attribute__nonnull__(pTHX_1); |
3638 | ||
8e11feef | 3639 | STATIC I32 S_make_trie(pTHX_ struct RExC_state_t* state, regnode *startbranch, regnode *first, regnode *last, regnode *tail, U32 flags, U32 depth) |
aec46f14 AL |
3640 | __attribute__nonnull__(pTHX_1) |
3641 | __attribute__nonnull__(pTHX_2) | |
3642 | __attribute__nonnull__(pTHX_3) | |
3643 | __attribute__nonnull__(pTHX_4) | |
3644 | __attribute__nonnull__(pTHX_5); | |
a3621e74 | 3645 | |
07be1b83 YO |
3646 | STATIC void S_make_trie_failtable(pTHX_ struct RExC_state_t* state, regnode *source, regnode *node, U32 depth) |
3647 | __attribute__nonnull__(pTHX_1) | |
3648 | __attribute__nonnull__(pTHX_2) | |
3649 | __attribute__nonnull__(pTHX_3); | |
3650 | ||
8e11feef RGS |
3651 | # ifdef DEBUGGING |
3652 | STATIC const regnode* S_dumpuntil(pTHX_ const regexp *r, const regnode *start, const regnode *node, const regnode *last, SV* sv, I32 l) | |
3653 | __attribute__nonnull__(pTHX_1) | |
3654 | __attribute__nonnull__(pTHX_2) | |
3655 | __attribute__nonnull__(pTHX_3) | |
3656 | __attribute__nonnull__(pTHX_5); | |
3657 | ||
3658 | STATIC void S_put_byte(pTHX_ SV* sv, int c) | |
3659 | __attribute__nonnull__(pTHX_1); | |
3660 | ||
3661 | STATIC void S_dump_trie(pTHX_ const struct _reg_trie_data *trie, U32 depth) | |
3662 | __attribute__nonnull__(pTHX_1); | |
3663 | ||
3664 | STATIC void S_dump_trie_interim_list(pTHX_ const struct _reg_trie_data *trie, U32 next_alloc, U32 depth) | |
3665 | __attribute__nonnull__(pTHX_1); | |
3666 | ||
3667 | STATIC void S_dump_trie_interim_table(pTHX_ const struct _reg_trie_data *trie, U32 next_alloc, U32 depth) | |
3668 | __attribute__nonnull__(pTHX_1); | |
3669 | ||
07be1b83 YO |
3670 | STATIC U8 S_regtail_study(pTHX_ struct RExC_state_t *state, regnode *p, const regnode *val, U32 depth) |
3671 | __attribute__nonnull__(pTHX_1) | |
3672 | __attribute__nonnull__(pTHX_2) | |
3673 | __attribute__nonnull__(pTHX_3); | |
3674 | ||
8e11feef | 3675 | # endif |
864dbfa3 | 3676 | #endif |
1d7c1841 | 3677 | |
0cb96387 | 3678 | #if defined(PERL_IN_REGEXEC_C) || defined(PERL_DECL_PROT) |
3b0527fe | 3679 | STATIC I32 S_regmatch(pTHX_ const regmatch_info *reginfo, regnode *prog) |
abb2c242 | 3680 | __attribute__warn_unused_result__ |
4f639d21 DM |
3681 | __attribute__nonnull__(pTHX_1) |
3682 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 | 3683 | |
32fc9b6a | 3684 | STATIC I32 S_regrepeat(pTHX_ const regexp *prog, const regnode *p, I32 max) |
abb2c242 | 3685 | __attribute__warn_unused_result__ |
32fc9b6a DM |
3686 | __attribute__nonnull__(pTHX_1) |
3687 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 | 3688 | |
3b0527fe | 3689 | STATIC I32 S_regtry(pTHX_ const regmatch_info *reginfo, char *startpos) |
46c461b5 AL |
3690 | __attribute__warn_unused_result__ |
3691 | __attribute__nonnull__(pTHX_1) | |
3692 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 | 3693 | |
32fc9b6a | 3694 | STATIC bool S_reginclass(pTHX_ const regexp *prog, const regnode *n, const U8 *p, STRLEN *lenp, bool do_utf8sv_is_utf8) |
abb2c242 | 3695 | __attribute__warn_unused_result__ |
32fc9b6a DM |
3696 | __attribute__nonnull__(pTHX_2) |
3697 | __attribute__nonnull__(pTHX_3); | |
a3b680e6 | 3698 | |
cea2e8a9 | 3699 | STATIC CHECKPOINT S_regcppush(pTHX_ I32 parenfloor); |
097eb12c | 3700 | STATIC char* S_regcppop(pTHX_ const regexp *rex) |
46c461b5 AL |
3701 | __attribute__nonnull__(pTHX_1); |
3702 | ||
0ce71af7 | 3703 | STATIC U8* S_reghop3(U8 *pos, I32 off, const U8 *lim) |
aec46f14 | 3704 | __attribute__warn_unused_result__ |
44af46ee RGS |
3705 | __attribute__nonnull__(1) |
3706 | __attribute__nonnull__(3); | |
a3b680e6 | 3707 | |
0ce71af7 | 3708 | STATIC U8* S_reghopmaybe3(U8 *pos, I32 off, const U8 *lim) |
abb2c242 | 3709 | __attribute__warn_unused_result__ |
44af46ee RGS |
3710 | __attribute__nonnull__(1) |
3711 | __attribute__nonnull__(3); | |
a3b680e6 | 3712 | |
3b0527fe | 3713 | STATIC char* S_find_byclass(pTHX_ regexp * prog, const regnode *c, char *s, const char *strend, const regmatch_info *reginfo) |
abb2c242 JH |
3714 | __attribute__warn_unused_result__ |
3715 | __attribute__nonnull__(pTHX_1) | |
3716 | __attribute__nonnull__(pTHX_2) | |
3717 | __attribute__nonnull__(pTHX_3) | |
3718 | __attribute__nonnull__(pTHX_4); | |
a3b680e6 AL |
3719 | |
3720 | STATIC void S_to_utf8_substr(pTHX_ regexp * prog) | |
abb2c242 | 3721 | __attribute__nonnull__(pTHX_1); |
a3b680e6 AL |
3722 | |
3723 | STATIC void S_to_byte_substr(pTHX_ regexp * prog) | |
abb2c242 | 3724 | __attribute__nonnull__(pTHX_1); |
a3b680e6 | 3725 | |
07be1b83 YO |
3726 | # ifdef DEBUGGING |
3727 | STATIC void S_dump_exec_pos(pTHX_ const char *locinput, const regnode *scan, const bool do_utf8) | |
3728 | __attribute__nonnull__(pTHX_1) | |
3729 | __attribute__nonnull__(pTHX_2); | |
3730 | ||
3731 | # endif | |
864dbfa3 | 3732 | #endif |
1d7c1841 | 3733 | |
bd16a5f0 | 3734 | #if defined(PERL_IN_DUMP_C) || defined(PERL_DECL_PROT) |
53a2efa2 | 3735 | STATIC CV* S_deb_curcv(pTHX_ I32 ix); |
46c461b5 AL |
3736 | STATIC void S_debprof(pTHX_ const OP *o) |
3737 | __attribute__nonnull__(pTHX_1); | |
3738 | ||
0bd48802 | 3739 | STATIC void S_sequence(pTHX_ const OP *o); |
294b3b39 | 3740 | STATIC void S_sequence_tail(pTHX_ const OP *o); |
0bd48802 | 3741 | STATIC UV S_sequence_num(pTHX_ const OP *o); |
4199688e AL |
3742 | STATIC SV* S_pm_description(pTHX_ const PMOP *pm) |
3743 | __attribute__nonnull__(pTHX_1); | |
3744 | ||
864dbfa3 | 3745 | #endif |
1d7c1841 | 3746 | |
0cb96387 | 3747 | #if defined(PERL_IN_SCOPE_C) || defined(PERL_DECL_PROT) |
46c461b5 AL |
3748 | STATIC SV* S_save_scalar_at(pTHX_ SV **sptr) |
3749 | __attribute__nonnull__(pTHX_1); | |
3750 | ||
864dbfa3 | 3751 | #endif |
1d7c1841 | 3752 | |
e15faf7d NC |
3753 | #if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT) |
3754 | PERL_CALLCONV void Perl_sv_add_backref(pTHX_ SV *tsv, SV *sv) | |
3755 | __attribute__nonnull__(pTHX_1) | |
3756 | __attribute__nonnull__(pTHX_2); | |
3757 | ||
3758 | #endif | |
3759 | ||
86f55936 NC |
3760 | #if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT) |
3761 | PERL_CALLCONV int Perl_sv_kill_backrefs(pTHX_ SV *sv, AV *av) | |
3762 | __attribute__nonnull__(pTHX_1) | |
3763 | __attribute__nonnull__(pTHX_2); | |
3764 | ||
3765 | #endif | |
3766 | ||
0cb96387 | 3767 | #if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT) |
aec46f14 AL |
3768 | STATIC char * S_uiv_2buf(char *buf, IV iv, UV uv, int is_uv, char **peob) |
3769 | __attribute__warn_unused_result__ | |
3770 | __attribute__nonnull__(1) | |
3771 | __attribute__nonnull__(5); | |
3772 | ||
1b6737cc AL |
3773 | STATIC void S_sv_unglob(pTHX_ SV* sv) |
3774 | __attribute__nonnull__(pTHX_1); | |
3775 | ||
3776 | STATIC void S_not_a_number(pTHX_ SV *sv) | |
3777 | __attribute__nonnull__(pTHX_1); | |
3778 | ||
3779 | STATIC I32 S_visit(pTHX_ SVFUNC_t f, U32 flags, U32 mask) | |
3780 | __attribute__nonnull__(pTHX_1); | |
3781 | ||
e15faf7d | 3782 | STATIC void S_sv_del_backref(pTHX_ SV *target, SV *ref) |
1b6737cc AL |
3783 | __attribute__nonnull__(pTHX_1) |
3784 | __attribute__nonnull__(pTHX_2); | |
3785 | ||
be2ef075 NC |
3786 | STATIC SV * S_varname(pTHX_ GV *gv, const char gvtype, PADOFFSET targ, SV *keyname, I32 aindex, int subscript_type) |
3787 | __attribute__warn_unused_result__; | |
a3b680e6 | 3788 | |
8fa7f367 | 3789 | # ifdef DEBUGGING |
46c461b5 AL |
3790 | STATIC void S_del_sv(pTHX_ SV *p) |
3791 | __attribute__nonnull__(pTHX_1); | |
3792 | ||
cea2e8a9 | 3793 | # endif |
28e5dec8 | 3794 | # if !defined(NV_PRESERVES_UV) |
46c461b5 AL |
3795 | STATIC int S_sv_2iuv_non_preserve(pTHX_ SV *sv, I32 numtype) |
3796 | __attribute__nonnull__(pTHX_1); | |
3797 | ||
28e5dec8 | 3798 | # endif |
a3b680e6 | 3799 | STATIC I32 S_expect_number(pTHX_ char** pattern) |
abb2c242 JH |
3800 | __attribute__warn_unused_result__ |
3801 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 | 3802 | |
9cbac4c7 | 3803 | # |
721e86b6 AL |
3804 | STATIC STRLEN S_sv_pos_u2b_forwards(const U8 *const start, const U8 *const send, STRLEN uoffset) |
3805 | __attribute__nonnull__(1) | |
3806 | __attribute__nonnull__(2); | |
25a8a4ef | 3807 | |
721e86b6 AL |
3808 | STATIC STRLEN S_sv_pos_u2b_midway(const U8 *const start, const U8 *send, STRLEN uoffset, STRLEN uend) |
3809 | __attribute__nonnull__(1) | |
3810 | __attribute__nonnull__(2); | |
25a8a4ef NC |
3811 | |
3812 | STATIC STRLEN S_sv_pos_u2b_cached(pTHX_ SV *sv, MAGIC **mgp, const U8 *const start, const U8 *const send, STRLEN uoffset, STRLEN uoffset0, STRLEN boffset0) | |
abb2c242 JH |
3813 | __attribute__nonnull__(pTHX_1) |
3814 | __attribute__nonnull__(pTHX_2) | |
3815 | __attribute__nonnull__(pTHX_3) | |
25a8a4ef | 3816 | __attribute__nonnull__(pTHX_4); |
a3b680e6 | 3817 | |
ab455f60 | 3818 | STATIC void S_utf8_mg_pos_cache_update(pTHX_ SV *sv, MAGIC **mgp, STRLEN byte, STRLEN utf8, STRLEN blen) |
25a8a4ef NC |
3819 | __attribute__nonnull__(pTHX_1) |
3820 | __attribute__nonnull__(pTHX_2); | |
3821 | ||
3822 | STATIC STRLEN S_sv_pos_b2u_forwards(pTHX_ const U8 *s, const U8 *const target) | |
3823 | __attribute__nonnull__(pTHX_1) | |
3824 | __attribute__nonnull__(pTHX_2); | |
3825 | ||
3826 | STATIC STRLEN S_sv_pos_b2u_midway(pTHX_ const U8 *s, const U8 *const target, const U8 *end, STRLEN endu) | |
abb2c242 JH |
3827 | __attribute__nonnull__(pTHX_1) |
3828 | __attribute__nonnull__(pTHX_2) | |
25a8a4ef | 3829 | __attribute__nonnull__(pTHX_3); |
a3b680e6 | 3830 | |
c445ea15 AL |
3831 | STATIC char * S_stringify_regexp(pTHX_ SV *sv, MAGIC *mg, STRLEN *lp) |
3832 | __attribute__nonnull__(pTHX_1) | |
3833 | __attribute__nonnull__(pTHX_2); | |
3834 | ||
3835 | STATIC char * S_F0convert(NV nv, char *endbuf, STRLEN *len) | |
3836 | __attribute__nonnull__(2) | |
3837 | __attribute__nonnull__(3); | |
3838 | ||
44af46ee | 3839 | # if defined(PERL_OLD_COPY_ON_WRITE) |
aec46f14 AL |
3840 | STATIC void S_sv_release_COW(pTHX_ SV *sv, const char *pvx, STRLEN len, SV *after) |
3841 | __attribute__nonnull__(pTHX_1) | |
3842 | __attribute__nonnull__(pTHX_2) | |
3843 | __attribute__nonnull__(pTHX_4); | |
3844 | ||
44af46ee RGS |
3845 | # endif |
3846 | STATIC SV * S_more_sv(pTHX); | |
d2a0f284 | 3847 | STATIC void * S_more_bodies(pTHX_ svtype sv_type); |
44af46ee RGS |
3848 | STATIC bool S_sv_2iuv_common(pTHX_ SV *sv) |
3849 | __attribute__nonnull__(pTHX_1); | |
3850 | ||
3851 | STATIC void S_glob_assign_glob(pTHX_ SV *dstr, SV *sstr, const int dtype) | |
3852 | __attribute__nonnull__(pTHX_1) | |
3853 | __attribute__nonnull__(pTHX_2); | |
3854 | ||
3855 | STATIC void S_glob_assign_ref(pTHX_ SV *dstr, SV *sstr) | |
3856 | __attribute__nonnull__(pTHX_1) | |
3857 | __attribute__nonnull__(pTHX_2); | |
3858 | ||
0c9fdfe0 | 3859 | # if defined(USE_ITHREADS) |
b0e6ae5b | 3860 | STATIC PTR_TBL_ENT_t * S_ptr_table_find(PTR_TBL_t *tbl, const void *sv) |
44af46ee | 3861 | __attribute__warn_unused_result__ |
b0e6ae5b SH |
3862 | __attribute__nonnull__(1) |
3863 | __attribute__nonnull__(2); | |
44af46ee | 3864 | |
0c9fdfe0 | 3865 | # endif |
44af46ee RGS |
3866 | STATIC SV * S_find_hash_subscript(pTHX_ HV *hv, SV *val) |
3867 | __attribute__nonnull__(pTHX_2); | |
3868 | ||
3869 | STATIC I32 S_find_array_subscript(pTHX_ AV *av, SV *val) | |
3870 | __attribute__nonnull__(pTHX_2); | |
3871 | ||
3872 | STATIC SV * S_find_uninit_var(pTHX_ OP *obase, SV *uninit_sv, bool match); | |
cea2e8a9 | 3873 | #endif |
1d7c1841 | 3874 | |
0cb96387 | 3875 | #if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT) |
cea2e8a9 GS |
3876 | STATIC void S_check_uni(pTHX); |
3877 | STATIC void S_force_next(pTHX_ I32 type); | |
46c461b5 AL |
3878 | STATIC char* S_force_version(pTHX_ char *start, int guessing) |
3879 | __attribute__nonnull__(pTHX_1); | |
3880 | ||
3881 | STATIC char* S_force_word(pTHX_ char *start, int token, int check_keyword, int allow_pack, int allow_tick) | |
3882 | __attribute__nonnull__(pTHX_1); | |
3883 | ||
3884 | STATIC SV* S_tokeq(pTHX_ SV *sv) | |
3885 | __attribute__nonnull__(pTHX_1); | |
3886 | ||
8eceec63 | 3887 | STATIC int S_pending_ident(pTHX); |
f54cb97a | 3888 | STATIC char* S_scan_const(pTHX_ char *start) |
46c461b5 | 3889 | __attribute__warn_unused_result__ |
abb2c242 | 3890 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
3891 | |
3892 | STATIC char* S_scan_formline(pTHX_ char *s) | |
46c461b5 | 3893 | __attribute__warn_unused_result__ |
abb2c242 | 3894 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
3895 | |
3896 | STATIC char* S_scan_heredoc(pTHX_ char *s) | |
46c461b5 | 3897 | __attribute__warn_unused_result__ |
abb2c242 | 3898 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
3899 | |
3900 | STATIC char* S_scan_ident(pTHX_ char *s, const char *send, char *dest, STRLEN destlen, I32 ck_uni) | |
abb2c242 JH |
3901 | __attribute__nonnull__(pTHX_1) |
3902 | __attribute__nonnull__(pTHX_2) | |
3903 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 3904 | |
46c461b5 AL |
3905 | STATIC char* S_scan_inputsymbol(pTHX_ char *start) |
3906 | __attribute__warn_unused_result__ | |
3907 | __attribute__nonnull__(pTHX_1); | |
3908 | ||
3909 | STATIC char* S_scan_pat(pTHX_ char *start, I32 type) | |
3910 | __attribute__warn_unused_result__ | |
3911 | __attribute__nonnull__(pTHX_1); | |
3912 | ||
3913 | STATIC char* S_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims) | |
3914 | __attribute__warn_unused_result__ | |
3915 | __attribute__nonnull__(pTHX_1); | |
3916 | ||
3917 | STATIC char* S_scan_subst(pTHX_ char *start) | |
3918 | __attribute__warn_unused_result__ | |
3919 | __attribute__nonnull__(pTHX_1); | |
3920 | ||
3921 | STATIC char* S_scan_trans(pTHX_ char *start) | |
3922 | __attribute__warn_unused_result__ | |
3923 | __attribute__nonnull__(pTHX_1); | |
3924 | ||
3925 | STATIC char* S_scan_word(pTHX_ char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp) | |
3926 | __attribute__nonnull__(pTHX_1) | |
3927 | __attribute__nonnull__(pTHX_2) | |
3928 | __attribute__nonnull__(pTHX_5); | |
3929 | ||
3930 | STATIC char* S_skipspace(pTHX_ char *s) | |
3931 | __attribute__warn_unused_result__ | |
3932 | __attribute__nonnull__(pTHX_1); | |
3933 | ||
3934 | STATIC char* S_swallow_bom(pTHX_ U8 *s) | |
3935 | __attribute__warn_unused_result__ | |
3936 | __attribute__nonnull__(pTHX_1); | |
3937 | ||
c94115d8 | 3938 | STATIC void S_checkcomma(pTHX_ const char *s, const char *name, const char *what) |
abb2c242 JH |
3939 | __attribute__nonnull__(pTHX_1) |
3940 | __attribute__nonnull__(pTHX_2) | |
3941 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 3942 | |
d4c19fe8 | 3943 | STATIC bool S_feature_is_enabled(pTHX_ const char* name, STRLEN namelen) |
0d863452 RH |
3944 | __attribute__nonnull__(pTHX_1); |
3945 | ||
46c461b5 AL |
3946 | STATIC void S_force_ident(pTHX_ const char *s, int kind) |
3947 | __attribute__nonnull__(pTHX_1); | |
3948 | ||
3949 | STATIC void S_incline(pTHX_ char *s) | |
3950 | __attribute__nonnull__(pTHX_1); | |
3951 | ||
62d55b22 | 3952 | STATIC int S_intuit_method(pTHX_ char *s, GV *gv, CV *cv) |
6472dca1 | 3953 | __attribute__nonnull__(pTHX_1); |
46c461b5 AL |
3954 | |
3955 | STATIC int S_intuit_more(pTHX_ char *s) | |
3956 | __attribute__nonnull__(pTHX_1); | |
3957 | ||
3958 | STATIC I32 S_lop(pTHX_ I32 f, int x, char *s) | |
3959 | __attribute__nonnull__(pTHX_3); | |
3960 | ||
f54cb97a | 3961 | STATIC void S_missingterm(pTHX_ char *s) |
abb2c242 | 3962 | __attribute__noreturn__; |
f54cb97a | 3963 | |
46c461b5 AL |
3964 | STATIC void S_no_op(pTHX_ const char *what, char *s) |
3965 | __attribute__nonnull__(pTHX_1); | |
3966 | ||
cea2e8a9 | 3967 | STATIC void S_set_csh(pTHX); |
46c461b5 AL |
3968 | STATIC I32 S_sublex_done(pTHX) |
3969 | __attribute__warn_unused_result__; | |
3970 | ||
3971 | STATIC I32 S_sublex_push(pTHX) | |
3972 | __attribute__warn_unused_result__; | |
3973 | ||
3974 | STATIC I32 S_sublex_start(pTHX) | |
3975 | __attribute__warn_unused_result__; | |
3976 | ||
255164ba DM |
3977 | STATIC char * S_filter_gets(pTHX_ SV *sv, PerlIO *fp, STRLEN append) |
3978 | __attribute__warn_unused_result__ | |
3979 | __attribute__nonnull__(pTHX_1) | |
3980 | __attribute__nonnull__(pTHX_2); | |
3981 | ||
3982 | STATIC HV * S_find_in_my_stash(pTHX_ const char *pkgname, I32 len) | |
3983 | __attribute__warn_unused_result__ | |
3984 | __attribute__nonnull__(pTHX_1); | |
3985 | ||
c48640ec | 3986 | STATIC char * S_tokenize_use(pTHX_ int is_use, char *s) |
468aa647 RGS |
3987 | __attribute__warn_unused_result__ |
3988 | __attribute__nonnull__(pTHX_2); | |
3989 | ||
aec46f14 AL |
3990 | STATIC SV* S_new_constant(pTHX_ const char *s, STRLEN len, const char *key, SV *sv, SV *pv, const char *type) |
3991 | __attribute__nonnull__(pTHX_3) | |
3992 | __attribute__nonnull__(pTHX_4); | |
3993 | ||
cea2e8a9 | 3994 | STATIC int S_ao(pTHX_ int toketype); |
bfed75c6 | 3995 | STATIC const char* S_incl_perldb(pTHX); |
c39cd008 GS |
3996 | # if defined(PERL_CR_FILTER) |
3997 | STATIC I32 S_cr_textfilter(pTHX_ int idx, SV *sv, int maxlen); | |
0bd48802 AL |
3998 | STATIC void S_strip_return(pTHX_ SV *sv) |
3999 | __attribute__nonnull__(pTHX_1); | |
4000 | ||
cea2e8a9 | 4001 | # endif |
c445ea15 AL |
4002 | # if defined(DEBUGGING) |
4003 | STATIC int S_tokereport(pTHX_ I32 rv); | |
931e0695 AL |
4004 | STATIC void S_printbuf(pTHX_ const char* fmt, const char* s) |
4005 | __attribute__nonnull__(pTHX_1) | |
4006 | __attribute__nonnull__(pTHX_2); | |
4007 | ||
c445ea15 | 4008 | # endif |
864dbfa3 | 4009 | #endif |
1d7c1841 | 4010 | |
0cb96387 | 4011 | #if defined(PERL_IN_UNIVERSAL_C) || defined(PERL_DECL_PROT) |
34692224 | 4012 | STATIC bool S_isa_lookup(pTHX_ HV *stash, const char *name, const HV * const name_stash, int len, int level) |
46c461b5 AL |
4013 | __attribute__nonnull__(pTHX_2); |
4014 | ||
864dbfa3 | 4015 | #endif |
1d7c1841 | 4016 | |
2d31dd6a | 4017 | #if defined(PERL_IN_LOCALE_C) || defined(PERL_DECL_PROT) |
27da23d5 | 4018 | #if defined(USE_LOCALE_NUMERIC) || defined(USE_LOCALE_COLLATE) |
8772537c AL |
4019 | STATIC char* S_stdize_locale(pTHX_ char* locs) |
4020 | __attribute__nonnull__(pTHX_1); | |
4021 | ||
2d31dd6a | 4022 | #endif |
27da23d5 | 4023 | #endif |
2d31dd6a NIS |
4024 | |
4025 | #if defined(PERL_IN_UTIL_C) || defined(PERL_DECL_PROT) | |
44af46ee | 4026 | STATIC const COP* S_closest_cop(pTHX_ const COP *cop, const OP *o) |
8772537c AL |
4027 | __attribute__nonnull__(pTHX_1); |
4028 | ||
cea2e8a9 | 4029 | STATIC SV* S_mess_alloc(pTHX); |
255164ba | 4030 | STATIC const char * S_vdie_croak_common(pTHX_ const char *pat, va_list *args, STRLEN *msglen, I32* utf8); |
46d9c920 | 4031 | STATIC bool S_vdie_common(pTHX_ const char *message, STRLEN msglen, I32 utf8, bool warn); |
0bd48802 AL |
4032 | STATIC char * S_write_no_mem(pTHX) |
4033 | __attribute__noreturn__; | |
4034 | ||
864dbfa3 | 4035 | #endif |
1d7c1841 | 4036 | |
4801ca72 JH |
4037 | #if defined(PERL_IN_NUMERIC_C) || defined(PERL_DECL_PROT) |
4038 | STATIC NV S_mulexp10(NV value, I32 exponent); | |
4039 | #endif | |
4040 | ||
646ca15d | 4041 | #if defined(PERL_IN_UTF8_C) || defined(PERL_DECL_PROT) |
44af46ee RGS |
4042 | STATIC STRLEN S_is_utf8_char_slow(const U8 *s, const STRLEN len) |
4043 | __attribute__warn_unused_result__ | |
4044 | __attribute__nonnull__(1); | |
646ca15d | 4045 | |
7452cf6a AL |
4046 | STATIC bool S_is_utf8_common(pTHX_ const U8 *const p, SV **swash, const char * const swashname) |
4047 | __attribute__warn_unused_result__ | |
4048 | __attribute__nonnull__(pTHX_1) | |
4049 | __attribute__nonnull__(pTHX_2) | |
4050 | __attribute__nonnull__(pTHX_3); | |
4051 | ||
979f2922 TS |
4052 | STATIC SV* S_swash_get(pTHX_ SV* swash, UV start, UV span) |
4053 | __attribute__warn_unused_result__ | |
4054 | __attribute__nonnull__(pTHX_1); | |
4055 | ||
646ca15d JH |
4056 | #endif |
4057 | ||
902f5b58 JH |
4058 | START_EXTERN_C |
4059 | ||
4373e329 | 4060 | PERL_CALLCONV void Perl_sv_setsv_flags(pTHX_ SV* dsv, SV* ssv, I32 flags) |
abb2c242 | 4061 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 4062 | |
4373e329 | 4063 | PERL_CALLCONV void Perl_sv_catpvn_flags(pTHX_ SV* sv, const char* ptr, STRLEN len, I32 flags) |
abb2c242 JH |
4064 | __attribute__nonnull__(pTHX_1) |
4065 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 4066 | |
4373e329 | 4067 | PERL_CALLCONV void Perl_sv_catsv_flags(pTHX_ SV* dsv, SV* ssv, I32 flags) |
abb2c242 | 4068 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 4069 | |
4373e329 | 4070 | PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade_flags(pTHX_ SV *sv, I32 flags) |
abb2c242 | 4071 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 4072 | |
46c461b5 AL |
4073 | PERL_CALLCONV char* Perl_sv_pvn_force_flags(pTHX_ SV* sv, STRLEN* lp, I32 flags) |
4074 | __attribute__nonnull__(pTHX_1); | |
4075 | ||
4373e329 | 4076 | PERL_CALLCONV void Perl_sv_copypv(pTHX_ SV* dsv, SV* ssv) |
abb2c242 JH |
4077 | __attribute__nonnull__(pTHX_1) |
4078 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 4079 | |
4373e329 | 4080 | PERL_CALLCONV char* Perl_my_atof2(pTHX_ const char *s, NV* value) |
abb2c242 JH |
4081 | __attribute__nonnull__(pTHX_1) |
4082 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 4083 | |
706e3e0f | 4084 | PERL_CALLCONV int Perl_my_socketpair(int family, int type, int protocol, int fd[2]); |
f8c7b90f | 4085 | #ifdef PERL_OLD_COPY_ON_WRITE |
46c461b5 AL |
4086 | PERL_CALLCONV SV* Perl_sv_setsv_cow(pTHX_ SV* dsv, SV* ssv) |
4087 | __attribute__nonnull__(pTHX_1) | |
4088 | __attribute__nonnull__(pTHX_2); | |
4089 | ||
ed252734 | 4090 | #endif |
902f5b58 | 4091 | |
11bcd5da NC |
4092 | PERL_CALLCONV const char * Perl_PerlIO_context_layers(pTHX_ const char *mode); |
4093 | ||
e87a358a | 4094 | #if defined(USE_PERLIO) && !defined(USE_SFIO) |
66a1b24b AL |
4095 | PERL_CALLCONV int Perl_PerlIO_close(pTHX_ PerlIO *f); |
4096 | PERL_CALLCONV int Perl_PerlIO_fill(pTHX_ PerlIO *f); | |
4097 | PERL_CALLCONV int Perl_PerlIO_fileno(pTHX_ PerlIO *f); | |
4098 | PERL_CALLCONV int Perl_PerlIO_eof(pTHX_ PerlIO *f); | |
4099 | PERL_CALLCONV int Perl_PerlIO_error(pTHX_ PerlIO *f); | |
4100 | PERL_CALLCONV int Perl_PerlIO_flush(pTHX_ PerlIO *f); | |
4101 | PERL_CALLCONV void Perl_PerlIO_clearerr(pTHX_ PerlIO *f); | |
4102 | PERL_CALLCONV void Perl_PerlIO_set_cnt(pTHX_ PerlIO *f, int cnt); | |
4103 | PERL_CALLCONV void Perl_PerlIO_set_ptrcnt(pTHX_ PerlIO *f, STDCHAR *ptr, int cnt) | |
4104 | __attribute__nonnull__(pTHX_2); | |
4105 | ||
4106 | PERL_CALLCONV void Perl_PerlIO_setlinebuf(pTHX_ PerlIO *f); | |
4107 | PERL_CALLCONV SSize_t Perl_PerlIO_read(pTHX_ PerlIO *f, void *buf, Size_t count) | |
4108 | __attribute__nonnull__(pTHX_2); | |
4109 | ||
4110 | PERL_CALLCONV SSize_t Perl_PerlIO_write(pTHX_ PerlIO *f, const void *buf, Size_t count) | |
4111 | __attribute__nonnull__(pTHX_2); | |
4112 | ||
4113 | PERL_CALLCONV SSize_t Perl_PerlIO_unread(pTHX_ PerlIO *f, const void *buf, Size_t count) | |
4114 | __attribute__nonnull__(pTHX_2); | |
4115 | ||
4116 | PERL_CALLCONV Off_t Perl_PerlIO_tell(pTHX_ PerlIO *f); | |
4117 | PERL_CALLCONV int Perl_PerlIO_seek(pTHX_ PerlIO *f, Off_t offset, int whence); | |
4118 | ||
4119 | PERL_CALLCONV STDCHAR * Perl_PerlIO_get_base(pTHX_ PerlIO *f); | |
4120 | PERL_CALLCONV STDCHAR * Perl_PerlIO_get_ptr(pTHX_ PerlIO *f); | |
255164ba DM |
4121 | PERL_CALLCONV int Perl_PerlIO_get_bufsiz(pTHX_ PerlIO *f) |
4122 | __attribute__warn_unused_result__; | |
4123 | ||
4124 | PERL_CALLCONV int Perl_PerlIO_get_cnt(pTHX_ PerlIO *f) | |
4125 | __attribute__warn_unused_result__; | |
4126 | ||
e87a358a | 4127 | |
46c461b5 AL |
4128 | PERL_CALLCONV PerlIO * Perl_PerlIO_stdin(pTHX) |
4129 | __attribute__warn_unused_result__; | |
4130 | ||
4131 | PERL_CALLCONV PerlIO * Perl_PerlIO_stdout(pTHX) | |
4132 | __attribute__warn_unused_result__; | |
4133 | ||
4134 | PERL_CALLCONV PerlIO * Perl_PerlIO_stderr(pTHX) | |
4135 | __attribute__warn_unused_result__; | |
4136 | ||
e87a358a | 4137 | #endif /* PERLIO_LAYERS */ |
582ed04c | 4138 | |
d6721266 DM |
4139 | PERL_CALLCONV void Perl_deb_stack_all(pTHX); |
4140 | #ifdef PERL_IN_DEB_C | |
f75877b5 SH |
4141 | STATIC void S_deb_stack_n(pTHX_ SV** stack_base, I32 stack_min, I32 stack_max, I32 mark_min, I32 mark_max) |
4142 | __attribute__nonnull__(pTHX_1); | |
4143 | ||
d6721266 DM |
4144 | #endif |
4145 | ||
66a1b24b AL |
4146 | PERL_CALLCONV PADLIST* Perl_pad_new(pTHX_ int flags) |
4147 | __attribute__malloc__ | |
4148 | __attribute__warn_unused_result__; | |
4149 | ||
f75877b5 SH |
4150 | PERL_CALLCONV void Perl_pad_undef(pTHX_ CV* cv) |
4151 | __attribute__nonnull__(pTHX_1); | |
4152 | ||
952306ac | 4153 | PERL_CALLCONV PADOFFSET Perl_pad_add_name(pTHX_ const char *name, HV* typestash, HV* ourstash, bool clone, bool state) |
abb2c242 | 4154 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 4155 | |
f75877b5 SH |
4156 | PERL_CALLCONV PADOFFSET Perl_pad_add_anon(pTHX_ SV* sv, OPCODE op_type) |
4157 | __attribute__nonnull__(pTHX_1); | |
4158 | ||
66a1b24b AL |
4159 | PERL_CALLCONV void Perl_pad_check_dup(pTHX_ const char* name, bool is_our, const HV* ourstash) |
4160 | __attribute__nonnull__(pTHX_1) | |
4161 | __attribute__nonnull__(pTHX_3); | |
4162 | ||
dd2155a4 | 4163 | #ifdef DEBUGGING |
66a1b24b AL |
4164 | PERL_CALLCONV void Perl_pad_setsv(pTHX_ PADOFFSET po, SV* sv) |
4165 | __attribute__nonnull__(pTHX_2); | |
4166 | ||
dd2155a4 DM |
4167 | #endif |
4168 | PERL_CALLCONV void Perl_pad_block_start(pTHX_ int full); | |
4169 | PERL_CALLCONV void Perl_pad_tidy(pTHX_ padtidy_type type); | |
66a1b24b AL |
4170 | PERL_CALLCONV void Perl_do_dump_pad(pTHX_ I32 level, PerlIO *file, PADLIST *padlist, int full) |
4171 | __attribute__nonnull__(pTHX_2); | |
4172 | ||
4173 | PERL_CALLCONV void Perl_pad_fixup_inner_anons(pTHX_ PADLIST *padlist, CV *old_cv, CV *new_cv) | |
46c461b5 AL |
4174 | __attribute__nonnull__(pTHX_1) |
4175 | __attribute__nonnull__(pTHX_2) | |
4176 | __attribute__nonnull__(pTHX_3); | |
66a1b24b AL |
4177 | |
4178 | ||
4179 | PERL_CALLCONV void Perl_pad_push(pTHX_ PADLIST *padlist, int depth) | |
4180 | __attribute__nonnull__(pTHX_1); | |
dd2155a4 | 4181 | |
901017d6 AL |
4182 | PERL_CALLCONV HV* Perl_pad_compname_type(pTHX_ const PADOFFSET po) |
4183 | __attribute__warn_unused_result__; | |
4184 | ||
dd2155a4 DM |
4185 | |
4186 | #if defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT) | |
f75877b5 SH |
4187 | STATIC PADOFFSET S_pad_findlex(pTHX_ const char *name, const CV* cv, U32 seq, int warn, SV** out_capture, SV** out_name_sv, int *out_flags) |
4188 | __attribute__nonnull__(pTHX_1) | |
4189 | __attribute__nonnull__(pTHX_2) | |
4190 | __attribute__nonnull__(pTHX_6) | |
4191 | __attribute__nonnull__(pTHX_7); | |
4192 | ||
dd2155a4 | 4193 | # if defined(DEBUGGING) |
66a1b24b AL |
4194 | STATIC void S_cv_dump(pTHX_ const CV *cv, const char *title) |
4195 | __attribute__nonnull__(pTHX_1) | |
4196 | __attribute__nonnull__(pTHX_2); | |
4197 | ||
dd2155a4 | 4198 | # endif |
dd2155a4 | 4199 | #endif |
a3b680e6 | 4200 | PERL_CALLCONV CV* Perl_find_runcv(pTHX_ U32 *db_seqp) |
abb2c242 | 4201 | __attribute__warn_unused_result__; |
a3b680e6 | 4202 | |
dd28f7bb | 4203 | PERL_CALLCONV void Perl_free_tied_hv_pool(pTHX); |
b4ab917c | 4204 | #if defined(DEBUGGING) |
255164ba | 4205 | PERL_CALLCONV int Perl_get_debug_opts(pTHX_ const char **s, bool givehelp) |
46c461b5 AL |
4206 | __attribute__warn_unused_result__ |
4207 | __attribute__nonnull__(pTHX_1); | |
255164ba | 4208 | |
b4ab917c | 4209 | #endif |
14f338dc | 4210 | PERL_CALLCONV void Perl_save_set_svflags(pTHX_ SV* sv, U32 mask, U32 val); |
66a1b24b AL |
4211 | PERL_CALLCONV void Perl_hv_assert(pTHX_ HV* tb) |
4212 | __attribute__nonnull__(pTHX_1); | |
4213 | ||
d6721266 | 4214 | |
b464bac0 AL |
4215 | PERL_CALLCONV SV* Perl_hv_scalar(pTHX_ HV* hv) |
4216 | __attribute__warn_unused_result__ | |
4217 | __attribute__nonnull__(pTHX_1); | |
4218 | ||
4219 | PERL_CALLCONV I32* Perl_hv_riter_p(pTHX_ HV* hv) | |
4220 | __attribute__warn_unused_result__ | |
4221 | __attribute__nonnull__(pTHX_1); | |
4222 | ||
4223 | PERL_CALLCONV HE** Perl_hv_eiter_p(pTHX_ HV* hv) | |
4224 | __attribute__warn_unused_result__ | |
4225 | __attribute__nonnull__(pTHX_1); | |
4226 | ||
4227 | PERL_CALLCONV void Perl_hv_riter_set(pTHX_ HV* hv, I32 riter) | |
4228 | __attribute__nonnull__(pTHX_1); | |
4229 | ||
4230 | PERL_CALLCONV void Perl_hv_eiter_set(pTHX_ HV* hv, HE* eiter) | |
66a1b24b | 4231 | __attribute__nonnull__(pTHX_1); |
b464bac0 | 4232 | |
4164be69 | 4233 | PERL_CALLCONV void Perl_hv_name_set(pTHX_ HV* hv, const char *name, U32 len, U32 flags) |
b464bac0 AL |
4234 | __attribute__nonnull__(pTHX_1); |
4235 | ||
86f55936 NC |
4236 | PERL_CALLCONV AV** Perl_hv_backreferences_p(pTHX_ HV* hv) |
4237 | __attribute__nonnull__(pTHX_1); | |
4238 | ||
4239 | #if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT) | |
4240 | PERL_CALLCONV void Perl_hv_kill_backrefs(pTHX_ HV* hv) | |
4241 | __attribute__nonnull__(pTHX_1); | |
4242 | ||
4243 | #endif | |
b464bac0 AL |
4244 | PERL_CALLCONV void Perl_hv_clear_placeholders(pTHX_ HV* hb) |
4245 | __attribute__nonnull__(pTHX_1); | |
4246 | ||
4247 | PERL_CALLCONV I32* Perl_hv_placeholders_p(pTHX_ HV* hv) | |
4248 | __attribute__warn_unused_result__ | |
4249 | __attribute__nonnull__(pTHX_1); | |
4250 | ||
4251 | PERL_CALLCONV I32 Perl_hv_placeholders_get(pTHX_ HV* hv) | |
4252 | __attribute__warn_unused_result__ | |
4253 | __attribute__nonnull__(pTHX_1); | |
4254 | ||
4255 | PERL_CALLCONV void Perl_hv_placeholders_set(pTHX_ HV* hv, I32 ph) | |
b464bac0 AL |
4256 | __attribute__nonnull__(pTHX_1); |
4257 | ||
ca732855 | 4258 | |
66a1b24b AL |
4259 | PERL_CALLCONV SV* Perl_magic_scalarpack(pTHX_ HV* hv, MAGIC* mg) |
4260 | __attribute__nonnull__(pTHX_1) | |
4261 | __attribute__nonnull__(pTHX_2); | |
4262 | ||
29489e7c DM |
4263 | #ifdef PERL_IN_SV_C |
4264 | STATIC SV* S_find_uninit_var(pTHX_ OP* obase, SV* uninit_sv, bool top); | |
4265 | #endif | |
96adfaa1 | 4266 | |
1109a392 MHM |
4267 | #ifdef PERL_NEED_MY_HTOLE16 |
4268 | PERL_CALLCONV U16 Perl_my_htole16(U16 n); | |
4269 | #endif | |
4270 | #ifdef PERL_NEED_MY_LETOH16 | |
4271 | PERL_CALLCONV U16 Perl_my_letoh16(U16 n); | |
4272 | #endif | |
4273 | #ifdef PERL_NEED_MY_HTOBE16 | |
4274 | PERL_CALLCONV U16 Perl_my_htobe16(U16 n); | |
4275 | #endif | |
4276 | #ifdef PERL_NEED_MY_BETOH16 | |
4277 | PERL_CALLCONV U16 Perl_my_betoh16(U16 n); | |
4278 | #endif | |
4279 | #ifdef PERL_NEED_MY_HTOLE32 | |
4280 | PERL_CALLCONV U32 Perl_my_htole32(U32 n); | |
4281 | #endif | |
4282 | #ifdef PERL_NEED_MY_LETOH32 | |
4283 | PERL_CALLCONV U32 Perl_my_letoh32(U32 n); | |
4284 | #endif | |
4285 | #ifdef PERL_NEED_MY_HTOBE32 | |
4286 | PERL_CALLCONV U32 Perl_my_htobe32(U32 n); | |
4287 | #endif | |
4288 | #ifdef PERL_NEED_MY_BETOH32 | |
4289 | PERL_CALLCONV U32 Perl_my_betoh32(U32 n); | |
4290 | #endif | |
4291 | #ifdef PERL_NEED_MY_HTOLE64 | |
4292 | PERL_CALLCONV U64 Perl_my_htole64(U64 n); | |
4293 | #endif | |
4294 | #ifdef PERL_NEED_MY_LETOH64 | |
4295 | PERL_CALLCONV U64 Perl_my_letoh64(U64 n); | |
4296 | #endif | |
4297 | #ifdef PERL_NEED_MY_HTOBE64 | |
4298 | PERL_CALLCONV U64 Perl_my_htobe64(U64 n); | |
4299 | #endif | |
4300 | #ifdef PERL_NEED_MY_BETOH64 | |
4301 | PERL_CALLCONV U64 Perl_my_betoh64(U64 n); | |
4302 | #endif | |
4303 | ||
4304 | #ifdef PERL_NEED_MY_HTOLES | |
4305 | PERL_CALLCONV short Perl_my_htoles(short n); | |
4306 | #endif | |
4307 | #ifdef PERL_NEED_MY_LETOHS | |
4308 | PERL_CALLCONV short Perl_my_letohs(short n); | |
4309 | #endif | |
4310 | #ifdef PERL_NEED_MY_HTOBES | |
4311 | PERL_CALLCONV short Perl_my_htobes(short n); | |
4312 | #endif | |
4313 | #ifdef PERL_NEED_MY_BETOHS | |
4314 | PERL_CALLCONV short Perl_my_betohs(short n); | |
4315 | #endif | |
4316 | #ifdef PERL_NEED_MY_HTOLEI | |
4317 | PERL_CALLCONV int Perl_my_htolei(int n); | |
4318 | #endif | |
4319 | #ifdef PERL_NEED_MY_LETOHI | |
4320 | PERL_CALLCONV int Perl_my_letohi(int n); | |
4321 | #endif | |
4322 | #ifdef PERL_NEED_MY_HTOBEI | |
4323 | PERL_CALLCONV int Perl_my_htobei(int n); | |
4324 | #endif | |
4325 | #ifdef PERL_NEED_MY_BETOHI | |
4326 | PERL_CALLCONV int Perl_my_betohi(int n); | |
4327 | #endif | |
4328 | #ifdef PERL_NEED_MY_HTOLEL | |
4329 | PERL_CALLCONV long Perl_my_htolel(long n); | |
4330 | #endif | |
4331 | #ifdef PERL_NEED_MY_LETOHL | |
4332 | PERL_CALLCONV long Perl_my_letohl(long n); | |
4333 | #endif | |
4334 | #ifdef PERL_NEED_MY_HTOBEL | |
4335 | PERL_CALLCONV long Perl_my_htobel(long n); | |
4336 | #endif | |
4337 | #ifdef PERL_NEED_MY_BETOHL | |
4338 | PERL_CALLCONV long Perl_my_betohl(long n); | |
4339 | #endif | |
4340 | ||
f75877b5 SH |
4341 | PERL_CALLCONV void Perl_my_swabn(void* ptr, int n) |
4342 | __attribute__nonnull__(1); | |
4343 | ||
4344 | ||
4345 | PERL_CALLCONV GV* Perl_gv_fetchpvn_flags(pTHX_ const char* name, STRLEN len, I32 flags, I32 sv_type) | |
f75877b5 SH |
4346 | __attribute__nonnull__(pTHX_1); |
4347 | ||
4348 | PERL_CALLCONV GV* Perl_gv_fetchsv(pTHX_ SV *name, I32 flags, I32 sv_type) | |
f75877b5 | 4349 | __attribute__nonnull__(pTHX_1); |
1109a392 | 4350 | |
1df70142 | 4351 | PERL_CALLCONV bool Perl_is_gv_magical_sv(pTHX_ SV *name, U32 flags) |
9d4ba2ae AL |
4352 | __attribute__warn_unused_result__ |
4353 | __attribute__nonnull__(pTHX_1); | |
1df70142 | 4354 | |
7a5fd60d | 4355 | |
ed221c57 AL |
4356 | PERL_CALLCONV bool Perl_stashpv_hvname_match(pTHX_ const COP *cop, const HV *hv) |
4357 | __attribute__warn_unused_result__ | |
4358 | __attribute__nonnull__(pTHX_1) | |
4359 | __attribute__nonnull__(pTHX_2); | |
4360 | ||
2e0de35c | 4361 | |
41e4abd8 | 4362 | #ifdef DEBUG_LEAKING_SCALARS_FORK_DUMP |
46c461b5 AL |
4363 | PERL_CALLCONV void Perl_dump_sv_child(pTHX_ SV *sv) |
4364 | __attribute__nonnull__(pTHX_1); | |
4365 | ||
41e4abd8 NC |
4366 | #endif |
4367 | ||
c69033f2 NC |
4368 | #ifdef PERL_DONT_CREATE_GVSV |
4369 | PERL_CALLCONV GV* Perl_gv_SVadd(pTHX_ GV* gv) | |
4370 | __attribute__nonnull__(pTHX_1); | |
4371 | ||
4372 | #endif | |
f54ba1c2 DM |
4373 | PERL_CALLCONV bool Perl_ckwarn(pTHX_ U32 w); |
4374 | PERL_CALLCONV bool Perl_ckwarn_d(pTHX_ U32 w); | |
8ee4cf24 | 4375 | PERL_CALLCONV STRLEN * Perl_new_warnings_bitfield(pTHX_ STRLEN *buffer, const char *const bits, STRLEN size) |
72dc9ed5 NC |
4376 | __attribute__malloc__ |
4377 | __attribute__warn_unused_result__ | |
8ee4cf24 | 4378 | __attribute__nonnull__(pTHX_2); |
72dc9ed5 | 4379 | |
c69033f2 | 4380 | |
77354fb4 NC |
4381 | PERL_CALLCONV void Perl_offer_nice_chunk(pTHX_ void *chunk, U32 chunk_size) |
4382 | __attribute__nonnull__(pTHX_1); | |
4383 | ||
4384 | ||
ce582cee NC |
4385 | #ifndef SPRINTF_RETURNS_STRLEN |
4386 | PERL_CALLCONV int Perl_my_sprintf(char *buffer, const char *pat, ...) | |
4387 | __attribute__nonnull__(1) | |
4388 | __attribute__nonnull__(2); | |
4389 | ||
4390 | #endif | |
4391 | ||
d9fad198 | 4392 | PERL_CALLCONV int Perl_my_snprintf(char *buffer, const Size_t len, const char *format, ...) |
f8f4df2c | 4393 | __attribute__format__(__printf__,3,4) |
d9fad198 JH |
4394 | __attribute__nonnull__(1) |
4395 | __attribute__nonnull__(3); | |
4396 | ||
4397 | PERL_CALLCONV int Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap) | |
4398 | __attribute__nonnull__(1) | |
4399 | __attribute__nonnull__(3); | |
4400 | ||
4401 | ||
b0269e46 AB |
4402 | PERL_CALLCONV void Perl_my_clearenv(pTHX); |
4403 | ||
f16dd614 DM |
4404 | #ifdef PERL_IMPLICIT_CONTEXT |
4405 | PERL_CALLCONV void* Perl_my_cxt_init(pTHX_ int *index, size_t size) | |
4406 | __attribute__nonnull__(pTHX_1); | |
4407 | ||
4408 | #endif | |
4409 | ||
1dba731d NC |
4410 | #ifdef PERL_MAD |
4411 | PERL_CALLCONV void Perl_pad_peg(const char* s) | |
4412 | __attribute__nonnull__(1); | |
4413 | ||
3b721df9 NC |
4414 | #if defined(PERL_IN_DUMP_C) || defined(PERL_DECL_PROT) |
4415 | STATIC void S_xmldump_attr(pTHX_ I32 level, PerlIO *file, const char* pat, ...) | |
4416 | __attribute__format__(__printf__,pTHX_3,pTHX_4) | |
4417 | __attribute__nonnull__(pTHX_2) | |
4418 | __attribute__nonnull__(pTHX_3); | |
4419 | ||
4420 | #endif | |
4421 | PERL_CALLCONV void Perl_xmldump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...) | |
4422 | __attribute__format__(__printf__,pTHX_3,pTHX_4) | |
4423 | __attribute__nonnull__(pTHX_2) | |
4424 | __attribute__nonnull__(pTHX_3); | |
4425 | ||
4426 | PERL_CALLCONV void Perl_xmldump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args) | |
4427 | __attribute__nonnull__(pTHX_2) | |
4428 | __attribute__nonnull__(pTHX_3); | |
4429 | ||
4430 | PERL_CALLCONV void Perl_xmldump_all(pTHX); | |
4431 | PERL_CALLCONV void Perl_xmldump_packsubs(pTHX_ const HV* stash) | |
4432 | __attribute__nonnull__(pTHX_1); | |
4433 | ||
4434 | PERL_CALLCONV void Perl_xmldump_sub(pTHX_ const GV* gv) | |
4435 | __attribute__nonnull__(pTHX_1); | |
4436 | ||
4437 | PERL_CALLCONV void Perl_xmldump_form(pTHX_ const GV* gv) | |
4438 | __attribute__nonnull__(pTHX_1); | |
4439 | ||
4440 | PERL_CALLCONV void Perl_xmldump_eval(pTHX); | |
4441 | PERL_CALLCONV char* Perl_sv_catxmlsv(pTHX_ SV *dsv, SV *ssv) | |
4442 | __attribute__nonnull__(pTHX_1) | |
4443 | __attribute__nonnull__(pTHX_2); | |
4444 | ||
4445 | PERL_CALLCONV char* Perl_sv_catxmlpvn(pTHX_ SV *dsv, char *pv, STRLEN len, int utf8) | |
4446 | __attribute__nonnull__(pTHX_1) | |
4447 | __attribute__nonnull__(pTHX_2); | |
4448 | ||
4449 | PERL_CALLCONV char* Perl_sv_xmlpeek(pTHX_ SV* sv) | |
4450 | __attribute__nonnull__(pTHX_1); | |
4451 | ||
4452 | PERL_CALLCONV void Perl_do_pmop_xmldump(pTHX_ I32 level, PerlIO *file, const PMOP *pm) | |
4453 | __attribute__nonnull__(pTHX_2); | |
4454 | ||
4455 | PERL_CALLCONV void Perl_pmop_xmldump(pTHX_ const PMOP* pm); | |
4456 | PERL_CALLCONV void Perl_do_op_xmldump(pTHX_ I32 level, PerlIO *file, const OP *o) | |
4457 | __attribute__nonnull__(pTHX_2); | |
4458 | ||
4459 | PERL_CALLCONV void Perl_op_xmldump(pTHX_ const OP* arg) | |
4460 | __attribute__nonnull__(pTHX_1); | |
4461 | ||
eb8433b7 NC |
4462 | |
4463 | PERL_CALLCONV TOKEN* Perl_newTOKEN(pTHX_ I32 optype, YYSTYPE lval, MADPROP* madprop); | |
ca7a6974 NC |
4464 | PERL_CALLCONV void Perl_token_free(pTHX_ TOKEN* arg) |
4465 | __attribute__nonnull__(pTHX_1); | |
4466 | ||
4467 | PERL_CALLCONV void Perl_token_getmad(pTHX_ TOKEN* arg, OP* o, char slot) | |
4468 | __attribute__nonnull__(pTHX_1); | |
4469 | ||
eb8433b7 NC |
4470 | PERL_CALLCONV void Perl_op_getmad_weak(pTHX_ OP* from, OP* o, char slot); |
4471 | PERL_CALLCONV void Perl_op_getmad(pTHX_ OP* from, OP* o, char slot); | |
4472 | PERL_CALLCONV void Perl_prepend_madprops(pTHX_ MADPROP* mp, OP* o, char slot); | |
4473 | PERL_CALLCONV void Perl_append_madprops(pTHX_ MADPROP* tm, OP* o, char slot); | |
4474 | PERL_CALLCONV void Perl_addmad(pTHX_ MADPROP* tm, MADPROP** root, char slot); | |
ca7a6974 NC |
4475 | PERL_CALLCONV MADPROP* Perl_newMADsv(pTHX_ char key, SV* sv) |
4476 | __attribute__nonnull__(pTHX_2); | |
4477 | ||
eb8433b7 NC |
4478 | PERL_CALLCONV MADPROP* Perl_newMADPROP(pTHX_ char key, char type, void* val, I32 vlen); |
4479 | PERL_CALLCONV void Perl_mad_free(pTHX_ MADPROP* mp); | |
29595ff2 NC |
4480 | |
4481 | # if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT) | |
4482 | STATIC char* S_skipspace0(pTHX_ char *s) | |
4483 | __attribute__nonnull__(pTHX_1); | |
4484 | ||
4485 | STATIC char* S_skipspace1(pTHX_ char *s) | |
4486 | __attribute__nonnull__(pTHX_1); | |
4487 | ||
4488 | STATIC char* S_skipspace2(pTHX_ char *s, SV **sv) | |
4489 | __attribute__nonnull__(pTHX_1); | |
4490 | ||
af5683d1 NC |
4491 | STATIC void S_start_force(pTHX_ int where); |
4492 | STATIC void S_curmad(pTHX_ char slot, SV *sv); | |
29595ff2 | 4493 | # endif |
af5683d1 | 4494 | PERL_CALLCONV int Perl_madlex(pTHX); |
00e74f14 | 4495 | PERL_CALLCONV int Perl_madparse(pTHX); |
1dba731d | 4496 | #endif |
f16dd614 | 4497 | |
3540d4ce | 4498 | END_EXTERN_C |
1df70142 AL |
4499 | /* |
4500 | * ex: set ts=8 sts=4 sw=4 noet: | |
4501 | */ | |
37442d52 | 4502 | /* ex: set ro: */ |