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