in CLONEf_JOIN_IN, cache found stashes
[perl.git] / proto.h
1 /*  -*- buffer-read-only: t -*-
2  *
3  *    proto.h
4  *
5  *    Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999,
6  *    2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, by Larry Wall and others
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, and perlvars.h.
14  * Any changes made here will be lost!
15  *
16  * Edit those files and run 'make regen_headers' to effect changes.
17  */
18
19 START_EXTERN_C
20
21 #if defined(PERL_IMPLICIT_SYS)
22 PERL_CALLCONV PerlInterpreter*  perl_alloc_using(struct IPerlMem *ipM, struct IPerlMem *ipMS, struct IPerlMem *ipMP, struct IPerlEnv *ipE, struct IPerlStdIO *ipStd, struct IPerlLIO *ipLIO, struct IPerlDir *ipD, struct IPerlSock *ipS, struct IPerlProc *ipP)
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 #define PERL_ARGS_ASSERT_PERL_ALLOC_USING       \
33         assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
34
35 #endif
36 PERL_CALLCONV PerlInterpreter*  perl_alloc(void);
37 PERL_CALLCONV void      perl_construct(PerlInterpreter *my_perl)
38                         __attribute__nonnull__(1);
39 #define PERL_ARGS_ASSERT_PERL_CONSTRUCT \
40         assert(my_perl)
41
42 PERL_CALLCONV int       perl_destruct(PerlInterpreter *my_perl)
43                         __attribute__nonnull__(1);
44 #define PERL_ARGS_ASSERT_PERL_DESTRUCT  \
45         assert(my_perl)
46
47 PERL_CALLCONV void      perl_free(PerlInterpreter *my_perl)
48                         __attribute__nonnull__(1);
49 #define PERL_ARGS_ASSERT_PERL_FREE      \
50         assert(my_perl)
51
52 PERL_CALLCONV int       perl_run(PerlInterpreter *my_perl)
53                         __attribute__nonnull__(1);
54 #define PERL_ARGS_ASSERT_PERL_RUN       \
55         assert(my_perl)
56
57 PERL_CALLCONV int       perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char** argv, char** env)
58                         __attribute__nonnull__(1);
59 #define PERL_ARGS_ASSERT_PERL_PARSE     \
60         assert(my_perl)
61
62 PERL_CALLCONV bool      Perl_doing_taint(int argc, char** argv, char** env)
63                         __attribute__warn_unused_result__;
64
65 #if defined(USE_ITHREADS)
66 PERL_CALLCONV PerlInterpreter*  perl_clone(PerlInterpreter *proto_perl, UV flags)
67                         __attribute__nonnull__(1);
68 #define PERL_ARGS_ASSERT_PERL_CLONE     \
69         assert(proto_perl)
70
71 #  if defined(PERL_IMPLICIT_SYS)
72 PERL_CALLCONV PerlInterpreter*  perl_clone_using(PerlInterpreter *proto_perl, UV flags, struct IPerlMem* ipM, struct IPerlMem* ipMS, struct IPerlMem* ipMP, struct IPerlEnv* ipE, struct IPerlStdIO* ipStd, struct IPerlLIO* ipLIO, struct IPerlDir* ipD, struct IPerlSock* ipS, struct IPerlProc* ipP)
73                         __attribute__nonnull__(1)
74                         __attribute__nonnull__(3)
75                         __attribute__nonnull__(4)
76                         __attribute__nonnull__(5)
77                         __attribute__nonnull__(6)
78                         __attribute__nonnull__(7)
79                         __attribute__nonnull__(8)
80                         __attribute__nonnull__(9)
81                         __attribute__nonnull__(10)
82                         __attribute__nonnull__(11);
83 #define PERL_ARGS_ASSERT_PERL_CLONE_USING       \
84         assert(proto_perl); assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
85
86 #  endif
87 #endif
88
89 PERL_CALLCONV Malloc_t  Perl_malloc(MEM_SIZE nbytes)
90                         __attribute__malloc__
91                         __attribute__warn_unused_result__;
92
93 PERL_CALLCONV Malloc_t  Perl_calloc(MEM_SIZE elements, MEM_SIZE size)
94                         __attribute__malloc__
95                         __attribute__warn_unused_result__;
96
97 PERL_CALLCONV Malloc_t  Perl_realloc(Malloc_t where, MEM_SIZE nbytes)
98                         __attribute__malloc__
99                         __attribute__warn_unused_result__;
100
101 PERL_CALLCONV Free_t    Perl_mfree(Malloc_t where);
102 #if defined(MYMALLOC)
103 PERL_CALLCONV MEM_SIZE  Perl_malloced_size(void *p)
104                         __attribute__warn_unused_result__
105                         __attribute__nonnull__(1);
106 #define PERL_ARGS_ASSERT_MALLOCED_SIZE  \
107         assert(p)
108
109 PERL_CALLCONV MEM_SIZE  Perl_malloc_good_size(size_t nbytes)
110                         __attribute__warn_unused_result__;
111
112 #endif
113
114 PERL_CALLCONV void*     Perl_get_context(void)
115                         __attribute__warn_unused_result__;
116
117 PERL_CALLCONV void      Perl_set_context(void *t)
118                         __attribute__nonnull__(1);
119 #define PERL_ARGS_ASSERT_SET_CONTEXT    \
120         assert(t)
121
122 PERL_CALLCONV I32       Perl_regcurly(const char *s)
123                         __attribute__warn_unused_result__
124                         __attribute__pure__
125                         __attribute__nonnull__(1);
126 #define PERL_ARGS_ASSERT_REGCURLY       \
127         assert(s)
128
129
130 END_EXTERN_C
131
132 /* functions with flag 'n' should come before here */
133 START_EXTERN_C
134 #  include "pp_proto.h"
135 PERL_CALLCONV bool      Perl_try_amagic_bin(pTHX_ int method, int flags);
136 PERL_CALLCONV bool      Perl_try_amagic_un(pTHX_ int method, int flags);
137 PERL_CALLCONV SV*       Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir)
138                         __attribute__nonnull__(pTHX_1)
139                         __attribute__nonnull__(pTHX_2);
140 #define PERL_ARGS_ASSERT_AMAGIC_CALL    \
141         assert(left); assert(right)
142
143 PERL_CALLCONV int       Perl_Gv_AMupdate(pTHX_ HV* stash, bool destructing)
144                         __attribute__nonnull__(pTHX_1);
145 #define PERL_ARGS_ASSERT_GV_AMUPDATE    \
146         assert(stash)
147
148 PERL_CALLCONV CV*       Perl_gv_handler(pTHX_ HV* stash, I32 id)
149                         __attribute__warn_unused_result__;
150
151 PERL_CALLCONV OP*       Perl_append_elem(pTHX_ I32 optype, OP* first, OP* last);
152 PERL_CALLCONV OP*       Perl_append_list(pTHX_ I32 optype, LISTOP* first, LISTOP* last);
153 PERL_CALLCONV I32       Perl_apply(pTHX_ I32 type, SV** mark, SV** sp)
154                         __attribute__nonnull__(pTHX_2)
155                         __attribute__nonnull__(pTHX_3);
156 #define PERL_ARGS_ASSERT_APPLY  \
157         assert(mark); assert(sp)
158
159 PERL_CALLCONV void      Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len)
160                         __attribute__nonnull__(pTHX_1)
161                         __attribute__nonnull__(pTHX_2)
162                         __attribute__nonnull__(pTHX_3);
163 #define PERL_ARGS_ASSERT_APPLY_ATTRS_STRING     \
164         assert(stashpv); assert(cv); assert(attrstr)
165
166 PERL_CALLCONV void      Perl_av_clear(pTHX_ AV *av)
167                         __attribute__nonnull__(pTHX_1);
168 #define PERL_ARGS_ASSERT_AV_CLEAR       \
169         assert(av)
170
171 PERL_CALLCONV SV*       Perl_av_delete(pTHX_ AV *av, I32 key, I32 flags)
172                         __attribute__nonnull__(pTHX_1);
173 #define PERL_ARGS_ASSERT_AV_DELETE      \
174         assert(av)
175
176 PERL_CALLCONV bool      Perl_av_exists(pTHX_ AV *av, I32 key)
177                         __attribute__warn_unused_result__
178                         __attribute__nonnull__(pTHX_1);
179 #define PERL_ARGS_ASSERT_AV_EXISTS      \
180         assert(av)
181
182 PERL_CALLCONV void      Perl_av_extend(pTHX_ AV *av, I32 key)
183                         __attribute__nonnull__(pTHX_1);
184 #define PERL_ARGS_ASSERT_AV_EXTEND      \
185         assert(av)
186
187 PERL_CALLCONV SV**      Perl_av_fetch(pTHX_ AV *av, I32 key, I32 lval)
188                         __attribute__warn_unused_result__
189                         __attribute__nonnull__(pTHX_1);
190 #define PERL_ARGS_ASSERT_AV_FETCH       \
191         assert(av)
192
193 PERL_CALLCONV void      Perl_av_fill(pTHX_ AV *av, I32 fill)
194                         __attribute__nonnull__(pTHX_1);
195 #define PERL_ARGS_ASSERT_AV_FILL        \
196         assert(av)
197
198 PERL_CALLCONV I32       Perl_av_len(pTHX_ AV *av)
199                         __attribute__warn_unused_result__
200                         __attribute__nonnull__(pTHX_1);
201 #define PERL_ARGS_ASSERT_AV_LEN \
202         assert(av)
203
204 PERL_CALLCONV AV*       Perl_av_make(pTHX_ I32 size, SV **strp)
205                         __attribute__warn_unused_result__
206                         __attribute__nonnull__(pTHX_2);
207 #define PERL_ARGS_ASSERT_AV_MAKE        \
208         assert(strp)
209
210 PERL_CALLCONV SV*       Perl_av_pop(pTHX_ AV *av)
211                         __attribute__nonnull__(pTHX_1);
212 #define PERL_ARGS_ASSERT_AV_POP \
213         assert(av)
214
215 PERL_CALLCONV void      Perl_av_create_and_push(pTHX_ AV **const avp, SV *const val)
216                         __attribute__nonnull__(pTHX_1)
217                         __attribute__nonnull__(pTHX_2);
218 #define PERL_ARGS_ASSERT_AV_CREATE_AND_PUSH     \
219         assert(avp); assert(val)
220
221 PERL_CALLCONV void      Perl_av_push(pTHX_ AV *av, SV *val)
222                         __attribute__nonnull__(pTHX_1)
223                         __attribute__nonnull__(pTHX_2);
224 #define PERL_ARGS_ASSERT_AV_PUSH        \
225         assert(av); assert(val)
226
227 PERL_CALLCONV void      Perl_av_reify(pTHX_ AV *av)
228                         __attribute__nonnull__(pTHX_1);
229 #define PERL_ARGS_ASSERT_AV_REIFY       \
230         assert(av)
231
232 PERL_CALLCONV SV*       Perl_av_shift(pTHX_ AV *av)
233                         __attribute__warn_unused_result__
234                         __attribute__nonnull__(pTHX_1);
235 #define PERL_ARGS_ASSERT_AV_SHIFT       \
236         assert(av)
237
238 PERL_CALLCONV SV**      Perl_av_store(pTHX_ AV *av, I32 key, SV *val)
239                         __attribute__nonnull__(pTHX_1);
240 #define PERL_ARGS_ASSERT_AV_STORE       \
241         assert(av)
242
243 PERL_CALLCONV void      Perl_av_undef(pTHX_ AV *av)
244                         __attribute__nonnull__(pTHX_1);
245 #define PERL_ARGS_ASSERT_AV_UNDEF       \
246         assert(av)
247
248 PERL_CALLCONV SV**      Perl_av_create_and_unshift_one(pTHX_ AV **const avp, SV *const val)
249                         __attribute__nonnull__(pTHX_1)
250                         __attribute__nonnull__(pTHX_2);
251 #define PERL_ARGS_ASSERT_AV_CREATE_AND_UNSHIFT_ONE      \
252         assert(avp); assert(val)
253
254 PERL_CALLCONV void      Perl_av_unshift(pTHX_ AV *av, I32 num)
255                         __attribute__nonnull__(pTHX_1);
256 #define PERL_ARGS_ASSERT_AV_UNSHIFT     \
257         assert(av)
258
259 PERL_CALLCONV SV**      Perl_av_arylen_p(pTHX_ AV *av)
260                         __attribute__nonnull__(pTHX_1);
261 #define PERL_ARGS_ASSERT_AV_ARYLEN_P    \
262         assert(av)
263
264 PERL_CALLCONV IV*       Perl_av_iter_p(pTHX_ AV *av)
265                         __attribute__nonnull__(pTHX_1);
266 #define PERL_ARGS_ASSERT_AV_ITER_P      \
267         assert(av)
268
269 #if defined(PERL_IN_AV_C)
270 STATIC MAGIC*   S_get_aux_mg(pTHX_ AV *av)
271                         __attribute__nonnull__(pTHX_1);
272 #define PERL_ARGS_ASSERT_GET_AUX_MG     \
273         assert(av)
274
275 #endif
276 PERL_CALLCONV OP*       Perl_bind_match(pTHX_ I32 type, OP *left, OP *right)
277                         __attribute__warn_unused_result__
278                         __attribute__nonnull__(pTHX_2)
279                         __attribute__nonnull__(pTHX_3);
280 #define PERL_ARGS_ASSERT_BIND_MATCH     \
281         assert(left); assert(right)
282
283 PERL_CALLCONV OP*       Perl_block_end(pTHX_ I32 floor, OP* seq)
284                         __attribute__warn_unused_result__;
285
286 PERL_CALLCONV I32       Perl_block_gimme(pTHX)
287                         __attribute__warn_unused_result__;
288
289 PERL_CALLCONV int       Perl_block_start(pTHX_ int full)
290                         __attribute__warn_unused_result__;
291
292 PERL_CALLCONV void      Perl_blockhook_register(pTHX_ BHK *hk)
293                         __attribute__nonnull__(pTHX_1);
294 #define PERL_ARGS_ASSERT_BLOCKHOOK_REGISTER     \
295         assert(hk)
296
297 PERL_CALLCONV void      Perl_boot_core_UNIVERSAL(pTHX);
298 PERL_CALLCONV void      Perl_boot_core_PerlIO(pTHX);
299 PERL_CALLCONV void      Perl_call_list(pTHX_ I32 oldscope, AV *paramList)
300                         __attribute__nonnull__(pTHX_2);
301 #define PERL_ARGS_ASSERT_CALL_LIST      \
302         assert(paramList)
303
304 PERL_CALLCONV bool      Perl_cando(pTHX_ Mode_t mode, bool effective, const Stat_t* statbufp)
305                         __attribute__warn_unused_result__
306                         __attribute__nonnull__(pTHX_3);
307 #define PERL_ARGS_ASSERT_CANDO  \
308         assert(statbufp)
309
310 PERL_CALLCONV U32       Perl_cast_ulong(pTHX_ NV f)
311                         __attribute__warn_unused_result__;
312
313 PERL_CALLCONV I32       Perl_cast_i32(pTHX_ NV f)
314                         __attribute__warn_unused_result__;
315
316 PERL_CALLCONV IV        Perl_cast_iv(pTHX_ NV f)
317                         __attribute__warn_unused_result__;
318
319 PERL_CALLCONV UV        Perl_cast_uv(pTHX_ NV f)
320                         __attribute__warn_unused_result__;
321
322 #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
323 PERL_CALLCONV I32       Perl_my_chsize(pTHX_ int fd, Off_t length)
324                         __attribute__warn_unused_result__;
325
326 #endif
327 PERL_CALLCONV OP*       Perl_convert(pTHX_ I32 optype, I32 flags, OP* o)
328                         __attribute__warn_unused_result__;
329
330 PERL_CALLCONV PERL_CONTEXT*     Perl_create_eval_scope(pTHX_ U32 flags);
331 PERL_CALLCONV void      Perl_croak_sv(pTHX_ SV *baseex)
332                         __attribute__noreturn__
333                         __attribute__nonnull__(pTHX_1);
334 #define PERL_ARGS_ASSERT_CROAK_SV       \
335         assert(baseex)
336
337 PERL_CALLCONV void      Perl_croak(pTHX_ const char* pat, ...)
338                         __attribute__noreturn__
339                         __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
340
341 PERL_CALLCONV void      Perl_vcroak(pTHX_ const char* pat, va_list* args)
342                         __attribute__noreturn__;
343
344 PERL_CALLCONV void      Perl_croak_no_modify(pTHX)
345                         __attribute__noreturn__;
346
347 PERL_CALLCONV void      Perl_croak_xs_usage(pTHX_ const CV *const cv, const char *const params)
348                         __attribute__noreturn__
349                         __attribute__nonnull__(pTHX_1)
350                         __attribute__nonnull__(pTHX_2);
351 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE \
352         assert(cv); assert(params)
353
354
355 #if defined(PERL_IMPLICIT_CONTEXT)
356 PERL_CALLCONV void      Perl_croak_nocontext(const char* pat, ...)
357                         __attribute__noreturn__
358                         __attribute__format__null_ok__(__printf__,1,2);
359
360 PERL_CALLCONV OP*       Perl_die_nocontext(const char* pat, ...)
361                         __attribute__format__null_ok__(__printf__,1,2);
362
363 PERL_CALLCONV void      Perl_deb_nocontext(const char* pat, ...)
364                         __attribute__format__(__printf__,1,2)
365                         __attribute__nonnull__(1);
366 #define PERL_ARGS_ASSERT_DEB_NOCONTEXT  \
367         assert(pat)
368
369 PERL_CALLCONV char*     Perl_form_nocontext(const char* pat, ...)
370                         __attribute__format__(__printf__,1,2)
371                         __attribute__nonnull__(1);
372 #define PERL_ARGS_ASSERT_FORM_NOCONTEXT \
373         assert(pat)
374
375 PERL_CALLCONV void      Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...)
376                         __attribute__nonnull__(2);
377 #define PERL_ARGS_ASSERT_LOAD_MODULE_NOCONTEXT  \
378         assert(name)
379
380 PERL_CALLCONV SV*       Perl_mess_nocontext(const char* pat, ...)
381                         __attribute__format__(__printf__,1,2)
382                         __attribute__nonnull__(1);
383 #define PERL_ARGS_ASSERT_MESS_NOCONTEXT \
384         assert(pat)
385
386 PERL_CALLCONV void      Perl_warn_nocontext(const char* pat, ...)
387                         __attribute__format__(__printf__,1,2)
388                         __attribute__nonnull__(1);
389 #define PERL_ARGS_ASSERT_WARN_NOCONTEXT \
390         assert(pat)
391
392 PERL_CALLCONV void      Perl_warner_nocontext(U32 err, const char* pat, ...)
393                         __attribute__format__(__printf__,2,3)
394                         __attribute__nonnull__(2);
395 #define PERL_ARGS_ASSERT_WARNER_NOCONTEXT       \
396         assert(pat)
397
398 PERL_CALLCONV SV*       Perl_newSVpvf_nocontext(const char *const pat, ...)
399                         __attribute__format__(__printf__,1,2)
400                         __attribute__nonnull__(1);
401 #define PERL_ARGS_ASSERT_NEWSVPVF_NOCONTEXT     \
402         assert(pat)
403
404 PERL_CALLCONV void      Perl_sv_catpvf_nocontext(SV *const sv, const char *const pat, ...)
405                         __attribute__format__(__printf__,2,3)
406                         __attribute__nonnull__(1)
407                         __attribute__nonnull__(2);
408 #define PERL_ARGS_ASSERT_SV_CATPVF_NOCONTEXT    \
409         assert(sv); assert(pat)
410
411 PERL_CALLCONV void      Perl_sv_setpvf_nocontext(SV *const sv, const char *const pat, ...)
412                         __attribute__format__(__printf__,2,3)
413                         __attribute__nonnull__(1)
414                         __attribute__nonnull__(2);
415 #define PERL_ARGS_ASSERT_SV_SETPVF_NOCONTEXT    \
416         assert(sv); assert(pat)
417
418 PERL_CALLCONV void      Perl_sv_catpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
419                         __attribute__format__(__printf__,2,3)
420                         __attribute__nonnull__(1)
421                         __attribute__nonnull__(2);
422 #define PERL_ARGS_ASSERT_SV_CATPVF_MG_NOCONTEXT \
423         assert(sv); assert(pat)
424
425 PERL_CALLCONV void      Perl_sv_setpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
426                         __attribute__format__(__printf__,2,3)
427                         __attribute__nonnull__(1)
428                         __attribute__nonnull__(2);
429 #define PERL_ARGS_ASSERT_SV_SETPVF_MG_NOCONTEXT \
430         assert(sv); assert(pat)
431
432 PERL_CALLCONV int       Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...)
433                         __attribute__format__(__printf__,2,3)
434                         __attribute__nonnull__(1)
435                         __attribute__nonnull__(2);
436 #define PERL_ARGS_ASSERT_FPRINTF_NOCONTEXT      \
437         assert(stream); assert(format)
438
439 PERL_CALLCONV int       Perl_printf_nocontext(const char *format, ...)
440                         __attribute__format__(__printf__,1,2)
441                         __attribute__nonnull__(1);
442 #define PERL_ARGS_ASSERT_PRINTF_NOCONTEXT       \
443         assert(format)
444
445 #endif
446 PERL_CALLCONV void      Perl_cv_ckproto_len(pTHX_ const CV* cv, const GV* gv, const char* p, const STRLEN len)
447                         __attribute__nonnull__(pTHX_1);
448 #define PERL_ARGS_ASSERT_CV_CKPROTO_LEN \
449         assert(cv)
450
451 PERL_CALLCONV CV*       Perl_cv_clone(pTHX_ CV* proto)
452                         __attribute__nonnull__(pTHX_1);
453 #define PERL_ARGS_ASSERT_CV_CLONE       \
454         assert(proto)
455
456 PERL_CALLCONV SV*       Perl_gv_const_sv(pTHX_ GV* gv)
457                         __attribute__warn_unused_result__
458                         __attribute__nonnull__(pTHX_1);
459 #define PERL_ARGS_ASSERT_GV_CONST_SV    \
460         assert(gv)
461
462 PERL_CALLCONV SV*       Perl_cv_const_sv(pTHX_ const CV *const cv)
463                         __attribute__warn_unused_result__;
464
465 PERL_CALLCONV SV*       Perl_op_const_sv(pTHX_ const OP* o, CV* cv)
466                         __attribute__warn_unused_result__;
467
468 PERL_CALLCONV void      Perl_cv_undef(pTHX_ CV* cv)
469                         __attribute__nonnull__(pTHX_1);
470 #define PERL_ARGS_ASSERT_CV_UNDEF       \
471         assert(cv)
472
473 PERL_CALLCONV void      Perl_cx_dump(pTHX_ PERL_CONTEXT* cx)
474                         __attribute__nonnull__(pTHX_1);
475 #define PERL_ARGS_ASSERT_CX_DUMP        \
476         assert(cx)
477
478 PERL_CALLCONV SV*       Perl_filter_add(pTHX_ filter_t funcp, SV* datasv);
479 PERL_CALLCONV void      Perl_filter_del(pTHX_ filter_t funcp)
480                         __attribute__nonnull__(pTHX_1);
481 #define PERL_ARGS_ASSERT_FILTER_DEL     \
482         assert(funcp)
483
484 PERL_CALLCONV I32       Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen)
485                         __attribute__warn_unused_result__
486                         __attribute__nonnull__(pTHX_2);
487 #define PERL_ARGS_ASSERT_FILTER_READ    \
488         assert(buf_sv)
489
490 PERL_CALLCONV char**    Perl_get_op_descs(pTHX)
491                         __attribute__warn_unused_result__
492                         __attribute__pure__;
493
494 PERL_CALLCONV char**    Perl_get_op_names(pTHX)
495                         __attribute__warn_unused_result__
496                         __attribute__pure__;
497
498 PERL_CALLCONV const char*       Perl_get_no_modify(pTHX)
499                         __attribute__warn_unused_result__
500                         __attribute__pure__;
501
502 PERL_CALLCONV U32*      Perl_get_opargs(pTHX)
503                         __attribute__warn_unused_result__
504                         __attribute__pure__;
505
506 PERL_CALLCONV PPADDR_t* Perl_get_ppaddr(pTHX)
507                         __attribute__warn_unused_result__
508                         __attribute__pure__;
509
510 PERL_CALLCONV I32       Perl_cxinc(pTHX)
511                         __attribute__warn_unused_result__;
512
513 PERL_CALLCONV void      Perl_deb(pTHX_ const char* pat, ...)
514                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
515                         __attribute__nonnull__(pTHX_1);
516 #define PERL_ARGS_ASSERT_DEB    \
517         assert(pat)
518
519 PERL_CALLCONV void      Perl_vdeb(pTHX_ const char* pat, va_list* args)
520                         __attribute__nonnull__(pTHX_1);
521 #define PERL_ARGS_ASSERT_VDEB   \
522         assert(pat)
523
524 PERL_CALLCONV void      Perl_debprofdump(pTHX);
525 PERL_CALLCONV I32       Perl_debop(pTHX_ const OP* o)
526                         __attribute__nonnull__(pTHX_1);
527 #define PERL_ARGS_ASSERT_DEBOP  \
528         assert(o)
529
530 PERL_CALLCONV I32       Perl_debstack(pTHX);
531 PERL_CALLCONV I32       Perl_debstackptrs(pTHX);
532 PERL_CALLCONV char*     Perl_delimcpy(char* to, const char* toend, const char* from, const char* fromend, int delim, I32* retlen)
533                         __attribute__nonnull__(1)
534                         __attribute__nonnull__(2)
535                         __attribute__nonnull__(3)
536                         __attribute__nonnull__(4)
537                         __attribute__nonnull__(6);
538 #define PERL_ARGS_ASSERT_DELIMCPY       \
539         assert(to); assert(toend); assert(from); assert(fromend); assert(retlen)
540
541 PERL_CALLCONV void      Perl_delete_eval_scope(pTHX);
542 PERL_CALLCONV OP*       Perl_die_sv(pTHX_ SV *baseex)
543                         __attribute__nonnull__(pTHX_1);
544 #define PERL_ARGS_ASSERT_DIE_SV \
545         assert(baseex)
546
547 PERL_CALLCONV OP*       Perl_die(pTHX_ const char* pat, ...)
548                         __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
549
550 PERL_CALLCONV void      Perl_die_unwind(pTHX_ SV* msv)
551                         __attribute__noreturn__
552                         __attribute__nonnull__(pTHX_1);
553 #define PERL_ARGS_ASSERT_DIE_UNWIND     \
554         assert(msv)
555
556 PERL_CALLCONV void      Perl_dounwind(pTHX_ I32 cxix);
557 /* PERL_CALLCONV bool   Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp)
558                         __attribute__nonnull__(pTHX_2)
559                         __attribute__nonnull__(pTHX_3); */
560 #define PERL_ARGS_ASSERT_DO_AEXEC       \
561         assert(mark); assert(sp)
562
563 PERL_CALLCONV bool      Perl_do_aexec5(pTHX_ SV* really, SV** mark, SV** sp, int fd, int do_report)
564                         __attribute__nonnull__(pTHX_2)
565                         __attribute__nonnull__(pTHX_3);
566 #define PERL_ARGS_ASSERT_DO_AEXEC5      \
567         assert(mark); assert(sp)
568
569 PERL_CALLCONV int       Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int mode)
570                         __attribute__nonnull__(pTHX_1);
571 #define PERL_ARGS_ASSERT_DO_BINMODE     \
572         assert(fp)
573
574 PERL_CALLCONV void      Perl_do_chop(pTHX_ SV *astr, SV *sv)
575                         __attribute__nonnull__(pTHX_1)
576                         __attribute__nonnull__(pTHX_2);
577 #define PERL_ARGS_ASSERT_DO_CHOP        \
578         assert(astr); assert(sv)
579
580 PERL_CALLCONV bool      Perl_do_close(pTHX_ GV* gv, bool not_implicit);
581 PERL_CALLCONV bool      Perl_do_eof(pTHX_ GV* gv)
582                         __attribute__nonnull__(pTHX_1);
583 #define PERL_ARGS_ASSERT_DO_EOF \
584         assert(gv)
585
586
587 #ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION
588 /* PERL_CALLCONV bool   Perl_do_exec(pTHX_ const char* cmd)
589                         __attribute__nonnull__(pTHX_1); */
590 #define PERL_ARGS_ASSERT_DO_EXEC        \
591         assert(cmd)
592
593 #else
594 PERL_CALLCONV bool      Perl_do_exec(pTHX_ const char* cmd)
595                         __attribute__nonnull__(pTHX_1);
596 #define PERL_ARGS_ASSERT_DO_EXEC        \
597         assert(cmd)
598
599 #endif
600
601 #if defined(WIN32) || defined(__SYMBIAN32__) || defined(VMS)
602 PERL_CALLCONV int       Perl_do_aspawn(pTHX_ SV* really, SV** mark, SV** sp)
603                         __attribute__nonnull__(pTHX_2)
604                         __attribute__nonnull__(pTHX_3);
605 #define PERL_ARGS_ASSERT_DO_ASPAWN      \
606         assert(mark); assert(sp)
607
608 PERL_CALLCONV int       Perl_do_spawn(pTHX_ char* cmd)
609                         __attribute__nonnull__(pTHX_1);
610 #define PERL_ARGS_ASSERT_DO_SPAWN       \
611         assert(cmd)
612
613 PERL_CALLCONV int       Perl_do_spawn_nowait(pTHX_ char* cmd)
614                         __attribute__nonnull__(pTHX_1);
615 #define PERL_ARGS_ASSERT_DO_SPAWN_NOWAIT        \
616         assert(cmd)
617
618 #endif
619 #if !defined(WIN32)
620 PERL_CALLCONV bool      Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report)
621                         __attribute__nonnull__(pTHX_1);
622 #define PERL_ARGS_ASSERT_DO_EXEC3       \
623         assert(incmd)
624
625 #endif
626 PERL_CALLCONV void      Perl_do_execfree(pTHX);
627 #if defined(PERL_IN_DOIO_C)
628 STATIC void     S_exec_failed(pTHX_ const char *cmd, int fd, int do_report)
629                         __attribute__nonnull__(pTHX_1);
630 #define PERL_ARGS_ASSERT_EXEC_FAILED    \
631         assert(cmd)
632
633 #endif
634 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
635 PERL_CALLCONV I32       Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp)
636                         __attribute__nonnull__(pTHX_2)
637                         __attribute__nonnull__(pTHX_3);
638 #define PERL_ARGS_ASSERT_DO_IPCCTL      \
639         assert(mark); assert(sp)
640
641 PERL_CALLCONV I32       Perl_do_ipcget(pTHX_ I32 optype, SV** mark, SV** sp)
642                         __attribute__nonnull__(pTHX_2)
643                         __attribute__nonnull__(pTHX_3);
644 #define PERL_ARGS_ASSERT_DO_IPCGET      \
645         assert(mark); assert(sp)
646
647 PERL_CALLCONV I32       Perl_do_msgrcv(pTHX_ SV** mark, SV** sp)
648                         __attribute__nonnull__(pTHX_1)
649                         __attribute__nonnull__(pTHX_2);
650 #define PERL_ARGS_ASSERT_DO_MSGRCV      \
651         assert(mark); assert(sp)
652
653 PERL_CALLCONV I32       Perl_do_msgsnd(pTHX_ SV** mark, SV** sp)
654                         __attribute__nonnull__(pTHX_1)
655                         __attribute__nonnull__(pTHX_2);
656 #define PERL_ARGS_ASSERT_DO_MSGSND      \
657         assert(mark); assert(sp)
658
659 PERL_CALLCONV I32       Perl_do_semop(pTHX_ SV** mark, SV** sp)
660                         __attribute__nonnull__(pTHX_1)
661                         __attribute__nonnull__(pTHX_2);
662 #define PERL_ARGS_ASSERT_DO_SEMOP       \
663         assert(mark); assert(sp)
664
665 PERL_CALLCONV I32       Perl_do_shmio(pTHX_ I32 optype, SV** mark, SV** sp)
666                         __attribute__nonnull__(pTHX_2)
667                         __attribute__nonnull__(pTHX_3);
668 #define PERL_ARGS_ASSERT_DO_SHMIO       \
669         assert(mark); assert(sp)
670
671 #endif
672 PERL_CALLCONV void      Perl_do_join(pTHX_ SV *sv, SV *delim, SV **mark, SV **sp)
673                         __attribute__nonnull__(pTHX_1)
674                         __attribute__nonnull__(pTHX_2)
675                         __attribute__nonnull__(pTHX_3)
676                         __attribute__nonnull__(pTHX_4);
677 #define PERL_ARGS_ASSERT_DO_JOIN        \
678         assert(sv); assert(delim); assert(mark); assert(sp)
679
680 PERL_CALLCONV OP*       Perl_do_kv(pTHX);
681 /* PERL_CALLCONV bool   Perl_do_open(pTHX_ GV* gv, const char* name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp)
682                         __attribute__nonnull__(pTHX_1)
683                         __attribute__nonnull__(pTHX_2); */
684 #define PERL_ARGS_ASSERT_DO_OPEN        \
685         assert(gv); assert(name)
686
687 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)
688                         __attribute__nonnull__(pTHX_1)
689                         __attribute__nonnull__(pTHX_2)
690                         __attribute__nonnull__(pTHX_8);
691 #define PERL_ARGS_ASSERT_DO_OPEN9       \
692         assert(gv); assert(name); assert(svs)
693
694 PERL_CALLCONV bool      Perl_do_openn(pTHX_ GV *gv, const char *oname, I32 len, int as_raw, int rawmode, int rawperm, PerlIO *supplied_fp, SV **svp, I32 num)
695                         __attribute__nonnull__(pTHX_1)
696                         __attribute__nonnull__(pTHX_2);
697 #define PERL_ARGS_ASSERT_DO_OPENN       \
698         assert(gv); assert(oname)
699
700 PERL_CALLCONV bool      Perl_do_print(pTHX_ SV* sv, PerlIO* fp)
701                         __attribute__nonnull__(pTHX_2);
702 #define PERL_ARGS_ASSERT_DO_PRINT       \
703         assert(fp)
704
705 PERL_CALLCONV OP*       Perl_do_readline(pTHX)
706                         __attribute__warn_unused_result__;
707
708 PERL_CALLCONV I32       Perl_do_chomp(pTHX_ SV* sv)
709                         __attribute__nonnull__(pTHX_1);
710 #define PERL_ARGS_ASSERT_DO_CHOMP       \
711         assert(sv)
712
713 PERL_CALLCONV bool      Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence);
714 PERL_CALLCONV void      Perl_do_sprintf(pTHX_ SV* sv, I32 len, SV** sarg)
715                         __attribute__nonnull__(pTHX_1)
716                         __attribute__nonnull__(pTHX_3);
717 #define PERL_ARGS_ASSERT_DO_SPRINTF     \
718         assert(sv); assert(sarg)
719
720 PERL_CALLCONV Off_t     Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence)
721                         __attribute__nonnull__(pTHX_1);
722 #define PERL_ARGS_ASSERT_DO_SYSSEEK     \
723         assert(gv)
724
725 PERL_CALLCONV Off_t     Perl_do_tell(pTHX_ GV* gv)
726                         __attribute__warn_unused_result__
727                         __attribute__nonnull__(pTHX_1);
728 #define PERL_ARGS_ASSERT_DO_TELL        \
729         assert(gv)
730
731 PERL_CALLCONV I32       Perl_do_trans(pTHX_ SV* sv)
732                         __attribute__nonnull__(pTHX_1);
733 #define PERL_ARGS_ASSERT_DO_TRANS       \
734         assert(sv)
735
736 PERL_CALLCONV UV        Perl_do_vecget(pTHX_ SV* sv, I32 offset, I32 size)
737                         __attribute__nonnull__(pTHX_1);
738 #define PERL_ARGS_ASSERT_DO_VECGET      \
739         assert(sv)
740
741 PERL_CALLCONV void      Perl_do_vecset(pTHX_ SV* sv)
742                         __attribute__nonnull__(pTHX_1);
743 #define PERL_ARGS_ASSERT_DO_VECSET      \
744         assert(sv)
745
746 PERL_CALLCONV void      Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right)
747                         __attribute__nonnull__(pTHX_2)
748                         __attribute__nonnull__(pTHX_3)
749                         __attribute__nonnull__(pTHX_4);
750 #define PERL_ARGS_ASSERT_DO_VOP \
751         assert(sv); assert(left); assert(right)
752
753 PERL_CALLCONV OP*       Perl_dofile(pTHX_ OP* term, I32 force_builtin)
754                         __attribute__nonnull__(pTHX_1);
755 #define PERL_ARGS_ASSERT_DOFILE \
756         assert(term)
757
758 PERL_CALLCONV I32       Perl_dowantarray(pTHX)
759                         __attribute__warn_unused_result__;
760
761 PERL_CALLCONV void      Perl_dump_all(pTHX);
762 PERL_CALLCONV void      Perl_dump_all_perl(pTHX_ bool justperl);
763 PERL_CALLCONV void      Perl_dump_eval(pTHX);
764 #if defined(DUMP_FDS)
765 PERL_CALLCONV void      Perl_dump_fds(pTHX_ char* s)
766                         __attribute__nonnull__(pTHX_1);
767 #define PERL_ARGS_ASSERT_DUMP_FDS       \
768         assert(s)
769
770 #endif
771 PERL_CALLCONV void      Perl_dump_form(pTHX_ const GV* gv)
772                         __attribute__nonnull__(pTHX_1);
773 #define PERL_ARGS_ASSERT_DUMP_FORM      \
774         assert(gv)
775
776 PERL_CALLCONV void      Perl_gv_dump(pTHX_ GV* gv)
777                         __attribute__nonnull__(pTHX_1);
778 #define PERL_ARGS_ASSERT_GV_DUMP        \
779         assert(gv)
780
781 PERL_CALLCONV void      Perl_op_dump(pTHX_ const OP *o)
782                         __attribute__nonnull__(pTHX_1);
783 #define PERL_ARGS_ASSERT_OP_DUMP        \
784         assert(o)
785
786 PERL_CALLCONV void      Perl_pmop_dump(pTHX_ PMOP* pm);
787 PERL_CALLCONV void      Perl_dump_packsubs(pTHX_ const HV* stash)
788                         __attribute__nonnull__(pTHX_1);
789 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS  \
790         assert(stash)
791
792 PERL_CALLCONV void      Perl_dump_packsubs_perl(pTHX_ const HV* stash, bool justperl)
793                         __attribute__nonnull__(pTHX_1);
794 #define PERL_ARGS_ASSERT_DUMP_PACKSUBS_PERL     \
795         assert(stash)
796
797 PERL_CALLCONV void      Perl_dump_sub(pTHX_ const GV* gv)
798                         __attribute__nonnull__(pTHX_1);
799 #define PERL_ARGS_ASSERT_DUMP_SUB       \
800         assert(gv)
801
802 PERL_CALLCONV void      Perl_dump_sub_perl(pTHX_ const GV* gv, bool justperl)
803                         __attribute__nonnull__(pTHX_1);
804 #define PERL_ARGS_ASSERT_DUMP_SUB_PERL  \
805         assert(gv)
806
807 PERL_CALLCONV void      Perl_fbm_compile(pTHX_ SV* sv, U32 flags)
808                         __attribute__nonnull__(pTHX_1);
809 #define PERL_ARGS_ASSERT_FBM_COMPILE    \
810         assert(sv)
811
812 PERL_CALLCONV char*     Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlestr, U32 flags)
813                         __attribute__warn_unused_result__
814                         __attribute__nonnull__(pTHX_1)
815                         __attribute__nonnull__(pTHX_2)
816                         __attribute__nonnull__(pTHX_3);
817 #define PERL_ARGS_ASSERT_FBM_INSTR      \
818         assert(big); assert(bigend); assert(littlestr)
819
820 PERL_CALLCONV char*     Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char *const *const search_ext, I32 flags)
821                         __attribute__nonnull__(pTHX_1);
822 #define PERL_ARGS_ASSERT_FIND_SCRIPT    \
823         assert(scriptname)
824
825 #if defined(PERL_IN_OP_C)
826 STATIC OP*      S_force_list(pTHX_ OP* arg);
827 STATIC OP*      S_fold_constants(pTHX_ OP *o)
828                         __attribute__nonnull__(pTHX_1);
829 #define PERL_ARGS_ASSERT_FOLD_CONSTANTS \
830         assert(o)
831
832 #endif
833 PERL_CALLCONV char*     Perl_form(pTHX_ const char* pat, ...)
834                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
835                         __attribute__nonnull__(pTHX_1);
836 #define PERL_ARGS_ASSERT_FORM   \
837         assert(pat)
838
839 PERL_CALLCONV char*     Perl_vform(pTHX_ const char* pat, va_list* args)
840                         __attribute__nonnull__(pTHX_1);
841 #define PERL_ARGS_ASSERT_VFORM  \
842         assert(pat)
843
844 PERL_CALLCONV void      Perl_free_tmps(pTHX);
845 #if defined(PERL_IN_OP_C)
846 STATIC OP*      S_gen_constant_list(pTHX_ OP* o);
847 #endif
848 #if !defined(HAS_GETENV_LEN)
849 PERL_CALLCONV char*     Perl_getenv_len(pTHX_ const char *env_elem, unsigned long *len)
850                         __attribute__nonnull__(pTHX_1)
851                         __attribute__nonnull__(pTHX_2);
852 #define PERL_ARGS_ASSERT_GETENV_LEN     \
853         assert(env_elem); assert(len)
854
855 #endif
856 PERL_CALLCONV void      Perl_get_db_sub(pTHX_ SV **svp, CV *cv)
857                         __attribute__nonnull__(pTHX_2);
858 #define PERL_ARGS_ASSERT_GET_DB_SUB     \
859         assert(cv)
860
861 PERL_CALLCONV void      Perl_gp_free(pTHX_ GV* gv);
862 PERL_CALLCONV GP*       Perl_gp_ref(pTHX_ GP* gp);
863 PERL_CALLCONV GV*       Perl_gv_add_by_type(pTHX_ GV *gv, svtype type);
864 /* PERL_CALLCONV GV*    Perl_gv_AVadd(pTHX_ GV *gv); */
865 /* PERL_CALLCONV GV*    Perl_gv_HVadd(pTHX_ GV *gv); */
866 /* PERL_CALLCONV GV*    Perl_gv_IOadd(pTHX_ GV* gv); */
867 PERL_CALLCONV GV*       Perl_gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method)
868                         __attribute__warn_unused_result__
869                         __attribute__nonnull__(pTHX_2);
870 #define PERL_ARGS_ASSERT_GV_AUTOLOAD4   \
871         assert(name)
872
873 PERL_CALLCONV void      Perl_gv_check(pTHX_ const HV* stash)
874                         __attribute__nonnull__(pTHX_1);
875 #define PERL_ARGS_ASSERT_GV_CHECK       \
876         assert(stash)
877
878 PERL_CALLCONV void      Perl_gv_efullname(pTHX_ SV* sv, const GV* gv)
879                         __attribute__nonnull__(pTHX_1)
880                         __attribute__nonnull__(pTHX_2);
881 #define PERL_ARGS_ASSERT_GV_EFULLNAME   \
882         assert(sv); assert(gv)
883
884 /* PERL_CALLCONV void   Perl_gv_efullname3(pTHX_ SV* sv, const GV* gv, const char* prefix)
885                         __attribute__nonnull__(pTHX_1)
886                         __attribute__nonnull__(pTHX_2); */
887 #define PERL_ARGS_ASSERT_GV_EFULLNAME3  \
888         assert(sv); assert(gv)
889
890 PERL_CALLCONV void      Perl_gv_efullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain)
891                         __attribute__nonnull__(pTHX_1)
892                         __attribute__nonnull__(pTHX_2);
893 #define PERL_ARGS_ASSERT_GV_EFULLNAME4  \
894         assert(sv); assert(gv)
895
896 PERL_CALLCONV GV*       Perl_gv_fetchfile(pTHX_ const char* name)
897                         __attribute__nonnull__(pTHX_1);
898 #define PERL_ARGS_ASSERT_GV_FETCHFILE   \
899         assert(name)
900
901 PERL_CALLCONV GV*       Perl_gv_fetchfile_flags(pTHX_ const char *const name, const STRLEN len, const U32 flags)
902                         __attribute__nonnull__(pTHX_1);
903 #define PERL_ARGS_ASSERT_GV_FETCHFILE_FLAGS     \
904         assert(name)
905
906 PERL_CALLCONV GV*       Perl_gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level)
907                         __attribute__nonnull__(pTHX_2);
908 #define PERL_ARGS_ASSERT_GV_FETCHMETH   \
909         assert(name)
910
911 PERL_CALLCONV GV*       Perl_gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level)
912                         __attribute__nonnull__(pTHX_2);
913 #define PERL_ARGS_ASSERT_GV_FETCHMETH_AUTOLOAD  \
914         assert(name)
915
916 /* PERL_CALLCONV GV*    Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name)
917                         __attribute__nonnull__(pTHX_1)
918                         __attribute__nonnull__(pTHX_2); */
919 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD \
920         assert(stash); assert(name)
921
922 PERL_CALLCONV GV*       Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload)
923                         __attribute__nonnull__(pTHX_1)
924                         __attribute__nonnull__(pTHX_2);
925 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_AUTOLOAD        \
926         assert(stash); assert(name)
927
928 PERL_CALLCONV GV*       Perl_gv_fetchmethod_flags(pTHX_ HV* stash, const char* name, U32 flags)
929                         __attribute__nonnull__(pTHX_1)
930                         __attribute__nonnull__(pTHX_2);
931 #define PERL_ARGS_ASSERT_GV_FETCHMETHOD_FLAGS   \
932         assert(stash); assert(name)
933
934 PERL_CALLCONV GV*       Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 add, const svtype sv_type)
935                         __attribute__nonnull__(pTHX_1);
936 #define PERL_ARGS_ASSERT_GV_FETCHPV     \
937         assert(nambeg)
938
939 PERL_CALLCONV void      Perl_gv_fullname(pTHX_ SV* sv, const GV* gv)
940                         __attribute__nonnull__(pTHX_1)
941                         __attribute__nonnull__(pTHX_2);
942 #define PERL_ARGS_ASSERT_GV_FULLNAME    \
943         assert(sv); assert(gv)
944
945 /* PERL_CALLCONV void   Perl_gv_fullname3(pTHX_ SV* sv, const GV* gv, const char* prefix)
946                         __attribute__nonnull__(pTHX_1)
947                         __attribute__nonnull__(pTHX_2); */
948 #define PERL_ARGS_ASSERT_GV_FULLNAME3   \
949         assert(sv); assert(gv)
950
951 PERL_CALLCONV void      Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain)
952                         __attribute__nonnull__(pTHX_1)
953                         __attribute__nonnull__(pTHX_2);
954 #define PERL_ARGS_ASSERT_GV_FULLNAME4   \
955         assert(sv); assert(gv)
956
957 PERL_CALLCONV GP *      Perl_newGP(pTHX_ GV *const gv)
958                         __attribute__nonnull__(pTHX_1);
959 #define PERL_ARGS_ASSERT_NEWGP  \
960         assert(gv)
961
962 PERL_CALLCONV void      Perl_gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi)
963                         __attribute__nonnull__(pTHX_1)
964                         __attribute__nonnull__(pTHX_3);
965 #define PERL_ARGS_ASSERT_GV_INIT        \
966         assert(gv); assert(name)
967
968 PERL_CALLCONV void      Perl_gv_name_set(pTHX_ GV* gv, const char *name, U32 len, U32 flags)
969                         __attribute__nonnull__(pTHX_1)
970                         __attribute__nonnull__(pTHX_2);
971 #define PERL_ARGS_ASSERT_GV_NAME_SET    \
972         assert(gv); assert(name)
973
974 PERL_CALLCONV void      Perl_gv_try_downgrade(pTHX_ GV* gv)
975                         __attribute__nonnull__(pTHX_1);
976 #define PERL_ARGS_ASSERT_GV_TRY_DOWNGRADE       \
977         assert(gv)
978
979 PERL_CALLCONV HV*       Perl_gv_stashpv(pTHX_ const char* name, I32 flags)
980                         __attribute__nonnull__(pTHX_1);
981 #define PERL_ARGS_ASSERT_GV_STASHPV     \
982         assert(name)
983
984 PERL_CALLCONV HV*       Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 flags)
985                         __attribute__nonnull__(pTHX_1);
986 #define PERL_ARGS_ASSERT_GV_STASHPVN    \
987         assert(name)
988
989 PERL_CALLCONV HV*       Perl_gv_stashsv(pTHX_ SV* sv, I32 flags)
990                         __attribute__nonnull__(pTHX_1);
991 #define PERL_ARGS_ASSERT_GV_STASHSV     \
992         assert(sv)
993
994 PERL_CALLCONV void      Perl_hv_clear(pTHX_ HV *hv);
995 PERL_CALLCONV HV *      Perl_hv_copy_hints_hv(pTHX_ HV *const ohv);
996 PERL_CALLCONV void      Perl_hv_delayfree_ent(pTHX_ HV *hv, HE *entry)
997                         __attribute__nonnull__(pTHX_1);
998 #define PERL_ARGS_ASSERT_HV_DELAYFREE_ENT       \
999         assert(hv)
1000
1001 /* PERL_CALLCONV SV*    Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen, I32 flags)
1002                         __attribute__nonnull__(pTHX_2); */
1003 #define PERL_ARGS_ASSERT_HV_DELETE      \
1004         assert(key)
1005
1006 /* PERL_CALLCONV SV*    Perl_hv_delete_ent(pTHX_ HV *hv, SV *keysv, I32 flags, U32 hash)
1007                         __attribute__nonnull__(pTHX_2); */
1008 #define PERL_ARGS_ASSERT_HV_DELETE_ENT  \
1009         assert(keysv)
1010
1011 /* PERL_CALLCONV bool   Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen)
1012                         __attribute__warn_unused_result__
1013                         __attribute__nonnull__(pTHX_2); */
1014 #define PERL_ARGS_ASSERT_HV_EXISTS      \
1015         assert(key)
1016
1017 /* PERL_CALLCONV bool   Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash)
1018                         __attribute__warn_unused_result__
1019                         __attribute__nonnull__(pTHX_2); */
1020 #define PERL_ARGS_ASSERT_HV_EXISTS_ENT  \
1021         assert(keysv)
1022
1023 /* PERL_CALLCONV SV**   Perl_hv_fetch(pTHX_ HV *hv, const char *key, I32 klen, I32 lval)
1024                         __attribute__nonnull__(pTHX_2); */
1025 #define PERL_ARGS_ASSERT_HV_FETCH       \
1026         assert(key)
1027
1028 /* PERL_CALLCONV HE*    Perl_hv_fetch_ent(pTHX_ HV *hv, SV *keysv, I32 lval, U32 hash)
1029                         __attribute__nonnull__(pTHX_2); */
1030 #define PERL_ARGS_ASSERT_HV_FETCH_ENT   \
1031         assert(keysv)
1032
1033 PERL_CALLCONV void*     Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char* key, STRLEN klen, int flags, int action, SV *val, U32 hash);
1034 PERL_CALLCONV void*     Perl_hv_common_key_len(pTHX_ HV *hv, const char *key, I32 klen_i32, const int action, SV *val, const U32 hash)
1035                         __attribute__nonnull__(pTHX_2);
1036 #define PERL_ARGS_ASSERT_HV_COMMON_KEY_LEN      \
1037         assert(key)
1038
1039 PERL_CALLCONV STRLEN    Perl_hv_fill(pTHX_ HV const *const hv)
1040                         __attribute__nonnull__(pTHX_1);
1041 #define PERL_ARGS_ASSERT_HV_FILL        \
1042         assert(hv)
1043
1044 PERL_CALLCONV void      Perl_hv_free_ent(pTHX_ HV *hv, HE *entryK)
1045                         __attribute__nonnull__(pTHX_1);
1046 #define PERL_ARGS_ASSERT_HV_FREE_ENT    \
1047         assert(hv)
1048
1049 PERL_CALLCONV I32       Perl_hv_iterinit(pTHX_ HV *hv)
1050                         __attribute__nonnull__(pTHX_1);
1051 #define PERL_ARGS_ASSERT_HV_ITERINIT    \
1052         assert(hv)
1053
1054 PERL_CALLCONV char*     Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen)
1055                         __attribute__warn_unused_result__
1056                         __attribute__nonnull__(pTHX_1)
1057                         __attribute__nonnull__(pTHX_2);
1058 #define PERL_ARGS_ASSERT_HV_ITERKEY     \
1059         assert(entry); assert(retlen)
1060
1061 PERL_CALLCONV SV*       Perl_hv_iterkeysv(pTHX_ HE* entry)
1062                         __attribute__warn_unused_result__
1063                         __attribute__nonnull__(pTHX_1);
1064 #define PERL_ARGS_ASSERT_HV_ITERKEYSV   \
1065         assert(entry)
1066
1067 /* PERL_CALLCONV HE*    Perl_hv_iternext(pTHX_ HV *hv)
1068                         __attribute__warn_unused_result__
1069                         __attribute__nonnull__(pTHX_1); */
1070 #define PERL_ARGS_ASSERT_HV_ITERNEXT    \
1071         assert(hv)
1072
1073 PERL_CALLCONV SV*       Perl_hv_iternextsv(pTHX_ HV *hv, char **key, I32 *retlen)
1074                         __attribute__warn_unused_result__
1075                         __attribute__nonnull__(pTHX_1)
1076                         __attribute__nonnull__(pTHX_2)
1077                         __attribute__nonnull__(pTHX_3);
1078 #define PERL_ARGS_ASSERT_HV_ITERNEXTSV  \
1079         assert(hv); assert(key); assert(retlen)
1080
1081 PERL_CALLCONV HE*       Perl_hv_iternext_flags(pTHX_ HV *hv, I32 flags)
1082                         __attribute__warn_unused_result__
1083                         __attribute__nonnull__(pTHX_1);
1084 #define PERL_ARGS_ASSERT_HV_ITERNEXT_FLAGS      \
1085         assert(hv)
1086
1087 PERL_CALLCONV SV*       Perl_hv_iterval(pTHX_ HV *hv, HE *entry)
1088                         __attribute__warn_unused_result__
1089                         __attribute__nonnull__(pTHX_1)
1090                         __attribute__nonnull__(pTHX_2);
1091 #define PERL_ARGS_ASSERT_HV_ITERVAL     \
1092         assert(hv); assert(entry)
1093
1094 PERL_CALLCONV void      Perl_hv_ksplit(pTHX_ HV *hv, IV newmax)
1095                         __attribute__nonnull__(pTHX_1);
1096 #define PERL_ARGS_ASSERT_HV_KSPLIT      \
1097         assert(hv)
1098
1099 /* PERL_CALLCONV void   Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how)
1100                         __attribute__nonnull__(pTHX_1); */
1101 #define PERL_ARGS_ASSERT_HV_MAGIC       \
1102         assert(hv)
1103
1104 PERL_CALLCONV HV *      Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c);
1105 PERL_CALLCONV SV *      Perl_refcounted_he_fetch(pTHX_ const struct refcounted_he *chain, SV *keysv, const char *key, STRLEN klen, int flags, U32 hash);
1106 PERL_CALLCONV void      Perl_refcounted_he_free(pTHX_ struct refcounted_he *he);
1107 PERL_CALLCONV struct refcounted_he *    Perl_refcounted_he_new(pTHX_ struct refcounted_he *const parent, SV *const key, SV *const value);
1108 #if defined(PERL_IN_HV_C)
1109 STATIC struct refcounted_he *   S_refcounted_he_new_common(pTHX_ struct refcounted_he *const parent, const char *const key_p, const STRLEN key_len, const char flags, char value_type, const void *value, const STRLEN value_len)
1110                         __attribute__nonnull__(pTHX_2)
1111                         __attribute__nonnull__(pTHX_6);
1112 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_COMMON       \
1113         assert(key_p); assert(value)
1114
1115 #endif
1116 /* PERL_CALLCONV SV**   Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash); */
1117 /* PERL_CALLCONV HE*    Perl_hv_store_ent(pTHX_ HV *hv, SV *key, SV *val, U32 hash); */
1118 /* PERL_CALLCONV SV**   Perl_hv_store_flags(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash, int flags); */
1119 PERL_CALLCONV void      Perl_hv_undef(pTHX_ HV *hv);
1120 /* PERL_CALLCONV I32    ibcmp(pTHX_ const char* a, const char* b, I32 len)
1121                         __attribute__nonnull__(pTHX_1)
1122                         __attribute__nonnull__(pTHX_2); */
1123
1124 PERL_CALLCONV I32       Perl_foldEQ(const char* a, const char* b, I32 len)
1125                         __attribute__pure__
1126                         __attribute__nonnull__(1)
1127                         __attribute__nonnull__(2);
1128 #define PERL_ARGS_ASSERT_FOLDEQ \
1129         assert(a); assert(b)
1130
1131 /* PERL_CALLCONV I32    ibcmp_locale(pTHX_ const char* a, const char* b, I32 len)
1132                         __attribute__nonnull__(pTHX_1)
1133                         __attribute__nonnull__(pTHX_2); */
1134
1135 PERL_CALLCONV I32       Perl_foldEQ_locale(const char* a, const char* b, I32 len)
1136                         __attribute__pure__
1137                         __attribute__nonnull__(1)
1138                         __attribute__nonnull__(2);
1139 #define PERL_ARGS_ASSERT_FOLDEQ_LOCALE  \
1140         assert(a); assert(b)
1141
1142 /* PERL_CALLCONV I32    ibcmp_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2)
1143                         __attribute__nonnull__(pTHX_1)
1144                         __attribute__nonnull__(pTHX_5); */
1145
1146 PERL_CALLCONV I32       Perl_foldEQ_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2)
1147                         __attribute__nonnull__(pTHX_1)
1148                         __attribute__nonnull__(pTHX_5);
1149 #define PERL_ARGS_ASSERT_FOLDEQ_UTF8    \
1150         assert(s1); assert(s2)
1151
1152 #if defined(PERL_IN_DOIO_C)
1153 STATIC bool     S_ingroup(pTHX_ Gid_t testgid, bool effective)
1154                         __attribute__warn_unused_result__;
1155
1156 #endif
1157 PERL_CALLCONV void      Perl_init_argv_symbols(pTHX_ int argc, char **argv)
1158                         __attribute__nonnull__(pTHX_2);
1159 #define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS      \
1160         assert(argv)
1161
1162 PERL_CALLCONV void      Perl_init_debugger(pTHX);
1163 PERL_CALLCONV void      Perl_init_stacks(pTHX);
1164 PERL_CALLCONV void      Perl_init_tm(pTHX_ struct tm *ptm)
1165                         __attribute__nonnull__(pTHX_1);
1166 #define PERL_ARGS_ASSERT_INIT_TM        \
1167         assert(ptm)
1168
1169 PERL_CALLCONV U32       Perl_intro_my(pTHX);
1170 PERL_CALLCONV char*     Perl_instr(const char* big, const char* little)
1171                         __attribute__warn_unused_result__
1172                         __attribute__pure__
1173                         __attribute__nonnull__(1)
1174                         __attribute__nonnull__(2);
1175 #define PERL_ARGS_ASSERT_INSTR  \
1176         assert(big); assert(little)
1177
1178 PERL_CALLCONV bool      Perl_io_close(pTHX_ IO* io, bool not_implicit)
1179                         __attribute__nonnull__(pTHX_1);
1180 #define PERL_ARGS_ASSERT_IO_CLOSE       \
1181         assert(io)
1182
1183 PERL_CALLCONV OP*       Perl_invert(pTHX_ OP* cmd)
1184                         __attribute__warn_unused_result__;
1185
1186 PERL_CALLCONV I32       Perl_is_lvalue_sub(pTHX)
1187                         __attribute__warn_unused_result__;
1188
1189 PERL_CALLCONV U32       Perl_to_uni_upper_lc(pTHX_ U32 c)
1190                         __attribute__warn_unused_result__
1191                         __attribute__pure__;
1192
1193 PERL_CALLCONV U32       Perl_to_uni_title_lc(pTHX_ U32 c)
1194                         __attribute__warn_unused_result__
1195                         __attribute__pure__;
1196
1197 PERL_CALLCONV U32       Perl_to_uni_lower_lc(pTHX_ U32 c)
1198                         __attribute__warn_unused_result__
1199                         __attribute__pure__;
1200
1201 PERL_CALLCONV bool      Perl_is_uni_alnum(pTHX_ UV c)
1202                         __attribute__warn_unused_result__
1203                         __attribute__pure__;
1204
1205 PERL_CALLCONV bool      Perl_is_uni_idfirst(pTHX_ UV c)
1206                         __attribute__warn_unused_result__
1207                         __attribute__pure__;
1208
1209 PERL_CALLCONV bool      Perl_is_uni_alpha(pTHX_ UV c)
1210                         __attribute__warn_unused_result__
1211                         __attribute__pure__;
1212
1213 PERL_CALLCONV bool      Perl_is_uni_ascii(pTHX_ UV c)
1214                         __attribute__warn_unused_result__
1215                         __attribute__pure__;
1216
1217 PERL_CALLCONV bool      Perl_is_uni_space(pTHX_ UV c)
1218                         __attribute__warn_unused_result__
1219                         __attribute__pure__;
1220
1221 PERL_CALLCONV bool      Perl_is_uni_cntrl(pTHX_ UV c)
1222                         __attribute__warn_unused_result__
1223                         __attribute__pure__;
1224
1225 PERL_CALLCONV bool      Perl_is_uni_graph(pTHX_ UV c)
1226                         __attribute__warn_unused_result__
1227                         __attribute__pure__;
1228
1229 PERL_CALLCONV bool      Perl_is_uni_digit(pTHX_ UV c)
1230                         __attribute__warn_unused_result__
1231                         __attribute__pure__;
1232
1233 PERL_CALLCONV bool      Perl_is_uni_upper(pTHX_ UV c)
1234                         __attribute__warn_unused_result__
1235                         __attribute__pure__;
1236
1237 PERL_CALLCONV bool      Perl_is_uni_lower(pTHX_ UV c)
1238                         __attribute__warn_unused_result__
1239                         __attribute__pure__;
1240
1241 PERL_CALLCONV bool      Perl_is_uni_print(pTHX_ UV c)
1242                         __attribute__warn_unused_result__
1243                         __attribute__pure__;
1244
1245 PERL_CALLCONV bool      Perl_is_uni_punct(pTHX_ UV c)
1246                         __attribute__warn_unused_result__
1247                         __attribute__pure__;
1248
1249 PERL_CALLCONV bool      Perl_is_uni_xdigit(pTHX_ UV c)
1250                         __attribute__warn_unused_result__
1251                         __attribute__pure__;
1252
1253 PERL_CALLCONV UV        Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp)
1254                         __attribute__nonnull__(pTHX_2)
1255                         __attribute__nonnull__(pTHX_3);
1256 #define PERL_ARGS_ASSERT_TO_UNI_UPPER   \
1257         assert(p); assert(lenp)
1258
1259 PERL_CALLCONV UV        Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp)
1260                         __attribute__nonnull__(pTHX_2)
1261                         __attribute__nonnull__(pTHX_3);
1262 #define PERL_ARGS_ASSERT_TO_UNI_TITLE   \
1263         assert(p); assert(lenp)
1264
1265 PERL_CALLCONV UV        Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp)
1266                         __attribute__nonnull__(pTHX_2)
1267                         __attribute__nonnull__(pTHX_3);
1268 #define PERL_ARGS_ASSERT_TO_UNI_LOWER   \
1269         assert(p); assert(lenp)
1270
1271 PERL_CALLCONV UV        Perl_to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp)
1272                         __attribute__nonnull__(pTHX_2)
1273                         __attribute__nonnull__(pTHX_3);
1274 #define PERL_ARGS_ASSERT_TO_UNI_FOLD    \
1275         assert(p); assert(lenp)
1276
1277 PERL_CALLCONV bool      Perl_is_uni_alnum_lc(pTHX_ UV c)
1278                         __attribute__warn_unused_result__
1279                         __attribute__pure__;
1280
1281 PERL_CALLCONV bool      Perl_is_uni_idfirst_lc(pTHX_ UV c)
1282                         __attribute__warn_unused_result__
1283                         __attribute__pure__;
1284
1285 PERL_CALLCONV bool      Perl_is_uni_alpha_lc(pTHX_ UV c)
1286                         __attribute__warn_unused_result__
1287                         __attribute__pure__;
1288
1289 PERL_CALLCONV bool      Perl_is_uni_ascii_lc(pTHX_ UV c)
1290                         __attribute__warn_unused_result__
1291                         __attribute__pure__;
1292
1293 PERL_CALLCONV bool      Perl_is_uni_space_lc(pTHX_ UV c)
1294                         __attribute__warn_unused_result__
1295                         __attribute__pure__;
1296
1297 PERL_CALLCONV bool      Perl_is_uni_cntrl_lc(pTHX_ UV c)
1298                         __attribute__warn_unused_result__
1299                         __attribute__pure__;
1300
1301 PERL_CALLCONV bool      Perl_is_uni_graph_lc(pTHX_ UV c)
1302                         __attribute__warn_unused_result__
1303                         __attribute__pure__;
1304
1305 PERL_CALLCONV bool      Perl_is_uni_digit_lc(pTHX_ UV c)
1306                         __attribute__warn_unused_result__
1307                         __attribute__pure__;
1308
1309 PERL_CALLCONV bool      Perl_is_uni_upper_lc(pTHX_ UV c)
1310                         __attribute__warn_unused_result__
1311                         __attribute__pure__;
1312
1313 PERL_CALLCONV bool      Perl_is_uni_lower_lc(pTHX_ UV c)
1314                         __attribute__warn_unused_result__
1315                         __attribute__pure__;
1316
1317 PERL_CALLCONV bool      Perl_is_uni_print_lc(pTHX_ UV c)
1318                         __attribute__warn_unused_result__
1319                         __attribute__pure__;
1320
1321 PERL_CALLCONV bool      Perl_is_uni_punct_lc(pTHX_ UV c)
1322                         __attribute__warn_unused_result__
1323                         __attribute__pure__;
1324
1325 PERL_CALLCONV bool      Perl_is_uni_xdigit_lc(pTHX_ UV c)
1326                         __attribute__warn_unused_result__
1327                         __attribute__pure__;
1328
1329 PERL_CALLCONV bool      Perl_is_ascii_string(const U8 *s, STRLEN len)
1330                         __attribute__nonnull__(1);
1331 #define PERL_ARGS_ASSERT_IS_ASCII_STRING        \
1332         assert(s)
1333
1334 PERL_CALLCONV STRLEN    Perl_is_utf8_char(const U8 *s)
1335                         __attribute__nonnull__(1);
1336 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR   \
1337         assert(s)
1338
1339 PERL_CALLCONV bool      Perl_is_utf8_string(const U8 *s, STRLEN len)
1340                         __attribute__nonnull__(1);
1341 #define PERL_ARGS_ASSERT_IS_UTF8_STRING \
1342         assert(s)
1343
1344 /* PERL_CALLCONV bool   Perl_is_utf8_string_loc(const U8 *s, STRLEN len, const U8 **p)
1345                         __attribute__nonnull__(1); */
1346 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC     \
1347         assert(s)
1348
1349 PERL_CALLCONV bool      Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el)
1350                         __attribute__nonnull__(1);
1351 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN  \
1352         assert(s)
1353
1354 PERL_CALLCONV bool      Perl_is_utf8_alnum(pTHX_ const U8 *p)
1355                         __attribute__warn_unused_result__
1356                         __attribute__nonnull__(pTHX_1);
1357 #define PERL_ARGS_ASSERT_IS_UTF8_ALNUM  \
1358         assert(p)
1359
1360 PERL_CALLCONV bool      Perl_is_utf8_idfirst(pTHX_ const U8 *p)
1361                         __attribute__warn_unused_result__
1362                         __attribute__nonnull__(pTHX_1);
1363 #define PERL_ARGS_ASSERT_IS_UTF8_IDFIRST        \
1364         assert(p)
1365
1366 PERL_CALLCONV bool      Perl_is_utf8_idcont(pTHX_ const U8 *p)
1367                         __attribute__warn_unused_result__
1368                         __attribute__nonnull__(pTHX_1);
1369 #define PERL_ARGS_ASSERT_IS_UTF8_IDCONT \
1370         assert(p)
1371
1372 PERL_CALLCONV bool      Perl_is_utf8_alpha(pTHX_ const U8 *p)
1373                         __attribute__warn_unused_result__
1374                         __attribute__nonnull__(pTHX_1);
1375 #define PERL_ARGS_ASSERT_IS_UTF8_ALPHA  \
1376         assert(p)
1377
1378 PERL_CALLCONV bool      Perl_is_utf8_ascii(pTHX_ const U8 *p)
1379                         __attribute__warn_unused_result__
1380                         __attribute__nonnull__(pTHX_1);
1381 #define PERL_ARGS_ASSERT_IS_UTF8_ASCII  \
1382         assert(p)
1383
1384 PERL_CALLCONV bool      Perl_is_utf8_space(pTHX_ const U8 *p)
1385                         __attribute__warn_unused_result__
1386                         __attribute__nonnull__(pTHX_1);
1387 #define PERL_ARGS_ASSERT_IS_UTF8_SPACE  \
1388         assert(p)
1389
1390 PERL_CALLCONV bool      Perl_is_utf8_perl_space(pTHX_ const U8 *p)
1391                         __attribute__warn_unused_result__
1392                         __attribute__nonnull__(pTHX_1);
1393 #define PERL_ARGS_ASSERT_IS_UTF8_PERL_SPACE     \
1394         assert(p)
1395
1396 PERL_CALLCONV bool      Perl_is_utf8_perl_word(pTHX_ const U8 *p)
1397                         __attribute__warn_unused_result__
1398                         __attribute__nonnull__(pTHX_1);
1399 #define PERL_ARGS_ASSERT_IS_UTF8_PERL_WORD      \
1400         assert(p)
1401
1402 PERL_CALLCONV bool      Perl_is_utf8_cntrl(pTHX_ const U8 *p)
1403                         __attribute__warn_unused_result__
1404                         __attribute__nonnull__(pTHX_1);
1405 #define PERL_ARGS_ASSERT_IS_UTF8_CNTRL  \
1406         assert(p)
1407
1408 PERL_CALLCONV bool      Perl_is_utf8_digit(pTHX_ const U8 *p)
1409                         __attribute__warn_unused_result__
1410                         __attribute__nonnull__(pTHX_1);
1411 #define PERL_ARGS_ASSERT_IS_UTF8_DIGIT  \
1412         assert(p)
1413
1414 PERL_CALLCONV bool      Perl_is_utf8_posix_digit(pTHX_ const U8 *p)
1415                         __attribute__warn_unused_result__
1416                         __attribute__nonnull__(pTHX_1);
1417 #define PERL_ARGS_ASSERT_IS_UTF8_POSIX_DIGIT    \
1418         assert(p)
1419
1420 PERL_CALLCONV bool      Perl_is_utf8_graph(pTHX_ const U8 *p)
1421                         __attribute__warn_unused_result__
1422                         __attribute__nonnull__(pTHX_1);
1423 #define PERL_ARGS_ASSERT_IS_UTF8_GRAPH  \
1424         assert(p)
1425
1426 PERL_CALLCONV bool      Perl_is_utf8_upper(pTHX_ const U8 *p)
1427                         __attribute__warn_unused_result__
1428                         __attribute__nonnull__(pTHX_1);
1429 #define PERL_ARGS_ASSERT_IS_UTF8_UPPER  \
1430         assert(p)
1431
1432 PERL_CALLCONV bool      Perl_is_utf8_lower(pTHX_ const U8 *p)
1433                         __attribute__warn_unused_result__
1434                         __attribute__nonnull__(pTHX_1);
1435 #define PERL_ARGS_ASSERT_IS_UTF8_LOWER  \
1436         assert(p)
1437
1438 PERL_CALLCONV bool      Perl_is_utf8_print(pTHX_ const U8 *p)
1439                         __attribute__warn_unused_result__
1440                         __attribute__nonnull__(pTHX_1);
1441 #define PERL_ARGS_ASSERT_IS_UTF8_PRINT  \
1442         assert(p)
1443
1444 PERL_CALLCONV bool      Perl_is_utf8_punct(pTHX_ const U8 *p)
1445                         __attribute__warn_unused_result__
1446                         __attribute__nonnull__(pTHX_1);
1447 #define PERL_ARGS_ASSERT_IS_UTF8_PUNCT  \
1448         assert(p)
1449
1450 PERL_CALLCONV bool      Perl_is_utf8_xdigit(pTHX_ const U8 *p)
1451                         __attribute__warn_unused_result__
1452                         __attribute__nonnull__(pTHX_1);
1453 #define PERL_ARGS_ASSERT_IS_UTF8_XDIGIT \
1454         assert(p)
1455
1456 PERL_CALLCONV bool      Perl_is_utf8_mark(pTHX_ const U8 *p)
1457                         __attribute__warn_unused_result__
1458                         __attribute__nonnull__(pTHX_1);
1459 #define PERL_ARGS_ASSERT_IS_UTF8_MARK   \
1460         assert(p)
1461
1462 PERL_CALLCONV bool      Perl_is_utf8_X_begin(pTHX_ const U8 *p)
1463                         __attribute__warn_unused_result__
1464                         __attribute__nonnull__(pTHX_1);
1465 #define PERL_ARGS_ASSERT_IS_UTF8_X_BEGIN        \
1466         assert(p)
1467
1468 PERL_CALLCONV bool      Perl_is_utf8_X_extend(pTHX_ const U8 *p)
1469                         __attribute__warn_unused_result__
1470                         __attribute__nonnull__(pTHX_1);
1471 #define PERL_ARGS_ASSERT_IS_UTF8_X_EXTEND       \
1472         assert(p)
1473
1474 PERL_CALLCONV bool      Perl_is_utf8_X_prepend(pTHX_ const U8 *p)
1475                         __attribute__warn_unused_result__
1476                         __attribute__nonnull__(pTHX_1);
1477 #define PERL_ARGS_ASSERT_IS_UTF8_X_PREPEND      \
1478         assert(p)
1479
1480 PERL_CALLCONV bool      Perl_is_utf8_X_non_hangul(pTHX_ const U8 *p)
1481                         __attribute__warn_unused_result__
1482                         __attribute__nonnull__(pTHX_1);
1483 #define PERL_ARGS_ASSERT_IS_UTF8_X_NON_HANGUL   \
1484         assert(p)
1485
1486 PERL_CALLCONV bool      Perl_is_utf8_X_L(pTHX_ const U8 *p)
1487                         __attribute__warn_unused_result__
1488                         __attribute__nonnull__(pTHX_1);
1489 #define PERL_ARGS_ASSERT_IS_UTF8_X_L    \
1490         assert(p)
1491
1492 PERL_CALLCONV bool      Perl_is_utf8_X_LV(pTHX_ const U8 *p)
1493                         __attribute__warn_unused_result__
1494                         __attribute__nonnull__(pTHX_1);
1495 #define PERL_ARGS_ASSERT_IS_UTF8_X_LV   \
1496         assert(p)
1497
1498 PERL_CALLCONV bool      Perl_is_utf8_X_LVT(pTHX_ const U8 *p)
1499                         __attribute__warn_unused_result__
1500                         __attribute__nonnull__(pTHX_1);
1501 #define PERL_ARGS_ASSERT_IS_UTF8_X_LVT  \
1502         assert(p)
1503
1504 PERL_CALLCONV bool      Perl_is_utf8_X_LV_LVT_V(pTHX_ const U8 *p)
1505                         __attribute__warn_unused_result__
1506                         __attribute__nonnull__(pTHX_1);
1507 #define PERL_ARGS_ASSERT_IS_UTF8_X_LV_LVT_V     \
1508         assert(p)
1509
1510 PERL_CALLCONV bool      Perl_is_utf8_X_T(pTHX_ const U8 *p)
1511                         __attribute__warn_unused_result__
1512                         __attribute__nonnull__(pTHX_1);
1513 #define PERL_ARGS_ASSERT_IS_UTF8_X_T    \
1514         assert(p)
1515
1516 PERL_CALLCONV bool      Perl_is_utf8_X_V(pTHX_ const U8 *p)
1517                         __attribute__warn_unused_result__
1518                         __attribute__nonnull__(pTHX_1);
1519 #define PERL_ARGS_ASSERT_IS_UTF8_X_V    \
1520         assert(p)
1521
1522 PERL_CALLCONV OP*       Perl_jmaybe(pTHX_ OP *o)
1523                         __attribute__nonnull__(pTHX_1);
1524 #define PERL_ARGS_ASSERT_JMAYBE \
1525         assert(o)
1526
1527 PERL_CALLCONV I32       Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
1528                         __attribute__pure__
1529                         __attribute__nonnull__(pTHX_1);
1530 #define PERL_ARGS_ASSERT_KEYWORD        \
1531         assert(name)
1532
1533 #if defined(PERL_IN_OP_C)
1534 STATIC OP*      S_opt_scalarhv(pTHX_ OP* rep_op)
1535                         __attribute__nonnull__(pTHX_1);
1536 #define PERL_ARGS_ASSERT_OPT_SCALARHV   \
1537         assert(rep_op)
1538
1539 STATIC OP*      S_is_inplace_av(pTHX_ OP* o, OP* oright)
1540                         __attribute__nonnull__(pTHX_1);
1541 #define PERL_ARGS_ASSERT_IS_INPLACE_AV  \
1542         assert(o)
1543
1544 #endif
1545 PERL_CALLCONV void      Perl_leave_scope(pTHX_ I32 base);
1546 PERL_CALLCONV void      Perl_lex_end(pTHX);
1547 PERL_CALLCONV void      Perl_lex_start(pTHX_ SV* line, PerlIO *rsfp, bool new_filter);
1548 PERL_CALLCONV bool      Perl_lex_bufutf8(pTHX);
1549 PERL_CALLCONV char*     Perl_lex_grow_linestr(pTHX_ STRLEN len);
1550 PERL_CALLCONV void      Perl_lex_stuff_pvn(pTHX_ const char* pv, STRLEN len, U32 flags)
1551                         __attribute__nonnull__(pTHX_1);
1552 #define PERL_ARGS_ASSERT_LEX_STUFF_PVN  \
1553         assert(pv)
1554
1555 PERL_CALLCONV void      Perl_lex_stuff_sv(pTHX_ SV* sv, U32 flags)
1556                         __attribute__nonnull__(pTHX_1);
1557 #define PERL_ARGS_ASSERT_LEX_STUFF_SV   \
1558         assert(sv)
1559
1560 PERL_CALLCONV void      Perl_lex_unstuff(pTHX_ char* ptr)
1561                         __attribute__nonnull__(pTHX_1);
1562 #define PERL_ARGS_ASSERT_LEX_UNSTUFF    \
1563         assert(ptr)
1564
1565 PERL_CALLCONV void      Perl_lex_read_to(pTHX_ char* ptr)
1566                         __attribute__nonnull__(pTHX_1);
1567 #define PERL_ARGS_ASSERT_LEX_READ_TO    \
1568         assert(ptr)
1569
1570 PERL_CALLCONV void      Perl_lex_discard_to(pTHX_ char* ptr)
1571                         __attribute__nonnull__(pTHX_1);
1572 #define PERL_ARGS_ASSERT_LEX_DISCARD_TO \
1573         assert(ptr)
1574
1575 PERL_CALLCONV bool      Perl_lex_next_chunk(pTHX_ U32 flags);
1576 PERL_CALLCONV I32       Perl_lex_peek_unichar(pTHX_ U32 flags);
1577 PERL_CALLCONV I32       Perl_lex_read_unichar(pTHX_ U32 flags);
1578 PERL_CALLCONV void      Perl_lex_read_space(pTHX_ U32 flags);
1579 PERL_CALLCONV void      Perl_op_null(pTHX_ OP* o)
1580                         __attribute__nonnull__(pTHX_1);
1581 #define PERL_ARGS_ASSERT_OP_NULL        \
1582         assert(o)
1583
1584 PERL_CALLCONV void      Perl_op_clear(pTHX_ OP* o)
1585                         __attribute__nonnull__(pTHX_1);
1586 #define PERL_ARGS_ASSERT_OP_CLEAR       \
1587         assert(o)
1588
1589 PERL_CALLCONV void      Perl_op_refcnt_lock(pTHX);
1590 PERL_CALLCONV void      Perl_op_refcnt_unlock(pTHX);
1591 #if defined(PERL_IN_OP_C)
1592 STATIC OP*      S_linklist(pTHX_ OP *o)
1593                         __attribute__nonnull__(pTHX_1);
1594 #define PERL_ARGS_ASSERT_LINKLIST       \
1595         assert(o)
1596
1597 STATIC OP*      S_listkids(pTHX_ OP* o);
1598 #endif
1599 PERL_CALLCONV OP*       Perl_list(pTHX_ OP* o);
1600 PERL_CALLCONV void      Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...)
1601                         __attribute__nonnull__(pTHX_2);
1602 #define PERL_ARGS_ASSERT_LOAD_MODULE    \
1603         assert(name)
1604
1605 PERL_CALLCONV void      Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args)
1606                         __attribute__nonnull__(pTHX_2);
1607 #define PERL_ARGS_ASSERT_VLOAD_MODULE   \
1608         assert(name)
1609
1610 PERL_CALLCONV OP*       Perl_localize(pTHX_ OP *o, I32 lex)
1611                         __attribute__nonnull__(pTHX_1);
1612 #define PERL_ARGS_ASSERT_LOCALIZE       \
1613         assert(o)
1614
1615 PERL_CALLCONV I32       Perl_looks_like_number(pTHX_ SV *const sv)
1616                         __attribute__warn_unused_result__
1617                         __attribute__nonnull__(pTHX_1);
1618 #define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER      \
1619         assert(sv)
1620
1621 PERL_CALLCONV UV        Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
1622                         __attribute__nonnull__(pTHX_1)
1623                         __attribute__nonnull__(pTHX_2)
1624                         __attribute__nonnull__(pTHX_3);
1625 #define PERL_ARGS_ASSERT_GROK_BIN       \
1626         assert(start); assert(len_p); assert(flags)
1627
1628 PERL_CALLCONV char      Perl_grok_bslash_c(pTHX_ const char source, const bool output_warning)
1629                         __attribute__warn_unused_result__;
1630
1631 PERL_CALLCONV UV        Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
1632                         __attribute__nonnull__(pTHX_1)
1633                         __attribute__nonnull__(pTHX_2)
1634                         __attribute__nonnull__(pTHX_3);
1635 #define PERL_ARGS_ASSERT_GROK_HEX       \
1636         assert(start); assert(len_p); assert(flags)
1637
1638 PERL_CALLCONV int       Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep)
1639                         __attribute__nonnull__(pTHX_1);
1640 #define PERL_ARGS_ASSERT_GROK_NUMBER    \
1641         assert(pv)
1642
1643 PERL_CALLCONV bool      Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send)
1644                         __attribute__warn_unused_result__
1645                         __attribute__nonnull__(pTHX_1)
1646                         __attribute__nonnull__(pTHX_2);
1647 #define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX     \
1648         assert(sp); assert(send)
1649
1650 PERL_CALLCONV UV        Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
1651                         __attribute__nonnull__(pTHX_1)
1652                         __attribute__nonnull__(pTHX_2)
1653                         __attribute__nonnull__(pTHX_3);
1654 #define PERL_ARGS_ASSERT_GROK_OCT       \
1655         assert(start); assert(len_p); assert(flags)
1656
1657 PERL_CALLCONV int       Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg)
1658                         __attribute__nonnull__(pTHX_1)
1659                         __attribute__nonnull__(pTHX_2);
1660 #define PERL_ARGS_ASSERT_MAGIC_CLEARENV \
1661         assert(sv); assert(mg)
1662
1663 PERL_CALLCONV int       Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg)
1664                         __attribute__nonnull__(pTHX_1)
1665                         __attribute__nonnull__(pTHX_2);
1666 #define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV    \
1667         assert(sv); assert(mg)
1668
1669 PERL_CALLCONV int       Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg)
1670                         __attribute__nonnull__(pTHX_1)
1671                         __attribute__nonnull__(pTHX_2);
1672 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINT        \
1673         assert(sv); assert(mg)
1674
1675 PERL_CALLCONV int       Perl_magic_clearhints(pTHX_ SV* sv, MAGIC* mg)
1676                         __attribute__nonnull__(pTHX_1)
1677                         __attribute__nonnull__(pTHX_2);
1678 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS       \
1679         assert(sv); assert(mg)
1680
1681 PERL_CALLCONV int       Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg)
1682                         __attribute__nonnull__(pTHX_2);
1683 #define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
1684         assert(mg)
1685
1686 PERL_CALLCONV int       Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg)
1687                         __attribute__nonnull__(pTHX_1)
1688                         __attribute__nonnull__(pTHX_2);
1689 #define PERL_ARGS_ASSERT_MAGIC_CLEARPACK        \
1690         assert(sv); assert(mg)
1691
1692 PERL_CALLCONV int       Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg)
1693                         __attribute__nonnull__(pTHX_1)
1694                         __attribute__nonnull__(pTHX_2);
1695 #define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \
1696         assert(sv); assert(mg)
1697
1698 PERL_CALLCONV int       Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg)
1699                         __attribute__nonnull__(pTHX_1)
1700                         __attribute__nonnull__(pTHX_2);
1701 #define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK       \
1702         assert(sv); assert(mg)
1703
1704 PERL_CALLCONV int       Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg)
1705                         __attribute__nonnull__(pTHX_1)
1706                         __attribute__nonnull__(pTHX_2);
1707 #define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD        \
1708         assert(sv); assert(mg)
1709
1710 PERL_CALLCONV int       Perl_magic_get(pTHX_ SV* sv, MAGIC* mg)
1711                         __attribute__nonnull__(pTHX_1)
1712                         __attribute__nonnull__(pTHX_2);
1713 #define PERL_ARGS_ASSERT_MAGIC_GET      \
1714         assert(sv); assert(mg)
1715
1716 PERL_CALLCONV int       Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg)
1717                         __attribute__nonnull__(pTHX_1)
1718                         __attribute__nonnull__(pTHX_2);
1719 #define PERL_ARGS_ASSERT_MAGIC_GETARYLEN        \
1720         assert(sv); assert(mg)
1721
1722 PERL_CALLCONV int       Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg)
1723                         __attribute__nonnull__(pTHX_1)
1724                         __attribute__nonnull__(pTHX_2);
1725 #define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM       \
1726         assert(sv); assert(mg)
1727
1728 PERL_CALLCONV int       Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg)
1729                         __attribute__nonnull__(pTHX_1)
1730                         __attribute__nonnull__(pTHX_2);
1731 #define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \
1732         assert(sv); assert(mg)
1733
1734 PERL_CALLCONV int       Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg)
1735                         __attribute__nonnull__(pTHX_1)
1736                         __attribute__nonnull__(pTHX_2);
1737 #define PERL_ARGS_ASSERT_MAGIC_GETPACK  \
1738         assert(sv); assert(mg)
1739
1740 PERL_CALLCONV int       Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg)
1741                         __attribute__nonnull__(pTHX_1)
1742                         __attribute__nonnull__(pTHX_2);
1743 #define PERL_ARGS_ASSERT_MAGIC_GETPOS   \
1744         assert(sv); assert(mg)
1745
1746 PERL_CALLCONV int       Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg)
1747                         __attribute__nonnull__(pTHX_1)
1748                         __attribute__nonnull__(pTHX_2);
1749 #define PERL_ARGS_ASSERT_MAGIC_GETSIG   \
1750         assert(sv); assert(mg)
1751
1752 PERL_CALLCONV int       Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg)
1753                         __attribute__nonnull__(pTHX_1)
1754                         __attribute__nonnull__(pTHX_2);
1755 #define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR        \
1756         assert(sv); assert(mg)
1757
1758 PERL_CALLCONV int       Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg)
1759                         __attribute__nonnull__(pTHX_1)
1760                         __attribute__nonnull__(pTHX_2);
1761 #define PERL_ARGS_ASSERT_MAGIC_GETTAINT \
1762         assert(sv); assert(mg)
1763
1764 PERL_CALLCONV int       Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg)
1765                         __attribute__nonnull__(pTHX_1)
1766                         __attribute__nonnull__(pTHX_2);
1767 #define PERL_ARGS_ASSERT_MAGIC_GETUVAR  \
1768         assert(sv); assert(mg)
1769
1770 PERL_CALLCONV int       Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg)
1771                         __attribute__nonnull__(pTHX_1)
1772                         __attribute__nonnull__(pTHX_2);
1773 #define PERL_ARGS_ASSERT_MAGIC_GETVEC   \
1774         assert(sv); assert(mg)
1775
1776 PERL_CALLCONV U32       Perl_magic_len(pTHX_ SV* sv, MAGIC* mg)
1777                         __attribute__nonnull__(pTHX_1)
1778                         __attribute__nonnull__(pTHX_2);
1779 #define PERL_ARGS_ASSERT_MAGIC_LEN      \
1780         assert(sv); assert(mg)
1781
1782 PERL_CALLCONV int       Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key)
1783                         __attribute__nonnull__(pTHX_1)
1784                         __attribute__nonnull__(pTHX_2)
1785                         __attribute__nonnull__(pTHX_3);
1786 #define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \
1787         assert(sv); assert(mg); assert(key)
1788
1789 PERL_CALLCONV U32       Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg)
1790                         __attribute__nonnull__(pTHX_1)
1791                         __attribute__nonnull__(pTHX_2);
1792 #define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT      \
1793         assert(sv); assert(mg)
1794
1795 PERL_CALLCONV int       Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg)
1796                         __attribute__nonnull__(pTHX_1)
1797                         __attribute__nonnull__(pTHX_2);
1798 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET     \
1799         assert(sv); assert(mg)
1800
1801 PERL_CALLCONV int       Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
1802                         __attribute__noreturn__
1803                         __attribute__nonnull__(pTHX_1)
1804                         __attribute__nonnull__(pTHX_2);
1805 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET     \
1806         assert(sv); assert(mg)
1807
1808 PERL_CALLCONV int       Perl_magic_set(pTHX_ SV* sv, MAGIC* mg)
1809                         __attribute__nonnull__(pTHX_1)
1810                         __attribute__nonnull__(pTHX_2);
1811 #define PERL_ARGS_ASSERT_MAGIC_SET      \
1812         assert(sv); assert(mg)
1813
1814 PERL_CALLCONV int       Perl_magic_setamagic(pTHX_ SV* sv, MAGIC* mg)
1815                         __attribute__nonnull__(pTHX_1)
1816                         __attribute__nonnull__(pTHX_2);
1817 #define PERL_ARGS_ASSERT_MAGIC_SETAMAGIC        \
1818         assert(sv); assert(mg)
1819
1820 PERL_CALLCONV int       Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg)
1821                         __attribute__nonnull__(pTHX_1)
1822                         __attribute__nonnull__(pTHX_2);
1823 #define PERL_ARGS_ASSERT_MAGIC_SETARYLEN        \
1824         assert(sv); assert(mg)
1825
1826 PERL_CALLCONV int       Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg)
1827                         __attribute__nonnull__(pTHX_1)
1828                         __attribute__nonnull__(pTHX_2);
1829 #define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P     \
1830         assert(sv); assert(mg)
1831
1832 PERL_CALLCONV int       Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg)
1833                         __attribute__nonnull__(pTHX_1)
1834                         __attribute__nonnull__(pTHX_2);
1835 #define PERL_ARGS_ASSERT_MAGIC_SETDBLINE        \
1836         assert(sv); assert(mg)
1837
1838 PERL_CALLCONV int       Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg)
1839                         __attribute__nonnull__(pTHX_1)
1840                         __attribute__nonnull__(pTHX_2);
1841 #define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM       \
1842         assert(sv); assert(mg)
1843
1844 PERL_CALLCONV int       Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg)
1845                         __attribute__nonnull__(pTHX_1)
1846                         __attribute__nonnull__(pTHX_2);
1847 #define PERL_ARGS_ASSERT_MAGIC_SETENV   \
1848         assert(sv); assert(mg)
1849
1850 PERL_CALLCONV int       Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg)
1851                         __attribute__nonnull__(pTHX_1)
1852                         __attribute__nonnull__(pTHX_2);
1853 #define PERL_ARGS_ASSERT_MAGIC_SETHINT  \
1854         assert(sv); assert(mg)
1855
1856 PERL_CALLCONV int       Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg)
1857                         __attribute__nonnull__(pTHX_1)
1858                         __attribute__nonnull__(pTHX_2);
1859 #define PERL_ARGS_ASSERT_MAGIC_SETISA   \
1860         assert(sv); assert(mg)
1861
1862 PERL_CALLCONV int       Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg)
1863                         __attribute__nonnull__(pTHX_1)
1864                         __attribute__nonnull__(pTHX_2);
1865 #define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \
1866         assert(sv); assert(mg)
1867
1868 PERL_CALLCONV int       Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg)
1869                         __attribute__nonnull__(pTHX_1)
1870                         __attribute__nonnull__(pTHX_2);
1871 #define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \
1872         assert(sv); assert(mg)
1873
1874 PERL_CALLCONV int       Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg)
1875                         __attribute__nonnull__(pTHX_1)
1876                         __attribute__nonnull__(pTHX_2);
1877 #define PERL_ARGS_ASSERT_MAGIC_SETPACK  \
1878         assert(sv); assert(mg)
1879
1880 PERL_CALLCONV int       Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg)
1881                         __attribute__nonnull__(pTHX_1)
1882                         __attribute__nonnull__(pTHX_2);
1883 #define PERL_ARGS_ASSERT_MAGIC_SETPOS   \
1884         assert(sv); assert(mg)
1885
1886 PERL_CALLCONV int       Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg)
1887                         __attribute__nonnull__(pTHX_1)
1888                         __attribute__nonnull__(pTHX_2);
1889 #define PERL_ARGS_ASSERT_MAGIC_SETREGEXP        \
1890         assert(sv); assert(mg)
1891
1892 PERL_CALLCONV int       Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg)
1893                         __attribute__nonnull__(pTHX_2);
1894 #define PERL_ARGS_ASSERT_MAGIC_SETSIG   \
1895         assert(mg)
1896
1897 PERL_CALLCONV int       Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg)
1898                         __attribute__nonnull__(pTHX_1)
1899                         __attribute__nonnull__(pTHX_2);
1900 #define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR        \
1901         assert(sv); assert(mg)
1902
1903 PERL_CALLCONV int       Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg)
1904                         __attribute__nonnull__(pTHX_1)
1905                         __attribute__nonnull__(pTHX_2);
1906 #define PERL_ARGS_ASSERT_MAGIC_SETTAINT \
1907         assert(sv); assert(mg)
1908
1909 PERL_CALLCONV int       Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg)
1910                         __attribute__nonnull__(pTHX_1)
1911                         __attribute__nonnull__(pTHX_2);
1912 #define PERL_ARGS_ASSERT_MAGIC_SETUVAR  \
1913         assert(sv); assert(mg)
1914
1915 PERL_CALLCONV int       Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg)
1916                         __attribute__nonnull__(pTHX_1)
1917                         __attribute__nonnull__(pTHX_2);
1918 #define PERL_ARGS_ASSERT_MAGIC_SETVEC   \
1919         assert(sv); assert(mg)
1920
1921 PERL_CALLCONV int       Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg)
1922                         __attribute__nonnull__(pTHX_1)
1923                         __attribute__nonnull__(pTHX_2);
1924 #define PERL_ARGS_ASSERT_MAGIC_SETUTF8  \
1925         assert(sv); assert(mg)
1926
1927 PERL_CALLCONV int       Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg)
1928                         __attribute__nonnull__(pTHX_1)
1929                         __attribute__nonnull__(pTHX_2);
1930 #define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV      \
1931         assert(sv); assert(mg)
1932
1933 PERL_CALLCONV U32       Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg)
1934                         __attribute__nonnull__(pTHX_1)
1935                         __attribute__nonnull__(pTHX_2);
1936 #define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \
1937         assert(sv); assert(mg)
1938
1939 PERL_CALLCONV int       Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg)
1940                         __attribute__nonnull__(pTHX_1)
1941                         __attribute__nonnull__(pTHX_2);
1942 #define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \
1943         assert(sv); assert(mg)
1944
1945 PERL_CALLCONV SV*       Perl_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, const char *meth, U32 flags, U32 argc, ...)
1946                         __attribute__nonnull__(pTHX_1)
1947                         __attribute__nonnull__(pTHX_2)
1948                         __attribute__nonnull__(pTHX_3);
1949 #define PERL_ARGS_ASSERT_MAGIC_METHCALL \
1950         assert(sv); assert(mg); assert(meth)
1951
1952 PERL_CALLCONV void      Perl_markstack_grow(pTHX);
1953 #if defined(USE_LOCALE_COLLATE)
1954 PERL_CALLCONV int       Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg)
1955                         __attribute__nonnull__(pTHX_1)
1956                         __attribute__nonnull__(pTHX_2);
1957 #define PERL_ARGS_ASSERT_MAGIC_SETCOLLXFRM      \
1958         assert(sv); assert(mg)
1959
1960 PERL_CALLCONV char*     Perl_mem_collxfrm(pTHX_ const char* s, STRLEN len, STRLEN* xlen)
1961                         __attribute__nonnull__(pTHX_1)
1962                         __attribute__nonnull__(pTHX_3);
1963 #define PERL_ARGS_ASSERT_MEM_COLLXFRM   \
1964         assert(s); assert(xlen)
1965
1966 #endif
1967 PERL_CALLCONV SV*       Perl_mess(pTHX_ const char* pat, ...)
1968                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
1969                         __attribute__nonnull__(pTHX_1);
1970 #define PERL_ARGS_ASSERT_MESS   \
1971         assert(pat)
1972
1973 PERL_CALLCONV SV*       Perl_mess_sv(pTHX_ SV* basemsg, bool consume)
1974                         __attribute__nonnull__(pTHX_1);
1975 #define PERL_ARGS_ASSERT_MESS_SV        \
1976         assert(basemsg)
1977
1978 PERL_CALLCONV SV*       Perl_vmess(pTHX_ const char* pat, va_list* args)
1979                         __attribute__nonnull__(pTHX_1);
1980 #define PERL_ARGS_ASSERT_VMESS  \
1981         assert(pat)
1982
1983 PERL_CALLCONV void      Perl_qerror(pTHX_ SV* err)
1984                         __attribute__nonnull__(pTHX_1);
1985 #define PERL_ARGS_ASSERT_QERROR \
1986         assert(err)
1987
1988 PERL_CALLCONV void      Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp)
1989                         __attribute__nonnull__(pTHX_3);
1990 #define PERL_ARGS_ASSERT_SORTSV \
1991         assert(cmp)
1992
1993 PERL_CALLCONV void      Perl_sortsv_flags(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags)
1994                         __attribute__nonnull__(pTHX_3);
1995 #define PERL_ARGS_ASSERT_SORTSV_FLAGS   \
1996         assert(cmp)
1997
1998 PERL_CALLCONV int       Perl_mg_clear(pTHX_ SV* sv)
1999                         __attribute__nonnull__(pTHX_1);
2000 #define PERL_ARGS_ASSERT_MG_CLEAR       \
2001         assert(sv)
2002
2003 PERL_CALLCONV int       Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen)
2004                         __attribute__nonnull__(pTHX_1)
2005                         __attribute__nonnull__(pTHX_2);
2006 #define PERL_ARGS_ASSERT_MG_COPY        \
2007         assert(sv); assert(nsv)
2008
2009 PERL_CALLCONV void      Perl_mg_localize(pTHX_ SV* sv, SV* nsv, bool setmagic)
2010                         __attribute__nonnull__(pTHX_1)
2011                         __attribute__nonnull__(pTHX_2);
2012 #define PERL_ARGS_ASSERT_MG_LOCALIZE    \
2013         assert(sv); assert(nsv)
2014
2015 PERL_CALLCONV MAGIC*    Perl_mg_find(pTHX_ const SV* sv, int type)
2016                         __attribute__warn_unused_result__;
2017
2018 PERL_CALLCONV int       Perl_mg_free(pTHX_ SV* sv)
2019                         __attribute__nonnull__(pTHX_1);
2020 #define PERL_ARGS_ASSERT_MG_FREE        \
2021         assert(sv)
2022
2023 PERL_CALLCONV int       Perl_mg_get(pTHX_ SV* sv)
2024                         __attribute__nonnull__(pTHX_1);
2025 #define PERL_ARGS_ASSERT_MG_GET \
2026         assert(sv)
2027
2028 PERL_CALLCONV U32       Perl_mg_length(pTHX_ SV* sv)
2029                         __attribute__nonnull__(pTHX_1);
2030 #define PERL_ARGS_ASSERT_MG_LENGTH      \
2031         assert(sv)
2032
2033 PERL_CALLCONV void      Perl_mg_magical(pTHX_ SV* sv)
2034                         __attribute__nonnull__(pTHX_1);
2035 #define PERL_ARGS_ASSERT_MG_MAGICAL     \
2036         assert(sv)
2037
2038 PERL_CALLCONV int       Perl_mg_set(pTHX_ SV* sv)
2039                         __attribute__nonnull__(pTHX_1);
2040 #define PERL_ARGS_ASSERT_MG_SET \
2041         assert(sv)
2042
2043 PERL_CALLCONV I32       Perl_mg_size(pTHX_ SV* sv)
2044                         __attribute__nonnull__(pTHX_1);
2045 #define PERL_ARGS_ASSERT_MG_SIZE        \
2046         assert(sv)
2047
2048 PERL_CALLCONV void      Perl_mini_mktime(pTHX_ struct tm *ptm)
2049                         __attribute__nonnull__(pTHX_1);
2050 #define PERL_ARGS_ASSERT_MINI_MKTIME    \
2051         assert(ptm)
2052
2053 PERL_CALLCONV OP*       Perl_mod(pTHX_ OP* o, I32 type);
2054 PERL_CALLCONV int       Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len);
2055 PERL_CALLCONV const char*       Perl_moreswitches(pTHX_ const char* s)
2056                         __attribute__nonnull__(pTHX_1);
2057 #define PERL_ARGS_ASSERT_MORESWITCHES   \
2058         assert(s)
2059
2060 PERL_CALLCONV NV        Perl_my_atof(pTHX_ const char *s)
2061                         __attribute__nonnull__(pTHX_1);
2062 #define PERL_ARGS_ASSERT_MY_ATOF        \
2063         assert(s)
2064
2065 #if (!defined(HAS_MEMCPY) && !defined(HAS_BCOPY)) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY) && !defined(HAS_SAFE_BCOPY))
2066 PERL_CALLCONV char*     Perl_my_bcopy(const char* from, char* to, I32 len)
2067                         __attribute__nonnull__(1)
2068                         __attribute__nonnull__(2);
2069 #define PERL_ARGS_ASSERT_MY_BCOPY       \
2070         assert(from); assert(to)
2071
2072 #endif
2073 #if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
2074 PERL_CALLCONV char*     Perl_my_bzero(char* loc, I32 len)
2075                         __attribute__nonnull__(1);
2076 #define PERL_ARGS_ASSERT_MY_BZERO       \
2077         assert(loc)
2078
2079 #endif
2080 PERL_CALLCONV void      Perl_my_exit(pTHX_ U32 status)
2081                         __attribute__noreturn__;
2082
2083 PERL_CALLCONV void      Perl_my_failure_exit(pTHX)
2084                         __attribute__noreturn__;
2085
2086 PERL_CALLCONV I32       Perl_my_fflush_all(pTHX);
2087 PERL_CALLCONV Pid_t     Perl_my_fork(void);
2088 PERL_CALLCONV void      Perl_atfork_lock(void);
2089 PERL_CALLCONV void      Perl_atfork_unlock(void);
2090 /* PERL_CALLCONV I32    Perl_my_lstat(pTHX); */
2091 PERL_CALLCONV I32       Perl_my_lstat_flags(pTHX_ const U32 flags);
2092 #if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP)
2093 PERL_CALLCONV I32       Perl_my_memcmp(const char* s1, const char* s2, I32 len)
2094                         __attribute__pure__
2095                         __attribute__nonnull__(1)
2096                         __attribute__nonnull__(2);
2097 #define PERL_ARGS_ASSERT_MY_MEMCMP      \
2098         assert(s1); assert(s2)
2099
2100 #endif
2101 #if !defined(HAS_MEMSET)
2102 PERL_CALLCONV void*     Perl_my_memset(char* loc, I32 ch, I32 len)
2103                         __attribute__nonnull__(1);
2104 #define PERL_ARGS_ASSERT_MY_MEMSET      \
2105         assert(loc)
2106
2107 #endif
2108 PERL_CALLCONV I32       Perl_my_pclose(pTHX_ PerlIO* ptr);
2109 PERL_CALLCONV PerlIO*   Perl_my_popen(pTHX_ const char* cmd, const char* mode)
2110                         __attribute__nonnull__(pTHX_1)
2111                         __attribute__nonnull__(pTHX_2);
2112 #define PERL_ARGS_ASSERT_MY_POPEN       \
2113         assert(cmd); assert(mode)
2114
2115 PERL_CALLCONV PerlIO*   Perl_my_popen_list(pTHX_ const char* mode, int n, SV ** args)
2116                         __attribute__nonnull__(pTHX_1)
2117                         __attribute__nonnull__(pTHX_3);
2118 #define PERL_ARGS_ASSERT_MY_POPEN_LIST  \
2119         assert(mode); assert(args)
2120
2121 PERL_CALLCONV void      Perl_my_setenv(pTHX_ const char* nam, const char* val);
2122 /* PERL_CALLCONV I32    Perl_my_stat(pTHX); */
2123 PERL_CALLCONV I32       Perl_my_stat_flags(pTHX_ const U32 flags);
2124 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)
2125                         __attribute__nonnull__(pTHX_1);
2126 #define PERL_ARGS_ASSERT_MY_STRFTIME    \
2127         assert(fmt)
2128
2129 #if defined(MYSWAP)
2130 PERL_CALLCONV short     Perl_my_swap(pTHX_ short s)
2131                         __attribute__malloc__
2132                         __attribute__warn_unused_result__
2133                         __attribute__pure__;
2134
2135 PERL_CALLCONV long      Perl_my_htonl(pTHX_ long l)
2136                         __attribute__malloc__
2137                         __attribute__warn_unused_result__
2138                         __attribute__pure__;
2139
2140 PERL_CALLCONV long      Perl_my_ntohl(pTHX_ long l)
2141                         __attribute__malloc__
2142                         __attribute__warn_unused_result__
2143                         __attribute__pure__;
2144
2145 #endif
2146 PERL_CALLCONV void      Perl_my_unexec(pTHX);
2147 PERL_CALLCONV OP*       Perl_newANONLIST(pTHX_ OP* o)
2148                         __attribute__malloc__
2149                         __attribute__warn_unused_result__;
2150
2151 PERL_CALLCONV OP*       Perl_newANONHASH(pTHX_ OP* o)
2152                         __attribute__malloc__
2153                         __attribute__warn_unused_result__;
2154
2155 PERL_CALLCONV OP*       Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block);
2156 PERL_CALLCONV OP*       Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right)
2157                         __attribute__malloc__
2158                         __attribute__warn_unused_result__;
2159
2160 PERL_CALLCONV OP*       Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop)
2161                         __attribute__malloc__
2162                         __attribute__warn_unused_result__
2163                         __attribute__nonnull__(pTHX_2);
2164 #define PERL_ARGS_ASSERT_NEWCONDOP      \
2165         assert(first)
2166
2167 PERL_CALLCONV CV*       Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv);
2168 #ifdef PERL_MAD
2169 PERL_CALLCONV OP*       Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
2170 #else
2171 PERL_CALLCONV void      Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
2172 #endif
2173 PERL_CALLCONV OP*       Perl_newFOROP(pTHX_ I32 flags, char* label, line_t forline, OP* sv, OP* expr, OP* block, OP* cont)
2174                         __attribute__malloc__
2175                         __attribute__warn_unused_result__
2176                         __attribute__nonnull__(pTHX_5);
2177 #define PERL_ARGS_ASSERT_NEWFOROP       \
2178         assert(expr)
2179
2180 PERL_CALLCONV OP*       Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off)
2181                         __attribute__malloc__
2182                         __attribute__warn_unused_result__
2183                         __attribute__nonnull__(pTHX_1)
2184                         __attribute__nonnull__(pTHX_2);
2185 #define PERL_ARGS_ASSERT_NEWGIVENOP     \
2186         assert(cond); assert(block)
2187
2188 PERL_CALLCONV OP*       Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
2189                         __attribute__malloc__
2190                         __attribute__warn_unused_result__
2191                         __attribute__nonnull__(pTHX_3)
2192                         __attribute__nonnull__(pTHX_4);
2193 #define PERL_ARGS_ASSERT_NEWLOGOP       \
2194         assert(first); assert(other)
2195
2196 PERL_CALLCONV OP*       Perl_newLOOPEX(pTHX_ I32 type, OP* label)
2197                         __attribute__malloc__
2198                         __attribute__warn_unused_result__
2199                         __attribute__nonnull__(pTHX_2);
2200 #define PERL_ARGS_ASSERT_NEWLOOPEX      \
2201         assert(label)
2202
2203 PERL_CALLCONV OP*       Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block)
2204                         __attribute__malloc__
2205                         __attribute__warn_unused_result__;
2206
2207 PERL_CALLCONV OP*       Perl_newNULLLIST(pTHX)
2208                         __attribute__malloc__
2209                         __attribute__warn_unused_result__;
2210
2211 PERL_CALLCONV OP*       Perl_newOP(pTHX_ I32 optype, I32 flags)
2212                         __attribute__malloc__
2213                         __attribute__warn_unused_result__;
2214
2215 PERL_CALLCONV void      Perl_newPROG(pTHX_ OP* o)
2216                         __attribute__nonnull__(pTHX_1);
2217 #define PERL_ARGS_ASSERT_NEWPROG        \
2218         assert(o)
2219
2220 PERL_CALLCONV OP*       Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right)
2221                         __attribute__malloc__
2222                         __attribute__warn_unused_result__
2223                         __attribute__nonnull__(pTHX_2)
2224                         __attribute__nonnull__(pTHX_3);
2225 #define PERL_ARGS_ASSERT_NEWRANGE       \
2226         assert(left); assert(right)
2227
2228 PERL_CALLCONV OP*       Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop)
2229                         __attribute__malloc__
2230                         __attribute__warn_unused_result__;
2231
2232 PERL_CALLCONV OP*       Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o)
2233                         __attribute__malloc__
2234                         __attribute__warn_unused_result__;
2235
2236 PERL_CALLCONV CV*       Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block);
2237 PERL_CALLCONV CV *      Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags)
2238                         __attribute__nonnull__(pTHX_2)
2239                         __attribute__nonnull__(pTHX_3);
2240 #define PERL_ARGS_ASSERT_NEWXS_FLAGS    \
2241         assert(subaddr); assert(filename)
2242
2243 PERL_CALLCONV CV*       Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename)
2244                         __attribute__nonnull__(pTHX_2)
2245                         __attribute__nonnull__(pTHX_3);
2246 #define PERL_ARGS_ASSERT_NEWXS  \
2247         assert(subaddr); assert(filename)
2248
2249 /* PERL_CALLCONV AV*    Perl_newAV(pTHX)
2250                         __attribute__warn_unused_result__; */
2251
2252 PERL_CALLCONV OP*       Perl_newAVREF(pTHX_ OP* o)
2253                         __attribute__malloc__
2254                         __attribute__warn_unused_result__
2255                         __attribute__nonnull__(pTHX_1);
2256 #define PERL_ARGS_ASSERT_NEWAVREF       \
2257         assert(o)
2258
2259 PERL_CALLCONV OP*       Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2260                         __attribute__malloc__
2261                         __attribute__warn_unused_result__;
2262
2263 PERL_CALLCONV OP*       Perl_newCVREF(pTHX_ I32 flags, OP* o)
2264                         __attribute__malloc__
2265                         __attribute__warn_unused_result__;
2266
2267 PERL_CALLCONV OP*       Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv)
2268                         __attribute__malloc__
2269                         __attribute__warn_unused_result__
2270                         __attribute__nonnull__(pTHX_3);
2271 #define PERL_ARGS_ASSERT_NEWGVOP        \
2272         assert(gv)
2273
2274 PERL_CALLCONV GV*       Perl_newGVgen(pTHX_ const char* pack)
2275                         __attribute__malloc__
2276                         __attribute__warn_unused_result__
2277                         __attribute__nonnull__(pTHX_1);
2278 #define PERL_ARGS_ASSERT_NEWGVGEN       \
2279         assert(pack)
2280
2281 PERL_CALLCONV OP*       Perl_newGVREF(pTHX_ I32 type, OP* o)
2282                         __attribute__malloc__
2283                         __attribute__warn_unused_result__;
2284
2285 PERL_CALLCONV OP*       Perl_newHVREF(pTHX_ OP* o)
2286                         __attribute__malloc__
2287                         __attribute__warn_unused_result__
2288                         __attribute__nonnull__(pTHX_1);
2289 #define PERL_ARGS_ASSERT_NEWHVREF       \
2290         assert(o)
2291
2292 /* PERL_CALLCONV HV*    Perl_newHV(pTHX)
2293                         __attribute__warn_unused_result__; */
2294
2295 PERL_CALLCONV HV*       Perl_newHVhv(pTHX_ HV *hv)
2296                         __attribute__malloc__
2297                         __attribute__warn_unused_result__;
2298
2299 /* PERL_CALLCONV IO*    Perl_newIO(pTHX)
2300                         __attribute__malloc__
2301                         __attribute__warn_unused_result__; */
2302
2303 PERL_CALLCONV OP*       Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2304                         __attribute__malloc__
2305                         __attribute__warn_unused_result__;
2306
2307 #ifdef USE_ITHREADS
2308 PERL_CALLCONV OP*       Perl_newPADOP(pTHX_ I32 type, I32 flags, SV* sv)
2309                         __attribute__malloc__
2310                         __attribute__warn_unused_result__
2311                         __attribute__nonnull__(pTHX_3);
2312 #define PERL_ARGS_ASSERT_NEWPADOP       \
2313         assert(sv)
2314
2315 #endif
2316 PERL_CALLCONV OP*       Perl_newPMOP(pTHX_ I32 type, I32 flags)
2317                         __attribute__malloc__
2318                         __attribute__warn_unused_result__;
2319
2320 PERL_CALLCONV OP*       Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv)
2321                         __attribute__malloc__
2322                         __attribute__warn_unused_result__;
2323
2324 PERL_CALLCONV SV*       Perl_newRV(pTHX_ SV *const sv)
2325                         __attribute__malloc__
2326                         __attribute__warn_unused_result__
2327                         __attribute__nonnull__(pTHX_1);
2328 #define PERL_ARGS_ASSERT_NEWRV  \
2329         assert(sv)
2330
2331 PERL_CALLCONV SV*       Perl_newRV_noinc(pTHX_ SV *const sv)
2332                         __attribute__malloc__
2333                         __attribute__warn_unused_result__
2334                         __attribute__nonnull__(pTHX_1);
2335 #define PERL_ARGS_ASSERT_NEWRV_NOINC    \
2336         assert(sv)
2337
2338 PERL_CALLCONV SV*       Perl_newSV(pTHX_ const STRLEN len)
2339                         __attribute__malloc__
2340                         __attribute__warn_unused_result__;
2341
2342 PERL_CALLCONV OP*       Perl_newSVREF(pTHX_ OP* o)
2343                         __attribute__malloc__
2344                         __attribute__warn_unused_result__
2345                         __attribute__nonnull__(pTHX_1);
2346 #define PERL_ARGS_ASSERT_NEWSVREF       \
2347         assert(o)
2348
2349 PERL_CALLCONV OP*       Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv)
2350                         __attribute__malloc__
2351                         __attribute__warn_unused_result__
2352                         __attribute__nonnull__(pTHX_3);
2353 #define PERL_ARGS_ASSERT_NEWSVOP        \
2354         assert(sv)
2355
2356 PERL_CALLCONV SV*       Perl_newSViv(pTHX_ const IV i)
2357                         __attribute__malloc__
2358                         __attribute__warn_unused_result__;
2359
2360 PERL_CALLCONV SV*       Perl_newSVuv(pTHX_ const UV u)
2361                         __attribute__malloc__
2362                         __attribute__warn_unused_result__;
2363
2364 PERL_CALLCONV SV*       Perl_newSVnv(pTHX_ const NV n)
2365                         __attribute__malloc__
2366                         __attribute__warn_unused_result__;
2367
2368 PERL_CALLCONV SV*       Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
2369                         __attribute__malloc__
2370                         __attribute__warn_unused_result__;
2371
2372 PERL_CALLCONV SV*       Perl_newSVpvn(pTHX_ const char *const s, const STRLEN len)
2373                         __attribute__malloc__
2374                         __attribute__warn_unused_result__;
2375
2376 PERL_CALLCONV SV*       Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)
2377                         __attribute__malloc__
2378                         __attribute__warn_unused_result__;
2379
2380 PERL_CALLCONV SV*       Perl_newSVhek(pTHX_ const HEK *const hek)
2381                         __attribute__malloc__
2382                         __attribute__warn_unused_result__;
2383
2384 PERL_CALLCONV SV*       Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash)
2385                         __attribute__malloc__
2386                         __attribute__warn_unused_result__;
2387
2388 PERL_CALLCONV SV*       Perl_newSVpvf(pTHX_ const char *const pat, ...)
2389                         __attribute__malloc__
2390                         __attribute__warn_unused_result__
2391                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
2392                         __attribute__nonnull__(pTHX_1);
2393 #define PERL_ARGS_ASSERT_NEWSVPVF       \
2394         assert(pat)
2395
2396 PERL_CALLCONV SV*       Perl_vnewSVpvf(pTHX_ const char *const pat, va_list *const args)
2397                         __attribute__malloc__
2398                         __attribute__warn_unused_result__
2399                         __attribute__nonnull__(pTHX_1);
2400 #define PERL_ARGS_ASSERT_VNEWSVPVF      \
2401         assert(pat)
2402
2403 PERL_CALLCONV SV*       Perl_newSVrv(pTHX_ SV *const rv, const char *const classname)
2404                         __attribute__nonnull__(pTHX_1);
2405 #define PERL_ARGS_ASSERT_NEWSVRV        \
2406         assert(rv)
2407
2408 PERL_CALLCONV SV*       Perl_newSVsv(pTHX_ SV *const old)
2409                         __attribute__malloc__
2410                         __attribute__warn_unused_result__;
2411
2412 PERL_CALLCONV SV*       Perl_newSV_type(pTHX_ const svtype type)
2413                         __attribute__malloc__
2414                         __attribute__warn_unused_result__;
2415
2416 PERL_CALLCONV OP*       Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first)
2417                         __attribute__malloc__
2418                         __attribute__warn_unused_result__;
2419
2420 PERL_CALLCONV OP*       Perl_newWHENOP(pTHX_ OP* cond, OP* block)
2421                         __attribute__malloc__
2422                         __attribute__warn_unused_result__
2423                         __attribute__nonnull__(pTHX_2);
2424 #define PERL_ARGS_ASSERT_NEWWHENOP      \
2425         assert(block)
2426
2427 PERL_CALLCONV OP*       Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, I32 whileline, OP* expr, OP* block, OP* cont, I32 has_my)
2428                         __attribute__malloc__
2429                         __attribute__warn_unused_result__;
2430
2431 PERL_CALLCONV PERL_SI*  Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
2432                         __attribute__malloc__
2433                         __attribute__warn_unused_result__;
2434
2435 PERL_CALLCONV char*     Perl_scan_vstring(pTHX_ const char *s, const char *const e, SV *sv)
2436                         __attribute__nonnull__(pTHX_1)
2437                         __attribute__nonnull__(pTHX_2)
2438                         __attribute__nonnull__(pTHX_3);
2439 #define PERL_ARGS_ASSERT_SCAN_VSTRING   \
2440         assert(s); assert(e); assert(sv)
2441
2442 PERL_CALLCONV const char*       Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv)
2443                         __attribute__nonnull__(pTHX_1)
2444                         __attribute__nonnull__(pTHX_2);
2445 #define PERL_ARGS_ASSERT_SCAN_VERSION   \
2446         assert(s); assert(rv)
2447
2448 PERL_CALLCONV const char*       Perl_prescan_version(pTHX_ const char *s, bool strict, const char** errstr, bool *sqv, int *ssaw_decimal, int *swidth, bool *salpha)
2449                         __attribute__nonnull__(pTHX_1);
2450 #define PERL_ARGS_ASSERT_PRESCAN_VERSION        \
2451         assert(s)
2452
2453 PERL_CALLCONV SV*       Perl_new_version(pTHX_ SV *ver)
2454                         __attribute__nonnull__(pTHX_1);
2455 #define PERL_ARGS_ASSERT_NEW_VERSION    \
2456         assert(ver)
2457
2458 PERL_CALLCONV SV*       Perl_upg_version(pTHX_ SV *ver, bool qv)
2459                         __attribute__nonnull__(pTHX_1);
2460 #define PERL_ARGS_ASSERT_UPG_VERSION    \
2461         assert(ver)
2462
2463 PERL_CALLCONV bool      Perl_vverify(pTHX_ SV *vs)
2464                         __attribute__nonnull__(pTHX_1);
2465 #define PERL_ARGS_ASSERT_VVERIFY        \
2466         assert(vs)
2467
2468 PERL_CALLCONV SV*       Perl_vnumify(pTHX_ SV *vs)
2469                         __attribute__nonnull__(pTHX_1);
2470 #define PERL_ARGS_ASSERT_VNUMIFY        \
2471         assert(vs)
2472
2473 PERL_CALLCONV SV*       Perl_vnormal(pTHX_ SV *vs)
2474                         __attribute__nonnull__(pTHX_1);
2475 #define PERL_ARGS_ASSERT_VNORMAL        \
2476         assert(vs)
2477
2478 PERL_CALLCONV SV*       Perl_vstringify(pTHX_ SV *vs)
2479                         __attribute__nonnull__(pTHX_1);
2480 #define PERL_ARGS_ASSERT_VSTRINGIFY     \
2481         assert(vs)
2482
2483 PERL_CALLCONV int       Perl_vcmp(pTHX_ SV *lhv, SV *rhv)
2484                         __attribute__nonnull__(pTHX_1)
2485                         __attribute__nonnull__(pTHX_2);
2486 #define PERL_ARGS_ASSERT_VCMP   \
2487         assert(lhv); assert(rhv)
2488
2489 PERL_CALLCONV PerlIO*   Perl_nextargv(pTHX_ GV* gv)
2490                         __attribute__nonnull__(pTHX_1);
2491 #define PERL_ARGS_ASSERT_NEXTARGV       \
2492         assert(gv)
2493
2494 PERL_CALLCONV char*     Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend)
2495                         __attribute__pure__
2496                         __attribute__nonnull__(1)
2497                         __attribute__nonnull__(2)
2498                         __attribute__nonnull__(3)
2499                         __attribute__nonnull__(4);
2500 #define PERL_ARGS_ASSERT_NINSTR \
2501         assert(big); assert(bigend); assert(little); assert(lend)
2502
2503 PERL_CALLCONV void      Perl_op_free(pTHX_ OP* arg);
2504 #ifdef PERL_MAD
2505 PERL_CALLCONV OP*       Perl_package(pTHX_ OP* o)
2506                         __attribute__nonnull__(pTHX_1);
2507 #define PERL_ARGS_ASSERT_PACKAGE        \
2508         assert(o)
2509
2510 #else
2511 PERL_CALLCONV void      Perl_package(pTHX_ OP* o)
2512                         __attribute__nonnull__(pTHX_1);
2513 #define PERL_ARGS_ASSERT_PACKAGE        \
2514         assert(o)
2515
2516 #endif
2517 PERL_CALLCONV void      Perl_package_version(pTHX_ OP* v)
2518                         __attribute__nonnull__(pTHX_1);
2519 #define PERL_ARGS_ASSERT_PACKAGE_VERSION        \
2520         assert(v)
2521
2522 PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
2523 PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name, const STRLEN len, const U32 flags)
2524                         __attribute__nonnull__(pTHX_1);
2525 #define PERL_ARGS_ASSERT_ALLOCMY        \
2526         assert(name)
2527
2528 PERL_CALLCONV PADOFFSET Perl_pad_findmy(pTHX_ const char* name, STRLEN len, U32 flags)
2529                         __attribute__warn_unused_result__
2530                         __attribute__nonnull__(pTHX_1);
2531 #define PERL_ARGS_ASSERT_PAD_FINDMY     \
2532         assert(name)
2533
2534 PERL_CALLCONV PADOFFSET Perl_find_rundefsvoffset(pTHX)
2535                         __attribute__deprecated__;
2536
2537 PERL_CALLCONV SV*       Perl_find_rundefsv(pTHX);
2538 PERL_CALLCONV OP*       Perl_oopsAV(pTHX_ OP* o)
2539                         __attribute__warn_unused_result__
2540                         __attribute__nonnull__(pTHX_1);
2541 #define PERL_ARGS_ASSERT_OOPSAV \
2542         assert(o)
2543
2544 PERL_CALLCONV OP*       Perl_oopsHV(pTHX_ OP* o)
2545                         __attribute__warn_unused_result__
2546                         __attribute__nonnull__(pTHX_1);
2547 #define PERL_ARGS_ASSERT_OOPSHV \
2548         assert(o)
2549
2550 PERL_CALLCONV void      Perl_pad_leavemy(pTHX);
2551 #ifdef DEBUGGING
2552 PERL_CALLCONV SV*       Perl_pad_sv(pTHX_ PADOFFSET po);
2553 #endif
2554 PERL_CALLCONV void      Perl_pad_free(pTHX_ PADOFFSET po);
2555 #if defined(PERL_IN_PAD_C)
2556 STATIC void     S_pad_reset(pTHX);
2557 #endif
2558 PERL_CALLCONV void      Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust);
2559 PERL_CALLCONV void      Perl_peep(pTHX_ OP* o);
2560 PERL_CALLCONV PerlIO*   Perl_start_glob(pTHX_ SV *tmpglob, IO *io)
2561                         __attribute__nonnull__(pTHX_1)
2562                         __attribute__nonnull__(pTHX_2);
2563 #define PERL_ARGS_ASSERT_START_GLOB     \
2564         assert(tmpglob); assert(io)
2565
2566 #if defined(USE_REENTRANT_API)
2567 PERL_CALLCONV void      Perl_reentrant_size(pTHX);
2568 PERL_CALLCONV void      Perl_reentrant_init(pTHX);
2569 PERL_CALLCONV void      Perl_reentrant_free(pTHX);
2570 PERL_CALLCONV void*     Perl_reentrant_retry(const char *f, ...)
2571                         __attribute__nonnull__(1);
2572 #define PERL_ARGS_ASSERT_REENTRANT_RETRY        \
2573         assert(f)
2574
2575 #endif
2576 PERL_CALLCONV void      Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr);
2577 PERL_CALLCONV I32       Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv)
2578                         __attribute__nonnull__(pTHX_1)
2579                         __attribute__nonnull__(pTHX_3);
2580 #define PERL_ARGS_ASSERT_CALL_ARGV      \
2581         assert(sub_name); assert(argv)
2582
2583 PERL_CALLCONV I32       Perl_call_method(pTHX_ const char* methname, I32 flags)
2584                         __attribute__nonnull__(pTHX_1);
2585 #define PERL_ARGS_ASSERT_CALL_METHOD    \
2586         assert(methname)
2587
2588 PERL_CALLCONV I32       Perl_call_pv(pTHX_ const char* sub_name, I32 flags)
2589                         __attribute__nonnull__(pTHX_1);
2590 #define PERL_ARGS_ASSERT_CALL_PV        \
2591         assert(sub_name)
2592
2593 PERL_CALLCONV I32       Perl_call_sv(pTHX_ SV* sv, VOL I32 flags)
2594                         __attribute__nonnull__(pTHX_1);
2595 #define PERL_ARGS_ASSERT_CALL_SV        \
2596         assert(sv)
2597
2598 PERL_CALLCONV void      Perl_despatch_signals(pTHX);
2599 PERL_CALLCONV OP *      Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref)
2600                         __attribute__nonnull__(pTHX_1);
2601 #define PERL_ARGS_ASSERT_DOREF  \
2602         assert(o)
2603
2604 PERL_CALLCONV SV*       Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error)
2605                         __attribute__nonnull__(pTHX_1);
2606 #define PERL_ARGS_ASSERT_EVAL_PV        \
2607         assert(p)
2608
2609 PERL_CALLCONV I32       Perl_eval_sv(pTHX_ SV* sv, I32 flags)
2610                         __attribute__nonnull__(pTHX_1);
2611 #define PERL_ARGS_ASSERT_EVAL_SV        \
2612         assert(sv)
2613
2614 PERL_CALLCONV SV*       Perl_get_sv(pTHX_ const char *name, I32 flags)
2615                         __attribute__nonnull__(pTHX_1);
2616 #define PERL_ARGS_ASSERT_GET_SV \
2617         assert(name)
2618
2619 PERL_CALLCONV AV*       Perl_get_av(pTHX_ const char *name, I32 flags)
2620                         __attribute__nonnull__(pTHX_1);
2621 #define PERL_ARGS_ASSERT_GET_AV \
2622         assert(name)
2623
2624 PERL_CALLCONV HV*       Perl_get_hv(pTHX_ const char *name, I32 flags)
2625                         __attribute__nonnull__(pTHX_1);
2626 #define PERL_ARGS_ASSERT_GET_HV \
2627         assert(name)
2628
2629 PERL_CALLCONV CV*       Perl_get_cv(pTHX_ const char* name, I32 flags)
2630                         __attribute__nonnull__(pTHX_1);
2631 #define PERL_ARGS_ASSERT_GET_CV \
2632         assert(name)
2633
2634 PERL_CALLCONV CV*       Perl_get_cvn_flags(pTHX_ const char* name, STRLEN len, I32 flags)
2635                         __attribute__nonnull__(pTHX_1);
2636 #define PERL_ARGS_ASSERT_GET_CVN_FLAGS  \
2637         assert(name)
2638
2639 PERL_CALLCONV int       Perl_init_i18nl10n(pTHX_ int printwarn);
2640 PERL_CALLCONV int       Perl_init_i18nl14n(pTHX_ int printwarn);
2641 PERL_CALLCONV void      Perl_new_collate(pTHX_ const char* newcoll);
2642 PERL_CALLCONV void      Perl_new_ctype(pTHX_ const char* newctype)
2643                         __attribute__nonnull__(pTHX_1);
2644 #define PERL_ARGS_ASSERT_NEW_CTYPE      \
2645         assert(newctype)
2646
2647 PERL_CALLCONV void      Perl_new_numeric(pTHX_ const char* newcoll);
2648 PERL_CALLCONV void      Perl_set_numeric_local(pTHX);
2649 PERL_CALLCONV void      Perl_set_numeric_radix(pTHX);
2650 PERL_CALLCONV void      Perl_set_numeric_standard(pTHX);
2651 PERL_CALLCONV void      Perl_require_pv(pTHX_ const char* pv)
2652                         __attribute__nonnull__(pTHX_1);
2653 #define PERL_ARGS_ASSERT_REQUIRE_PV     \
2654         assert(pv)
2655
2656 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)
2657                         __attribute__nonnull__(pTHX_1)
2658                         __attribute__nonnull__(pTHX_2)
2659                         __attribute__nonnull__(pTHX_3)
2660                         __attribute__nonnull__(pTHX_4)
2661                         __attribute__nonnull__(pTHX_5)
2662                         __attribute__nonnull__(pTHX_6);
2663 #define PERL_ARGS_ASSERT_PACK_CAT       \
2664         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist); assert(next_in_list)
2665
2666 PERL_CALLCONV void      Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist)
2667                         __attribute__nonnull__(pTHX_1)
2668                         __attribute__nonnull__(pTHX_2)
2669                         __attribute__nonnull__(pTHX_3)
2670                         __attribute__nonnull__(pTHX_4)
2671                         __attribute__nonnull__(pTHX_5);
2672 #define PERL_ARGS_ASSERT_PACKLIST       \
2673         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist)
2674
2675 #if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
2676 STATIC void     S_pidgone(pTHX_ Pid_t pid, int status);
2677 #endif
2678 PERL_CALLCONV OP*       Perl_pmruntime(pTHX_ OP *o, OP *expr, bool isreg)
2679                         __attribute__nonnull__(pTHX_1)
2680                         __attribute__nonnull__(pTHX_2);
2681 #define PERL_ARGS_ASSERT_PMRUNTIME      \
2682         assert(o); assert(expr)
2683
2684 #if defined(PERL_IN_OP_C)
2685 STATIC OP*      S_pmtrans(pTHX_ OP* o, OP* expr, OP* repl)
2686                         __attribute__nonnull__(pTHX_1)
2687                         __attribute__nonnull__(pTHX_2)
2688                         __attribute__nonnull__(pTHX_3);
2689 #define PERL_ARGS_ASSERT_PMTRANS        \
2690         assert(o); assert(expr); assert(repl)
2691
2692 #endif
2693 PERL_CALLCONV void      Perl_pop_scope(pTHX);
2694 PERL_CALLCONV OP*       Perl_prepend_elem(pTHX_ I32 optype, OP* head, OP* tail);
2695 PERL_CALLCONV void      Perl_push_scope(pTHX);
2696 /* PERL_CALLCONV OP*    Perl_ref(pTHX_ OP* o, I32 type); */
2697 #if defined(PERL_IN_OP_C)
2698 STATIC OP*      S_refkids(pTHX_ OP* o, I32 type);
2699 #endif
2700 PERL_CALLCONV void      Perl_regdump(pTHX_ const regexp* r)
2701                         __attribute__nonnull__(pTHX_1);
2702 #define PERL_ARGS_ASSERT_REGDUMP        \
2703         assert(r)
2704
2705 PERL_CALLCONV void      Perl_regdump(pTHX_ const regexp* r)
2706                         __attribute__nonnull__(pTHX_1);
2707 #define PERL_ARGS_ASSERT_REGDUMP        \
2708         assert(r)
2709
2710 PERL_CALLCONV SV*       Perl_regclass_swash(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **altsvp)
2711                         __attribute__nonnull__(pTHX_2);
2712 #define PERL_ARGS_ASSERT_REGCLASS_SWASH \
2713         assert(node)
2714
2715 PERL_CALLCONV I32       Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, U32 nosave)
2716                         __attribute__nonnull__(pTHX_1)
2717                         __attribute__nonnull__(pTHX_2)
2718                         __attribute__nonnull__(pTHX_3)
2719                         __attribute__nonnull__(pTHX_4)
2720                         __attribute__nonnull__(pTHX_6);
2721 #define PERL_ARGS_ASSERT_PREGEXEC       \
2722         assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
2723
2724 PERL_CALLCONV void      Perl_pregfree(pTHX_ REGEXP* r);
2725 PERL_CALLCONV void      Perl_pregfree2(pTHX_ REGEXP *rx)
2726                         __attribute__nonnull__(pTHX_1);
2727 #define PERL_ARGS_ASSERT_PREGFREE2      \
2728         assert(rx)
2729
2730 PERL_CALLCONV REGEXP*   Perl_reg_temp_copy(pTHX_ REGEXP* ret_x, REGEXP* rx)
2731                         __attribute__nonnull__(pTHX_2);
2732 #define PERL_ARGS_ASSERT_REG_TEMP_COPY  \
2733         assert(rx)
2734
2735 PERL_CALLCONV void      Perl_regfree_internal(pTHX_ REGEXP *const rx)
2736                         __attribute__nonnull__(pTHX_1);
2737 #define PERL_ARGS_ASSERT_REGFREE_INTERNAL       \
2738         assert(rx)
2739
2740 #if defined(USE_ITHREADS)
2741 PERL_CALLCONV void*     Perl_regdupe_internal(pTHX_ REGEXP * const r, CLONE_PARAMS* param)
2742                         __attribute__nonnull__(pTHX_1)
2743                         __attribute__nonnull__(pTHX_2);
2744 #define PERL_ARGS_ASSERT_REGDUPE_INTERNAL       \
2745         assert(r); assert(param)
2746
2747 #endif
2748 PERL_CALLCONV REGEXP*   Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags)
2749                         __attribute__nonnull__(pTHX_1);
2750 #define PERL_ARGS_ASSERT_PREGCOMP       \
2751         assert(pattern)
2752
2753 PERL_CALLCONV REGEXP*   Perl_re_compile(pTHX_ SV * const pattern, U32 flags)
2754                         __attribute__nonnull__(pTHX_1);
2755 #define PERL_ARGS_ASSERT_RE_COMPILE     \
2756         assert(pattern)
2757
2758 PERL_CALLCONV char*     Perl_re_intuit_start(pTHX_ REGEXP * const rx, SV* sv, char* strpos, char* strend, const U32 flags, re_scream_pos_data *data)
2759                         __attribute__nonnull__(pTHX_1)
2760                         __attribute__nonnull__(pTHX_3)
2761                         __attribute__nonnull__(pTHX_4);
2762 #define PERL_ARGS_ASSERT_RE_INTUIT_START        \
2763         assert(rx); assert(strpos); assert(strend)
2764
2765 PERL_CALLCONV SV*       Perl_re_intuit_string(pTHX_ REGEXP  *const r)
2766                         __attribute__nonnull__(pTHX_1);
2767 #define PERL_ARGS_ASSERT_RE_INTUIT_STRING       \
2768         assert(r)
2769
2770 PERL_CALLCONV I32       Perl_regexec_flags(pTHX_ REGEXP *const rx, char *stringarg, char *strend, char *strbeg, I32 minend, SV *sv, void *data, U32 flags)
2771                         __attribute__nonnull__(pTHX_1)
2772                         __attribute__nonnull__(pTHX_2)
2773                         __attribute__nonnull__(pTHX_3)
2774                         __attribute__nonnull__(pTHX_4)
2775                         __attribute__nonnull__(pTHX_6);
2776 #define PERL_ARGS_ASSERT_REGEXEC_FLAGS  \
2777         assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv)
2778
2779 PERL_CALLCONV regnode*  Perl_regnext(pTHX_ regnode* p)
2780                         __attribute__warn_unused_result__;
2781
2782
2783 PERL_CALLCONV SV*       Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags)
2784                         __attribute__nonnull__(pTHX_1);
2785 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF \
2786         assert(rx)
2787
2788 PERL_CALLCONV SV*       Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags)
2789                         __attribute__nonnull__(pTHX_1);
2790 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER    \
2791         assert(rx)
2792
2793 PERL_CALLCONV SV*       Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags)
2794                         __attribute__nonnull__(pTHX_1)
2795                         __attribute__nonnull__(pTHX_2);
2796 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH   \
2797         assert(rx); assert(namesv)
2798
2799 PERL_CALLCONV bool      Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags)
2800                         __attribute__nonnull__(pTHX_1)
2801                         __attribute__nonnull__(pTHX_2);
2802 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS  \
2803         assert(rx); assert(key)
2804
2805 PERL_CALLCONV SV*       Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags)
2806                         __attribute__nonnull__(pTHX_1);
2807 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY        \
2808         assert(rx)
2809
2810 PERL_CALLCONV SV*       Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags)
2811                         __attribute__nonnull__(pTHX_1);
2812 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
2813         assert(rx)
2814
2815 PERL_CALLCONV SV*       Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags)
2816                         __attribute__nonnull__(pTHX_1);
2817 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR  \
2818         assert(rx)
2819
2820 PERL_CALLCONV SV*       Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags)
2821                         __attribute__nonnull__(pTHX_1);
2822 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL     \
2823         assert(rx)
2824
2825
2826 PERL_CALLCONV void      Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const rx, const I32 paren, SV * const sv)
2827                         __attribute__nonnull__(pTHX_1);
2828 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH        \
2829         assert(rx)
2830
2831 PERL_CALLCONV void      Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value)
2832                         __attribute__nonnull__(pTHX_1);
2833 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE        \
2834         assert(rx)
2835
2836 PERL_CALLCONV I32       Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren)
2837                         __attribute__nonnull__(pTHX_1)
2838                         __attribute__nonnull__(pTHX_2);
2839 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH       \
2840         assert(rx); assert(sv)
2841
2842
2843 PERL_CALLCONV SV*       Perl_reg_qr_package(pTHX_ REGEXP * const rx)
2844                         __attribute__nonnull__(pTHX_1);
2845 #define PERL_ARGS_ASSERT_REG_QR_PACKAGE \
2846         assert(rx)
2847
2848
2849 PERL_CALLCONV void      Perl_regprop(pTHX_ const regexp *prog, SV* sv, const regnode* o)
2850                         __attribute__nonnull__(pTHX_2)
2851                         __attribute__nonnull__(pTHX_3);
2852 #define PERL_ARGS_ASSERT_REGPROP        \
2853         assert(sv); assert(o)
2854
2855 PERL_CALLCONV void      Perl_repeatcpy(char* to, const char* from, I32 len, I32 count)
2856                         __attribute__nonnull__(1)
2857                         __attribute__nonnull__(2);
2858 #define PERL_ARGS_ASSERT_REPEATCPY      \
2859         assert(to); assert(from)
2860
2861 PERL_CALLCONV char*     Perl_rninstr(const char* big, const char* bigend, const char* little, const char* lend)
2862                         __attribute__pure__
2863                         __attribute__nonnull__(1)
2864                         __attribute__nonnull__(2)
2865                         __attribute__nonnull__(3)
2866                         __attribute__nonnull__(4);
2867 #define PERL_ARGS_ASSERT_RNINSTR        \
2868         assert(big); assert(bigend); assert(little); assert(lend)
2869
2870 PERL_CALLCONV Sighandler_t      Perl_rsignal(pTHX_ int i, Sighandler_t t);
2871 PERL_CALLCONV int       Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t);
2872 PERL_CALLCONV int       Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* save)
2873                         __attribute__nonnull__(pTHX_3);
2874 #define PERL_ARGS_ASSERT_RSIGNAL_SAVE   \
2875         assert(save)
2876
2877 PERL_CALLCONV Sighandler_t      Perl_rsignal_state(pTHX_ int i);
2878 #if defined(PERL_IN_PP_CTL_C)
2879 STATIC void     S_rxres_free(pTHX_ void** rsp)
2880                         __attribute__nonnull__(pTHX_1);
2881 #define PERL_ARGS_ASSERT_RXRES_FREE     \
2882         assert(rsp)
2883
2884 STATIC void     S_rxres_restore(pTHX_ void **rsp, REGEXP *rx)
2885                         __attribute__nonnull__(pTHX_1)
2886                         __attribute__nonnull__(pTHX_2);
2887 #define PERL_ARGS_ASSERT_RXRES_RESTORE  \
2888         assert(rsp); assert(rx)
2889
2890 #endif
2891 PERL_CALLCONV void      Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx)
2892                         __attribute__nonnull__(pTHX_1)
2893                         __attribute__nonnull__(pTHX_2);
2894 #define PERL_ARGS_ASSERT_RXRES_SAVE     \
2895         assert(rsp); assert(rx)
2896
2897 #if !defined(HAS_RENAME)
2898 PERL_CALLCONV I32       Perl_same_dirent(pTHX_ const char* a, const char* b)
2899                         __attribute__nonnull__(pTHX_1)
2900                         __attribute__nonnull__(pTHX_2);
2901 #define PERL_ARGS_ASSERT_SAME_DIRENT    \
2902         assert(a); assert(b)
2903
2904 #endif
2905 PERL_CALLCONV char*     Perl_savepv(pTHX_ const char* pv)
2906                         __attribute__malloc__
2907                         __attribute__warn_unused_result__;
2908
2909 PERL_CALLCONV char*     Perl_savepvn(pTHX_ const char* pv, I32 len)
2910                         __attribute__malloc__
2911                         __attribute__warn_unused_result__;
2912
2913 PERL_CALLCONV char*     Perl_savesharedpv(pTHX_ const char* pv)
2914                         __attribute__malloc__
2915                         __attribute__warn_unused_result__;
2916
2917 PERL_CALLCONV char*     Perl_savesharedpvn(pTHX_ const char *const pv, const STRLEN len)
2918                         __attribute__malloc__
2919                         __attribute__warn_unused_result__
2920                         __attribute__nonnull__(pTHX_1);
2921 #define PERL_ARGS_ASSERT_SAVESHAREDPVN  \
2922         assert(pv)
2923
2924 PERL_CALLCONV char*     Perl_savesvpv(pTHX_ SV* sv)
2925                         __attribute__malloc__
2926                         __attribute__warn_unused_result__
2927                         __attribute__nonnull__(pTHX_1);
2928 #define PERL_ARGS_ASSERT_SAVESVPV       \
2929         assert(sv)
2930
2931 PERL_CALLCONV void      Perl_savestack_grow(pTHX);
2932 PERL_CALLCONV void      Perl_savestack_grow_cnt(pTHX_ I32 need);
2933 /* PERL_CALLCONV void   Perl_save_aelem(pTHX_ AV* av, I32 idx, SV **sptr)
2934                         __attribute__nonnull__(pTHX_1)
2935                         __attribute__nonnull__(pTHX_3); */
2936
2937 PERL_CALLCONV void      Perl_save_aelem_flags(pTHX_ AV* av, I32 idx, SV **sptr, const U32 flags)
2938                         __attribute__nonnull__(pTHX_1)
2939                         __attribute__nonnull__(pTHX_3);
2940 #define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS       \
2941         assert(av); assert(sptr)
2942
2943 PERL_CALLCONV I32       Perl_save_alloc(pTHX_ I32 size, I32 pad);
2944 PERL_CALLCONV void      Perl_save_aptr(pTHX_ AV** aptr)
2945                         __attribute__nonnull__(pTHX_1);
2946 #define PERL_ARGS_ASSERT_SAVE_APTR      \
2947         assert(aptr)
2948
2949 PERL_CALLCONV AV*       Perl_save_ary(pTHX_ GV* gv)
2950                         __attribute__nonnull__(pTHX_1);
2951 #define PERL_ARGS_ASSERT_SAVE_ARY       \
2952         assert(gv)
2953
2954 PERL_CALLCONV void      Perl_save_bool(pTHX_ bool* boolp)
2955                         __attribute__nonnull__(pTHX_1);
2956 #define PERL_ARGS_ASSERT_SAVE_BOOL      \
2957         assert(boolp)
2958
2959 PERL_CALLCONV void      Perl_save_clearsv(pTHX_ SV** svp)
2960                         __attribute__nonnull__(pTHX_1);
2961 #define PERL_ARGS_ASSERT_SAVE_CLEARSV   \
2962         assert(svp)
2963
2964 PERL_CALLCONV void      Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen)
2965                         __attribute__nonnull__(pTHX_1)
2966                         __attribute__nonnull__(pTHX_2);
2967 #define PERL_ARGS_ASSERT_SAVE_DELETE    \
2968         assert(hv); assert(key)
2969
2970 PERL_CALLCONV void      Perl_save_hdelete(pTHX_ HV *hv, SV *keysv)
2971                         __attribute__nonnull__(pTHX_1)
2972                         __attribute__nonnull__(pTHX_2);
2973 #define PERL_ARGS_ASSERT_SAVE_HDELETE   \
2974         assert(hv); assert(keysv)
2975
2976 PERL_CALLCONV void      Perl_save_adelete(pTHX_ AV *av, I32 key)
2977                         __attribute__nonnull__(pTHX_1);
2978 #define PERL_ARGS_ASSERT_SAVE_ADELETE   \
2979         assert(av)
2980
2981 PERL_CALLCONV void      Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p)
2982                         __attribute__nonnull__(pTHX_2);
2983 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR        \
2984         assert(p)
2985
2986 PERL_CALLCONV void      Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p);
2987 /* PERL_CALLCONV void   Perl_save_freesv(pTHX_ SV* sv); */
2988 /* PERL_CALLCONV void   Perl_save_freeop(pTHX_ OP* o); */
2989 /* PERL_CALLCONV void   Perl_save_freepv(pTHX_ char* pv); */
2990 PERL_CALLCONV void      Perl_save_generic_svref(pTHX_ SV** sptr)
2991                         __attribute__nonnull__(pTHX_1);
2992 #define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF     \
2993         assert(sptr)
2994
2995 PERL_CALLCONV void      Perl_save_generic_pvref(pTHX_ char** str)
2996                         __attribute__nonnull__(pTHX_1);
2997 #define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF     \
2998         assert(str)
2999
3000 PERL_CALLCONV void      Perl_save_shared_pvref(pTHX_ char** str)
3001                         __attribute__nonnull__(pTHX_1);
3002 #define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF      \
3003         assert(str)
3004
3005 PERL_CALLCONV void      Perl_save_gp(pTHX_ GV* gv, I32 empty)
3006                         __attribute__nonnull__(pTHX_1);
3007 #define PERL_ARGS_ASSERT_SAVE_GP        \
3008         assert(gv)
3009
3010 PERL_CALLCONV HV*       Perl_save_hash(pTHX_ GV* gv)
3011                         __attribute__nonnull__(pTHX_1);
3012 #define PERL_ARGS_ASSERT_SAVE_HASH      \
3013         assert(gv)
3014
3015 PERL_CALLCONV void      Perl_save_hints(pTHX);
3016 /* PERL_CALLCONV void   Perl_save_helem(pTHX_ HV *hv, SV *key, SV **sptr)
3017                         __attribute__nonnull__(pTHX_1)
3018                         __attribute__nonnull__(pTHX_2)
3019                         __attribute__nonnull__(pTHX_3); */
3020
3021 PERL_CALLCONV void      Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags)
3022                         __attribute__nonnull__(pTHX_1)
3023                         __attribute__nonnull__(pTHX_2)
3024                         __attribute__nonnull__(pTHX_3);
3025 #define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS       \
3026         assert(hv); assert(key); assert(sptr)
3027
3028 PERL_CALLCONV void      Perl_save_hptr(pTHX_ HV** hptr)
3029                         __attribute__nonnull__(pTHX_1);
3030 #define PERL_ARGS_ASSERT_SAVE_HPTR      \
3031         assert(hptr)
3032
3033 PERL_CALLCONV void      Perl_save_I16(pTHX_ I16* intp)
3034                         __attribute__nonnull__(pTHX_1);
3035 #define PERL_ARGS_ASSERT_SAVE_I16       \
3036         assert(intp)
3037
3038 PERL_CALLCONV void      Perl_save_I32(pTHX_ I32* intp)
3039                         __attribute__nonnull__(pTHX_1);
3040 #define PERL_ARGS_ASSERT_SAVE_I32       \
3041         assert(intp)
3042
3043 PERL_CALLCONV void      Perl_save_I8(pTHX_ I8* bytep)
3044                         __attribute__nonnull__(pTHX_1);
3045 #define PERL_ARGS_ASSERT_SAVE_I8        \
3046         assert(bytep)
3047
3048 PERL_CALLCONV void      Perl_save_int(pTHX_ int* intp)
3049                         __attribute__nonnull__(pTHX_1);
3050 #define PERL_ARGS_ASSERT_SAVE_INT       \
3051         assert(intp)
3052
3053 PERL_CALLCONV void      Perl_save_item(pTHX_ SV* item)
3054                         __attribute__nonnull__(pTHX_1);
3055 #define PERL_ARGS_ASSERT_SAVE_ITEM      \
3056         assert(item)
3057
3058 PERL_CALLCONV void      Perl_save_iv(pTHX_ IV *ivp)
3059                         __attribute__nonnull__(pTHX_1);
3060 #define PERL_ARGS_ASSERT_SAVE_IV        \
3061         assert(ivp)
3062
3063 PERL_CALLCONV void      Perl_save_list(pTHX_ SV** sarg, I32 maxsarg)
3064                         __attribute__nonnull__(pTHX_1);
3065 #define PERL_ARGS_ASSERT_SAVE_LIST      \
3066         assert(sarg)
3067
3068 PERL_CALLCONV void      Perl_save_long(pTHX_ long* longp)
3069                         __attribute__nonnull__(pTHX_1);
3070 #define PERL_ARGS_ASSERT_SAVE_LONG      \
3071         assert(longp)
3072
3073 /* PERL_CALLCONV void   Perl_save_mortalizesv(pTHX_ SV* sv)
3074                         __attribute__nonnull__(pTHX_1); */
3075 #define PERL_ARGS_ASSERT_SAVE_MORTALIZESV       \
3076         assert(sv)
3077
3078 PERL_CALLCONV void      Perl_save_nogv(pTHX_ GV* gv)
3079                         __attribute__nonnull__(pTHX_1);
3080 #define PERL_ARGS_ASSERT_SAVE_NOGV      \
3081         assert(gv)
3082
3083 /* PERL_CALLCONV void   Perl_save_op(pTHX); */
3084 PERL_CALLCONV SV*       Perl_save_scalar(pTHX_ GV* gv)
3085                         __attribute__nonnull__(pTHX_1);
3086 #define PERL_ARGS_ASSERT_SAVE_SCALAR    \
3087         assert(gv)
3088
3089 PERL_CALLCONV void      Perl_save_pptr(pTHX_ char** pptr)
3090                         __attribute__nonnull__(pTHX_1);
3091 #define PERL_ARGS_ASSERT_SAVE_PPTR      \
3092         assert(pptr)
3093
3094 PERL_CALLCONV void      Perl_save_vptr(pTHX_ void *ptr)
3095                         __attribute__nonnull__(pTHX_1);
3096 #define PERL_ARGS_ASSERT_SAVE_VPTR      \
3097         assert(ptr)
3098
3099 PERL_CALLCONV void      Perl_save_re_context(pTHX);
3100 PERL_CALLCONV void      Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off);
3101 PERL_CALLCONV void      Perl_save_sptr(pTHX_ SV** sptr)
3102                         __attribute__nonnull__(pTHX_1);
3103 #define PERL_ARGS_ASSERT_SAVE_SPTR      \
3104         assert(sptr)
3105
3106 PERL_CALLCONV SV*       Perl_save_svref(pTHX_ SV** sptr)
3107                         __attribute__nonnull__(pTHX_1);
3108 #define PERL_ARGS_ASSERT_SAVE_SVREF     \
3109         assert(sptr)
3110
3111 PERL_CALLCONV void      Perl_save_pushptr(pTHX_ void *const ptr, const int type);
3112 PERL_CALLCONV void      Perl_save_pushi32ptr(pTHX_ const I32 i, void *const ptr, const int type);
3113 PERL_CALLCONV void      Perl_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type);
3114 #if defined(PERL_IN_SCOPE_C)
3115 STATIC void     S_save_pushptri32ptr(pTHX_ void *const ptr1, const I32 i, void *const ptr2, const int type);
3116 #endif
3117 PERL_CALLCONV OP*       Perl_sawparens(pTHX_ OP* o);
3118 PERL_CALLCONV OP*       Perl_scalar(pTHX_ OP* o);
3119 #if defined(PERL_IN_OP_C)
3120 STATIC OP*      S_scalarkids(pTHX_ OP* o);
3121 STATIC OP*      S_scalarseq(pTHX_ OP* o);
3122 #endif
3123 PERL_CALLCONV OP*       Perl_scalarvoid(pTHX_ OP* o)
3124                         __attribute__nonnull__(pTHX_1);
3125 #define PERL_ARGS_ASSERT_SCALARVOID     \
3126         assert(o)
3127
3128 PERL_CALLCONV NV        Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
3129                         __attribute__nonnull__(pTHX_1)
3130                         __attribute__nonnull__(pTHX_3);
3131 #define PERL_ARGS_ASSERT_SCAN_BIN       \
3132         assert(start); assert(retlen)
3133
3134 PERL_CALLCONV NV        Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
3135                         __attribute__nonnull__(pTHX_1)
3136                         __attribute__nonnull__(pTHX_3);
3137 #define PERL_ARGS_ASSERT_SCAN_HEX       \
3138         assert(start); assert(retlen)
3139
3140 PERL_CALLCONV char*     Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp)
3141                         __attribute__nonnull__(pTHX_1)
3142                         __attribute__nonnull__(pTHX_2);
3143 #define PERL_ARGS_ASSERT_SCAN_NUM       \
3144         assert(s); assert(lvalp)
3145
3146 PERL_CALLCONV NV        Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
3147                         __attribute__nonnull__(pTHX_1)
3148                         __attribute__nonnull__(pTHX_3);
3149 #define PERL_ARGS_ASSERT_SCAN_OCT       \
3150         assert(start); assert(retlen)
3151
3152 PERL_CALLCONV OP*       Perl_scope(pTHX_ OP* o);
3153 PERL_CALLCONV char*     Perl_screaminstr(pTHX_ SV *bigstr, SV *littlestr, I32 start_shift, I32 end_shift, I32 *old_posp, I32 last)
3154                         __attribute__nonnull__(pTHX_1)
3155                         __attribute__nonnull__(pTHX_2)
3156                         __attribute__nonnull__(pTHX_5);
3157 #define PERL_ARGS_ASSERT_SCREAMINSTR    \
3158         assert(bigstr); assert(littlestr); assert(old_posp)
3159
3160 PERL_CALLCONV void      Perl_setdefout(pTHX_ GV* gv);
3161 PERL_CALLCONV HEK*      Perl_share_hek(pTHX_ const char* str, I32 len, U32 hash)
3162                         __attribute__nonnull__(pTHX_1);
3163 #define PERL_ARGS_ASSERT_SHARE_HEK      \
3164         assert(str)
3165
3166 #if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
3167 PERL_CALLCONV Signal_t  Perl_sighandler(int sig, siginfo_t *info, void *uap);
3168 PERL_CALLCONV Signal_t  Perl_csighandler(int sig, siginfo_t *info, void *uap);
3169 #else
3170 PERL_CALLCONV Signal_t  Perl_sighandler(int sig);
3171 PERL_CALLCONV Signal_t  Perl_csighandler(int sig);
3172 #endif
3173 PERL_CALLCONV SV**      Perl_stack_grow(pTHX_ SV** sp, SV** p, int n)
3174                         __attribute__nonnull__(pTHX_1)
3175                         __attribute__nonnull__(pTHX_2);
3176 #define PERL_ARGS_ASSERT_STACK_GROW     \
3177         assert(sp); assert(p)
3178
3179 PERL_CALLCONV I32       Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
3180 PERL_CALLCONV void      Perl_sub_crush_depth(pTHX_ CV* cv)
3181                         __attribute__nonnull__(pTHX_1);
3182 #define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH        \
3183         assert(cv)
3184
3185 PERL_CALLCONV bool      Perl_sv_2bool(pTHX_ SV *const sv)
3186                         __attribute__nonnull__(pTHX_1);
3187 #define PERL_ARGS_ASSERT_SV_2BOOL       \
3188         assert(sv)
3189
3190 PERL_CALLCONV CV*       Perl_sv_2cv(pTHX_ SV* sv, HV **const st, GV **const gvp, const I32 lref)
3191                         __attribute__nonnull__(pTHX_2)
3192                         __attribute__nonnull__(pTHX_3);
3193 #define PERL_ARGS_ASSERT_SV_2CV \
3194         assert(st); assert(gvp)
3195
3196 PERL_CALLCONV IO*       Perl_sv_2io(pTHX_ SV *const sv)
3197                         __attribute__nonnull__(pTHX_1);
3198 #define PERL_ARGS_ASSERT_SV_2IO \
3199         assert(sv)
3200
3201 #if defined(PERL_IN_SV_C)
3202 STATIC bool     S_glob_2number(pTHX_ GV* const gv)
3203                         __attribute__nonnull__(pTHX_1);
3204 #define PERL_ARGS_ASSERT_GLOB_2NUMBER   \
3205         assert(gv)
3206
3207 #endif
3208 /* PERL_CALLCONV IV     Perl_sv_2iv(pTHX_ SV *sv); */
3209 PERL_CALLCONV IV        Perl_sv_2iv_flags(pTHX_ SV *const sv, const I32 flags);
3210 PERL_CALLCONV SV*       Perl_sv_2mortal(pTHX_ SV *const sv);
3211 PERL_CALLCONV NV        Perl_sv_2nv_flags(pTHX_ SV *const sv, const I32 flags);
3212 PERL_CALLCONV SV*       Perl_sv_2num(pTHX_ SV *const sv)
3213                         __attribute__nonnull__(pTHX_1);
3214 #define PERL_ARGS_ASSERT_SV_2NUM        \
3215         assert(sv)
3216
3217 /* PERL_CALLCONV char*  Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp); */
3218 PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
3219 PERL_CALLCONV char*     Perl_sv_2pvutf8(pTHX_ SV *const sv, STRLEN *const lp)
3220                         __attribute__nonnull__(pTHX_1);
3221 #define PERL_ARGS_ASSERT_SV_2PVUTF8     \
3222         assert(sv)
3223
3224 PERL_CALLCONV char*     Perl_sv_2pvbyte(pTHX_ SV *const sv, STRLEN *const lp)
3225                         __attribute__nonnull__(pTHX_1);
3226 #define PERL_ARGS_ASSERT_SV_2PVBYTE     \
3227         assert(sv)
3228
3229 PERL_CALLCONV char*     Perl_sv_pvn_nomg(pTHX_ SV* sv, STRLEN* lp)
3230                         __attribute__nonnull__(pTHX_1);
3231 #define PERL_ARGS_ASSERT_SV_PVN_NOMG    \
3232         assert(sv)
3233
3234 /* PERL_CALLCONV UV     Perl_sv_2uv(pTHX_ SV *sv); */
3235 PERL_CALLCONV UV        Perl_sv_2uv_flags(pTHX_ SV *const sv, const I32 flags);
3236 PERL_CALLCONV IV        Perl_sv_iv(pTHX_ SV* sv)
3237                         __attribute__nonnull__(pTHX_1);
3238 #define PERL_ARGS_ASSERT_SV_IV  \
3239         assert(sv)
3240
3241 PERL_CALLCONV UV        Perl_sv_uv(pTHX_ SV* sv)
3242                         __attribute__nonnull__(pTHX_1);
3243 #define PERL_ARGS_ASSERT_SV_UV  \
3244         assert(sv)
3245
3246 PERL_CALLCONV NV        Perl_sv_nv(pTHX_ SV* sv)
3247                         __attribute__nonnull__(pTHX_1);
3248 #define PERL_ARGS_ASSERT_SV_NV  \
3249         assert(sv)
3250
3251 PERL_CALLCONV char*     Perl_sv_pvn(pTHX_ SV *sv, STRLEN *lp)
3252                         __attribute__nonnull__(pTHX_1)
3253                         __attribute__nonnull__(pTHX_2);
3254 #define PERL_ARGS_ASSERT_SV_PVN \
3255         assert(sv); assert(lp)
3256
3257 PERL_CALLCONV char*     Perl_sv_pvutf8n(pTHX_ SV *sv, STRLEN *lp)
3258                         __attribute__nonnull__(pTHX_1)
3259                         __attribute__nonnull__(pTHX_2);
3260 #define PERL_ARGS_ASSERT_SV_PVUTF8N     \
3261         assert(sv); assert(lp)
3262
3263 PERL_CALLCONV char*     Perl_sv_pvbyten(pTHX_ SV *sv, STRLEN *lp)
3264                         __attribute__nonnull__(pTHX_1)
3265                         __attribute__nonnull__(pTHX_2);
3266 #define PERL_ARGS_ASSERT_SV_PVBYTEN     \
3267         assert(sv); assert(lp)
3268
3269 PERL_CALLCONV I32       Perl_sv_true(pTHX_ SV *const sv);
3270 #if defined(PERL_IN_SV_C)
3271 STATIC void     S_sv_add_arena(pTHX_ char *const ptr, const U32 size, const U32 flags)
3272                         __attribute__nonnull__(pTHX_1);
3273 #define PERL_ARGS_ASSERT_SV_ADD_ARENA   \
3274         assert(ptr)
3275
3276 #endif
3277 PERL_CALLCONV int       Perl_sv_backoff(pTHX_ SV *const sv)
3278                         __attribute__nonnull__(pTHX_1);
3279 #define PERL_ARGS_ASSERT_SV_BACKOFF     \
3280         assert(sv)
3281
3282 PERL_CALLCONV SV*       Perl_sv_bless(pTHX_ SV *const sv, HV *const stash)
3283                         __attribute__nonnull__(pTHX_1)
3284                         __attribute__nonnull__(pTHX_2);
3285 #define PERL_ARGS_ASSERT_SV_BLESS       \
3286         assert(sv); assert(stash)
3287
3288 PERL_CALLCONV void      Perl_sv_catpvf(pTHX_ SV *const sv, const char *const pat, ...)
3289                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
3290                         __attribute__nonnull__(pTHX_1)
3291                         __attribute__nonnull__(pTHX_2);
3292 #define PERL_ARGS_ASSERT_SV_CATPVF      \
3293         assert(sv); assert(pat)
3294
3295 PERL_CALLCONV void      Perl_sv_vcatpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args)
3296                         __attribute__nonnull__(pTHX_1)
3297                         __attribute__nonnull__(pTHX_2);
3298 #define PERL_ARGS_ASSERT_SV_VCATPVF     \
3299         assert(sv); assert(pat)
3300
3301 PERL_CALLCONV void      Perl_sv_catpv(pTHX_ SV *const sv, const char* ptr)
3302                         __attribute__nonnull__(pTHX_1);
3303 #define PERL_ARGS_ASSERT_SV_CATPV       \
3304         assert(sv)
3305
3306 /* PERL_CALLCONV void   Perl_sv_catpvn(pTHX_ SV *dsv, const char *sstr, STRLEN len)
3307                         __attribute__nonnull__(pTHX_1)
3308                         __attribute__nonnull__(pTHX_2); */
3309 #define PERL_ARGS_ASSERT_SV_CATPVN      \
3310         assert(dsv); assert(sstr)
3311
3312 /* PERL_CALLCONV void   Perl_sv_catsv(pTHX_ SV *dstr, SV *sstr)
3313                         __attribute__nonnull__(pTHX_1); */
3314 #define PERL_ARGS_ASSERT_SV_CATSV       \
3315         assert(dstr)
3316
3317 PERL_CALLCONV void      Perl_sv_chop(pTHX_ SV *const sv, const char *const ptr)
3318                         __attribute__nonnull__(pTHX_1);
3319 #define PERL_ARGS_ASSERT_SV_CHOP        \
3320         assert(sv)
3321
3322 PERL_CALLCONV I32       Perl_sv_clean_all(pTHX);
3323 PERL_CALLCONV void      Perl_sv_clean_objs(pTHX);
3324 PERL_CALLCONV void      Perl_sv_clear(pTHX_ SV *const sv)
3325                         __attribute__nonnull__(pTHX_1);
3326 #define PERL_ARGS_ASSERT_SV_CLEAR       \
3327         assert(sv)
3328
3329 PERL_CALLCONV I32       Perl_sv_cmp(pTHX_ SV *const sv1, SV *const sv2);
3330 PERL_CALLCONV I32       Perl_sv_cmp_locale(pTHX_ SV *const sv1, SV *const sv2);
3331 #if defined(USE_LOCALE_COLLATE)
3332 PERL_CALLCONV char*     Perl_sv_collxfrm(pTHX_ SV *const sv, STRLEN *const nxp)
3333                         __attribute__nonnull__(pTHX_1)
3334                         __attribute__nonnull__(pTHX_2);
3335 #define PERL_ARGS_ASSERT_SV_COLLXFRM    \
3336         assert(sv); assert(nxp)
3337
3338 #endif
3339 PERL_CALLCONV OP*       Perl_sv_compile_2op(pTHX_ SV *sv, OP **startop, const char *code, PAD **padp)
3340                         __attribute__nonnull__(pTHX_1)
3341                         __attribute__nonnull__(pTHX_2)
3342                         __attribute__nonnull__(pTHX_3)
3343                         __attribute__nonnull__(pTHX_4);
3344 #define PERL_ARGS_ASSERT_SV_COMPILE_2OP \
3345         assert(sv); assert(startop); assert(code); assert(padp)
3346
3347 PERL_CALLCONV int       Perl_getcwd_sv(pTHX_ SV* sv)
3348                         __attribute__nonnull__(pTHX_1);
3349 #define PERL_ARGS_ASSERT_GETCWD_SV      \
3350         assert(sv)
3351
3352 PERL_CALLCONV void      Perl_sv_dec(pTHX_ SV *const sv);
3353 PERL_CALLCONV void      Perl_sv_dec_nomg(pTHX_ SV *const sv);
3354 PERL_CALLCONV void      Perl_sv_dump(pTHX_ SV* sv)
3355                         __attribute__nonnull__(pTHX_1);
3356 #define PERL_ARGS_ASSERT_SV_DUMP        \
3357         assert(sv)
3358
3359 PERL_CALLCONV bool      Perl_sv_derived_from(pTHX_ SV* sv, const char *const name)
3360                         __attribute__warn_unused_result__
3361                         __attribute__nonnull__(pTHX_1)
3362                         __attribute__nonnull__(pTHX_2);
3363 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM        \
3364         assert(sv); assert(name)
3365
3366 PERL_CALLCONV bool      Perl_sv_does(pTHX_ SV* sv, const char *const name)
3367                         __attribute__warn_unused_result__
3368                         __attribute__nonnull__(pTHX_1)
3369                         __attribute__nonnull__(pTHX_2);
3370 #define PERL_ARGS_ASSERT_SV_DOES        \
3371         assert(sv); assert(name)
3372
3373 PERL_CALLCONV I32       Perl_sv_eq(pTHX_ SV* sv1, SV* sv2);
3374 PERL_CALLCONV void      Perl_sv_free(pTHX_ SV *const sv);
3375 PERL_CALLCONV void      Perl_sv_free2(pTHX_ SV *const sv)
3376                         __attribute__nonnull__(pTHX_1);
3377 #define PERL_ARGS_ASSERT_SV_FREE2       \
3378         assert(sv)
3379
3380 PERL_CALLCONV void      Perl_sv_free_arenas(pTHX);
3381 PERL_CALLCONV char*     Perl_sv_gets(pTHX_ SV *const sv, PerlIO *const fp, I32 append)
3382                         __attribute__nonnull__(pTHX_1)
3383                         __attribute__nonnull__(pTHX_2);
3384 #define PERL_ARGS_ASSERT_SV_GETS        \
3385         assert(sv); assert(fp)
3386
3387 PERL_CALLCONV char*     Perl_sv_grow(pTHX_ SV *const sv, STRLEN newlen)
3388                         __attribute__nonnull__(pTHX_1);
3389 #define PERL_ARGS_ASSERT_SV_GROW        \
3390         assert(sv)
3391
3392 PERL_CALLCONV void      Perl_sv_inc(pTHX_ SV *const sv);
3393 PERL_CALLCONV void      Perl_sv_inc_nomg(pTHX_ SV *const sv);
3394 /* PERL_CALLCONV void   Perl_sv_insert(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen)
3395                         __attribute__nonnull__(pTHX_1)
3396                         __attribute__nonnull__(pTHX_4); */
3397 #define PERL_ARGS_ASSERT_SV_INSERT      \
3398         assert(bigstr); assert(little)
3399
3400 PERL_CALLCONV void      Perl_sv_insert_flags(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen, const U32 flags)
3401                         __attribute__nonnull__(pTHX_1)
3402                         __attribute__nonnull__(pTHX_4);
3403 #define PERL_ARGS_ASSERT_SV_INSERT_FLAGS        \
3404         assert(bigstr); assert(little)
3405
3406 PERL_CALLCONV int       Perl_sv_isa(pTHX_ SV* sv, const char *const name)
3407                         __attribute__nonnull__(pTHX_2);
3408 #define PERL_ARGS_ASSERT_SV_ISA \
3409         assert(name)
3410
3411 PERL_CALLCONV int       Perl_sv_isobject(pTHX_ SV* sv);
3412 PERL_CALLCONV STRLEN    Perl_sv_len(pTHX_ SV *const sv);
3413 PERL_CALLCONV STRLEN    Perl_sv_len_utf8(pTHX_ SV *const sv);
3414 PERL_CALLCONV void      Perl_sv_magic(pTHX_ SV *const sv, SV *const obj, const int how, const char *const name, const I32 namlen)
3415                         __attribute__nonnull__(pTHX_1);
3416 #define PERL_ARGS_ASSERT_SV_MAGIC       \
3417         assert(sv)
3418
3419 PERL_CALLCONV MAGIC *   Perl_sv_magicext(pTHX_ SV *const sv, SV *const obj, const int how, const MGVTBL *const vtbl, const char *const name, const I32 namlen)
3420                         __attribute__nonnull__(pTHX_1);
3421 #define PERL_ARGS_ASSERT_SV_MAGICEXT    \
3422         assert(sv)
3423
3424 PERL_CALLCONV SV*       Perl_sv_mortalcopy(pTHX_ SV *const oldsv)
3425                         __attribute__malloc__
3426                         __attribute__warn_unused_result__;
3427
3428 PERL_CALLCONV SV*       Perl_sv_newmortal(pTHX)
3429                         __attribute__warn_unused_result__;
3430
3431 PERL_CALLCONV SV*       Perl_sv_newref(pTHX_ SV *const sv);
3432 PERL_CALLCONV char*     Perl_sv_peek(pTHX_ SV* sv);
3433 PERL_CALLCONV void      Perl_sv_pos_u2b(pTHX_ SV *const sv, I32 *const offsetp, I32 *const lenp)
3434                         __attribute__nonnull__(pTHX_2);
3435 #define PERL_ARGS_ASSERT_SV_POS_U2B     \
3436         assert(offsetp)
3437
3438 PERL_CALLCONV STRLEN    Perl_sv_pos_u2b_flags(pTHX_ SV *const sv, STRLEN uoffset, STRLEN *const lenp, U32 flags)
3439                         __attribute__nonnull__(pTHX_1);
3440 #define PERL_ARGS_ASSERT_SV_POS_U2B_FLAGS       \
3441         assert(sv)
3442
3443 PERL_CALLCONV void      Perl_sv_pos_b2u(pTHX_ SV *const sv, I32 *const offsetp)
3444                         __attribute__nonnull__(pTHX_2);
3445 #define PERL_ARGS_ASSERT_SV_POS_B2U     \
3446         assert(offsetp)
3447
3448 /* PERL_CALLCONV char*  Perl_sv_pvn_force(pTHX_ SV* sv, STRLEN* lp)
3449                         __attribute__nonnull__(pTHX_1); */
3450 #define PERL_ARGS_ASSERT_SV_PVN_FORCE   \
3451         assert(sv)
3452
3453 PERL_CALLCONV char*     Perl_sv_pvutf8n_force(pTHX_ SV *const sv, STRLEN *const lp)
3454                         __attribute__nonnull__(pTHX_1);
3455 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE       \
3456         assert(sv)
3457
3458 PERL_CALLCONV char*     Perl_sv_pvbyten_force(pTHX_ SV *const sv, STRLEN *const lp)
3459                         __attribute__nonnull__(pTHX_1);
3460 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE       \
3461         assert(sv)
3462
3463 PERL_CALLCONV char*     Perl_sv_recode_to_utf8(pTHX_ SV* sv, SV *encoding)
3464                         __attribute__nonnull__(pTHX_1)
3465                         __attribute__nonnull__(pTHX_2);
3466 #define PERL_ARGS_ASSERT_SV_RECODE_TO_UTF8      \
3467         assert(sv); assert(encoding)
3468
3469 PERL_CALLCONV bool      Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen)
3470                         __attribute__nonnull__(pTHX_1)
3471                         __attribute__nonnull__(pTHX_2)
3472                         __attribute__nonnull__(pTHX_3)
3473                         __attribute__nonnull__(pTHX_4)
3474                         __attribute__nonnull__(pTHX_5);
3475 #define PERL_ARGS_ASSERT_SV_CAT_DECODE  \
3476         assert(dsv); assert(encoding); assert(ssv); assert(offset); assert(tstr)
3477
3478 PERL_CALLCONV const char*       Perl_sv_reftype(pTHX_ const SV *const sv, const int ob)
3479                         __attribute__warn_unused_result__
3480                         __attribute__nonnull__(pTHX_1);
3481 #define PERL_ARGS_ASSERT_SV_REFTYPE     \
3482         assert(sv)
3483
3484 PERL_CALLCONV void      Perl_sv_replace(pTHX_ SV *const sv, SV *const nsv)
3485                         __attribute__nonnull__(pTHX_1)
3486                         __attribute__nonnull__(pTHX_2);
3487 #define PERL_ARGS_ASSERT_SV_REPLACE     \
3488         assert(sv); assert(nsv)
3489
3490 PERL_CALLCONV void      Perl_sv_report_used(pTHX);
3491 PERL_CALLCONV void      Perl_sv_reset(pTHX_ const char* s, HV *const stash)
3492                         __attribute__nonnull__(pTHX_1);
3493 #define PERL_ARGS_ASSERT_SV_RESET       \
3494         assert(s)
3495
3496 PERL_CALLCONV void      Perl_sv_setpvf(pTHX_ SV *const sv, const char *const pat, ...)
3497                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
3498                         __attribute__nonnull__(pTHX_1)
3499                         __attribute__nonnull__(pTHX_2);
3500 #define PERL_ARGS_ASSERT_SV_SETPVF      \
3501         assert(sv); assert(pat)
3502
3503 PERL_CALLCONV void      Perl_sv_vsetpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args)
3504                         __attribute__nonnull__(pTHX_1)
3505                         __attribute__nonnull__(pTHX_2);
3506 #define PERL_ARGS_ASSERT_SV_VSETPVF     \
3507         assert(sv); assert(pat)
3508
3509 PERL_CALLCONV void      Perl_sv_setiv(pTHX_ SV *const sv, const IV num)
3510                         __attribute__nonnull__(pTHX_1);
3511 #define PERL_ARGS_ASSERT_SV_SETIV       \
3512         assert(sv)
3513
3514 PERL_CALLCONV void      Perl_sv_setpviv(pTHX_ SV *const sv, const IV num)
3515                         __attribute__nonnull__(pTHX_1);
3516 #define PERL_ARGS_ASSERT_SV_SETPVIV     \
3517         assert(sv)
3518
3519 PERL_CALLCONV void      Perl_sv_setuv(pTHX_ SV *const sv, const UV num)
3520                         __attribute__nonnull__(pTHX_1);
3521 #define PERL_ARGS_ASSERT_SV_SETUV       \
3522         assert(sv)
3523
3524 PERL_CALLCONV void      Perl_sv_setnv(pTHX_ SV *const sv, const NV num)
3525                         __attribute__nonnull__(pTHX_1);
3526 #define PERL_ARGS_ASSERT_SV_SETNV       \
3527         assert(sv)
3528
3529 PERL_CALLCONV SV*       Perl_sv_setref_iv(pTHX_ SV *const rv, const char *const classname, const IV iv)
3530                         __attribute__nonnull__(pTHX_1);
3531 #define PERL_ARGS_ASSERT_SV_SETREF_IV   \
3532         assert(rv)
3533
3534 PERL_CALLCONV SV*       Perl_sv_setref_uv(pTHX_ SV *const rv, const char *const classname, const UV uv)
3535                         __attribute__nonnull__(pTHX_1);
3536 #define PERL_ARGS_ASSERT_SV_SETREF_UV   \
3537         assert(rv)
3538
3539 PERL_CALLCONV SV*       Perl_sv_setref_nv(pTHX_ SV *const rv, const char *const classname, const NV nv)
3540                         __attribute__nonnull__(pTHX_1);
3541 #define PERL_ARGS_ASSERT_SV_SETREF_NV   \
3542         assert(rv)
3543
3544 PERL_CALLCONV SV*       Perl_sv_setref_pv(pTHX_ SV *const rv, const char *const classname, void *const pv)
3545                         __attribute__nonnull__(pTHX_1);
3546 #define PERL_ARGS_ASSERT_SV_SETREF_PV   \
3547         assert(rv)
3548
3549 PERL_CALLCONV SV*       Perl_sv_setref_pvn(pTHX_ SV *const rv, const char *const classname, const char *const pv, const STRLEN n)
3550                         __attribute__nonnull__(pTHX_1)
3551                         __attribute__nonnull__(pTHX_3);
3552 #define PERL_ARGS_ASSERT_SV_SETREF_PVN  \
3553         assert(rv); assert(pv)
3554
3555 PERL_CALLCONV void      Perl_sv_setpv(pTHX_ SV *const sv, const char *const ptr)
3556                         __attribute__nonnull__(pTHX_1);
3557 #define PERL_ARGS_ASSERT_SV_SETPV       \
3558         assert(sv)
3559
3560 PERL_CALLCONV void      Perl_sv_setpvn(pTHX_ SV *const sv, const char *const ptr, const STRLEN len)
3561                         __attribute__nonnull__(pTHX_1);
3562 #define PERL_ARGS_ASSERT_SV_SETPVN      \
3563         assert(sv)
3564
3565 /* PERL_CALLCONV void   Perl_sv_setsv(pTHX_ SV *dstr, SV *sstr)
3566                         __attribute__nonnull__(pTHX_1); */
3567 #define PERL_ARGS_ASSERT_SV_SETSV       \
3568         assert(dstr)
3569
3570 /* PERL_CALLCONV void   Perl_sv_taint(pTHX_ SV* sv)
3571                         __attribute__nonnull__(pTHX_1); */
3572 #define PERL_ARGS_ASSERT_SV_TAINT       \
3573         assert(sv)
3574
3575 PERL_CALLCONV bool      Perl_sv_tainted(pTHX_ SV *const sv)
3576                         __attribute__warn_unused_result__
3577                         __attribute__nonnull__(pTHX_1);
3578 #define PERL_ARGS_ASSERT_SV_TAINTED     \
3579         assert(sv)
3580
3581 PERL_CALLCONV int       Perl_sv_unmagic(pTHX_ SV *const sv, const int type)
3582                         __attribute__nonnull__(pTHX_1);
3583 #define PERL_ARGS_ASSERT_SV_UNMAGIC     \
3584         assert(sv)
3585
3586 /* PERL_CALLCONV void   Perl_sv_unref(pTHX_ SV* sv)
3587                         __attribute__nonnull__(pTHX_1); */
3588 #define PERL_ARGS_ASSERT_SV_UNREF       \
3589         assert(sv)
3590
3591 PERL_CALLCONV void      Perl_sv_unref_flags(pTHX_ SV *const ref, const U32 flags)
3592                         __attribute__nonnull__(pTHX_1);
3593 #define PERL_ARGS_ASSERT_SV_UNREF_FLAGS \
3594         assert(ref)
3595
3596 PERL_CALLCONV void      Perl_sv_untaint(pTHX_ SV *const sv)
3597                         __attribute__nonnull__(pTHX_1);
3598 #define PERL_ARGS_ASSERT_SV_UNTAINT     \
3599         assert(sv)
3600
3601 PERL_CALLCONV void      Perl_sv_upgrade(pTHX_ SV *const sv, svtype new_type)
3602                         __attribute__nonnull__(pTHX_1);
3603 #define PERL_ARGS_ASSERT_SV_UPGRADE     \
3604         assert(sv)
3605
3606 /* PERL_CALLCONV void   Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len)
3607                         __attribute__nonnull__(pTHX_1); */
3608 #define PERL_ARGS_ASSERT_SV_USEPVN      \
3609         assert(sv)
3610
3611 PERL_CALLCONV void      Perl_sv_usepvn_flags(pTHX_ SV *const sv, char* ptr, const STRLEN len, const U32 flags)
3612                         __attribute__nonnull__(pTHX_1);
3613 #define PERL_ARGS_ASSERT_SV_USEPVN_FLAGS        \
3614         assert(sv)
3615
3616 PERL_CALLCONV void      Perl_sv_vcatpvfn(pTHX_ SV *const sv, const char *const pat, const STRLEN patlen, va_list *const args, SV **const svargs, const I32 svmax, bool *const maybe_tainted)
3617                         __attribute__nonnull__(pTHX_1)
3618                         __attribute__nonnull__(pTHX_2);
3619 #define PERL_ARGS_ASSERT_SV_VCATPVFN    \
3620         assert(sv); assert(pat)
3621
3622 PERL_CALLCONV void      Perl_sv_vsetpvfn(pTHX_ SV *const sv, const char *const pat, const STRLEN patlen, va_list *const args, SV **const svargs, const I32 svmax, bool *const maybe_tainted)
3623                         __attribute__nonnull__(pTHX_1)
3624                         __attribute__nonnull__(pTHX_2);
3625 #define PERL_ARGS_ASSERT_SV_VSETPVFN    \
3626         assert(sv); assert(pat)
3627
3628 PERL_CALLCONV NV        Perl_str_to_version(pTHX_ SV *sv)
3629                         __attribute__warn_unused_result__
3630                         __attribute__nonnull__(pTHX_1);
3631 #define PERL_ARGS_ASSERT_STR_TO_VERSION \
3632         assert(sv)
3633
3634 PERL_CALLCONV SV*       Perl_swash_init(pTHX_ const char* pkg, const char* name, SV* listsv, I32 minbits, I32 none)
3635                         __attribute__nonnull__(pTHX_1)
3636                         __attribute__nonnull__(pTHX_2)
3637                         __attribute__nonnull__(pTHX_3);
3638 #define PERL_ARGS_ASSERT_SWASH_INIT     \
3639         assert(pkg); assert(name); assert(listsv)
3640
3641 PERL_CALLCONV UV        Perl_swash_fetch(pTHX_ SV *swash, const U8 *ptr, bool do_utf8)
3642                         __attribute__nonnull__(pTHX_1)
3643                         __attribute__nonnull__(pTHX_2);
3644 #define PERL_ARGS_ASSERT_SWASH_FETCH    \
3645         assert(swash); assert(ptr)
3646
3647 PERL_CALLCONV void      Perl_taint_env(pTHX);
3648 PERL_CALLCONV void      Perl_taint_proper(pTHX_ const char* f, const char *const s)
3649                         __attribute__nonnull__(pTHX_2);
3650 #define PERL_ARGS_ASSERT_TAINT_PROPER   \
3651         assert(s)
3652
3653 PERL_CALLCONV UV        Perl_to_utf8_case(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, SV **swashp, const char *normal, const char *special)
3654                         __attribute__nonnull__(pTHX_1)
3655                         __attribute__nonnull__(pTHX_2)
3656                         __attribute__nonnull__(pTHX_4)
3657                         __attribute__nonnull__(pTHX_5)
3658                         __attribute__nonnull__(pTHX_6);
3659 #define PERL_ARGS_ASSERT_TO_UTF8_CASE   \
3660         assert(p); assert(ustrp); assert(swashp); assert(normal); assert(special)
3661
3662 PERL_CALLCONV UV        Perl_to_utf8_lower(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3663                         __attribute__nonnull__(pTHX_1)
3664                         __attribute__nonnull__(pTHX_2);
3665 #define PERL_ARGS_ASSERT_TO_UTF8_LOWER  \
3666         assert(p); assert(ustrp)
3667
3668 PERL_CALLCONV UV        Perl_to_utf8_upper(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3669                         __attribute__nonnull__(pTHX_1)
3670                         __attribute__nonnull__(pTHX_2);
3671 #define PERL_ARGS_ASSERT_TO_UTF8_UPPER  \
3672         assert(p); assert(ustrp)
3673
3674 PERL_CALLCONV UV        Perl_to_utf8_title(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3675                         __attribute__nonnull__(pTHX_1)
3676                         __attribute__nonnull__(pTHX_2);
3677 #define PERL_ARGS_ASSERT_TO_UTF8_TITLE  \
3678         assert(p); assert(ustrp)
3679
3680 PERL_CALLCONV UV        Perl_to_utf8_fold(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3681                         __attribute__nonnull__(pTHX_1)
3682                         __attribute__nonnull__(pTHX_2);
3683 #define PERL_ARGS_ASSERT_TO_UTF8_FOLD   \
3684         assert(p); assert(ustrp)
3685
3686 #if defined(UNLINK_ALL_VERSIONS)
3687 PERL_CALLCONV I32       Perl_unlnk(pTHX_ const char* f)
3688                         __attribute__nonnull__(pTHX_1);
3689 #define PERL_ARGS_ASSERT_UNLNK  \
3690         assert(f)
3691
3692 #endif
3693 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)
3694                         __attribute__nonnull__(pTHX_1)
3695                         __attribute__nonnull__(pTHX_2)
3696                         __attribute__nonnull__(pTHX_3)
3697                         __attribute__nonnull__(pTHX_5);
3698 #define PERL_ARGS_ASSERT_UNPACK_STR     \
3699         assert(pat); assert(patend); assert(s); assert(strend)
3700
3701 PERL_CALLCONV I32       Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags)
3702                         __attribute__nonnull__(pTHX_1)
3703                         __attribute__nonnull__(pTHX_2)
3704                         __attribute__nonnull__(pTHX_3)
3705                         __attribute__nonnull__(pTHX_4);
3706 #define PERL_ARGS_ASSERT_UNPACKSTRING   \
3707         assert(pat); assert(patend); assert(s); assert(strend)
3708
3709 PERL_CALLCONV void      Perl_unsharepvn(pTHX_ const char* sv, I32 len, U32 hash);
3710 PERL_CALLCONV void      Perl_unshare_hek(pTHX_ HEK* hek);
3711 #ifdef PERL_MAD
3712 PERL_CALLCONV OP *      Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg)
3713                         __attribute__nonnull__(pTHX_4);
3714 #define PERL_ARGS_ASSERT_UTILIZE        \
3715         assert(idop)
3716
3717 #else
3718 PERL_CALLCONV void      Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg)
3719                         __attribute__nonnull__(pTHX_4);
3720 #define PERL_ARGS_ASSERT_UTILIZE        \
3721         assert(idop)
3722
3723 #endif
3724 PERL_CALLCONV U8*       Perl_utf16_to_utf8(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen)
3725                         __attribute__nonnull__(pTHX_1)
3726                         __attribute__nonnull__(pTHX_2)
3727                         __attribute__nonnull__(pTHX_4);
3728 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8  \
3729         assert(p); assert(d); assert(newlen)
3730
3731 PERL_CALLCONV U8*       Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen)
3732                         __attribute__nonnull__(pTHX_1)
3733                         __attribute__nonnull__(pTHX_2)
3734                         __attribute__nonnull__(pTHX_4);
3735 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_REVERSED \
3736         assert(p); assert(d); assert(newlen)
3737
3738 PERL_CALLCONV STRLEN    Perl_utf8_length(pTHX_ const U8* s, const U8 *e)
3739                         __attribute__warn_unused_result__
3740                         __attribute__pure__
3741                         __attribute__nonnull__(pTHX_1)
3742                         __attribute__nonnull__(pTHX_2);
3743 #define PERL_ARGS_ASSERT_UTF8_LENGTH    \
3744         assert(s); assert(e)
3745
3746 PERL_CALLCONV IV        Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b)
3747                         __attribute__warn_unused_result__
3748                         __attribute__pure__
3749                         __attribute__nonnull__(pTHX_1)
3750                         __attribute__nonnull__(pTHX_2);
3751 #define PERL_ARGS_ASSERT_UTF8_DISTANCE  \
3752         assert(a); assert(b)
3753
3754 PERL_CALLCONV U8*       Perl_utf8_hop(pTHX_ const U8 *s, I32 off)
3755                         __attribute__warn_unused_result__
3756                         __attribute__pure__
3757                         __attribute__nonnull__(pTHX_1);
3758 #define PERL_ARGS_ASSERT_UTF8_HOP       \
3759         assert(s)
3760
3761 PERL_CALLCONV U8*       Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *len)
3762                         __attribute__nonnull__(pTHX_1)
3763                         __attribute__nonnull__(pTHX_2);
3764 #define PERL_ARGS_ASSERT_UTF8_TO_BYTES  \
3765         assert(s); assert(len)
3766
3767 PERL_CALLCONV U8*       Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *len, bool *is_utf8)
3768                         __attribute__nonnull__(pTHX_1)
3769                         __attribute__nonnull__(pTHX_2);
3770 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8        \
3771         assert(s); assert(len)
3772
3773 PERL_CALLCONV U8*       Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *len)
3774                         __attribute__nonnull__(pTHX_1)
3775                         __attribute__nonnull__(pTHX_2);
3776 #define PERL_ARGS_ASSERT_BYTES_TO_UTF8  \
3777         assert(s); assert(len)
3778
3779 PERL_CALLCONV UV        Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen)
3780                         __attribute__nonnull__(pTHX_1);
3781 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR  \
3782         assert(s)
3783
3784 PERL_CALLCONV UV        Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
3785                         __attribute__nonnull__(pTHX_1);
3786 #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI  \
3787         assert(s)
3788
3789
3790 #ifdef EBCDIC
3791 PERL_CALLCONV UV        Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
3792                         __attribute__nonnull__(pTHX_1);
3793 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \
3794         assert(s)
3795
3796 #else
3797 /* PERL_CALLCONV UV     Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
3798                         __attribute__nonnull__(pTHX_1); */
3799 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \
3800         assert(s)
3801
3802 #endif
3803
3804 PERL_CALLCONV UV        Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
3805                         __attribute__nonnull__(pTHX_1);
3806 #define PERL_ARGS_ASSERT_UTF8N_TO_UVUNI \
3807         assert(s)
3808
3809
3810 #ifdef EBCDIC
3811 PERL_CALLCONV U8*       Perl_uvchr_to_utf8(pTHX_ U8 *d, UV uv)
3812                         __attribute__nonnull__(pTHX_1);
3813 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8  \
3814         assert(d)
3815
3816 #else
3817 /* PERL_CALLCONV U8*    Perl_uvchr_to_utf8(pTHX_ U8 *d, UV uv)
3818                         __attribute__nonnull__(pTHX_1); */
3819 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8  \
3820         assert(d)
3821
3822 #endif
3823
3824 /* PERL_CALLCONV U8*    Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv)
3825                         __attribute__nonnull__(pTHX_1); */
3826 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8  \
3827         assert(d)
3828
3829 PERL_CALLCONV U8*       Perl_uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
3830                         __attribute__nonnull__(pTHX_1);
3831 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8_FLAGS    \
3832         assert(d)
3833
3834 PERL_CALLCONV U8*       Perl_uvuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
3835                         __attribute__nonnull__(pTHX_1);
3836 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8_FLAGS    \
3837         assert(d)
3838
3839 PERL_CALLCONV char*     Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags)
3840                         __attribute__nonnull__(pTHX_1)
3841                         __attribute__nonnull__(pTHX_2);
3842 #define PERL_ARGS_ASSERT_PV_UNI_DISPLAY \
3843         assert(dsv); assert(spv)
3844
3845 PERL_CALLCONV char*     Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags)
3846                         __attribute__warn_unused_result__
3847                         __attribute__nonnull__(pTHX_1)
3848                         __attribute__nonnull__(pTHX_2);
3849 #define PERL_ARGS_ASSERT_SV_UNI_DISPLAY \
3850         assert(dsv); assert(ssv)
3851
3852 PERL_CALLCONV void      Perl_vivify_defelem(pTHX_ SV* sv)
3853                         __attribute__nonnull__(pTHX_1);
3854 #define PERL_ARGS_ASSERT_VIVIFY_DEFELEM \
3855         assert(sv)
3856
3857 PERL_CALLCONV void      Perl_vivify_ref(pTHX_ SV* sv, U32 to_what)
3858                         __attribute__nonnull__(pTHX_1);
3859 #define PERL_ARGS_ASSERT_VIVIFY_REF     \
3860         assert(sv)
3861
3862 PERL_CALLCONV I32       Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags)
3863                         __attribute__nonnull__(pTHX_2);
3864 #define PERL_ARGS_ASSERT_WAIT4PID       \
3865         assert(statusp)
3866
3867 PERL_CALLCONV U32       Perl_parse_unicode_opts(pTHX_ const char **popt)
3868                         __attribute__nonnull__(pTHX_1);
3869 #define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS     \
3870         assert(popt)
3871
3872 PERL_CALLCONV U32       Perl_seed(pTHX);
3873 PERL_CALLCONV UV        Perl_get_hash_seed(pTHX)
3874                         __attribute__warn_unused_result__;
3875
3876 PERL_CALLCONV void      Perl_report_evil_fh(pTHX_ const GV *gv, const IO *io, I32 op);
3877 PERL_CALLCONV void      Perl_report_uninit(pTHX_ const SV *uninit_sv);
3878 PERL_CALLCONV void      Perl_warn_sv(pTHX_ SV *baseex)
3879                         __attribute__nonnull__(pTHX_1);
3880 #define PERL_ARGS_ASSERT_WARN_SV        \
3881         assert(baseex)
3882
3883 PERL_CALLCONV void      Perl_warn(pTHX_ const char* pat, ...)
3884                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
3885                         __attribute__nonnull__(pTHX_1);
3886 #define PERL_ARGS_ASSERT_WARN   \
3887         assert(pat)
3888
3889 PERL_CALLCONV void      Perl_vwarn(pTHX_ const char* pat, va_list* args)
3890                         __attribute__nonnull__(pTHX_1);
3891 #define PERL_ARGS_ASSERT_VWARN  \
3892         assert(pat)
3893
3894 PERL_CALLCONV void      Perl_warner(pTHX_ U32 err, const char* pat, ...)
3895                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
3896                         __attribute__nonnull__(pTHX_2);
3897 #define PERL_ARGS_ASSERT_WARNER \
3898         assert(pat)
3899
3900 PERL_CALLCONV void      Perl_ck_warner(pTHX_ U32 err, const char* pat, ...)
3901                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
3902                         __attribute__nonnull__(pTHX_2);
3903 #define PERL_ARGS_ASSERT_CK_WARNER      \
3904         assert(pat)
3905
3906 PERL_CALLCONV void      Perl_ck_warner_d(pTHX_ U32 err, const char* pat, ...)
3907                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
3908                         __attribute__nonnull__(pTHX_2);
3909 #define PERL_ARGS_ASSERT_CK_WARNER_D    \
3910         assert(pat)
3911
3912 PERL_CALLCONV void      Perl_vwarner(pTHX_ U32 err, const char* pat, va_list* args)
3913                         __attribute__nonnull__(pTHX_2);
3914 #define PERL_ARGS_ASSERT_VWARNER        \
3915         assert(pat)
3916
3917 PERL_CALLCONV void      Perl_watch(pTHX_ char** addr)
3918                         __attribute__nonnull__(pTHX_1);
3919 #define PERL_ARGS_ASSERT_WATCH  \
3920         assert(addr)
3921
3922 PERL_CALLCONV I32       Perl_whichsig(pTHX_ const char* sig)
3923                         __attribute__nonnull__(pTHX_1);
3924 #define PERL_ARGS_ASSERT_WHICHSIG       \
3925         assert(sig)
3926
3927 PERL_CALLCONV void      Perl_write_to_stderr(pTHX_ SV* msv)
3928                         __attribute__nonnull__(pTHX_1);
3929 #define PERL_ARGS_ASSERT_WRITE_TO_STDERR        \
3930         assert(msv)
3931
3932 PERL_CALLCONV int       Perl_yyerror(pTHX_ const char *const s)
3933                         __attribute__nonnull__(pTHX_1);
3934 #define PERL_ARGS_ASSERT_YYERROR        \
3935         assert(s)
3936
3937 PERL_CALLCONV int       Perl_yylex(pTHX);
3938 PERL_CALLCONV int       Perl_yyparse(pTHX);
3939 PERL_CALLCONV void      Perl_parser_free(pTHX_ const yy_parser *parser)
3940                         __attribute__nonnull__(pTHX_1);
3941 #define PERL_ARGS_ASSERT_PARSER_FREE    \
3942         assert(parser)
3943
3944 #if defined(PERL_IN_TOKE_C)
3945 STATIC int      S_yywarn(pTHX_ const char *const s)
3946                         __attribute__nonnull__(pTHX_1);
3947 #define PERL_ARGS_ASSERT_YYWARN \
3948         assert(s)
3949
3950 #endif
3951 #if defined(MYMALLOC)
3952 PERL_CALLCONV void      Perl_dump_mstats(pTHX_ const char* s)
3953                         __attribute__nonnull__(pTHX_1);
3954 #define PERL_ARGS_ASSERT_DUMP_MSTATS    \
3955         assert(s)
3956
3957 PERL_CALLCONV int       Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level)
3958                         __attribute__nonnull__(pTHX_1);
3959 #define PERL_ARGS_ASSERT_GET_MSTATS     \
3960         assert(buf)
3961
3962 #endif
3963 PERL_CALLCONV Malloc_t  Perl_safesysmalloc(MEM_SIZE nbytes)
3964                         __attribute__malloc__
3965                         __attribute__warn_unused_result__;
3966
3967 PERL_CALLCONV Malloc_t  Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size)
3968                         __attribute__malloc__
3969                         __attribute__warn_unused_result__;
3970
3971 PERL_CALLCONV Malloc_t  Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes)
3972                         __attribute__malloc__
3973                         __attribute__warn_unused_result__;
3974
3975 PERL_CALLCONV Free_t    Perl_safesysfree(Malloc_t where);
3976 #if defined(PERL_GLOBAL_STRUCT)
3977 PERL_CALLCONV struct perl_vars *        Perl_GetVars(pTHX);
3978 PERL_CALLCONV struct perl_vars* Perl_init_global_struct(pTHX);
3979 PERL_CALLCONV void      Perl_free_global_struct(pTHX_ struct perl_vars *plvarsp)
3980                         __attribute__nonnull__(pTHX_1);
3981 #define PERL_ARGS_ASSERT_FREE_GLOBAL_STRUCT     \
3982         assert(plvarsp)
3983
3984 #endif
3985 PERL_CALLCONV int       Perl_runops_standard(pTHX);
3986 PERL_CALLCONV int       Perl_runops_debug(pTHX);
3987 PERL_CALLCONV void      Perl_sv_catpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
3988                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
3989                         __attribute__nonnull__(pTHX_1)
3990                         __attribute__nonnull__(pTHX_2);
3991 #define PERL_ARGS_ASSERT_SV_CATPVF_MG   \
3992         assert(sv); assert(pat)
3993
3994 PERL_CALLCONV void      Perl_sv_vcatpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args)
3995                         __attribute__nonnull__(pTHX_1)
3996                         __attribute__nonnull__(pTHX_2);
3997 #define PERL_ARGS_ASSERT_SV_VCATPVF_MG  \
3998         assert(sv); assert(pat)
3999
4000 PERL_CALLCONV void      Perl_sv_catpv_mg(pTHX_ SV *const sv, const char *const ptr)
4001                         __attribute__nonnull__(pTHX_1);
4002 #define PERL_ARGS_ASSERT_SV_CATPV_MG    \
4003         assert(sv)
4004
4005 /* PERL_CALLCONV void   Perl_sv_catpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len)
4006                         __attribute__nonnull__(pTHX_1)
4007                         __attribute__nonnull__(pTHX_2); */
4008 #define PERL_ARGS_ASSERT_SV_CATPVN_MG   \
4009         assert(sv); assert(ptr)
4010
4011 /* PERL_CALLCONV void   Perl_sv_catsv_mg(pTHX_ SV *dsv, SV *ssv)
4012                         __attribute__nonnull__(pTHX_1); */
4013 #define PERL_ARGS_ASSERT_SV_CATSV_MG    \
4014         assert(dsv)
4015
4016 PERL_CALLCONV void      Perl_sv_setpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
4017                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
4018                         __attribute__nonnull__(pTHX_1)
4019                         __attribute__nonnull__(pTHX_2);
4020 #define PERL_ARGS_ASSERT_SV_SETPVF_MG   \
4021         assert(sv); assert(pat)
4022
4023 PERL_CALLCONV void      Perl_sv_vsetpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args)
4024                         __attribute__nonnull__(pTHX_1)
4025                         __attribute__nonnull__(pTHX_2);
4026 #define PERL_ARGS_ASSERT_SV_VSETPVF_MG  \
4027         assert(sv); assert(pat)
4028
4029 PERL_CALLCONV void      Perl_sv_setiv_mg(pTHX_ SV *const sv, const IV i)
4030                         __attribute__nonnull__(pTHX_1);
4031 #define PERL_ARGS_ASSERT_SV_SETIV_MG    \
4032         assert(sv)
4033
4034 PERL_CALLCONV void      Perl_sv_setpviv_mg(pTHX_ SV *const sv, const IV iv)
4035                         __attribute__nonnull__(pTHX_1);
4036 #define PERL_ARGS_ASSERT_SV_SETPVIV_MG  \
4037         assert(sv)
4038
4039 PERL_CALLCONV void      Perl_sv_setuv_mg(pTHX_ SV *const sv, const UV u)
4040                         __attribute__nonnull__(pTHX_1);
4041 #define PERL_ARGS_ASSERT_SV_SETUV_MG    \
4042         assert(sv)
4043
4044 PERL_CALLCONV void      Perl_sv_setnv_mg(pTHX_ SV *const sv, const NV num)
4045                         __attribute__nonnull__(pTHX_1);
4046 #define PERL_ARGS_ASSERT_SV_SETNV_MG    \
4047         assert(sv)
4048
4049 PERL_CALLCONV void      Perl_sv_setpv_mg(pTHX_ SV *const sv, const char *const ptr)
4050                         __attribute__nonnull__(pTHX_1);
4051 #define PERL_ARGS_ASSERT_SV_SETPV_MG    \
4052         assert(sv)
4053
4054 PERL_CALLCONV void      Perl_sv_setpvn_mg(pTHX_ SV *const sv, const char *const ptr, const STRLEN len)
4055                         __attribute__nonnull__(pTHX_1)
4056                         __attribute__nonnull__(pTHX_2);
4057 #define PERL_ARGS_ASSERT_SV_SETPVN_MG   \
4058         assert(sv); assert(ptr)
4059
4060 PERL_CALLCONV void      Perl_sv_setsv_mg(pTHX_ SV *const dstr, SV *const sstr)
4061                         __attribute__nonnull__(pTHX_1);
4062 #define PERL_ARGS_ASSERT_SV_SETSV_MG    \
4063         assert(dstr)
4064
4065 /* PERL_CALLCONV void   Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len)
4066                         __attribute__nonnull__(pTHX_1); */
4067 #define PERL_ARGS_ASSERT_SV_USEPVN_MG   \
4068         assert(sv)
4069
4070 PERL_CALLCONV MGVTBL*   Perl_get_vtbl(pTHX_ int vtbl_id)
4071                         __attribute__warn_unused_result__;
4072
4073 PERL_CALLCONV char*     Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim)
4074                         __attribute__nonnull__(pTHX_1)
4075                         __attribute__nonnull__(pTHX_2);
4076 #define PERL_ARGS_ASSERT_PV_DISPLAY     \
4077         assert(dsv); assert(pv)
4078
4079 PERL_CALLCONV char*     Perl_pv_escape(pTHX_ SV *dsv, char const * const str, const STRLEN count, const STRLEN max, STRLEN * const escaped, const U32 flags)
4080                         __attribute__nonnull__(pTHX_1)
4081                         __attribute__nonnull__(pTHX_2);
4082 #define PERL_ARGS_ASSERT_PV_ESCAPE      \
4083         assert(dsv); assert(str)
4084
4085 PERL_CALLCONV char*     Perl_pv_pretty(pTHX_ SV *dsv, char const * const str, const STRLEN count, const STRLEN max, char const * const start_color, char const * const end_color, const U32 flags)
4086                         __attribute__nonnull__(pTHX_1)
4087                         __attribute__nonnull__(pTHX_2);
4088 #define PERL_ARGS_ASSERT_PV_PRETTY      \
4089         assert(dsv); assert(str)
4090
4091 PERL_CALLCONV void      Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...)
4092                         __attribute__format__(__printf__,pTHX_3,pTHX_4)
4093                         __attribute__nonnull__(pTHX_2)
4094                         __attribute__nonnull__(pTHX_3);
4095 #define PERL_ARGS_ASSERT_DUMP_INDENT    \
4096         assert(file); assert(pat)
4097
4098 PERL_CALLCONV void      Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args)
4099                         __attribute__nonnull__(pTHX_2)
4100                         __attribute__nonnull__(pTHX_3);
4101 #define PERL_ARGS_ASSERT_DUMP_VINDENT   \
4102         assert(file); assert(pat)
4103
4104 PERL_CALLCONV void      Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv)
4105                         __attribute__nonnull__(pTHX_2)
4106                         __attribute__nonnull__(pTHX_3);
4107 #define PERL_ARGS_ASSERT_DO_GV_DUMP     \
4108         assert(file); assert(name)
4109
4110 PERL_CALLCONV void      Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv)
4111                         __attribute__nonnull__(pTHX_2)
4112                         __attribute__nonnull__(pTHX_3);
4113 #define PERL_ARGS_ASSERT_DO_GVGV_DUMP   \
4114         assert(file); assert(name)
4115
4116 PERL_CALLCONV void      Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv)
4117                         __attribute__nonnull__(pTHX_2)
4118                         __attribute__nonnull__(pTHX_3);
4119 #define PERL_ARGS_ASSERT_DO_HV_DUMP     \
4120         assert(file); assert(name)
4121
4122 PERL_CALLCONV void      Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim)
4123                         __attribute__nonnull__(pTHX_2)
4124                         __attribute__nonnull__(pTHX_3);
4125 #define PERL_ARGS_ASSERT_DO_MAGIC_DUMP  \
4126         assert(file); assert(mg)
4127
4128 PERL_CALLCONV void      Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o)
4129                         __attribute__nonnull__(pTHX_2);
4130 #define PERL_ARGS_ASSERT_DO_OP_DUMP     \
4131         assert(file)
4132
4133 PERL_CALLCONV void      Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm)
4134                         __attribute__nonnull__(pTHX_2);
4135 #define PERL_ARGS_ASSERT_DO_PMOP_DUMP   \
4136         assert(file)
4137
4138 PERL_CALLCONV void      Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim)
4139                         __attribute__nonnull__(pTHX_2);
4140 #define PERL_ARGS_ASSERT_DO_SV_DUMP     \
4141         assert(file)
4142
4143 PERL_CALLCONV void      Perl_magic_dump(pTHX_ const MAGIC *mg);
4144 PERL_CALLCONV void      Perl_reginitcolors(pTHX);
4145 /* PERL_CALLCONV char*  Perl_sv_2pv_nolen(pTHX_ SV* sv)
4146                         __attribute__warn_unused_result__
4147                         __attribute__nonnull__(pTHX_1); */
4148 #define PERL_ARGS_ASSERT_SV_2PV_NOLEN   \
4149         assert(sv)
4150
4151 /* PERL_CALLCONV char*  Perl_sv_2pvutf8_nolen(pTHX_ SV* sv)
4152                         __attribute__warn_unused_result__
4153                         __attribute__nonnull__(pTHX_1); */
4154 #define PERL_ARGS_ASSERT_SV_2PVUTF8_NOLEN       \
4155         assert(sv)
4156
4157 /* PERL_CALLCONV char*  Perl_sv_2pvbyte_nolen(pTHX_ SV* sv)
4158                         __attribute__warn_unused_result__
4159                         __attribute__nonnull__(pTHX_1); */
4160 #define PERL_ARGS_ASSERT_SV_2PVBYTE_NOLEN       \
4161         assert(sv)
4162
4163 /* PERL_CALLCONV char*  Perl_sv_pv(pTHX_ SV *sv)
4164                         __attribute__warn_unused_result__
4165                         __attribute__nonnull__(pTHX_1); */
4166 #define PERL_ARGS_ASSERT_SV_PV  \
4167         assert(sv)
4168
4169 /* PERL_CALLCONV char*  Perl_sv_pvutf8(pTHX_ SV *sv)
4170                         __attribute__warn_unused_result__
4171                         __attribute__nonnull__(pTHX_1); */
4172 #define PERL_ARGS_ASSERT_SV_PVUTF8      \
4173         assert(sv)
4174
4175 /* PERL_CALLCONV char*  Perl_sv_pvbyte(pTHX_ SV *sv)
4176                         __attribute__warn_unused_result__
4177                         __attribute__nonnull__(pTHX_1); */
4178 #define PERL_ARGS_ASSERT_SV_PVBYTE      \
4179         assert(sv)
4180
4181 /* PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade(pTHX_ SV *sv)
4182                         __attribute__nonnull__(pTHX_1); */
4183 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE        \
4184         assert(sv)
4185
4186 /* PERL_CALLCONV STRLEN sv_utf8_upgrade_nomg(pTHX_ SV *sv)
4187                         __attribute__nonnull__(pTHX_1); */
4188
4189 PERL_CALLCONV bool      Perl_sv_utf8_downgrade(pTHX_ SV *const sv, const bool fail_ok)
4190                         __attribute__nonnull__(pTHX_1);
4191 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE      \
4192         assert(sv)
4193
4194 PERL_CALLCONV void      Perl_sv_utf8_encode(pTHX_ SV *const sv)
4195                         __attribute__nonnull__(pTHX_1);
4196 #define PERL_ARGS_ASSERT_SV_UTF8_ENCODE \
4197         assert(sv)
4198
4199 PERL_CALLCONV bool      Perl_sv_utf8_decode(pTHX_ SV *const sv)
4200                         __attribute__nonnull__(pTHX_1);
4201 #define PERL_ARGS_ASSERT_SV_UTF8_DECODE \
4202         assert(sv)
4203
4204 /* PERL_CALLCONV void   Perl_sv_force_normal(pTHX_ SV *sv)
4205                         __attribute__nonnull__(pTHX_1); */
4206 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL        \
4207         assert(sv)
4208
4209 PERL_CALLCONV void      Perl_sv_force_normal_flags(pTHX_ SV *const sv, const U32 flags)
4210                         __attribute__nonnull__(pTHX_1);
4211 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL_FLAGS  \
4212         assert(sv)
4213
4214 PERL_CALLCONV void      Perl_tmps_grow(pTHX_ I32 n);
4215 PERL_CALLCONV SV*       Perl_sv_rvweaken(pTHX_ SV *const sv)
4216                         __attribute__nonnull__(pTHX_1);
4217 #define PERL_ARGS_ASSERT_SV_RVWEAKEN    \
4218         assert(sv)
4219
4220 PERL_CALLCONV int       Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg)
4221                         __attribute__nonnull__(pTHX_1)
4222                         __attribute__nonnull__(pTHX_2);
4223 #define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS     \
4224         assert(sv); assert(mg)
4225
4226 PERL_CALLCONV OP*       Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block);
4227 PERL_CALLCONV CV*       Perl_newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block);
4228 #ifdef PERL_MAD
4229 PERL_CALLCONV OP *      Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block)
4230                         __attribute__noreturn__;
4231
4232 #else
4233 PERL_CALLCONV void      Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block)
4234                         __attribute__noreturn__;
4235
4236 #endif
4237 PERL_CALLCONV OP *      Perl_my_attrs(pTHX_ OP *o, OP *attrs)
4238                         __attribute__nonnull__(pTHX_1);
4239 #define PERL_ARGS_ASSERT_MY_ATTRS       \
4240         assert(o)
4241
4242 #if defined(USE_ITHREADS)
4243 PERL_CALLCONV PERL_CONTEXT*     Perl_cx_dup(pTHX_ PERL_CONTEXT* cx, I32 ix, I32 max, CLONE_PARAMS* param)
4244                         __attribute__warn_unused_result__
4245                         __attribute__nonnull__(pTHX_4);
4246 #define PERL_ARGS_ASSERT_CX_DUP \
4247         assert(param)
4248
4249 PERL_CALLCONV PERL_SI*  Perl_si_dup(pTHX_ PERL_SI* si, CLONE_PARAMS* param)
4250                         __attribute__warn_unused_result__
4251                         __attribute__nonnull__(pTHX_2);
4252 #define PERL_ARGS_ASSERT_SI_DUP \
4253         assert(param)
4254
4255 PERL_CALLCONV ANY*      Perl_ss_dup(pTHX_ PerlInterpreter* proto_perl, CLONE_PARAMS* param)
4256                         __attribute__malloc__
4257                         __attribute__warn_unused_result__
4258                         __attribute__nonnull__(pTHX_1)
4259                         __attribute__nonnull__(pTHX_2);
4260 #define PERL_ARGS_ASSERT_SS_DUP \
4261         assert(proto_perl); assert(param)
4262
4263 PERL_CALLCONV void*     Perl_any_dup(pTHX_ void* v, const PerlInterpreter* proto_perl)
4264                         __attribute__warn_unused_result__
4265                         __attribute__nonnull__(pTHX_2);
4266 #define PERL_ARGS_ASSERT_ANY_DUP        \
4267         assert(proto_perl)
4268
4269 PERL_CALLCONV HE*       Perl_he_dup(pTHX_ const HE* e, bool shared, CLONE_PARAMS* param)
4270                         __attribute__warn_unused_result__
4271                         __attribute__nonnull__(pTHX_3);
4272 #define PERL_ARGS_ASSERT_HE_DUP \
4273         assert(param)
4274
4275 PERL_CALLCONV HEK*      Perl_hek_dup(pTHX_ HEK* e, CLONE_PARAMS* param)
4276                         __attribute__warn_unused_result__
4277                         __attribute__nonnull__(pTHX_2);
4278 #define PERL_ARGS_ASSERT_HEK_DUP        \
4279         assert(param)
4280
4281 PERL_CALLCONV void      Perl_re_dup_guts(pTHX_ const REGEXP *sstr, REGEXP *dstr, CLONE_PARAMS* param)
4282                         __attribute__nonnull__(pTHX_1)
4283                         __attribute__nonnull__(pTHX_2)
4284                         __attribute__nonnull__(pTHX_3);
4285 #define PERL_ARGS_ASSERT_RE_DUP_GUTS    \
4286         assert(sstr); assert(dstr); assert(param)
4287
4288 PERL_CALLCONV PerlIO*   Perl_fp_dup(pTHX_ PerlIO *const fp, const char type, CLONE_PARAMS *const param)
4289                         __attribute__nonnull__(pTHX_3);
4290 #define PERL_ARGS_ASSERT_FP_DUP \
4291         assert(param)
4292
4293 PERL_CALLCONV DIR*      Perl_dirp_dup(pTHX_ DIR *const dp)
4294                         __attribute__warn_unused_result__;
4295
4296 PERL_CALLCONV GP*       Perl_gp_dup(pTHX_ GP *const gp, CLONE_PARAMS *const param)
4297                         __attribute__warn_unused_result__
4298                         __attribute__nonnull__(pTHX_2);
4299 #define PERL_ARGS_ASSERT_GP_DUP \
4300         assert(param)
4301
4302 PERL_CALLCONV MAGIC*    Perl_mg_dup(pTHX_ MAGIC *mg, CLONE_PARAMS *const param)
4303                         __attribute__warn_unused_result__
4304                         __attribute__nonnull__(pTHX_2);
4305 #define PERL_ARGS_ASSERT_MG_DUP \
4306         assert(param)
4307
4308 #if defined(PERL_IN_SV_C)
4309 STATIC SV **    S_sv_dup_inc_multiple(pTHX_ SV *const *source, SV **dest, SSize_t items, CLONE_PARAMS *const param)
4310                         __attribute__nonnull__(pTHX_1)
4311                         __attribute__nonnull__(pTHX_2)
4312                         __attribute__nonnull__(pTHX_4);
4313 #define PERL_ARGS_ASSERT_SV_DUP_INC_MULTIPLE    \
4314         assert(source); assert(dest); assert(param)
4315
4316 #endif
4317 #if defined(PERL_IN_SV_C)
4318 STATIC SV*      S_sv_dup_common(pTHX_ const SV *const sstr, CLONE_PARAMS *const param)
4319                         __attribute__warn_unused_result__
4320                         __attribute__nonnull__(pTHX_1)
4321                         __attribute__nonnull__(pTHX_2);
4322 #define PERL_ARGS_ASSERT_SV_DUP_COMMON  \
4323         assert(sstr); assert(param)
4324
4325 #endif
4326 PERL_CALLCONV SV*       Perl_sv_dup(pTHX_ const SV *const sstr, CLONE_PARAMS *const param)
4327                         __attribute__warn_unused_result__
4328                         __attribute__nonnull__(pTHX_2);
4329 #define PERL_ARGS_ASSERT_SV_DUP \
4330         assert(param)
4331
4332 PERL_CALLCONV SV*       Perl_sv_dup_inc(pTHX_ const SV *const sstr, CLONE_PARAMS *const param)
4333                         __attribute__warn_unused_result__
4334                         __attribute__nonnull__(pTHX_2);
4335 #define PERL_ARGS_ASSERT_SV_DUP_INC     \
4336         assert(param)
4337
4338 PERL_CALLCONV void      Perl_rvpv_dup(pTHX_ SV *const dstr, const SV *const sstr, CLONE_PARAMS *const param)
4339                         __attribute__nonnull__(pTHX_1)
4340                         __attribute__nonnull__(pTHX_2)
4341                         __attribute__nonnull__(pTHX_3);
4342 #define PERL_ARGS_ASSERT_RVPV_DUP       \
4343         assert(dstr); assert(sstr); assert(param)
4344
4345 PERL_CALLCONV yy_parser*        Perl_parser_dup(pTHX_ const yy_parser *const proto, CLONE_PARAMS *const param)
4346                         __attribute__nonnull__(pTHX_2);
4347 #define PERL_ARGS_ASSERT_PARSER_DUP     \
4348         assert(param)
4349
4350 #endif
4351 PERL_CALLCONV PTR_TBL_t*        Perl_ptr_table_new(pTHX)
4352                         __attribute__malloc__
4353                         __attribute__warn_unused_result__;
4354
4355 PERL_CALLCONV void*     Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *const tbl, const void *const sv)
4356                         __attribute__warn_unused_result__
4357                         __attribute__nonnull__(pTHX_1);
4358 #define PERL_ARGS_ASSERT_PTR_TABLE_FETCH        \
4359         assert(tbl)
4360
4361 PERL_CALLCONV void      Perl_ptr_table_store(pTHX_ PTR_TBL_t *const tbl, const void *const oldsv, void *const newsv)
4362                         __attribute__nonnull__(pTHX_1)
4363                         __attribute__nonnull__(pTHX_3);
<