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