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