Removed todo section
[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_idfirst(pTHX_ UV c)
1164                         __attribute__warn_unused_result__
1165                         __attribute__pure__;
1166
1167 PERL_CALLCONV bool      Perl_is_uni_alpha(pTHX_ UV c)
1168                         __attribute__warn_unused_result__
1169                         __attribute__pure__;
1170
1171 PERL_CALLCONV bool      Perl_is_uni_ascii(pTHX_ UV c)
1172                         __attribute__warn_unused_result__
1173                         __attribute__pure__;
1174
1175 PERL_CALLCONV bool      Perl_is_uni_space(pTHX_ UV c)
1176                         __attribute__warn_unused_result__
1177                         __attribute__pure__;
1178
1179 PERL_CALLCONV bool      Perl_is_uni_cntrl(pTHX_ UV c)
1180                         __attribute__warn_unused_result__
1181                         __attribute__pure__;
1182
1183 PERL_CALLCONV bool      Perl_is_uni_graph(pTHX_ UV c)
1184                         __attribute__warn_unused_result__
1185                         __attribute__pure__;
1186
1187 PERL_CALLCONV bool      Perl_is_uni_digit(pTHX_ UV c)
1188                         __attribute__warn_unused_result__
1189                         __attribute__pure__;
1190
1191 PERL_CALLCONV bool      Perl_is_uni_upper(pTHX_ UV c)
1192                         __attribute__warn_unused_result__
1193                         __attribute__pure__;
1194
1195 PERL_CALLCONV bool      Perl_is_uni_lower(pTHX_ UV c)
1196                         __attribute__warn_unused_result__
1197                         __attribute__pure__;
1198
1199 PERL_CALLCONV bool      Perl_is_uni_print(pTHX_ UV c)
1200                         __attribute__warn_unused_result__
1201                         __attribute__pure__;
1202
1203 PERL_CALLCONV bool      Perl_is_uni_punct(pTHX_ UV c)
1204                         __attribute__warn_unused_result__
1205                         __attribute__pure__;
1206
1207 PERL_CALLCONV bool      Perl_is_uni_xdigit(pTHX_ UV c)
1208                         __attribute__warn_unused_result__
1209                         __attribute__pure__;
1210
1211 PERL_CALLCONV UV        Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp)
1212                         __attribute__nonnull__(pTHX_2)
1213                         __attribute__nonnull__(pTHX_3);
1214 #define PERL_ARGS_ASSERT_TO_UNI_UPPER   \
1215         assert(p); assert(lenp)
1216
1217 PERL_CALLCONV UV        Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp)
1218                         __attribute__nonnull__(pTHX_2)
1219                         __attribute__nonnull__(pTHX_3);
1220 #define PERL_ARGS_ASSERT_TO_UNI_TITLE   \
1221         assert(p); assert(lenp)
1222
1223 PERL_CALLCONV UV        Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp)
1224                         __attribute__nonnull__(pTHX_2)
1225                         __attribute__nonnull__(pTHX_3);
1226 #define PERL_ARGS_ASSERT_TO_UNI_LOWER   \
1227         assert(p); assert(lenp)
1228
1229 PERL_CALLCONV UV        Perl_to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp)
1230                         __attribute__nonnull__(pTHX_2)
1231                         __attribute__nonnull__(pTHX_3);
1232 #define PERL_ARGS_ASSERT_TO_UNI_FOLD    \
1233         assert(p); assert(lenp)
1234
1235 PERL_CALLCONV bool      Perl_is_uni_alnum_lc(pTHX_ UV c)
1236                         __attribute__warn_unused_result__
1237                         __attribute__pure__;
1238
1239 PERL_CALLCONV bool      Perl_is_uni_idfirst_lc(pTHX_ UV c)
1240                         __attribute__warn_unused_result__
1241                         __attribute__pure__;
1242
1243 PERL_CALLCONV bool      Perl_is_uni_alpha_lc(pTHX_ UV c)
1244                         __attribute__warn_unused_result__
1245                         __attribute__pure__;
1246
1247 PERL_CALLCONV bool      Perl_is_uni_ascii_lc(pTHX_ UV c)
1248                         __attribute__warn_unused_result__
1249                         __attribute__pure__;
1250
1251 PERL_CALLCONV bool      Perl_is_uni_space_lc(pTHX_ UV c)
1252                         __attribute__warn_unused_result__
1253                         __attribute__pure__;
1254
1255 PERL_CALLCONV bool      Perl_is_uni_cntrl_lc(pTHX_ UV c)
1256                         __attribute__warn_unused_result__
1257                         __attribute__pure__;
1258
1259 PERL_CALLCONV bool      Perl_is_uni_graph_lc(pTHX_ UV c)
1260                         __attribute__warn_unused_result__
1261                         __attribute__pure__;
1262
1263 PERL_CALLCONV bool      Perl_is_uni_digit_lc(pTHX_ UV c)
1264                         __attribute__warn_unused_result__
1265                         __attribute__pure__;
1266
1267 PERL_CALLCONV bool      Perl_is_uni_upper_lc(pTHX_ UV c)
1268                         __attribute__warn_unused_result__
1269                         __attribute__pure__;
1270
1271 PERL_CALLCONV bool      Perl_is_uni_lower_lc(pTHX_ UV c)
1272                         __attribute__warn_unused_result__
1273                         __attribute__pure__;
1274
1275 PERL_CALLCONV bool      Perl_is_uni_print_lc(pTHX_ UV c)
1276                         __attribute__warn_unused_result__
1277                         __attribute__pure__;
1278
1279 PERL_CALLCONV bool      Perl_is_uni_punct_lc(pTHX_ UV c)
1280                         __attribute__warn_unused_result__
1281                         __attribute__pure__;
1282
1283 PERL_CALLCONV bool      Perl_is_uni_xdigit_lc(pTHX_ UV c)
1284                         __attribute__warn_unused_result__
1285                         __attribute__pure__;
1286
1287 PERL_CALLCONV bool      Perl_is_ascii_string(const U8 *s, STRLEN len)
1288                         __attribute__nonnull__(1);
1289 #define PERL_ARGS_ASSERT_IS_ASCII_STRING        \
1290         assert(s)
1291
1292 PERL_CALLCONV STRLEN    Perl_is_utf8_char(const U8 *s)
1293                         __attribute__nonnull__(1);
1294 #define PERL_ARGS_ASSERT_IS_UTF8_CHAR   \
1295         assert(s)
1296
1297 PERL_CALLCONV bool      Perl_is_utf8_string(const U8 *s, STRLEN len)
1298                         __attribute__nonnull__(1);
1299 #define PERL_ARGS_ASSERT_IS_UTF8_STRING \
1300         assert(s)
1301
1302 /* PERL_CALLCONV bool   Perl_is_utf8_string_loc(const U8 *s, STRLEN len, const U8 **p)
1303                         __attribute__nonnull__(1); */
1304 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC     \
1305         assert(s)
1306
1307 PERL_CALLCONV bool      Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el)
1308                         __attribute__nonnull__(1);
1309 #define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN  \
1310         assert(s)
1311
1312 PERL_CALLCONV bool      Perl_is_utf8_alnum(pTHX_ const U8 *p)
1313                         __attribute__warn_unused_result__
1314                         __attribute__nonnull__(pTHX_1);
1315 #define PERL_ARGS_ASSERT_IS_UTF8_ALNUM  \
1316         assert(p)
1317
1318 PERL_CALLCONV bool      Perl_is_utf8_idfirst(pTHX_ const U8 *p)
1319                         __attribute__warn_unused_result__
1320                         __attribute__nonnull__(pTHX_1);
1321 #define PERL_ARGS_ASSERT_IS_UTF8_IDFIRST        \
1322         assert(p)
1323
1324 PERL_CALLCONV bool      Perl_is_utf8_idcont(pTHX_ const U8 *p)
1325                         __attribute__warn_unused_result__
1326                         __attribute__nonnull__(pTHX_1);
1327 #define PERL_ARGS_ASSERT_IS_UTF8_IDCONT \
1328         assert(p)
1329
1330 PERL_CALLCONV bool      Perl_is_utf8_alpha(pTHX_ const U8 *p)
1331                         __attribute__warn_unused_result__
1332                         __attribute__nonnull__(pTHX_1);
1333 #define PERL_ARGS_ASSERT_IS_UTF8_ALPHA  \
1334         assert(p)
1335
1336 PERL_CALLCONV bool      Perl_is_utf8_ascii(pTHX_ const U8 *p)
1337                         __attribute__warn_unused_result__
1338                         __attribute__nonnull__(pTHX_1);
1339 #define PERL_ARGS_ASSERT_IS_UTF8_ASCII  \
1340         assert(p)
1341
1342 PERL_CALLCONV bool      Perl_is_utf8_space(pTHX_ const U8 *p)
1343                         __attribute__warn_unused_result__
1344                         __attribute__nonnull__(pTHX_1);
1345 #define PERL_ARGS_ASSERT_IS_UTF8_SPACE  \
1346         assert(p)
1347
1348 PERL_CALLCONV bool      Perl_is_utf8_cntrl(pTHX_ const U8 *p)
1349                         __attribute__warn_unused_result__
1350                         __attribute__nonnull__(pTHX_1);
1351 #define PERL_ARGS_ASSERT_IS_UTF8_CNTRL  \
1352         assert(p)
1353
1354 PERL_CALLCONV bool      Perl_is_utf8_digit(pTHX_ const U8 *p)
1355                         __attribute__warn_unused_result__
1356                         __attribute__nonnull__(pTHX_1);
1357 #define PERL_ARGS_ASSERT_IS_UTF8_DIGIT  \
1358         assert(p)
1359
1360 PERL_CALLCONV bool      Perl_is_utf8_graph(pTHX_ const U8 *p)
1361                         __attribute__warn_unused_result__
1362                         __attribute__nonnull__(pTHX_1);
1363 #define PERL_ARGS_ASSERT_IS_UTF8_GRAPH  \
1364         assert(p)
1365
1366 PERL_CALLCONV bool      Perl_is_utf8_upper(pTHX_ const U8 *p)
1367                         __attribute__warn_unused_result__
1368                         __attribute__nonnull__(pTHX_1);
1369 #define PERL_ARGS_ASSERT_IS_UTF8_UPPER  \
1370         assert(p)
1371
1372 PERL_CALLCONV bool      Perl_is_utf8_lower(pTHX_ const U8 *p)
1373                         __attribute__warn_unused_result__
1374                         __attribute__nonnull__(pTHX_1);
1375 #define PERL_ARGS_ASSERT_IS_UTF8_LOWER  \
1376         assert(p)
1377
1378 PERL_CALLCONV bool      Perl_is_utf8_print(pTHX_ const U8 *p)
1379                         __attribute__warn_unused_result__
1380                         __attribute__nonnull__(pTHX_1);
1381 #define PERL_ARGS_ASSERT_IS_UTF8_PRINT  \
1382         assert(p)
1383
1384 PERL_CALLCONV bool      Perl_is_utf8_punct(pTHX_ const U8 *p)
1385                         __attribute__warn_unused_result__
1386                         __attribute__nonnull__(pTHX_1);
1387 #define PERL_ARGS_ASSERT_IS_UTF8_PUNCT  \
1388         assert(p)
1389
1390 PERL_CALLCONV bool      Perl_is_utf8_xdigit(pTHX_ const U8 *p)
1391                         __attribute__warn_unused_result__
1392                         __attribute__nonnull__(pTHX_1);
1393 #define PERL_ARGS_ASSERT_IS_UTF8_XDIGIT \
1394         assert(p)
1395
1396 PERL_CALLCONV bool      Perl_is_utf8_mark(pTHX_ const U8 *p)
1397                         __attribute__warn_unused_result__
1398                         __attribute__nonnull__(pTHX_1);
1399 #define PERL_ARGS_ASSERT_IS_UTF8_MARK   \
1400         assert(p)
1401
1402 PERL_CALLCONV OP*       Perl_jmaybe(pTHX_ OP *o)
1403                         __attribute__nonnull__(pTHX_1);
1404 #define PERL_ARGS_ASSERT_JMAYBE \
1405         assert(o)
1406
1407 PERL_CALLCONV I32       Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
1408                         __attribute__pure__
1409                         __attribute__nonnull__(pTHX_1);
1410 #define PERL_ARGS_ASSERT_KEYWORD        \
1411         assert(name)
1412
1413 PERL_CALLCONV void      Perl_leave_scope(pTHX_ I32 base);
1414 PERL_CALLCONV void      Perl_lex_end(pTHX);
1415 PERL_CALLCONV void      Perl_lex_start(pTHX_ SV* line, PerlIO *rsfp, bool new_filter);
1416 PERL_CALLCONV void      Perl_op_null(pTHX_ OP* o)
1417                         __attribute__nonnull__(pTHX_1);
1418 #define PERL_ARGS_ASSERT_OP_NULL        \
1419         assert(o)
1420
1421 PERL_CALLCONV void      Perl_op_clear(pTHX_ OP* o)
1422                         __attribute__nonnull__(pTHX_1);
1423 #define PERL_ARGS_ASSERT_OP_CLEAR       \
1424         assert(o)
1425
1426 PERL_CALLCONV void      Perl_op_refcnt_lock(pTHX);
1427 PERL_CALLCONV void      Perl_op_refcnt_unlock(pTHX);
1428 #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
1429 STATIC OP*      S_linklist(pTHX_ OP *o)
1430                         __attribute__nonnull__(pTHX_1);
1431 #define PERL_ARGS_ASSERT_LINKLIST       \
1432         assert(o)
1433
1434 STATIC OP*      S_listkids(pTHX_ OP* o);
1435 #endif
1436 PERL_CALLCONV OP*       Perl_list(pTHX_ OP* o);
1437 PERL_CALLCONV void      Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...)
1438                         __attribute__nonnull__(pTHX_2);
1439 #define PERL_ARGS_ASSERT_LOAD_MODULE    \
1440         assert(name)
1441
1442 PERL_CALLCONV void      Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args)
1443                         __attribute__nonnull__(pTHX_2);
1444 #define PERL_ARGS_ASSERT_VLOAD_MODULE   \
1445         assert(name)
1446
1447 PERL_CALLCONV OP*       Perl_localize(pTHX_ OP *o, I32 lex)
1448                         __attribute__nonnull__(pTHX_1);
1449 #define PERL_ARGS_ASSERT_LOCALIZE       \
1450         assert(o)
1451
1452 PERL_CALLCONV I32       Perl_looks_like_number(pTHX_ SV *const sv)
1453                         __attribute__warn_unused_result__
1454                         __attribute__nonnull__(pTHX_1);
1455 #define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER      \
1456         assert(sv)
1457
1458 PERL_CALLCONV UV        Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
1459                         __attribute__nonnull__(pTHX_1)
1460                         __attribute__nonnull__(pTHX_2)
1461                         __attribute__nonnull__(pTHX_3);
1462 #define PERL_ARGS_ASSERT_GROK_BIN       \
1463         assert(start); assert(len_p); assert(flags)
1464
1465 PERL_CALLCONV UV        Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
1466                         __attribute__nonnull__(pTHX_1)
1467                         __attribute__nonnull__(pTHX_2)
1468                         __attribute__nonnull__(pTHX_3);
1469 #define PERL_ARGS_ASSERT_GROK_HEX       \
1470         assert(start); assert(len_p); assert(flags)
1471
1472 PERL_CALLCONV int       Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep)
1473                         __attribute__nonnull__(pTHX_1);
1474 #define PERL_ARGS_ASSERT_GROK_NUMBER    \
1475         assert(pv)
1476
1477 PERL_CALLCONV bool      Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send)
1478                         __attribute__warn_unused_result__
1479                         __attribute__nonnull__(pTHX_1)
1480                         __attribute__nonnull__(pTHX_2);
1481 #define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX     \
1482         assert(sp); assert(send)
1483
1484 PERL_CALLCONV UV        Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
1485                         __attribute__nonnull__(pTHX_1)
1486                         __attribute__nonnull__(pTHX_2)
1487                         __attribute__nonnull__(pTHX_3);
1488 #define PERL_ARGS_ASSERT_GROK_OCT       \
1489         assert(start); assert(len_p); assert(flags)
1490
1491 PERL_CALLCONV int       Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg)
1492                         __attribute__nonnull__(pTHX_1)
1493                         __attribute__nonnull__(pTHX_2);
1494 #define PERL_ARGS_ASSERT_MAGIC_CLEARENV \
1495         assert(sv); assert(mg)
1496
1497 PERL_CALLCONV int       Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg)
1498                         __attribute__nonnull__(pTHX_1)
1499                         __attribute__nonnull__(pTHX_2);
1500 #define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV    \
1501         assert(sv); assert(mg)
1502
1503 PERL_CALLCONV int       Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg)
1504                         __attribute__nonnull__(pTHX_1)
1505                         __attribute__nonnull__(pTHX_2);
1506 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINT        \
1507         assert(sv); assert(mg)
1508
1509 PERL_CALLCONV int       Perl_magic_clearhints(pTHX_ SV* sv, MAGIC* mg)
1510                         __attribute__nonnull__(pTHX_1)
1511                         __attribute__nonnull__(pTHX_2);
1512 #define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS       \
1513         assert(sv); assert(mg)
1514
1515 PERL_CALLCONV int       Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg)
1516                         __attribute__nonnull__(pTHX_2);
1517 #define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
1518         assert(mg)
1519
1520 PERL_CALLCONV int       Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg)
1521                         __attribute__nonnull__(pTHX_1)
1522                         __attribute__nonnull__(pTHX_2);
1523 #define PERL_ARGS_ASSERT_MAGIC_CLEARPACK        \
1524         assert(sv); assert(mg)
1525
1526 PERL_CALLCONV int       Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg)
1527                         __attribute__nonnull__(pTHX_1)
1528                         __attribute__nonnull__(pTHX_2);
1529 #define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \
1530         assert(sv); assert(mg)
1531
1532 PERL_CALLCONV int       Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg)
1533                         __attribute__nonnull__(pTHX_1)
1534                         __attribute__nonnull__(pTHX_2);
1535 #define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK       \
1536         assert(sv); assert(mg)
1537
1538 PERL_CALLCONV int       Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg)
1539                         __attribute__nonnull__(pTHX_1)
1540                         __attribute__nonnull__(pTHX_2);
1541 #define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD        \
1542         assert(sv); assert(mg)
1543
1544 PERL_CALLCONV int       Perl_magic_get(pTHX_ SV* sv, MAGIC* mg)
1545                         __attribute__nonnull__(pTHX_1)
1546                         __attribute__nonnull__(pTHX_2);
1547 #define PERL_ARGS_ASSERT_MAGIC_GET      \
1548         assert(sv); assert(mg)
1549
1550 PERL_CALLCONV int       Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg)
1551                         __attribute__nonnull__(pTHX_1)
1552                         __attribute__nonnull__(pTHX_2);
1553 #define PERL_ARGS_ASSERT_MAGIC_GETARYLEN        \
1554         assert(sv); assert(mg)
1555
1556 PERL_CALLCONV int       Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg)
1557                         __attribute__nonnull__(pTHX_1)
1558                         __attribute__nonnull__(pTHX_2);
1559 #define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM       \
1560         assert(sv); assert(mg)
1561
1562 PERL_CALLCONV int       Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg)
1563                         __attribute__nonnull__(pTHX_1)
1564                         __attribute__nonnull__(pTHX_2);
1565 #define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \
1566         assert(sv); assert(mg)
1567
1568 PERL_CALLCONV int       Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg)
1569                         __attribute__nonnull__(pTHX_1)
1570                         __attribute__nonnull__(pTHX_2);
1571 #define PERL_ARGS_ASSERT_MAGIC_GETPACK  \
1572         assert(sv); assert(mg)
1573
1574 PERL_CALLCONV int       Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg)
1575                         __attribute__nonnull__(pTHX_1)
1576                         __attribute__nonnull__(pTHX_2);
1577 #define PERL_ARGS_ASSERT_MAGIC_GETPOS   \
1578         assert(sv); assert(mg)
1579
1580 PERL_CALLCONV int       Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg)
1581                         __attribute__nonnull__(pTHX_1)
1582                         __attribute__nonnull__(pTHX_2);
1583 #define PERL_ARGS_ASSERT_MAGIC_GETSIG   \
1584         assert(sv); assert(mg)
1585
1586 PERL_CALLCONV int       Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg)
1587                         __attribute__nonnull__(pTHX_1)
1588                         __attribute__nonnull__(pTHX_2);
1589 #define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR        \
1590         assert(sv); assert(mg)
1591
1592 PERL_CALLCONV int       Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg)
1593                         __attribute__nonnull__(pTHX_1)
1594                         __attribute__nonnull__(pTHX_2);
1595 #define PERL_ARGS_ASSERT_MAGIC_GETTAINT \
1596         assert(sv); assert(mg)
1597
1598 PERL_CALLCONV int       Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg)
1599                         __attribute__nonnull__(pTHX_1)
1600                         __attribute__nonnull__(pTHX_2);
1601 #define PERL_ARGS_ASSERT_MAGIC_GETUVAR  \
1602         assert(sv); assert(mg)
1603
1604 PERL_CALLCONV int       Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg)
1605                         __attribute__nonnull__(pTHX_1)
1606                         __attribute__nonnull__(pTHX_2);
1607 #define PERL_ARGS_ASSERT_MAGIC_GETVEC   \
1608         assert(sv); assert(mg)
1609
1610 PERL_CALLCONV U32       Perl_magic_len(pTHX_ SV* sv, MAGIC* mg)
1611                         __attribute__nonnull__(pTHX_1)
1612                         __attribute__nonnull__(pTHX_2);
1613 #define PERL_ARGS_ASSERT_MAGIC_LEN      \
1614         assert(sv); assert(mg)
1615
1616 PERL_CALLCONV int       Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key)
1617                         __attribute__nonnull__(pTHX_1)
1618                         __attribute__nonnull__(pTHX_2)
1619                         __attribute__nonnull__(pTHX_3);
1620 #define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \
1621         assert(sv); assert(mg); assert(key)
1622
1623 PERL_CALLCONV U32       Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg)
1624                         __attribute__nonnull__(pTHX_1)
1625                         __attribute__nonnull__(pTHX_2);
1626 #define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT      \
1627         assert(sv); assert(mg)
1628
1629 PERL_CALLCONV int       Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg)
1630                         __attribute__nonnull__(pTHX_1)
1631                         __attribute__nonnull__(pTHX_2);
1632 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET     \
1633         assert(sv); assert(mg)
1634
1635 PERL_CALLCONV int       Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
1636                         __attribute__noreturn__
1637                         __attribute__nonnull__(pTHX_1)
1638                         __attribute__nonnull__(pTHX_2);
1639 #define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET     \
1640         assert(sv); assert(mg)
1641
1642 PERL_CALLCONV int       Perl_magic_set(pTHX_ SV* sv, MAGIC* mg)
1643                         __attribute__nonnull__(pTHX_1)
1644                         __attribute__nonnull__(pTHX_2);
1645 #define PERL_ARGS_ASSERT_MAGIC_SET      \
1646         assert(sv); assert(mg)
1647
1648 PERL_CALLCONV int       Perl_magic_setamagic(pTHX_ SV* sv, MAGIC* mg)
1649                         __attribute__nonnull__(pTHX_1)
1650                         __attribute__nonnull__(pTHX_2);
1651 #define PERL_ARGS_ASSERT_MAGIC_SETAMAGIC        \
1652         assert(sv); assert(mg)
1653
1654 PERL_CALLCONV int       Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg)
1655                         __attribute__nonnull__(pTHX_1)
1656                         __attribute__nonnull__(pTHX_2);
1657 #define PERL_ARGS_ASSERT_MAGIC_SETARYLEN        \
1658         assert(sv); assert(mg)
1659
1660 PERL_CALLCONV int       Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg)
1661                         __attribute__nonnull__(pTHX_1)
1662                         __attribute__nonnull__(pTHX_2);
1663 #define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P     \
1664         assert(sv); assert(mg)
1665
1666 PERL_CALLCONV int       Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg)
1667                         __attribute__nonnull__(pTHX_1)
1668                         __attribute__nonnull__(pTHX_2);
1669 #define PERL_ARGS_ASSERT_MAGIC_SETDBLINE        \
1670         assert(sv); assert(mg)
1671
1672 PERL_CALLCONV int       Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg)
1673                         __attribute__nonnull__(pTHX_1)
1674                         __attribute__nonnull__(pTHX_2);
1675 #define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM       \
1676         assert(sv); assert(mg)
1677
1678 PERL_CALLCONV int       Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg)
1679                         __attribute__nonnull__(pTHX_1)
1680                         __attribute__nonnull__(pTHX_2);
1681 #define PERL_ARGS_ASSERT_MAGIC_SETENV   \
1682         assert(sv); assert(mg)
1683
1684 PERL_CALLCONV int       Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg)
1685                         __attribute__nonnull__(pTHX_1)
1686                         __attribute__nonnull__(pTHX_2);
1687 #define PERL_ARGS_ASSERT_MAGIC_SETHINT  \
1688         assert(sv); assert(mg)
1689
1690 PERL_CALLCONV int       Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg)
1691                         __attribute__nonnull__(pTHX_1)
1692                         __attribute__nonnull__(pTHX_2);
1693 #define PERL_ARGS_ASSERT_MAGIC_SETISA   \
1694         assert(sv); assert(mg)
1695
1696 PERL_CALLCONV int       Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg)
1697                         __attribute__nonnull__(pTHX_1)
1698                         __attribute__nonnull__(pTHX_2);
1699 #define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \
1700         assert(sv); assert(mg)
1701
1702 PERL_CALLCONV int       Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg)
1703                         __attribute__nonnull__(pTHX_1)
1704                         __attribute__nonnull__(pTHX_2);
1705 #define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \
1706         assert(sv); assert(mg)
1707
1708 PERL_CALLCONV int       Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg)
1709                         __attribute__nonnull__(pTHX_1)
1710                         __attribute__nonnull__(pTHX_2);
1711 #define PERL_ARGS_ASSERT_MAGIC_SETPACK  \
1712         assert(sv); assert(mg)
1713
1714 PERL_CALLCONV int       Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg)
1715                         __attribute__nonnull__(pTHX_1)
1716                         __attribute__nonnull__(pTHX_2);
1717 #define PERL_ARGS_ASSERT_MAGIC_SETPOS   \
1718         assert(sv); assert(mg)
1719
1720 PERL_CALLCONV int       Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg)
1721                         __attribute__nonnull__(pTHX_1)
1722                         __attribute__nonnull__(pTHX_2);
1723 #define PERL_ARGS_ASSERT_MAGIC_SETREGEXP        \
1724         assert(sv); assert(mg)
1725
1726 PERL_CALLCONV int       Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg)
1727                         __attribute__nonnull__(pTHX_2);
1728 #define PERL_ARGS_ASSERT_MAGIC_SETSIG   \
1729         assert(mg)
1730
1731 PERL_CALLCONV int       Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg)
1732                         __attribute__nonnull__(pTHX_1)
1733                         __attribute__nonnull__(pTHX_2);
1734 #define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR        \
1735         assert(sv); assert(mg)
1736
1737 PERL_CALLCONV int       Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg)
1738                         __attribute__nonnull__(pTHX_1)
1739                         __attribute__nonnull__(pTHX_2);
1740 #define PERL_ARGS_ASSERT_MAGIC_SETTAINT \
1741         assert(sv); assert(mg)
1742
1743 PERL_CALLCONV int       Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg)
1744                         __attribute__nonnull__(pTHX_1)
1745                         __attribute__nonnull__(pTHX_2);
1746 #define PERL_ARGS_ASSERT_MAGIC_SETUVAR  \
1747         assert(sv); assert(mg)
1748
1749 PERL_CALLCONV int       Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg)
1750                         __attribute__nonnull__(pTHX_1)
1751                         __attribute__nonnull__(pTHX_2);
1752 #define PERL_ARGS_ASSERT_MAGIC_SETVEC   \
1753         assert(sv); assert(mg)
1754
1755 PERL_CALLCONV int       Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg)
1756                         __attribute__nonnull__(pTHX_1)
1757                         __attribute__nonnull__(pTHX_2);
1758 #define PERL_ARGS_ASSERT_MAGIC_SETUTF8  \
1759         assert(sv); assert(mg)
1760
1761 PERL_CALLCONV int       Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg)
1762                         __attribute__nonnull__(pTHX_1)
1763                         __attribute__nonnull__(pTHX_2);
1764 #define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV      \
1765         assert(sv); assert(mg)
1766
1767 PERL_CALLCONV U32       Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg)
1768                         __attribute__nonnull__(pTHX_1)
1769                         __attribute__nonnull__(pTHX_2);
1770 #define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \
1771         assert(sv); assert(mg)
1772
1773 PERL_CALLCONV int       Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg)
1774                         __attribute__nonnull__(pTHX_1)
1775                         __attribute__nonnull__(pTHX_2);
1776 #define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \
1777         assert(sv); assert(mg)
1778
1779 PERL_CALLCONV void      Perl_markstack_grow(pTHX);
1780 #if defined(USE_LOCALE_COLLATE)
1781 PERL_CALLCONV int       Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg)
1782                         __attribute__nonnull__(pTHX_1)
1783                         __attribute__nonnull__(pTHX_2);
1784 #define PERL_ARGS_ASSERT_MAGIC_SETCOLLXFRM      \
1785         assert(sv); assert(mg)
1786
1787 PERL_CALLCONV char*     Perl_mem_collxfrm(pTHX_ const char* s, STRLEN len, STRLEN* xlen)
1788                         __attribute__nonnull__(pTHX_1)
1789                         __attribute__nonnull__(pTHX_3);
1790 #define PERL_ARGS_ASSERT_MEM_COLLXFRM   \
1791         assert(s); assert(xlen)
1792
1793 #endif
1794 PERL_CALLCONV SV*       Perl_mess(pTHX_ const char* pat, ...)
1795                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
1796                         __attribute__nonnull__(pTHX_1);
1797 #define PERL_ARGS_ASSERT_MESS   \
1798         assert(pat)
1799
1800 PERL_CALLCONV SV*       Perl_vmess(pTHX_ const char* pat, va_list* args)
1801                         __attribute__nonnull__(pTHX_1);
1802 #define PERL_ARGS_ASSERT_VMESS  \
1803         assert(pat)
1804
1805 PERL_CALLCONV void      Perl_qerror(pTHX_ SV* err)
1806                         __attribute__nonnull__(pTHX_1);
1807 #define PERL_ARGS_ASSERT_QERROR \
1808         assert(err)
1809
1810 PERL_CALLCONV void      Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp)
1811                         __attribute__nonnull__(pTHX_3);
1812 #define PERL_ARGS_ASSERT_SORTSV \
1813         assert(cmp)
1814
1815 PERL_CALLCONV void      Perl_sortsv_flags(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags)
1816                         __attribute__nonnull__(pTHX_3);
1817 #define PERL_ARGS_ASSERT_SORTSV_FLAGS   \
1818         assert(cmp)
1819
1820 PERL_CALLCONV int       Perl_mg_clear(pTHX_ SV* sv)
1821                         __attribute__nonnull__(pTHX_1);
1822 #define PERL_ARGS_ASSERT_MG_CLEAR       \
1823         assert(sv)
1824
1825 PERL_CALLCONV int       Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen)
1826                         __attribute__nonnull__(pTHX_1)
1827                         __attribute__nonnull__(pTHX_2);
1828 #define PERL_ARGS_ASSERT_MG_COPY        \
1829         assert(sv); assert(nsv)
1830
1831 PERL_CALLCONV void      Perl_mg_localize(pTHX_ SV* sv, SV* nsv, bool setmagic)
1832                         __attribute__nonnull__(pTHX_1)
1833                         __attribute__nonnull__(pTHX_2);
1834 #define PERL_ARGS_ASSERT_MG_LOCALIZE    \
1835         assert(sv); assert(nsv)
1836
1837 PERL_CALLCONV MAGIC*    Perl_mg_find(pTHX_ const SV* sv, int type)
1838                         __attribute__warn_unused_result__;
1839
1840 PERL_CALLCONV int       Perl_mg_free(pTHX_ SV* sv)
1841                         __attribute__nonnull__(pTHX_1);
1842 #define PERL_ARGS_ASSERT_MG_FREE        \
1843         assert(sv)
1844
1845 PERL_CALLCONV int       Perl_mg_get(pTHX_ SV* sv)
1846                         __attribute__nonnull__(pTHX_1);
1847 #define PERL_ARGS_ASSERT_MG_GET \
1848         assert(sv)
1849
1850 PERL_CALLCONV U32       Perl_mg_length(pTHX_ SV* sv)
1851                         __attribute__nonnull__(pTHX_1);
1852 #define PERL_ARGS_ASSERT_MG_LENGTH      \
1853         assert(sv)
1854
1855 PERL_CALLCONV void      Perl_mg_magical(pTHX_ SV* sv)
1856                         __attribute__nonnull__(pTHX_1);
1857 #define PERL_ARGS_ASSERT_MG_MAGICAL     \
1858         assert(sv)
1859
1860 PERL_CALLCONV int       Perl_mg_set(pTHX_ SV* sv)
1861                         __attribute__nonnull__(pTHX_1);
1862 #define PERL_ARGS_ASSERT_MG_SET \
1863         assert(sv)
1864
1865 PERL_CALLCONV I32       Perl_mg_size(pTHX_ SV* sv)
1866                         __attribute__nonnull__(pTHX_1);
1867 #define PERL_ARGS_ASSERT_MG_SIZE        \
1868         assert(sv)
1869
1870 PERL_CALLCONV void      Perl_mini_mktime(pTHX_ struct tm *ptm)
1871                         __attribute__nonnull__(pTHX_1);
1872 #define PERL_ARGS_ASSERT_MINI_MKTIME    \
1873         assert(ptm)
1874
1875 PERL_CALLCONV OP*       Perl_mod(pTHX_ OP* o, I32 type);
1876 PERL_CALLCONV int       Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len);
1877 PERL_CALLCONV const char*       Perl_moreswitches(pTHX_ const char* s)
1878                         __attribute__nonnull__(pTHX_1);
1879 #define PERL_ARGS_ASSERT_MORESWITCHES   \
1880         assert(s)
1881
1882 PERL_CALLCONV NV        Perl_my_atof(pTHX_ const char *s)
1883                         __attribute__nonnull__(pTHX_1);
1884 #define PERL_ARGS_ASSERT_MY_ATOF        \
1885         assert(s)
1886
1887 #if (!defined(HAS_MEMCPY) && !defined(HAS_BCOPY)) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY) && !defined(HAS_SAFE_BCOPY))
1888 PERL_CALLCONV char*     Perl_my_bcopy(const char* from, char* to, I32 len)
1889                         __attribute__nonnull__(1)
1890                         __attribute__nonnull__(2);
1891 #define PERL_ARGS_ASSERT_MY_BCOPY       \
1892         assert(from); assert(to)
1893
1894 #endif
1895 #if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
1896 PERL_CALLCONV char*     Perl_my_bzero(char* loc, I32 len)
1897                         __attribute__nonnull__(1);
1898 #define PERL_ARGS_ASSERT_MY_BZERO       \
1899         assert(loc)
1900
1901 #endif
1902 PERL_CALLCONV void      Perl_my_exit(pTHX_ U32 status)
1903                         __attribute__noreturn__;
1904
1905 PERL_CALLCONV void      Perl_my_failure_exit(pTHX)
1906                         __attribute__noreturn__;
1907
1908 PERL_CALLCONV I32       Perl_my_fflush_all(pTHX);
1909 PERL_CALLCONV Pid_t     Perl_my_fork(void);
1910 PERL_CALLCONV void      Perl_atfork_lock(void);
1911 PERL_CALLCONV void      Perl_atfork_unlock(void);
1912 PERL_CALLCONV I32       Perl_my_lstat(pTHX);
1913 #if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP)
1914 PERL_CALLCONV I32       Perl_my_memcmp(const char* s1, const char* s2, I32 len)
1915                         __attribute__pure__
1916                         __attribute__nonnull__(1)
1917                         __attribute__nonnull__(2);
1918 #define PERL_ARGS_ASSERT_MY_MEMCMP      \
1919         assert(s1); assert(s2)
1920
1921 #endif
1922 #if !defined(HAS_MEMSET)
1923 PERL_CALLCONV void*     Perl_my_memset(char* loc, I32 ch, I32 len)
1924                         __attribute__nonnull__(1);
1925 #define PERL_ARGS_ASSERT_MY_MEMSET      \
1926         assert(loc)
1927
1928 #endif
1929 PERL_CALLCONV I32       Perl_my_pclose(pTHX_ PerlIO* ptr);
1930 PERL_CALLCONV PerlIO*   Perl_my_popen(pTHX_ const char* cmd, const char* mode)
1931                         __attribute__nonnull__(pTHX_1)
1932                         __attribute__nonnull__(pTHX_2);
1933 #define PERL_ARGS_ASSERT_MY_POPEN       \
1934         assert(cmd); assert(mode)
1935
1936 PERL_CALLCONV PerlIO*   Perl_my_popen_list(pTHX_ const char* mode, int n, SV ** args)
1937                         __attribute__nonnull__(pTHX_1)
1938                         __attribute__nonnull__(pTHX_3);
1939 #define PERL_ARGS_ASSERT_MY_POPEN_LIST  \
1940         assert(mode); assert(args)
1941
1942 PERL_CALLCONV void      Perl_my_setenv(pTHX_ const char* nam, const char* val);
1943 PERL_CALLCONV I32       Perl_my_stat(pTHX);
1944 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)
1945                         __attribute__nonnull__(pTHX_1);
1946 #define PERL_ARGS_ASSERT_MY_STRFTIME    \
1947         assert(fmt)
1948
1949 #if defined(MYSWAP)
1950 PERL_CALLCONV short     Perl_my_swap(pTHX_ short s)
1951                         __attribute__malloc__
1952                         __attribute__warn_unused_result__
1953                         __attribute__pure__;
1954
1955 PERL_CALLCONV long      Perl_my_htonl(pTHX_ long l)
1956                         __attribute__malloc__
1957                         __attribute__warn_unused_result__
1958                         __attribute__pure__;
1959
1960 PERL_CALLCONV long      Perl_my_ntohl(pTHX_ long l)
1961                         __attribute__malloc__
1962                         __attribute__warn_unused_result__
1963                         __attribute__pure__;
1964
1965 #endif
1966 PERL_CALLCONV void      Perl_my_unexec(pTHX);
1967 PERL_CALLCONV OP*       Perl_newANONLIST(pTHX_ OP* o)
1968                         __attribute__malloc__
1969                         __attribute__warn_unused_result__;
1970
1971 PERL_CALLCONV OP*       Perl_newANONHASH(pTHX_ OP* o)
1972                         __attribute__malloc__
1973                         __attribute__warn_unused_result__;
1974
1975 PERL_CALLCONV OP*       Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block);
1976 PERL_CALLCONV OP*       Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right)
1977                         __attribute__malloc__
1978                         __attribute__warn_unused_result__;
1979
1980 PERL_CALLCONV OP*       Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop)
1981                         __attribute__malloc__
1982                         __attribute__warn_unused_result__
1983                         __attribute__nonnull__(pTHX_2);
1984 #define PERL_ARGS_ASSERT_NEWCONDOP      \
1985         assert(first)
1986
1987 PERL_CALLCONV CV*       Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv);
1988 #ifdef PERL_MAD
1989 PERL_CALLCONV OP*       Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
1990 #else
1991 PERL_CALLCONV void      Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
1992 #endif
1993 PERL_CALLCONV OP*       Perl_newFOROP(pTHX_ I32 flags, char* label, line_t forline, OP* sv, OP* expr, OP* block, OP* cont)
1994                         __attribute__malloc__
1995                         __attribute__warn_unused_result__
1996                         __attribute__nonnull__(pTHX_5);
1997 #define PERL_ARGS_ASSERT_NEWFOROP       \
1998         assert(expr)
1999
2000 PERL_CALLCONV OP*       Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off)
2001                         __attribute__malloc__
2002                         __attribute__warn_unused_result__
2003                         __attribute__nonnull__(pTHX_1)
2004                         __attribute__nonnull__(pTHX_2);
2005 #define PERL_ARGS_ASSERT_NEWGIVENOP     \
2006         assert(cond); assert(block)
2007
2008 PERL_CALLCONV OP*       Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
2009                         __attribute__malloc__
2010                         __attribute__warn_unused_result__
2011                         __attribute__nonnull__(pTHX_3)
2012                         __attribute__nonnull__(pTHX_4);
2013 #define PERL_ARGS_ASSERT_NEWLOGOP       \
2014         assert(first); assert(other)
2015
2016 PERL_CALLCONV OP*       Perl_newLOOPEX(pTHX_ I32 type, OP* label)
2017                         __attribute__malloc__
2018                         __attribute__warn_unused_result__
2019                         __attribute__nonnull__(pTHX_2);
2020 #define PERL_ARGS_ASSERT_NEWLOOPEX      \
2021         assert(label)
2022
2023 PERL_CALLCONV OP*       Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block)
2024                         __attribute__malloc__
2025                         __attribute__warn_unused_result__;
2026
2027 PERL_CALLCONV OP*       Perl_newNULLLIST(pTHX)
2028                         __attribute__malloc__
2029                         __attribute__warn_unused_result__;
2030
2031 PERL_CALLCONV OP*       Perl_newOP(pTHX_ I32 optype, I32 flags)
2032                         __attribute__malloc__
2033                         __attribute__warn_unused_result__;
2034
2035 PERL_CALLCONV void      Perl_newPROG(pTHX_ OP* o)
2036                         __attribute__nonnull__(pTHX_1);
2037 #define PERL_ARGS_ASSERT_NEWPROG        \
2038         assert(o)
2039
2040 PERL_CALLCONV OP*       Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right)
2041                         __attribute__malloc__
2042                         __attribute__warn_unused_result__
2043                         __attribute__nonnull__(pTHX_2)
2044                         __attribute__nonnull__(pTHX_3);
2045 #define PERL_ARGS_ASSERT_NEWRANGE       \
2046         assert(left); assert(right)
2047
2048 PERL_CALLCONV OP*       Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop)
2049                         __attribute__malloc__
2050                         __attribute__warn_unused_result__;
2051
2052 PERL_CALLCONV OP*       Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o)
2053                         __attribute__malloc__
2054                         __attribute__warn_unused_result__;
2055
2056 PERL_CALLCONV CV*       Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block);
2057 PERL_CALLCONV CV *      Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags)
2058                         __attribute__nonnull__(pTHX_2)
2059                         __attribute__nonnull__(pTHX_3);
2060 #define PERL_ARGS_ASSERT_NEWXS_FLAGS    \
2061         assert(subaddr); assert(filename)
2062
2063 PERL_CALLCONV CV*       Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename)
2064                         __attribute__nonnull__(pTHX_2)
2065                         __attribute__nonnull__(pTHX_3);
2066 #define PERL_ARGS_ASSERT_NEWXS  \
2067         assert(subaddr); assert(filename)
2068
2069 /* PERL_CALLCONV AV*    Perl_newAV(pTHX)
2070                         __attribute__warn_unused_result__; */
2071
2072 PERL_CALLCONV OP*       Perl_newAVREF(pTHX_ OP* o)
2073                         __attribute__malloc__
2074                         __attribute__warn_unused_result__
2075                         __attribute__nonnull__(pTHX_1);
2076 #define PERL_ARGS_ASSERT_NEWAVREF       \
2077         assert(o)
2078
2079 PERL_CALLCONV OP*       Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2080                         __attribute__malloc__
2081                         __attribute__warn_unused_result__;
2082
2083 PERL_CALLCONV OP*       Perl_newCVREF(pTHX_ I32 flags, OP* o)
2084                         __attribute__malloc__
2085                         __attribute__warn_unused_result__;
2086
2087 PERL_CALLCONV OP*       Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv)
2088                         __attribute__malloc__
2089                         __attribute__warn_unused_result__
2090                         __attribute__nonnull__(pTHX_3);
2091 #define PERL_ARGS_ASSERT_NEWGVOP        \
2092         assert(gv)
2093
2094 PERL_CALLCONV GV*       Perl_newGVgen(pTHX_ const char* pack)
2095                         __attribute__malloc__
2096                         __attribute__warn_unused_result__
2097                         __attribute__nonnull__(pTHX_1);
2098 #define PERL_ARGS_ASSERT_NEWGVGEN       \
2099         assert(pack)
2100
2101 PERL_CALLCONV OP*       Perl_newGVREF(pTHX_ I32 type, OP* o)
2102                         __attribute__malloc__
2103                         __attribute__warn_unused_result__;
2104
2105 PERL_CALLCONV OP*       Perl_newHVREF(pTHX_ OP* o)
2106                         __attribute__malloc__
2107                         __attribute__warn_unused_result__
2108                         __attribute__nonnull__(pTHX_1);
2109 #define PERL_ARGS_ASSERT_NEWHVREF       \
2110         assert(o)
2111
2112 /* PERL_CALLCONV HV*    Perl_newHV(pTHX)
2113                         __attribute__warn_unused_result__; */
2114
2115 PERL_CALLCONV HV*       Perl_newHVhv(pTHX_ HV *hv)
2116                         __attribute__malloc__
2117                         __attribute__warn_unused_result__;
2118
2119 /* PERL_CALLCONV IO*    Perl_newIO(pTHX)
2120                         __attribute__malloc__
2121                         __attribute__warn_unused_result__; */
2122
2123 PERL_CALLCONV OP*       Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2124                         __attribute__malloc__
2125                         __attribute__warn_unused_result__;
2126
2127 #ifdef USE_ITHREADS
2128 PERL_CALLCONV OP*       Perl_newPADOP(pTHX_ I32 type, I32 flags, SV* sv)
2129                         __attribute__malloc__
2130                         __attribute__warn_unused_result__
2131                         __attribute__nonnull__(pTHX_3);
2132 #define PERL_ARGS_ASSERT_NEWPADOP       \
2133         assert(sv)
2134
2135 #endif
2136 PERL_CALLCONV OP*       Perl_newPMOP(pTHX_ I32 type, I32 flags)
2137                         __attribute__malloc__
2138                         __attribute__warn_unused_result__;
2139
2140 PERL_CALLCONV OP*       Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv)
2141                         __attribute__malloc__
2142                         __attribute__warn_unused_result__;
2143
2144 PERL_CALLCONV SV*       Perl_newRV(pTHX_ SV *const sv)
2145                         __attribute__malloc__
2146                         __attribute__warn_unused_result__
2147                         __attribute__nonnull__(pTHX_1);
2148 #define PERL_ARGS_ASSERT_NEWRV  \
2149         assert(sv)
2150
2151 PERL_CALLCONV SV*       Perl_newRV_noinc(pTHX_ SV *const sv)
2152                         __attribute__malloc__
2153                         __attribute__warn_unused_result__
2154                         __attribute__nonnull__(pTHX_1);
2155 #define PERL_ARGS_ASSERT_NEWRV_NOINC    \
2156         assert(sv)
2157
2158 PERL_CALLCONV SV*       Perl_newSV(pTHX_ const STRLEN len)
2159                         __attribute__malloc__
2160                         __attribute__warn_unused_result__;
2161
2162 PERL_CALLCONV OP*       Perl_newSVREF(pTHX_ OP* o)
2163                         __attribute__malloc__
2164                         __attribute__warn_unused_result__
2165                         __attribute__nonnull__(pTHX_1);
2166 #define PERL_ARGS_ASSERT_NEWSVREF       \
2167         assert(o)
2168
2169 PERL_CALLCONV OP*       Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv)
2170                         __attribute__malloc__
2171                         __attribute__warn_unused_result__
2172                         __attribute__nonnull__(pTHX_3);
2173 #define PERL_ARGS_ASSERT_NEWSVOP        \
2174         assert(sv)
2175
2176 PERL_CALLCONV SV*       Perl_newSViv(pTHX_ const IV i)
2177                         __attribute__malloc__
2178                         __attribute__warn_unused_result__;
2179
2180 PERL_CALLCONV SV*       Perl_newSVuv(pTHX_ const UV u)
2181                         __attribute__malloc__
2182                         __attribute__warn_unused_result__;
2183
2184 PERL_CALLCONV SV*       Perl_newSVnv(pTHX_ const NV n)
2185                         __attribute__malloc__
2186                         __attribute__warn_unused_result__;
2187
2188 PERL_CALLCONV SV*       Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
2189                         __attribute__malloc__
2190                         __attribute__warn_unused_result__;
2191
2192 PERL_CALLCONV SV*       Perl_newSVpvn(pTHX_ const char *const s, const STRLEN len)
2193                         __attribute__malloc__
2194                         __attribute__warn_unused_result__;
2195
2196 PERL_CALLCONV SV*       Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)
2197                         __attribute__malloc__
2198                         __attribute__warn_unused_result__;
2199
2200 PERL_CALLCONV SV*       Perl_newSVhek(pTHX_ const HEK *const hek)
2201                         __attribute__malloc__
2202                         __attribute__warn_unused_result__;
2203
2204 PERL_CALLCONV SV*       Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash)
2205                         __attribute__malloc__
2206                         __attribute__warn_unused_result__;
2207
2208 PERL_CALLCONV SV*       Perl_newSVpvf(pTHX_ const char *const pat, ...)
2209                         __attribute__malloc__
2210                         __attribute__warn_unused_result__
2211                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
2212                         __attribute__nonnull__(pTHX_1);
2213 #define PERL_ARGS_ASSERT_NEWSVPVF       \
2214         assert(pat)
2215
2216 PERL_CALLCONV SV*       Perl_vnewSVpvf(pTHX_ const char *const pat, va_list *const args)
2217                         __attribute__malloc__
2218                         __attribute__warn_unused_result__
2219                         __attribute__nonnull__(pTHX_1);
2220 #define PERL_ARGS_ASSERT_VNEWSVPVF      \
2221         assert(pat)
2222
2223 PERL_CALLCONV SV*       Perl_newSVrv(pTHX_ SV *const rv, const char *const classname)
2224                         __attribute__nonnull__(pTHX_1);
2225 #define PERL_ARGS_ASSERT_NEWSVRV        \
2226         assert(rv)
2227
2228 PERL_CALLCONV SV*       Perl_newSVsv(pTHX_ SV *const old)
2229                         __attribute__malloc__
2230                         __attribute__warn_unused_result__;
2231
2232 PERL_CALLCONV SV*       Perl_newSV_type(pTHX_ const svtype type)
2233                         __attribute__malloc__
2234                         __attribute__warn_unused_result__;
2235
2236 PERL_CALLCONV OP*       Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first)
2237                         __attribute__malloc__
2238                         __attribute__warn_unused_result__;
2239
2240 PERL_CALLCONV OP*       Perl_newWHENOP(pTHX_ OP* cond, OP* block)
2241                         __attribute__malloc__
2242                         __attribute__warn_unused_result__
2243                         __attribute__nonnull__(pTHX_2);
2244 #define PERL_ARGS_ASSERT_NEWWHENOP      \
2245         assert(block)
2246
2247 PERL_CALLCONV OP*       Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, I32 whileline, OP* expr, OP* block, OP* cont, I32 has_my)
2248                         __attribute__malloc__
2249                         __attribute__warn_unused_result__;
2250
2251 PERL_CALLCONV PERL_SI*  Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
2252                         __attribute__malloc__
2253                         __attribute__warn_unused_result__;
2254
2255 PERL_CALLCONV char*     Perl_scan_vstring(pTHX_ const char *s, const char *const e, SV *sv)
2256                         __attribute__nonnull__(pTHX_1)
2257                         __attribute__nonnull__(pTHX_2)
2258                         __attribute__nonnull__(pTHX_3);
2259 #define PERL_ARGS_ASSERT_SCAN_VSTRING   \
2260         assert(s); assert(e); assert(sv)
2261
2262 PERL_CALLCONV const char*       Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv)
2263                         __attribute__nonnull__(pTHX_1)
2264                         __attribute__nonnull__(pTHX_2);
2265 #define PERL_ARGS_ASSERT_SCAN_VERSION   \
2266         assert(s); assert(rv)
2267
2268 PERL_CALLCONV SV*       Perl_new_version(pTHX_ SV *ver)
2269                         __attribute__nonnull__(pTHX_1);
2270 #define PERL_ARGS_ASSERT_NEW_VERSION    \
2271         assert(ver)
2272
2273 PERL_CALLCONV SV*       Perl_upg_version(pTHX_ SV *ver, bool qv)
2274                         __attribute__nonnull__(pTHX_1);
2275 #define PERL_ARGS_ASSERT_UPG_VERSION    \
2276         assert(ver)
2277
2278 PERL_CALLCONV bool      Perl_vverify(pTHX_ SV *vs)
2279                         __attribute__nonnull__(pTHX_1);
2280 #define PERL_ARGS_ASSERT_VVERIFY        \
2281         assert(vs)
2282
2283 PERL_CALLCONV SV*       Perl_vnumify(pTHX_ SV *vs)
2284                         __attribute__nonnull__(pTHX_1);
2285 #define PERL_ARGS_ASSERT_VNUMIFY        \
2286         assert(vs)
2287
2288 PERL_CALLCONV SV*       Perl_vnormal(pTHX_ SV *vs)
2289                         __attribute__nonnull__(pTHX_1);
2290 #define PERL_ARGS_ASSERT_VNORMAL        \
2291         assert(vs)
2292
2293 PERL_CALLCONV SV*       Perl_vstringify(pTHX_ SV *vs)
2294                         __attribute__nonnull__(pTHX_1);
2295 #define PERL_ARGS_ASSERT_VSTRINGIFY     \
2296         assert(vs)
2297
2298 PERL_CALLCONV int       Perl_vcmp(pTHX_ SV *lhv, SV *rhv)
2299                         __attribute__nonnull__(pTHX_1)
2300                         __attribute__nonnull__(pTHX_2);
2301 #define PERL_ARGS_ASSERT_VCMP   \
2302         assert(lhv); assert(rhv)
2303
2304 PERL_CALLCONV PerlIO*   Perl_nextargv(pTHX_ GV* gv)
2305                         __attribute__nonnull__(pTHX_1);
2306 #define PERL_ARGS_ASSERT_NEXTARGV       \
2307         assert(gv)
2308
2309 PERL_CALLCONV char*     Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend)
2310                         __attribute__pure__
2311                         __attribute__nonnull__(1)
2312                         __attribute__nonnull__(2)
2313                         __attribute__nonnull__(3)
2314                         __attribute__nonnull__(4);
2315 #define PERL_ARGS_ASSERT_NINSTR \
2316         assert(big); assert(bigend); assert(little); assert(lend)
2317
2318 PERL_CALLCONV void      Perl_op_free(pTHX_ OP* arg);
2319 #ifdef PERL_MAD
2320 PERL_CALLCONV OP*       Perl_package(pTHX_ OP* o)
2321                         __attribute__nonnull__(pTHX_1);
2322 #define PERL_ARGS_ASSERT_PACKAGE        \
2323         assert(o)
2324
2325 #else
2326 PERL_CALLCONV void      Perl_package(pTHX_ OP* o)
2327                         __attribute__nonnull__(pTHX_1);
2328 #define PERL_ARGS_ASSERT_PACKAGE        \
2329         assert(o)
2330
2331 #endif
2332 PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
2333 PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name)
2334                         __attribute__nonnull__(pTHX_1);
2335 #define PERL_ARGS_ASSERT_ALLOCMY        \
2336         assert(name)
2337
2338 PERL_CALLCONV PADOFFSET Perl_pad_findmy(pTHX_ const char* name)
2339                         __attribute__warn_unused_result__
2340                         __attribute__nonnull__(pTHX_1);
2341 #define PERL_ARGS_ASSERT_PAD_FINDMY     \
2342         assert(name)
2343
2344 PERL_CALLCONV PADOFFSET Perl_find_rundefsvoffset(pTHX);
2345 PERL_CALLCONV OP*       Perl_oopsAV(pTHX_ OP* o)
2346                         __attribute__warn_unused_result__
2347                         __attribute__nonnull__(pTHX_1);
2348 #define PERL_ARGS_ASSERT_OOPSAV \
2349         assert(o)
2350
2351 PERL_CALLCONV OP*       Perl_oopsHV(pTHX_ OP* o)
2352                         __attribute__warn_unused_result__
2353                         __attribute__nonnull__(pTHX_1);
2354 #define PERL_ARGS_ASSERT_OOPSHV \
2355         assert(o)
2356
2357 PERL_CALLCONV void      Perl_pad_leavemy(pTHX);
2358 PERL_CALLCONV SV*       Perl_pad_sv(pTHX_ PADOFFSET po);
2359 PERL_CALLCONV void      Perl_pad_free(pTHX_ PADOFFSET po);
2360 #if defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT)
2361 STATIC void     S_pad_reset(pTHX);
2362 #endif
2363 PERL_CALLCONV void      Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust);
2364 PERL_CALLCONV void      Perl_peep(pTHX_ OP* o);
2365 PERL_CALLCONV PerlIO*   Perl_start_glob(pTHX_ SV *tmpglob, IO *io)
2366                         __attribute__nonnull__(pTHX_1)
2367                         __attribute__nonnull__(pTHX_2);
2368 #define PERL_ARGS_ASSERT_START_GLOB     \
2369         assert(tmpglob); assert(io)
2370
2371 #if defined(USE_REENTRANT_API)
2372 PERL_CALLCONV void      Perl_reentrant_size(pTHX);
2373 PERL_CALLCONV void      Perl_reentrant_init(pTHX);
2374 PERL_CALLCONV void      Perl_reentrant_free(pTHX);
2375 PERL_CALLCONV void*     Perl_reentrant_retry(const char *f, ...)
2376                         __attribute__nonnull__(1);
2377 #define PERL_ARGS_ASSERT_REENTRANT_RETRY        \
2378         assert(f)
2379
2380 #endif
2381 PERL_CALLCONV void      Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr);
2382 PERL_CALLCONV I32       Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv)
2383                         __attribute__nonnull__(pTHX_1)
2384                         __attribute__nonnull__(pTHX_3);
2385 #define PERL_ARGS_ASSERT_CALL_ARGV      \
2386         assert(sub_name); assert(argv)
2387
2388 PERL_CALLCONV I32       Perl_call_method(pTHX_ const char* methname, I32 flags)
2389                         __attribute__nonnull__(pTHX_1);
2390 #define PERL_ARGS_ASSERT_CALL_METHOD    \
2391         assert(methname)
2392
2393 PERL_CALLCONV I32       Perl_call_pv(pTHX_ const char* sub_name, I32 flags)
2394                         __attribute__nonnull__(pTHX_1);
2395 #define PERL_ARGS_ASSERT_CALL_PV        \
2396         assert(sub_name)
2397
2398 PERL_CALLCONV I32       Perl_call_sv(pTHX_ SV* sv, VOL I32 flags)
2399                         __attribute__nonnull__(pTHX_1);
2400 #define PERL_ARGS_ASSERT_CALL_SV        \
2401         assert(sv)
2402
2403 PERL_CALLCONV void      Perl_despatch_signals(pTHX);
2404 PERL_CALLCONV OP *      Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref)
2405                         __attribute__nonnull__(pTHX_1);
2406 #define PERL_ARGS_ASSERT_DOREF  \
2407         assert(o)
2408
2409 PERL_CALLCONV SV*       Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error)
2410                         __attribute__nonnull__(pTHX_1);
2411 #define PERL_ARGS_ASSERT_EVAL_PV        \
2412         assert(p)
2413
2414 PERL_CALLCONV I32       Perl_eval_sv(pTHX_ SV* sv, I32 flags)
2415                         __attribute__nonnull__(pTHX_1);
2416 #define PERL_ARGS_ASSERT_EVAL_SV        \
2417         assert(sv)
2418
2419 PERL_CALLCONV SV*       Perl_get_sv(pTHX_ const char *name, I32 flags)
2420                         __attribute__nonnull__(pTHX_1);
2421 #define PERL_ARGS_ASSERT_GET_SV \
2422         assert(name)
2423
2424 PERL_CALLCONV AV*       Perl_get_av(pTHX_ const char *name, I32 flags)
2425                         __attribute__nonnull__(pTHX_1);
2426 #define PERL_ARGS_ASSERT_GET_AV \
2427         assert(name)
2428
2429 PERL_CALLCONV HV*       Perl_get_hv(pTHX_ const char *name, I32 flags)
2430                         __attribute__nonnull__(pTHX_1);
2431 #define PERL_ARGS_ASSERT_GET_HV \
2432         assert(name)
2433
2434 PERL_CALLCONV CV*       Perl_get_cv(pTHX_ const char* name, I32 flags)
2435                         __attribute__nonnull__(pTHX_1);
2436 #define PERL_ARGS_ASSERT_GET_CV \
2437         assert(name)
2438
2439 PERL_CALLCONV CV*       Perl_get_cvn_flags(pTHX_ const char* name, STRLEN len, I32 flags)
2440                         __attribute__nonnull__(pTHX_1);
2441 #define PERL_ARGS_ASSERT_GET_CVN_FLAGS  \
2442         assert(name)
2443
2444 PERL_CALLCONV int       Perl_init_i18nl10n(pTHX_ int printwarn);
2445 PERL_CALLCONV int       Perl_init_i18nl14n(pTHX_ int printwarn);
2446 PERL_CALLCONV void      Perl_new_collate(pTHX_ const char* newcoll);
2447 PERL_CALLCONV void      Perl_new_ctype(pTHX_ const char* newctype)
2448                         __attribute__nonnull__(pTHX_1);
2449 #define PERL_ARGS_ASSERT_NEW_CTYPE      \
2450         assert(newctype)
2451
2452 PERL_CALLCONV void      Perl_new_numeric(pTHX_ const char* newcoll);
2453 PERL_CALLCONV void      Perl_set_numeric_local(pTHX);
2454 PERL_CALLCONV void      Perl_set_numeric_radix(pTHX);
2455 PERL_CALLCONV void      Perl_set_numeric_standard(pTHX);
2456 PERL_CALLCONV void      Perl_require_pv(pTHX_ const char* pv)
2457                         __attribute__nonnull__(pTHX_1);
2458 #define PERL_ARGS_ASSERT_REQUIRE_PV     \
2459         assert(pv)
2460
2461 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)
2462                         __attribute__nonnull__(pTHX_1)
2463                         __attribute__nonnull__(pTHX_2)
2464                         __attribute__nonnull__(pTHX_3)
2465                         __attribute__nonnull__(pTHX_4)
2466                         __attribute__nonnull__(pTHX_5)
2467                         __attribute__nonnull__(pTHX_6);
2468 #define PERL_ARGS_ASSERT_PACK_CAT       \
2469         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist); assert(next_in_list)
2470
2471 PERL_CALLCONV void      Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist)
2472                         __attribute__nonnull__(pTHX_1)
2473                         __attribute__nonnull__(pTHX_2)
2474                         __attribute__nonnull__(pTHX_3)
2475                         __attribute__nonnull__(pTHX_4)
2476                         __attribute__nonnull__(pTHX_5);
2477 #define PERL_ARGS_ASSERT_PACKLIST       \
2478         assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist)
2479
2480 #if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
2481 STATIC void     S_pidgone(pTHX_ Pid_t pid, int status);
2482 #endif
2483 PERL_CALLCONV void      Perl_pmflag(pTHX_ U32* pmfl, int ch)
2484                         __attribute__nonnull__(pTHX_1);
2485 #define PERL_ARGS_ASSERT_PMFLAG \
2486         assert(pmfl)
2487
2488 PERL_CALLCONV OP*       Perl_pmruntime(pTHX_ OP *o, OP *expr, bool isreg)
2489                         __attribute__nonnull__(pTHX_1)
2490                         __attribute__nonnull__(pTHX_2);
2491 #define PERL_ARGS_ASSERT_PMRUNTIME      \
2492         assert(o); assert(expr)
2493
2494 #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
2495 STATIC OP*      S_pmtrans(pTHX_ OP* o, OP* expr, OP* repl)
2496                         __attribute__nonnull__(pTHX_1)
2497                         __attribute__nonnull__(pTHX_2)
2498                         __attribute__nonnull__(pTHX_3);
2499 #define PERL_ARGS_ASSERT_PMTRANS        \
2500         assert(o); assert(expr); assert(repl)
2501
2502 #endif
2503 PERL_CALLCONV void      Perl_pop_scope(pTHX);
2504 PERL_CALLCONV OP*       Perl_prepend_elem(pTHX_ I32 optype, OP* head, OP* tail);
2505 PERL_CALLCONV void      Perl_push_scope(pTHX);
2506 /* PERL_CALLCONV OP*    Perl_ref(pTHX_ OP* o, I32 type); */
2507 #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
2508 STATIC OP*      S_refkids(pTHX_ OP* o, I32 type);
2509 #endif
2510 PERL_CALLCONV void      Perl_regdump(pTHX_ const regexp* r)
2511                         __attribute__nonnull__(pTHX_1);
2512 #define PERL_ARGS_ASSERT_REGDUMP        \
2513         assert(r)
2514
2515 PERL_CALLCONV void      Perl_regdump(pTHX_ const regexp* r)
2516                         __attribute__nonnull__(pTHX_1);
2517 #define PERL_ARGS_ASSERT_REGDUMP        \
2518         assert(r)
2519
2520 PERL_CALLCONV SV*       Perl_regclass_swash(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **altsvp)
2521                         __attribute__nonnull__(pTHX_2);
2522 #define PERL_ARGS_ASSERT_REGCLASS_SWASH \
2523         assert(node)
2524
2525 PERL_CALLCONV I32       Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, U32 nosave)
2526                         __attribute__nonnull__(pTHX_1)
2527                         __attribute__nonnull__(pTHX_2)
2528                         __attribute__nonnull__(pTHX_3)
2529                         __attribute__nonnull__(pTHX_4)
2530                         __attribute__nonnull__(pTHX_6);
2531 #define PERL_ARGS_ASSERT_PREGEXEC       \
2532         assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
2533
2534 PERL_CALLCONV void      Perl_pregfree(pTHX_ REGEXP* r);
2535 PERL_CALLCONV void      Perl_pregfree2(pTHX_ REGEXP *rx)
2536                         __attribute__nonnull__(pTHX_1);
2537 #define PERL_ARGS_ASSERT_PREGFREE2      \
2538         assert(rx)
2539
2540 PERL_CALLCONV REGEXP*   Perl_reg_temp_copy(pTHX_ REGEXP* r)
2541                         __attribute__nonnull__(pTHX_1);
2542 #define PERL_ARGS_ASSERT_REG_TEMP_COPY  \
2543         assert(r)
2544
2545 PERL_CALLCONV void      Perl_regfree_internal(pTHX_ REGEXP *const rx)
2546                         __attribute__nonnull__(pTHX_1);
2547 #define PERL_ARGS_ASSERT_REGFREE_INTERNAL       \
2548         assert(rx)
2549
2550 #if defined(USE_ITHREADS)
2551 PERL_CALLCONV void*     Perl_regdupe_internal(pTHX_ REGEXP * const r, CLONE_PARAMS* param)
2552                         __attribute__nonnull__(pTHX_1)
2553                         __attribute__nonnull__(pTHX_2);
2554 #define PERL_ARGS_ASSERT_REGDUPE_INTERNAL       \
2555         assert(r); assert(param)
2556
2557 #endif
2558 PERL_CALLCONV REGEXP*   Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags)
2559                         __attribute__nonnull__(pTHX_1);
2560 #define PERL_ARGS_ASSERT_PREGCOMP       \
2561         assert(pattern)
2562
2563 PERL_CALLCONV REGEXP*   Perl_re_compile(pTHX_ SV * const pattern, U32 flags)
2564                         __attribute__nonnull__(pTHX_1);
2565 #define PERL_ARGS_ASSERT_RE_COMPILE     \
2566         assert(pattern)
2567
2568 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)
2569                         __attribute__nonnull__(pTHX_1)
2570                         __attribute__nonnull__(pTHX_3)
2571                         __attribute__nonnull__(pTHX_4);
2572 #define PERL_ARGS_ASSERT_RE_INTUIT_START        \
2573         assert(rx); assert(strpos); assert(strend)
2574
2575 PERL_CALLCONV SV*       Perl_re_intuit_string(pTHX_ REGEXP  *const r)
2576                         __attribute__nonnull__(pTHX_1);
2577 #define PERL_ARGS_ASSERT_RE_INTUIT_STRING       \
2578         assert(r)
2579
2580 PERL_CALLCONV I32       Perl_regexec_flags(pTHX_ REGEXP *const rx, char *stringarg, char *strend, char *strbeg, I32 minend, SV *sv, void *data, U32 flags)
2581                         __attribute__nonnull__(pTHX_1)
2582                         __attribute__nonnull__(pTHX_2)
2583                         __attribute__nonnull__(pTHX_3)
2584                         __attribute__nonnull__(pTHX_4)
2585                         __attribute__nonnull__(pTHX_6);
2586 #define PERL_ARGS_ASSERT_REGEXEC_FLAGS  \
2587         assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv)
2588
2589 PERL_CALLCONV regnode*  Perl_regnext(pTHX_ regnode* p)
2590                         __attribute__warn_unused_result__;
2591
2592
2593 PERL_CALLCONV SV*       Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags)
2594                         __attribute__nonnull__(pTHX_1);
2595 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF \
2596         assert(rx)
2597
2598 PERL_CALLCONV SV*       Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags)
2599                         __attribute__nonnull__(pTHX_1);
2600 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER    \
2601         assert(rx)
2602
2603 PERL_CALLCONV SV*       Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags)
2604                         __attribute__nonnull__(pTHX_1)
2605                         __attribute__nonnull__(pTHX_2);
2606 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH   \
2607         assert(rx); assert(namesv)
2608
2609 PERL_CALLCONV bool      Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags)
2610                         __attribute__nonnull__(pTHX_1)
2611                         __attribute__nonnull__(pTHX_2);
2612 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS  \
2613         assert(rx); assert(key)
2614
2615 PERL_CALLCONV SV*       Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags)
2616                         __attribute__nonnull__(pTHX_1);
2617 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY        \
2618         assert(rx)
2619
2620 PERL_CALLCONV SV*       Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags)
2621                         __attribute__nonnull__(pTHX_1);
2622 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
2623         assert(rx)
2624
2625 PERL_CALLCONV SV*       Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags)
2626                         __attribute__nonnull__(pTHX_1);
2627 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR  \
2628         assert(rx)
2629
2630 PERL_CALLCONV SV*       Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags)
2631                         __attribute__nonnull__(pTHX_1);
2632 #define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL     \
2633         assert(rx)
2634
2635
2636 PERL_CALLCONV void      Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const rx, const I32 paren, SV * const sv)
2637                         __attribute__nonnull__(pTHX_1);
2638 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH        \
2639         assert(rx)
2640
2641 PERL_CALLCONV void      Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value)
2642                         __attribute__nonnull__(pTHX_1);
2643 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE        \
2644         assert(rx)
2645
2646 PERL_CALLCONV I32       Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren)
2647                         __attribute__nonnull__(pTHX_1)
2648                         __attribute__nonnull__(pTHX_2);
2649 #define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH       \
2650         assert(rx); assert(sv)
2651
2652
2653 PERL_CALLCONV SV*       Perl_reg_qr_package(pTHX_ REGEXP * const rx)
2654                         __attribute__nonnull__(pTHX_1);
2655 #define PERL_ARGS_ASSERT_REG_QR_PACKAGE \
2656         assert(rx)
2657
2658
2659 PERL_CALLCONV void      Perl_regprop(pTHX_ const regexp *prog, SV* sv, const regnode* o)
2660                         __attribute__nonnull__(pTHX_2)
2661                         __attribute__nonnull__(pTHX_3);
2662 #define PERL_ARGS_ASSERT_REGPROP        \
2663         assert(sv); assert(o)
2664
2665 PERL_CALLCONV void      Perl_repeatcpy(char* to, const char* from, I32 len, I32 count)
2666                         __attribute__nonnull__(1)
2667                         __attribute__nonnull__(2);
2668 #define PERL_ARGS_ASSERT_REPEATCPY      \
2669         assert(to); assert(from)
2670
2671 PERL_CALLCONV char*     Perl_rninstr(const char* big, const char* bigend, const char* little, const char* lend)
2672                         __attribute__pure__
2673                         __attribute__nonnull__(1)
2674                         __attribute__nonnull__(2)
2675                         __attribute__nonnull__(3)
2676                         __attribute__nonnull__(4);
2677 #define PERL_ARGS_ASSERT_RNINSTR        \
2678         assert(big); assert(bigend); assert(little); assert(lend)
2679
2680 PERL_CALLCONV Sighandler_t      Perl_rsignal(pTHX_ int i, Sighandler_t t);
2681 PERL_CALLCONV int       Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t);
2682 PERL_CALLCONV int       Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* save)
2683                         __attribute__nonnull__(pTHX_3);
2684 #define PERL_ARGS_ASSERT_RSIGNAL_SAVE   \
2685         assert(save)
2686
2687 PERL_CALLCONV Sighandler_t      Perl_rsignal_state(pTHX_ int i);
2688 #if defined(PERL_IN_PP_CTL_C) || defined(PERL_DECL_PROT)
2689 STATIC void     S_rxres_free(pTHX_ void** rsp)
2690                         __attribute__nonnull__(pTHX_1);
2691 #define PERL_ARGS_ASSERT_RXRES_FREE     \
2692         assert(rsp)
2693
2694 STATIC void     S_rxres_restore(pTHX_ void **rsp, REGEXP *rx)
2695                         __attribute__nonnull__(pTHX_1)
2696                         __attribute__nonnull__(pTHX_2);
2697 #define PERL_ARGS_ASSERT_RXRES_RESTORE  \
2698         assert(rsp); assert(rx)
2699
2700 #endif
2701 PERL_CALLCONV void      Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx)
2702                         __attribute__nonnull__(pTHX_1)
2703                         __attribute__nonnull__(pTHX_2);
2704 #define PERL_ARGS_ASSERT_RXRES_SAVE     \
2705         assert(rsp); assert(rx)
2706
2707 #if !defined(HAS_RENAME)
2708 PERL_CALLCONV I32       Perl_same_dirent(pTHX_ const char* a, const char* b)
2709                         __attribute__nonnull__(pTHX_1)
2710                         __attribute__nonnull__(pTHX_2);
2711 #define PERL_ARGS_ASSERT_SAME_DIRENT    \
2712         assert(a); assert(b)
2713
2714 #endif
2715 PERL_CALLCONV char*     Perl_savepv(pTHX_ const char* pv)
2716                         __attribute__malloc__
2717                         __attribute__warn_unused_result__;
2718
2719 PERL_CALLCONV char*     Perl_savepvn(pTHX_ const char* pv, I32 len)
2720                         __attribute__malloc__
2721                         __attribute__warn_unused_result__;
2722
2723 PERL_CALLCONV char*     Perl_savesharedpv(pTHX_ const char* pv)
2724                         __attribute__malloc__
2725                         __attribute__warn_unused_result__;
2726
2727 PERL_CALLCONV char*     Perl_savesharedpvn(pTHX_ const char *const pv, const STRLEN len)
2728                         __attribute__malloc__
2729                         __attribute__warn_unused_result__
2730                         __attribute__nonnull__(pTHX_1);
2731 #define PERL_ARGS_ASSERT_SAVESHAREDPVN  \
2732         assert(pv)
2733
2734 PERL_CALLCONV char*     Perl_savesvpv(pTHX_ SV* sv)
2735                         __attribute__malloc__
2736                         __attribute__warn_unused_result__
2737                         __attribute__nonnull__(pTHX_1);
2738 #define PERL_ARGS_ASSERT_SAVESVPV       \
2739         assert(sv)
2740
2741 PERL_CALLCONV void      Perl_savestack_grow(pTHX);
2742 PERL_CALLCONV void      Perl_savestack_grow_cnt(pTHX_ I32 need);
2743 /* PERL_CALLCONV void   Perl_save_aelem(pTHX_ AV* av, I32 idx, SV **sptr)
2744                         __attribute__nonnull__(pTHX_1)
2745                         __attribute__nonnull__(pTHX_3); */
2746
2747 PERL_CALLCONV void      Perl_save_aelem_flags(pTHX_ AV* av, I32 idx, SV **sptr, const U32 flags)
2748                         __attribute__nonnull__(pTHX_1)
2749                         __attribute__nonnull__(pTHX_3);
2750 #define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS       \
2751         assert(av); assert(sptr)
2752
2753 PERL_CALLCONV I32       Perl_save_alloc(pTHX_ I32 size, I32 pad);
2754 PERL_CALLCONV void      Perl_save_aptr(pTHX_ AV** aptr)
2755                         __attribute__nonnull__(pTHX_1);
2756 #define PERL_ARGS_ASSERT_SAVE_APTR      \
2757         assert(aptr)
2758
2759 PERL_CALLCONV AV*       Perl_save_ary(pTHX_ GV* gv)
2760                         __attribute__nonnull__(pTHX_1);
2761 #define PERL_ARGS_ASSERT_SAVE_ARY       \
2762         assert(gv)
2763
2764 PERL_CALLCONV void      Perl_save_bool(pTHX_ bool* boolp)
2765                         __attribute__nonnull__(pTHX_1);
2766 #define PERL_ARGS_ASSERT_SAVE_BOOL      \
2767         assert(boolp)
2768
2769 PERL_CALLCONV void      Perl_save_clearsv(pTHX_ SV** svp)
2770                         __attribute__nonnull__(pTHX_1);
2771 #define PERL_ARGS_ASSERT_SAVE_CLEARSV   \
2772         assert(svp)
2773
2774 PERL_CALLCONV void      Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen)
2775                         __attribute__nonnull__(pTHX_1)
2776                         __attribute__nonnull__(pTHX_2);
2777 #define PERL_ARGS_ASSERT_SAVE_DELETE    \
2778         assert(hv); assert(key)
2779
2780 PERL_CALLCONV void      Perl_save_hdelete(pTHX_ HV *hv, SV *keysv)
2781                         __attribute__nonnull__(pTHX_1)
2782                         __attribute__nonnull__(pTHX_2);
2783 #define PERL_ARGS_ASSERT_SAVE_HDELETE   \
2784         assert(hv); assert(keysv)
2785
2786 PERL_CALLCONV void      Perl_save_adelete(pTHX_ AV *av, I32 key)
2787                         __attribute__nonnull__(pTHX_1);
2788 #define PERL_ARGS_ASSERT_SAVE_ADELETE   \
2789         assert(av)
2790
2791 PERL_CALLCONV void      Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p)
2792                         __attribute__nonnull__(pTHX_2);
2793 #define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR        \
2794         assert(p)
2795
2796 PERL_CALLCONV void      Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p);
2797 /* PERL_CALLCONV void   Perl_save_freesv(pTHX_ SV* sv); */
2798 /* PERL_CALLCONV void   Perl_save_freeop(pTHX_ OP* o); */
2799 /* PERL_CALLCONV void   Perl_save_freepv(pTHX_ char* pv); */
2800 PERL_CALLCONV void      Perl_save_generic_svref(pTHX_ SV** sptr)
2801                         __attribute__nonnull__(pTHX_1);
2802 #define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF     \
2803         assert(sptr)
2804
2805 PERL_CALLCONV void      Perl_save_generic_pvref(pTHX_ char** str)
2806                         __attribute__nonnull__(pTHX_1);
2807 #define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF     \
2808         assert(str)
2809
2810 PERL_CALLCONV void      Perl_save_shared_pvref(pTHX_ char** str)
2811                         __attribute__nonnull__(pTHX_1);
2812 #define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF      \
2813         assert(str)
2814
2815 PERL_CALLCONV void      Perl_save_gp(pTHX_ GV* gv, I32 empty)
2816                         __attribute__nonnull__(pTHX_1);
2817 #define PERL_ARGS_ASSERT_SAVE_GP        \
2818         assert(gv)
2819
2820 PERL_CALLCONV HV*       Perl_save_hash(pTHX_ GV* gv)
2821                         __attribute__nonnull__(pTHX_1);
2822 #define PERL_ARGS_ASSERT_SAVE_HASH      \
2823         assert(gv)
2824
2825 PERL_CALLCONV void      Perl_save_hints(pTHX);
2826 /* PERL_CALLCONV void   Perl_save_helem(pTHX_ HV *hv, SV *key, SV **sptr)
2827                         __attribute__nonnull__(pTHX_1)
2828                         __attribute__nonnull__(pTHX_2)
2829                         __attribute__nonnull__(pTHX_3); */
2830
2831 PERL_CALLCONV void      Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags)
2832                         __attribute__nonnull__(pTHX_1)
2833                         __attribute__nonnull__(pTHX_2)
2834                         __attribute__nonnull__(pTHX_3);
2835 #define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS       \
2836         assert(hv); assert(key); assert(sptr)
2837
2838 PERL_CALLCONV void      Perl_save_hptr(pTHX_ HV** hptr)
2839                         __attribute__nonnull__(pTHX_1);
2840 #define PERL_ARGS_ASSERT_SAVE_HPTR      \
2841         assert(hptr)
2842
2843 PERL_CALLCONV void      Perl_save_I16(pTHX_ I16* intp)
2844                         __attribute__nonnull__(pTHX_1);
2845 #define PERL_ARGS_ASSERT_SAVE_I16       \
2846         assert(intp)
2847
2848 PERL_CALLCONV void      Perl_save_I32(pTHX_ I32* intp)
2849                         __attribute__nonnull__(pTHX_1);
2850 #define PERL_ARGS_ASSERT_SAVE_I32       \
2851         assert(intp)
2852
2853 PERL_CALLCONV void      Perl_save_I8(pTHX_ I8* bytep)
2854                         __attribute__nonnull__(pTHX_1);
2855 #define PERL_ARGS_ASSERT_SAVE_I8        \
2856         assert(bytep)
2857
2858 PERL_CALLCONV void      Perl_save_int(pTHX_ int* intp)
2859                         __attribute__nonnull__(pTHX_1);
2860 #define PERL_ARGS_ASSERT_SAVE_INT       \
2861         assert(intp)
2862
2863 PERL_CALLCONV void      Perl_save_item(pTHX_ SV* item)
2864                         __attribute__nonnull__(pTHX_1);
2865 #define PERL_ARGS_ASSERT_SAVE_ITEM      \
2866         assert(item)
2867
2868 PERL_CALLCONV void      Perl_save_iv(pTHX_ IV *ivp)
2869                         __attribute__nonnull__(pTHX_1);
2870 #define PERL_ARGS_ASSERT_SAVE_IV        \
2871         assert(ivp)
2872
2873 PERL_CALLCONV void      Perl_save_list(pTHX_ SV** sarg, I32 maxsarg)
2874                         __attribute__nonnull__(pTHX_1);
2875 #define PERL_ARGS_ASSERT_SAVE_LIST      \
2876         assert(sarg)
2877
2878 PERL_CALLCONV void      Perl_save_long(pTHX_ long* longp)
2879                         __attribute__nonnull__(pTHX_1);
2880 #define PERL_ARGS_ASSERT_SAVE_LONG      \
2881         assert(longp)
2882
2883 /* PERL_CALLCONV void   Perl_save_mortalizesv(pTHX_ SV* sv)
2884                         __attribute__nonnull__(pTHX_1); */
2885 #define PERL_ARGS_ASSERT_SAVE_MORTALIZESV       \
2886         assert(sv)
2887
2888 PERL_CALLCONV void      Perl_save_nogv(pTHX_ GV* gv)
2889                         __attribute__nonnull__(pTHX_1);
2890 #define PERL_ARGS_ASSERT_SAVE_NOGV      \
2891         assert(gv)
2892
2893 /* PERL_CALLCONV void   Perl_save_op(pTHX); */
2894 PERL_CALLCONV SV*       Perl_save_scalar(pTHX_ GV* gv)
2895                         __attribute__nonnull__(pTHX_1);
2896 #define PERL_ARGS_ASSERT_SAVE_SCALAR    \
2897         assert(gv)
2898
2899 PERL_CALLCONV void      Perl_save_pptr(pTHX_ char** pptr)
2900                         __attribute__nonnull__(pTHX_1);
2901 #define PERL_ARGS_ASSERT_SAVE_PPTR      \
2902         assert(pptr)
2903
2904 PERL_CALLCONV void      Perl_save_vptr(pTHX_ void *ptr)
2905                         __attribute__nonnull__(pTHX_1);
2906 #define PERL_ARGS_ASSERT_SAVE_VPTR      \
2907         assert(ptr)
2908
2909 PERL_CALLCONV void      Perl_save_re_context(pTHX);
2910 PERL_CALLCONV void      Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off);
2911 PERL_CALLCONV void      Perl_save_sptr(pTHX_ SV** sptr)
2912                         __attribute__nonnull__(pTHX_1);
2913 #define PERL_ARGS_ASSERT_SAVE_SPTR      \
2914         assert(sptr)
2915
2916 PERL_CALLCONV SV*       Perl_save_svref(pTHX_ SV** sptr)
2917                         __attribute__nonnull__(pTHX_1);
2918 #define PERL_ARGS_ASSERT_SAVE_SVREF     \
2919         assert(sptr)
2920
2921 PERL_CALLCONV void      Perl_save_pushptr(pTHX_ void *const ptr, const int type);
2922 PERL_CALLCONV void      Perl_save_pushi32ptr(pTHX_ const I32 i, void *const ptr, const int type);
2923 PERL_CALLCONV void      Perl_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type);
2924 #if defined(PERL_IN_SCOPE_C) || defined(PERL_DECL_PROT)
2925 STATIC void     S_save_pushptri32ptr(pTHX_ void *const ptr1, const I32 i, void *const ptr2, const int type);
2926 #endif
2927 PERL_CALLCONV OP*       Perl_sawparens(pTHX_ OP* o);
2928 PERL_CALLCONV OP*       Perl_scalar(pTHX_ OP* o);
2929 #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
2930 STATIC OP*      S_scalarkids(pTHX_ OP* o);
2931 STATIC OP*      S_scalarseq(pTHX_ OP* o);
2932 #endif
2933 PERL_CALLCONV OP*       Perl_scalarvoid(pTHX_ OP* o)
2934                         __attribute__nonnull__(pTHX_1);
2935 #define PERL_ARGS_ASSERT_SCALARVOID     \
2936         assert(o)
2937
2938 PERL_CALLCONV NV        Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
2939                         __attribute__nonnull__(pTHX_1)
2940                         __attribute__nonnull__(pTHX_3);
2941 #define PERL_ARGS_ASSERT_SCAN_BIN       \
2942         assert(start); assert(retlen)
2943
2944 PERL_CALLCONV NV        Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
2945                         __attribute__nonnull__(pTHX_1)
2946                         __attribute__nonnull__(pTHX_3);
2947 #define PERL_ARGS_ASSERT_SCAN_HEX       \
2948         assert(start); assert(retlen)
2949
2950 PERL_CALLCONV char*     Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp)
2951                         __attribute__nonnull__(pTHX_1)
2952                         __attribute__nonnull__(pTHX_2);
2953 #define PERL_ARGS_ASSERT_SCAN_NUM       \
2954         assert(s); assert(lvalp)
2955
2956 PERL_CALLCONV NV        Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
2957                         __attribute__nonnull__(pTHX_1)
2958                         __attribute__nonnull__(pTHX_3);
2959 #define PERL_ARGS_ASSERT_SCAN_OCT       \
2960         assert(start); assert(retlen)
2961
2962 PERL_CALLCONV OP*       Perl_scope(pTHX_ OP* o);
2963 PERL_CALLCONV char*     Perl_screaminstr(pTHX_ SV *bigstr, SV *littlestr, I32 start_shift, I32 end_shift, I32 *old_posp, I32 last)
2964                         __attribute__nonnull__(pTHX_1)
2965                         __attribute__nonnull__(pTHX_2)
2966                         __attribute__nonnull__(pTHX_5);
2967 #define PERL_ARGS_ASSERT_SCREAMINSTR    \
2968         assert(bigstr); assert(littlestr); assert(old_posp)
2969
2970 PERL_CALLCONV void      Perl_setdefout(pTHX_ GV* gv);
2971 PERL_CALLCONV HEK*      Perl_share_hek(pTHX_ const char* str, I32 len, U32 hash)
2972                         __attribute__nonnull__(pTHX_1);
2973 #define PERL_ARGS_ASSERT_SHARE_HEK      \
2974         assert(str)
2975
2976 #if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
2977 PERL_CALLCONV Signal_t  Perl_sighandler(int sig, siginfo_t *info, void *uap);
2978 PERL_CALLCONV Signal_t  Perl_csighandler(int sig, siginfo_t *info, void *uap);
2979 #else
2980 PERL_CALLCONV Signal_t  Perl_sighandler(int sig);
2981 PERL_CALLCONV Signal_t  Perl_csighandler(int sig);
2982 #endif
2983 PERL_CALLCONV SV**      Perl_stack_grow(pTHX_ SV** sp, SV** p, int n)
2984                         __attribute__nonnull__(pTHX_1)
2985                         __attribute__nonnull__(pTHX_2);
2986 #define PERL_ARGS_ASSERT_STACK_GROW     \
2987         assert(sp); assert(p)
2988
2989 PERL_CALLCONV I32       Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
2990 PERL_CALLCONV void      Perl_sub_crush_depth(pTHX_ CV* cv)
2991                         __attribute__nonnull__(pTHX_1);
2992 #define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH        \
2993         assert(cv)
2994
2995 PERL_CALLCONV bool      Perl_sv_2bool(pTHX_ SV *const sv)
2996                         __attribute__nonnull__(pTHX_1);
2997 #define PERL_ARGS_ASSERT_SV_2BOOL       \
2998         assert(sv)
2999
3000 PERL_CALLCONV CV*       Perl_sv_2cv(pTHX_ SV* sv, HV **const st, GV **const gvp, const I32 lref)
3001                         __attribute__nonnull__(pTHX_2)
3002                         __attribute__nonnull__(pTHX_3);
3003 #define PERL_ARGS_ASSERT_SV_2CV \
3004         assert(st); assert(gvp)
3005
3006 PERL_CALLCONV IO*       Perl_sv_2io(pTHX_ SV *const sv)
3007                         __attribute__nonnull__(pTHX_1);
3008 #define PERL_ARGS_ASSERT_SV_2IO \
3009         assert(sv)
3010
3011 #if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
3012 STATIC bool     S_glob_2number(pTHX_ GV* const gv)
3013                         __attribute__nonnull__(pTHX_1);
3014 #define PERL_ARGS_ASSERT_GLOB_2NUMBER   \
3015         assert(gv)
3016
3017 #endif
3018 /* PERL_CALLCONV IV     Perl_sv_2iv(pTHX_ SV *sv); */
3019 PERL_CALLCONV IV        Perl_sv_2iv_flags(pTHX_ SV *const sv, const I32 flags);
3020 PERL_CALLCONV SV*       Perl_sv_2mortal(pTHX_ SV *const sv);
3021 PERL_CALLCONV NV        Perl_sv_2nv(pTHX_ SV *const sv);
3022 PERL_CALLCONV SV*       Perl_sv_2num(pTHX_ SV *const sv)
3023                         __attribute__nonnull__(pTHX_1);
3024 #define PERL_ARGS_ASSERT_SV_2NUM        \
3025         assert(sv)
3026
3027 /* PERL_CALLCONV char*  Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp); */
3028 PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
3029 PERL_CALLCONV char*     Perl_sv_2pvutf8(pTHX_ SV *const sv, STRLEN *const lp)
3030                         __attribute__nonnull__(pTHX_1);
3031 #define PERL_ARGS_ASSERT_SV_2PVUTF8     \
3032         assert(sv)
3033
3034 PERL_CALLCONV char*     Perl_sv_2pvbyte(pTHX_ SV *const sv, STRLEN *const lp)
3035                         __attribute__nonnull__(pTHX_1);
3036 #define PERL_ARGS_ASSERT_SV_2PVBYTE     \
3037         assert(sv)
3038
3039 PERL_CALLCONV char*     Perl_sv_pvn_nomg(pTHX_ SV* sv, STRLEN* lp)
3040                         __attribute__nonnull__(pTHX_1);
3041 #define PERL_ARGS_ASSERT_SV_PVN_NOMG    \
3042         assert(sv)
3043
3044 /* PERL_CALLCONV UV     Perl_sv_2uv(pTHX_ SV *sv); */
3045 PERL_CALLCONV UV        Perl_sv_2uv_flags(pTHX_ SV *const sv, const I32 flags);
3046 PERL_CALLCONV IV        Perl_sv_iv(pTHX_ SV* sv)
3047                         __attribute__nonnull__(pTHX_1);
3048 #define PERL_ARGS_ASSERT_SV_IV  \
3049         assert(sv)
3050
3051 PERL_CALLCONV UV        Perl_sv_uv(pTHX_ SV* sv)
3052                         __attribute__nonnull__(pTHX_1);
3053 #define PERL_ARGS_ASSERT_SV_UV  \
3054         assert(sv)
3055
3056 PERL_CALLCONV NV        Perl_sv_nv(pTHX_ SV* sv)
3057                         __attribute__nonnull__(pTHX_1);
3058 #define PERL_ARGS_ASSERT_SV_NV  \
3059         assert(sv)
3060
3061 PERL_CALLCONV char*     Perl_sv_pvn(pTHX_ SV *sv, STRLEN *lp)
3062                         __attribute__nonnull__(pTHX_1)
3063                         __attribute__nonnull__(pTHX_2);
3064 #define PERL_ARGS_ASSERT_SV_PVN \
3065         assert(sv); assert(lp)
3066
3067 PERL_CALLCONV char*     Perl_sv_pvutf8n(pTHX_ SV *sv, STRLEN *lp)
3068                         __attribute__nonnull__(pTHX_1)
3069                         __attribute__nonnull__(pTHX_2);
3070 #define PERL_ARGS_ASSERT_SV_PVUTF8N     \
3071         assert(sv); assert(lp)
3072
3073 PERL_CALLCONV char*     Perl_sv_pvbyten(pTHX_ SV *sv, STRLEN *lp)
3074                         __attribute__nonnull__(pTHX_1)
3075                         __attribute__nonnull__(pTHX_2);
3076 #define PERL_ARGS_ASSERT_SV_PVBYTEN     \
3077         assert(sv); assert(lp)
3078
3079 PERL_CALLCONV I32       Perl_sv_true(pTHX_ SV *const sv);
3080 #if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
3081 STATIC void     S_sv_add_arena(pTHX_ char *const ptr, const U32 size, const U32 flags)
3082                         __attribute__nonnull__(pTHX_1);
3083 #define PERL_ARGS_ASSERT_SV_ADD_ARENA   \
3084         assert(ptr)
3085
3086 #endif
3087 PERL_CALLCONV int       Perl_sv_backoff(pTHX_ SV *const sv)
3088                         __attribute__nonnull__(pTHX_1);
3089 #define PERL_ARGS_ASSERT_SV_BACKOFF     \
3090         assert(sv)
3091
3092 PERL_CALLCONV SV*       Perl_sv_bless(pTHX_ SV *const sv, HV *const stash)
3093                         __attribute__nonnull__(pTHX_1)
3094                         __attribute__nonnull__(pTHX_2);
3095 #define PERL_ARGS_ASSERT_SV_BLESS       \
3096         assert(sv); assert(stash)
3097
3098 PERL_CALLCONV void      Perl_sv_catpvf(pTHX_ SV *const sv, const char *const pat, ...)
3099                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
3100                         __attribute__nonnull__(pTHX_1)
3101                         __attribute__nonnull__(pTHX_2);
3102 #define PERL_ARGS_ASSERT_SV_CATPVF      \
3103         assert(sv); assert(pat)
3104
3105 PERL_CALLCONV void      Perl_sv_vcatpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args)
3106                         __attribute__nonnull__(pTHX_1)
3107                         __attribute__nonnull__(pTHX_2);
3108 #define PERL_ARGS_ASSERT_SV_VCATPVF     \
3109         assert(sv); assert(pat)
3110
3111 PERL_CALLCONV void      Perl_sv_catpv(pTHX_ SV *const sv, const char* ptr)
3112                         __attribute__nonnull__(pTHX_1);
3113 #define PERL_ARGS_ASSERT_SV_CATPV       \
3114         assert(sv)
3115
3116 /* PERL_CALLCONV void   Perl_sv_catpvn(pTHX_ SV *dsv, const char *sstr, STRLEN len)
3117                         __attribute__nonnull__(pTHX_1)
3118                         __attribute__nonnull__(pTHX_2); */
3119 #define PERL_ARGS_ASSERT_SV_CATPVN      \
3120         assert(dsv); assert(sstr)
3121
3122 /* PERL_CALLCONV void   Perl_sv_catsv(pTHX_ SV *dstr, SV *sstr)
3123                         __attribute__nonnull__(pTHX_1); */
3124 #define PERL_ARGS_ASSERT_SV_CATSV       \
3125         assert(dstr)
3126
3127 PERL_CALLCONV void      Perl_sv_chop(pTHX_ SV *const sv, const char *const ptr)
3128                         __attribute__nonnull__(pTHX_1);
3129 #define PERL_ARGS_ASSERT_SV_CHOP        \
3130         assert(sv)
3131
3132 PERL_CALLCONV I32       Perl_sv_clean_all(pTHX);
3133 PERL_CALLCONV void      Perl_sv_clean_objs(pTHX);
3134 PERL_CALLCONV void      Perl_sv_clear(pTHX_ SV *const sv)
3135                         __attribute__nonnull__(pTHX_1);
3136 #define PERL_ARGS_ASSERT_SV_CLEAR       \
3137         assert(sv)
3138
3139 PERL_CALLCONV I32       Perl_sv_cmp(pTHX_ SV *const sv1, SV *const sv2);
3140 PERL_CALLCONV I32       Perl_sv_cmp_locale(pTHX_ SV *const sv1, SV *const sv2);
3141 #if defined(USE_LOCALE_COLLATE)
3142 PERL_CALLCONV char*     Perl_sv_collxfrm(pTHX_ SV *const sv, STRLEN *const nxp)
3143                         __attribute__nonnull__(pTHX_1)
3144                         __attribute__nonnull__(pTHX_2);
3145 #define PERL_ARGS_ASSERT_SV_COLLXFRM    \
3146         assert(sv); assert(nxp)
3147
3148 #endif
3149 PERL_CALLCONV OP*       Perl_sv_compile_2op(pTHX_ SV *sv, OP **startop, const char *code, PAD **padp)
3150                         __attribute__nonnull__(pTHX_1)
3151                         __attribute__nonnull__(pTHX_2)
3152                         __attribute__nonnull__(pTHX_3)
3153                         __attribute__nonnull__(pTHX_4);
3154 #define PERL_ARGS_ASSERT_SV_COMPILE_2OP \
3155         assert(sv); assert(startop); assert(code); assert(padp)
3156
3157 PERL_CALLCONV int       Perl_getcwd_sv(pTHX_ SV* sv)
3158                         __attribute__nonnull__(pTHX_1);
3159 #define PERL_ARGS_ASSERT_GETCWD_SV      \
3160         assert(sv)
3161
3162 PERL_CALLCONV void      Perl_sv_dec(pTHX_ SV *const sv);
3163 PERL_CALLCONV void      Perl_sv_dump(pTHX_ SV* sv)
3164                         __attribute__nonnull__(pTHX_1);
3165 #define PERL_ARGS_ASSERT_SV_DUMP        \
3166         assert(sv)
3167
3168 PERL_CALLCONV bool      Perl_sv_derived_from(pTHX_ SV* sv, const char *const name)
3169                         __attribute__warn_unused_result__
3170                         __attribute__nonnull__(pTHX_1)
3171                         __attribute__nonnull__(pTHX_2);
3172 #define PERL_ARGS_ASSERT_SV_DERIVED_FROM        \
3173         assert(sv); assert(name)
3174
3175 PERL_CALLCONV bool      Perl_sv_does(pTHX_ SV* sv, const char *const name)
3176                         __attribute__warn_unused_result__
3177                         __attribute__nonnull__(pTHX_1)
3178                         __attribute__nonnull__(pTHX_2);
3179 #define PERL_ARGS_ASSERT_SV_DOES        \
3180         assert(sv); assert(name)
3181
3182 PERL_CALLCONV I32       Perl_sv_eq(pTHX_ SV* sv1, SV* sv2);
3183 PERL_CALLCONV void      Perl_sv_free(pTHX_ SV *const sv);
3184 PERL_CALLCONV void      Perl_sv_free2(pTHX_ SV *const sv)
3185                         __attribute__nonnull__(pTHX_1);
3186 #define PERL_ARGS_ASSERT_SV_FREE2       \
3187         assert(sv)
3188
3189 PERL_CALLCONV void      Perl_sv_free_arenas(pTHX);
3190 PERL_CALLCONV char*     Perl_sv_gets(pTHX_ SV *const sv, PerlIO *const fp, I32 append)
3191                         __attribute__nonnull__(pTHX_1)
3192                         __attribute__nonnull__(pTHX_2);
3193 #define PERL_ARGS_ASSERT_SV_GETS        \
3194         assert(sv); assert(fp)
3195
3196 PERL_CALLCONV char*     Perl_sv_grow(pTHX_ SV *const sv, STRLEN newlen)
3197                         __attribute__nonnull__(pTHX_1);
3198 #define PERL_ARGS_ASSERT_SV_GROW        \
3199         assert(sv)
3200
3201 PERL_CALLCONV void      Perl_sv_inc(pTHX_ SV *const sv);
3202 /* PERL_CALLCONV void   Perl_sv_insert(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN len, const char *const little, const STRLEN littlelen)
3203                         __attribute__nonnull__(pTHX_1)
3204                         __attribute__nonnull__(pTHX_4); */
3205 #define PERL_ARGS_ASSERT_SV_INSERT      \
3206         assert(bigstr); assert(little)
3207
3208 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)
3209                         __attribute__nonnull__(pTHX_1)
3210                         __attribute__nonnull__(pTHX_4);
3211 #define PERL_ARGS_ASSERT_SV_INSERT_FLAGS        \
3212         assert(bigstr); assert(little)
3213
3214 PERL_CALLCONV int       Perl_sv_isa(pTHX_ SV* sv, const char *const name)
3215                         __attribute__nonnull__(pTHX_2);
3216 #define PERL_ARGS_ASSERT_SV_ISA \
3217         assert(name)
3218
3219 PERL_CALLCONV int       Perl_sv_isobject(pTHX_ SV* sv);
3220 PERL_CALLCONV STRLEN    Perl_sv_len(pTHX_ SV *const sv);
3221 PERL_CALLCONV STRLEN    Perl_sv_len_utf8(pTHX_ SV *const sv);
3222 PERL_CALLCONV void      Perl_sv_magic(pTHX_ SV *const sv, SV *const obj, const int how, const char *const name, const I32 namlen)
3223                         __attribute__nonnull__(pTHX_1);
3224 #define PERL_ARGS_ASSERT_SV_MAGIC       \
3225         assert(sv)
3226
3227 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)
3228                         __attribute__nonnull__(pTHX_1);
3229 #define PERL_ARGS_ASSERT_SV_MAGICEXT    \
3230         assert(sv)
3231
3232 PERL_CALLCONV SV*       Perl_sv_mortalcopy(pTHX_ SV *const oldsv)
3233                         __attribute__malloc__
3234                         __attribute__warn_unused_result__;
3235
3236 PERL_CALLCONV SV*       Perl_sv_newmortal(pTHX)
3237                         __attribute__warn_unused_result__;
3238
3239 PERL_CALLCONV SV*       Perl_sv_newref(pTHX_ SV *const sv);
3240 PERL_CALLCONV char*     Perl_sv_peek(pTHX_ SV* sv);
3241 PERL_CALLCONV void      Perl_sv_pos_u2b(pTHX_ SV *const sv, I32 *const offsetp, I32 *const lenp)
3242                         __attribute__nonnull__(pTHX_2);
3243 #define PERL_ARGS_ASSERT_SV_POS_U2B     \
3244         assert(offsetp)
3245
3246 PERL_CALLCONV void      Perl_sv_pos_b2u(pTHX_ SV *const sv, I32 *const offsetp)
3247                         __attribute__nonnull__(pTHX_2);
3248 #define PERL_ARGS_ASSERT_SV_POS_B2U     \
3249         assert(offsetp)
3250
3251 /* PERL_CALLCONV char*  Perl_sv_pvn_force(pTHX_ SV* sv, STRLEN* lp)
3252                         __attribute__nonnull__(pTHX_1); */
3253 #define PERL_ARGS_ASSERT_SV_PVN_FORCE   \
3254         assert(sv)
3255
3256 PERL_CALLCONV char*     Perl_sv_pvutf8n_force(pTHX_ SV *const sv, STRLEN *const lp)
3257                         __attribute__nonnull__(pTHX_1);
3258 #define PERL_ARGS_ASSERT_SV_PVUTF8N_FORCE       \
3259         assert(sv)
3260
3261 PERL_CALLCONV char*     Perl_sv_pvbyten_force(pTHX_ SV *const sv, STRLEN *const lp)
3262                         __attribute__nonnull__(pTHX_1);
3263 #define PERL_ARGS_ASSERT_SV_PVBYTEN_FORCE       \
3264         assert(sv)
3265
3266 PERL_CALLCONV char*     Perl_sv_recode_to_utf8(pTHX_ SV* sv, SV *encoding)
3267                         __attribute__nonnull__(pTHX_1)
3268                         __attribute__nonnull__(pTHX_2);
3269 #define PERL_ARGS_ASSERT_SV_RECODE_TO_UTF8      \
3270         assert(sv); assert(encoding)
3271
3272 PERL_CALLCONV bool      Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen)
3273                         __attribute__nonnull__(pTHX_1)
3274                         __attribute__nonnull__(pTHX_2)
3275                         __attribute__nonnull__(pTHX_3)
3276                         __attribute__nonnull__(pTHX_4)
3277                         __attribute__nonnull__(pTHX_5);
3278 #define PERL_ARGS_ASSERT_SV_CAT_DECODE  \
3279         assert(dsv); assert(encoding); assert(ssv); assert(offset); assert(tstr)
3280
3281 PERL_CALLCONV const char*       Perl_sv_reftype(pTHX_ const SV *const sv, const int ob)
3282                         __attribute__warn_unused_result__
3283                         __attribute__nonnull__(pTHX_1);
3284 #define PERL_ARGS_ASSERT_SV_REFTYPE     \
3285         assert(sv)
3286
3287 PERL_CALLCONV void      Perl_sv_replace(pTHX_ SV *const sv, SV *const nsv)
3288                         __attribute__nonnull__(pTHX_1)
3289                         __attribute__nonnull__(pTHX_2);
3290 #define PERL_ARGS_ASSERT_SV_REPLACE     \
3291         assert(sv); assert(nsv)
3292
3293 PERL_CALLCONV void      Perl_sv_report_used(pTHX);
3294 PERL_CALLCONV void      Perl_sv_reset(pTHX_ const char* s, HV *const stash)
3295                         __attribute__nonnull__(pTHX_1);
3296 #define PERL_ARGS_ASSERT_SV_RESET       \
3297         assert(s)
3298
3299 PERL_CALLCONV void      Perl_sv_setpvf(pTHX_ SV *const sv, const char *const pat, ...)
3300                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
3301                         __attribute__nonnull__(pTHX_1)
3302                         __attribute__nonnull__(pTHX_2);
3303 #define PERL_ARGS_ASSERT_SV_SETPVF      \
3304         assert(sv); assert(pat)
3305
3306 PERL_CALLCONV void      Perl_sv_vsetpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args)
3307                         __attribute__nonnull__(pTHX_1)
3308                         __attribute__nonnull__(pTHX_2);
3309 #define PERL_ARGS_ASSERT_SV_VSETPVF     \
3310         assert(sv); assert(pat)
3311
3312 PERL_CALLCONV void      Perl_sv_setiv(pTHX_ SV *const sv, const IV num)
3313                         __attribute__nonnull__(pTHX_1);
3314 #define PERL_ARGS_ASSERT_SV_SETIV       \
3315         assert(sv)
3316
3317 PERL_CALLCONV void      Perl_sv_setpviv(pTHX_ SV *const sv, const IV num)
3318                         __attribute__nonnull__(pTHX_1);
3319 #define PERL_ARGS_ASSERT_SV_SETPVIV     \
3320         assert(sv)
3321
3322 PERL_CALLCONV void      Perl_sv_setuv(pTHX_ SV *const sv, const UV num)
3323                         __attribute__nonnull__(pTHX_1);
3324 #define PERL_ARGS_ASSERT_SV_SETUV       \
3325         assert(sv)
3326
3327 PERL_CALLCONV void      Perl_sv_setnv(pTHX_ SV *const sv, const NV num)
3328                         __attribute__nonnull__(pTHX_1);
3329 #define PERL_ARGS_ASSERT_SV_SETNV       \
3330         assert(sv)
3331
3332 PERL_CALLCONV SV*       Perl_sv_setref_iv(pTHX_ SV *const rv, const char *const classname, const IV iv)
3333                         __attribute__nonnull__(pTHX_1);
3334 #define PERL_ARGS_ASSERT_SV_SETREF_IV   \
3335         assert(rv)
3336
3337 PERL_CALLCONV SV*       Perl_sv_setref_uv(pTHX_ SV *const rv, const char *const classname, const UV uv)
3338                         __attribute__nonnull__(pTHX_1);
3339 #define PERL_ARGS_ASSERT_SV_SETREF_UV   \
3340         assert(rv)
3341
3342 PERL_CALLCONV SV*       Perl_sv_setref_nv(pTHX_ SV *const rv, const char *const classname, const NV nv)
3343                         __attribute__nonnull__(pTHX_1);
3344 #define PERL_ARGS_ASSERT_SV_SETREF_NV   \
3345         assert(rv)
3346
3347 PERL_CALLCONV SV*       Perl_sv_setref_pv(pTHX_ SV *const rv, const char *const classname, void *const pv)
3348                         __attribute__nonnull__(pTHX_1);
3349 #define PERL_ARGS_ASSERT_SV_SETREF_PV   \
3350         assert(rv)
3351
3352 PERL_CALLCONV SV*       Perl_sv_setref_pvn(pTHX_ SV *const rv, const char *const classname, const char *const pv, const STRLEN n)
3353                         __attribute__nonnull__(pTHX_1)
3354                         __attribute__nonnull__(pTHX_3);
3355 #define PERL_ARGS_ASSERT_SV_SETREF_PVN  \
3356         assert(rv); assert(pv)
3357
3358 PERL_CALLCONV void      Perl_sv_setpv(pTHX_ SV *const sv, const char *const ptr)
3359                         __attribute__nonnull__(pTHX_1);
3360 #define PERL_ARGS_ASSERT_SV_SETPV       \
3361         assert(sv)
3362
3363 PERL_CALLCONV void      Perl_sv_setpvn(pTHX_ SV *const sv, const char *const ptr, const STRLEN len)
3364                         __attribute__nonnull__(pTHX_1);
3365 #define PERL_ARGS_ASSERT_SV_SETPVN      \
3366         assert(sv)
3367
3368 /* PERL_CALLCONV void   Perl_sv_setsv(pTHX_ SV *dstr, SV *sstr)
3369                         __attribute__nonnull__(pTHX_1); */
3370 #define PERL_ARGS_ASSERT_SV_SETSV       \
3371         assert(dstr)
3372
3373 /* PERL_CALLCONV void   Perl_sv_taint(pTHX_ SV* sv)
3374                         __attribute__nonnull__(pTHX_1); */
3375 #define PERL_ARGS_ASSERT_SV_TAINT       \
3376         assert(sv)
3377
3378 PERL_CALLCONV bool      Perl_sv_tainted(pTHX_ SV *const sv)
3379                         __attribute__warn_unused_result__
3380                         __attribute__nonnull__(pTHX_1);
3381 #define PERL_ARGS_ASSERT_SV_TAINTED     \
3382         assert(sv)
3383
3384 PERL_CALLCONV int       Perl_sv_unmagic(pTHX_ SV *const sv, const int type)
3385                         __attribute__nonnull__(pTHX_1);
3386 #define PERL_ARGS_ASSERT_SV_UNMAGIC     \
3387         assert(sv)
3388
3389 /* PERL_CALLCONV void   Perl_sv_unref(pTHX_ SV* sv)
3390                         __attribute__nonnull__(pTHX_1); */
3391 #define PERL_ARGS_ASSERT_SV_UNREF       \
3392         assert(sv)
3393
3394 PERL_CALLCONV void      Perl_sv_unref_flags(pTHX_ SV *const ref, const U32 flags)
3395                         __attribute__nonnull__(pTHX_1);
3396 #define PERL_ARGS_ASSERT_SV_UNREF_FLAGS \
3397         assert(ref)
3398
3399 PERL_CALLCONV void      Perl_sv_untaint(pTHX_ SV *const sv)
3400                         __attribute__nonnull__(pTHX_1);
3401 #define PERL_ARGS_ASSERT_SV_UNTAINT     \
3402         assert(sv)
3403
3404 PERL_CALLCONV void      Perl_sv_upgrade(pTHX_ SV *const sv, svtype new_type)
3405                         __attribute__nonnull__(pTHX_1);
3406 #define PERL_ARGS_ASSERT_SV_UPGRADE     \
3407         assert(sv)
3408
3409 /* PERL_CALLCONV void   Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len)
3410                         __attribute__nonnull__(pTHX_1); */
3411 #define PERL_ARGS_ASSERT_SV_USEPVN      \
3412         assert(sv)
3413
3414 PERL_CALLCONV void      Perl_sv_usepvn_flags(pTHX_ SV *const sv, char* ptr, const STRLEN len, const U32 flags)
3415                         __attribute__nonnull__(pTHX_1);
3416 #define PERL_ARGS_ASSERT_SV_USEPVN_FLAGS        \
3417         assert(sv)
3418
3419 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)
3420                         __attribute__nonnull__(pTHX_1)
3421                         __attribute__nonnull__(pTHX_2);
3422 #define PERL_ARGS_ASSERT_SV_VCATPVFN    \
3423         assert(sv); assert(pat)
3424
3425 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)
3426                         __attribute__nonnull__(pTHX_1)
3427                         __attribute__nonnull__(pTHX_2);
3428 #define PERL_ARGS_ASSERT_SV_VSETPVFN    \
3429         assert(sv); assert(pat)
3430
3431 PERL_CALLCONV NV        Perl_str_to_version(pTHX_ SV *sv)
3432                         __attribute__warn_unused_result__
3433                         __attribute__nonnull__(pTHX_1);
3434 #define PERL_ARGS_ASSERT_STR_TO_VERSION \
3435         assert(sv)
3436
3437 PERL_CALLCONV SV*       Perl_swash_init(pTHX_ const char* pkg, const char* name, SV* listsv, I32 minbits, I32 none)
3438                         __attribute__nonnull__(pTHX_1)
3439                         __attribute__nonnull__(pTHX_2)
3440                         __attribute__nonnull__(pTHX_3);
3441 #define PERL_ARGS_ASSERT_SWASH_INIT     \
3442         assert(pkg); assert(name); assert(listsv)
3443
3444 PERL_CALLCONV UV        Perl_swash_fetch(pTHX_ SV *swash, const U8 *ptr, bool do_utf8)
3445                         __attribute__nonnull__(pTHX_1)
3446                         __attribute__nonnull__(pTHX_2);
3447 #define PERL_ARGS_ASSERT_SWASH_FETCH    \
3448         assert(swash); assert(ptr)
3449
3450 PERL_CALLCONV void      Perl_taint_env(pTHX);
3451 PERL_CALLCONV void      Perl_taint_proper(pTHX_ const char* f, const char *const s)
3452                         __attribute__nonnull__(pTHX_2);
3453 #define PERL_ARGS_ASSERT_TAINT_PROPER   \
3454         assert(s)
3455
3456 PERL_CALLCONV UV        Perl_to_utf8_case(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, SV **swashp, const char *normal, const char *special)
3457                         __attribute__nonnull__(pTHX_1)
3458                         __attribute__nonnull__(pTHX_2)
3459                         __attribute__nonnull__(pTHX_4)
3460                         __attribute__nonnull__(pTHX_5)
3461                         __attribute__nonnull__(pTHX_6);
3462 #define PERL_ARGS_ASSERT_TO_UTF8_CASE   \
3463         assert(p); assert(ustrp); assert(swashp); assert(normal); assert(special)
3464
3465 PERL_CALLCONV UV        Perl_to_utf8_lower(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3466                         __attribute__nonnull__(pTHX_1)
3467                         __attribute__nonnull__(pTHX_2);
3468 #define PERL_ARGS_ASSERT_TO_UTF8_LOWER  \
3469         assert(p); assert(ustrp)
3470
3471 PERL_CALLCONV UV        Perl_to_utf8_upper(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3472                         __attribute__nonnull__(pTHX_1)
3473                         __attribute__nonnull__(pTHX_2);
3474 #define PERL_ARGS_ASSERT_TO_UTF8_UPPER  \
3475         assert(p); assert(ustrp)
3476
3477 PERL_CALLCONV UV        Perl_to_utf8_title(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3478                         __attribute__nonnull__(pTHX_1)
3479                         __attribute__nonnull__(pTHX_2);
3480 #define PERL_ARGS_ASSERT_TO_UTF8_TITLE  \
3481         assert(p); assert(ustrp)
3482
3483 PERL_CALLCONV UV        Perl_to_utf8_fold(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
3484                         __attribute__nonnull__(pTHX_1)
3485                         __attribute__nonnull__(pTHX_2);
3486 #define PERL_ARGS_ASSERT_TO_UTF8_FOLD   \
3487         assert(p); assert(ustrp)
3488
3489 #if defined(UNLINK_ALL_VERSIONS)
3490 PERL_CALLCONV I32       Perl_unlnk(pTHX_ const char* f)
3491                         __attribute__nonnull__(pTHX_1);
3492 #define PERL_ARGS_ASSERT_UNLNK  \
3493         assert(f)
3494
3495 #endif
3496 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)
3497                         __attribute__nonnull__(pTHX_1)
3498                         __attribute__nonnull__(pTHX_2)
3499                         __attribute__nonnull__(pTHX_3)
3500                         __attribute__nonnull__(pTHX_5);
3501 #define PERL_ARGS_ASSERT_UNPACK_STR     \
3502         assert(pat); assert(patend); assert(s); assert(strend)
3503
3504 PERL_CALLCONV I32       Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags)
3505                         __attribute__nonnull__(pTHX_1)
3506                         __attribute__nonnull__(pTHX_2)
3507                         __attribute__nonnull__(pTHX_3)
3508                         __attribute__nonnull__(pTHX_4);
3509 #define PERL_ARGS_ASSERT_UNPACKSTRING   \
3510         assert(pat); assert(patend); assert(s); assert(strend)
3511
3512 PERL_CALLCONV void      Perl_unsharepvn(pTHX_ const char* sv, I32 len, U32 hash);
3513 PERL_CALLCONV void      Perl_unshare_hek(pTHX_ HEK* hek);
3514 #ifdef PERL_MAD
3515 PERL_CALLCONV OP *      Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg)
3516                         __attribute__nonnull__(pTHX_4);
3517 #define PERL_ARGS_ASSERT_UTILIZE        \
3518         assert(idop)
3519
3520 #else
3521 PERL_CALLCONV void      Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg)
3522                         __attribute__nonnull__(pTHX_4);
3523 #define PERL_ARGS_ASSERT_UTILIZE        \
3524         assert(idop)
3525
3526 #endif
3527 PERL_CALLCONV U8*       Perl_utf16_to_utf8(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen)
3528                         __attribute__nonnull__(pTHX_1)
3529                         __attribute__nonnull__(pTHX_2)
3530                         __attribute__nonnull__(pTHX_4);
3531 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8  \
3532         assert(p); assert(d); assert(newlen)
3533
3534 PERL_CALLCONV U8*       Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen)
3535                         __attribute__nonnull__(pTHX_1)
3536                         __attribute__nonnull__(pTHX_2)
3537                         __attribute__nonnull__(pTHX_4);
3538 #define PERL_ARGS_ASSERT_UTF16_TO_UTF8_REVERSED \
3539         assert(p); assert(d); assert(newlen)
3540
3541 PERL_CALLCONV STRLEN    Perl_utf8_length(pTHX_ const U8* s, const U8 *e)
3542                         __attribute__warn_unused_result__
3543                         __attribute__pure__
3544                         __attribute__nonnull__(pTHX_1)
3545                         __attribute__nonnull__(pTHX_2);
3546 #define PERL_ARGS_ASSERT_UTF8_LENGTH    \
3547         assert(s); assert(e)
3548
3549 PERL_CALLCONV IV        Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b)
3550                         __attribute__warn_unused_result__
3551                         __attribute__pure__
3552                         __attribute__nonnull__(pTHX_1)
3553                         __attribute__nonnull__(pTHX_2);
3554 #define PERL_ARGS_ASSERT_UTF8_DISTANCE  \
3555         assert(a); assert(b)
3556
3557 PERL_CALLCONV U8*       Perl_utf8_hop(pTHX_ const U8 *s, I32 off)
3558                         __attribute__warn_unused_result__
3559                         __attribute__pure__
3560                         __attribute__nonnull__(pTHX_1);
3561 #define PERL_ARGS_ASSERT_UTF8_HOP       \
3562         assert(s)
3563
3564 PERL_CALLCONV U8*       Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *len)
3565                         __attribute__nonnull__(pTHX_1)
3566                         __attribute__nonnull__(pTHX_2);
3567 #define PERL_ARGS_ASSERT_UTF8_TO_BYTES  \
3568         assert(s); assert(len)
3569
3570 PERL_CALLCONV U8*       Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *len, bool *is_utf8)
3571                         __attribute__nonnull__(pTHX_1)
3572                         __attribute__nonnull__(pTHX_2);
3573 #define PERL_ARGS_ASSERT_BYTES_FROM_UTF8        \
3574         assert(s); assert(len)
3575
3576 PERL_CALLCONV U8*       Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *len)
3577                         __attribute__nonnull__(pTHX_1)
3578                         __attribute__nonnull__(pTHX_2);
3579 #define PERL_ARGS_ASSERT_BYTES_TO_UTF8  \
3580         assert(s); assert(len)
3581
3582 PERL_CALLCONV UV        Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen)
3583                         __attribute__nonnull__(pTHX_1);
3584 #define PERL_ARGS_ASSERT_UTF8_TO_UVCHR  \
3585         assert(s)
3586
3587 PERL_CALLCONV UV        Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
3588                         __attribute__nonnull__(pTHX_1);
3589 #define PERL_ARGS_ASSERT_UTF8_TO_UVUNI  \
3590         assert(s)
3591
3592
3593 #ifdef EBCDIC
3594 PERL_CALLCONV UV        Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
3595                         __attribute__nonnull__(pTHX_1);
3596 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \
3597         assert(s)
3598
3599 #else
3600 /* PERL_CALLCONV UV     Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
3601                         __attribute__nonnull__(pTHX_1); */
3602 #define PERL_ARGS_ASSERT_UTF8N_TO_UVCHR \
3603         assert(s)
3604
3605 #endif
3606
3607 PERL_CALLCONV UV        Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags)
3608                         __attribute__nonnull__(pTHX_1);
3609 #define PERL_ARGS_ASSERT_UTF8N_TO_UVUNI \
3610         assert(s)
3611
3612
3613 #ifdef EBCDIC
3614 PERL_CALLCONV U8*       Perl_uvchr_to_utf8(pTHX_ U8 *d, UV uv)
3615                         __attribute__nonnull__(pTHX_1);
3616 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8  \
3617         assert(d)
3618
3619 #else
3620 /* PERL_CALLCONV U8*    Perl_uvchr_to_utf8(pTHX_ U8 *d, UV uv)
3621                         __attribute__nonnull__(pTHX_1); */
3622 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8  \
3623         assert(d)
3624
3625 #endif
3626
3627 /* PERL_CALLCONV U8*    Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv)
3628                         __attribute__nonnull__(pTHX_1); */
3629 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8  \
3630         assert(d)
3631
3632 PERL_CALLCONV U8*       Perl_uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
3633                         __attribute__nonnull__(pTHX_1);
3634 #define PERL_ARGS_ASSERT_UVCHR_TO_UTF8_FLAGS    \
3635         assert(d)
3636
3637 PERL_CALLCONV U8*       Perl_uvuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
3638                         __attribute__nonnull__(pTHX_1);
3639 #define PERL_ARGS_ASSERT_UVUNI_TO_UTF8_FLAGS    \
3640         assert(d)
3641
3642 PERL_CALLCONV char*     Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags)
3643                         __attribute__nonnull__(pTHX_1)
3644                         __attribute__nonnull__(pTHX_2);
3645 #define PERL_ARGS_ASSERT_PV_UNI_DISPLAY \
3646         assert(dsv); assert(spv)
3647
3648 PERL_CALLCONV char*     Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags)
3649                         __attribute__warn_unused_result__
3650                         __attribute__nonnull__(pTHX_1)
3651                         __attribute__nonnull__(pTHX_2);
3652 #define PERL_ARGS_ASSERT_SV_UNI_DISPLAY \
3653         assert(dsv); assert(ssv)
3654
3655 PERL_CALLCONV void      Perl_vivify_defelem(pTHX_ SV* sv)
3656                         __attribute__nonnull__(pTHX_1);
3657 #define PERL_ARGS_ASSERT_VIVIFY_DEFELEM \
3658         assert(sv)
3659
3660 PERL_CALLCONV void      Perl_vivify_ref(pTHX_ SV* sv, U32 to_what)
3661                         __attribute__nonnull__(pTHX_1);
3662 #define PERL_ARGS_ASSERT_VIVIFY_REF     \
3663         assert(sv)
3664
3665 PERL_CALLCONV I32       Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags)
3666                         __attribute__nonnull__(pTHX_2);
3667 #define PERL_ARGS_ASSERT_WAIT4PID       \
3668         assert(statusp)
3669
3670 PERL_CALLCONV U32       Perl_parse_unicode_opts(pTHX_ const char **popt)
3671                         __attribute__nonnull__(pTHX_1);
3672 #define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS     \
3673         assert(popt)
3674
3675 PERL_CALLCONV U32       Perl_seed(pTHX);
3676 PERL_CALLCONV UV        Perl_get_hash_seed(pTHX)
3677                         __attribute__warn_unused_result__;
3678
3679 PERL_CALLCONV void      Perl_report_evil_fh(pTHX_ const GV *gv, const IO *io, I32 op);
3680 PERL_CALLCONV void      Perl_report_uninit(pTHX_ const SV *uninit_sv);
3681 PERL_CALLCONV void      Perl_warn(pTHX_ const char* pat, ...)
3682                         __attribute__format__(__printf__,pTHX_1,pTHX_2)
3683                         __attribute__nonnull__(pTHX_1);
3684 #define PERL_ARGS_ASSERT_WARN   \
3685         assert(pat)
3686
3687 PERL_CALLCONV void      Perl_vwarn(pTHX_ const char* pat, va_list* args)
3688                         __attribute__nonnull__(pTHX_1);
3689 #define PERL_ARGS_ASSERT_VWARN  \
3690         assert(pat)
3691
3692 PERL_CALLCONV void      Perl_warner(pTHX_ U32 err, const char* pat, ...)
3693                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
3694                         __attribute__nonnull__(pTHX_2);
3695 #define PERL_ARGS_ASSERT_WARNER \
3696         assert(pat)
3697
3698 PERL_CALLCONV void      Perl_vwarner(pTHX_ U32 err, const char* pat, va_list* args)
3699                         __attribute__nonnull__(pTHX_2);
3700 #define PERL_ARGS_ASSERT_VWARNER        \
3701         assert(pat)
3702
3703 PERL_CALLCONV void      Perl_watch(pTHX_ char** addr)
3704                         __attribute__nonnull__(pTHX_1);
3705 #define PERL_ARGS_ASSERT_WATCH  \
3706         assert(addr)
3707
3708 PERL_CALLCONV I32       Perl_whichsig(pTHX_ const char* sig)
3709                         __attribute__nonnull__(pTHX_1);
3710 #define PERL_ARGS_ASSERT_WHICHSIG       \
3711         assert(sig)
3712
3713 PERL_CALLCONV void      Perl_write_to_stderr(pTHX_ const char* message, int msglen)
3714                         __attribute__nonnull__(pTHX_1);
3715 #define PERL_ARGS_ASSERT_WRITE_TO_STDERR        \
3716         assert(message)
3717
3718 PERL_CALLCONV int       Perl_yyerror(pTHX_ const char *const s)
3719                         __attribute__nonnull__(pTHX_1);
3720 #define PERL_ARGS_ASSERT_YYERROR        \
3721         assert(s)
3722
3723 PERL_CALLCONV int       Perl_yylex(pTHX);
3724 PERL_CALLCONV int       Perl_yyparse(pTHX);
3725 PERL_CALLCONV void      Perl_parser_free(pTHX_ const yy_parser *parser)
3726                         __attribute__nonnull__(pTHX_1);
3727 #define PERL_ARGS_ASSERT_PARSER_FREE    \
3728         assert(parser)
3729
3730 #if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT)
3731 STATIC int      S_yywarn(pTHX_ const char *const s)
3732                         __attribute__nonnull__(pTHX_1);
3733 #define PERL_ARGS_ASSERT_YYWARN \
3734         assert(s)
3735
3736 #endif
3737 #if defined(MYMALLOC)
3738 PERL_CALLCONV void      Perl_dump_mstats(pTHX_ const char* s)
3739                         __attribute__nonnull__(pTHX_1);
3740 #define PERL_ARGS_ASSERT_DUMP_MSTATS    \
3741         assert(s)
3742
3743 PERL_CALLCONV int       Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level)
3744                         __attribute__nonnull__(pTHX_1);
3745 #define PERL_ARGS_ASSERT_GET_MSTATS     \
3746         assert(buf)
3747
3748 #endif
3749 PERL_CALLCONV Malloc_t  Perl_safesysmalloc(MEM_SIZE nbytes)
3750                         __attribute__malloc__
3751                         __attribute__warn_unused_result__;
3752
3753 PERL_CALLCONV Malloc_t  Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size)
3754                         __attribute__malloc__
3755                         __attribute__warn_unused_result__;
3756
3757 PERL_CALLCONV Malloc_t  Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes)
3758                         __attribute__malloc__
3759                         __attribute__warn_unused_result__;
3760
3761 PERL_CALLCONV Free_t    Perl_safesysfree(Malloc_t where);
3762 #if defined(PERL_GLOBAL_STRUCT)
3763 PERL_CALLCONV struct perl_vars *        Perl_GetVars(pTHX);
3764 PERL_CALLCONV struct perl_vars* Perl_init_global_struct(pTHX);
3765 PERL_CALLCONV void      Perl_free_global_struct(pTHX_ struct perl_vars *plvarsp)
3766                         __attribute__nonnull__(pTHX_1);
3767 #define PERL_ARGS_ASSERT_FREE_GLOBAL_STRUCT     \
3768         assert(plvarsp)
3769
3770 #endif
3771 PERL_CALLCONV int       Perl_runops_standard(pTHX);
3772 PERL_CALLCONV int       Perl_runops_debug(pTHX);
3773 PERL_CALLCONV void      Perl_sv_catpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
3774                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
3775                         __attribute__nonnull__(pTHX_1)
3776                         __attribute__nonnull__(pTHX_2);
3777 #define PERL_ARGS_ASSERT_SV_CATPVF_MG   \
3778         assert(sv); assert(pat)
3779
3780 PERL_CALLCONV void      Perl_sv_vcatpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args)
3781                         __attribute__nonnull__(pTHX_1)
3782                         __attribute__nonnull__(pTHX_2);
3783 #define PERL_ARGS_ASSERT_SV_VCATPVF_MG  \
3784         assert(sv); assert(pat)
3785
3786 PERL_CALLCONV void      Perl_sv_catpv_mg(pTHX_ SV *const sv, const char *const ptr)
3787                         __attribute__nonnull__(pTHX_1);
3788 #define PERL_ARGS_ASSERT_SV_CATPV_MG    \
3789         assert(sv)
3790
3791 /* PERL_CALLCONV void   Perl_sv_catpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len)
3792                         __attribute__nonnull__(pTHX_1)
3793                         __attribute__nonnull__(pTHX_2); */
3794 #define PERL_ARGS_ASSERT_SV_CATPVN_MG   \
3795         assert(sv); assert(ptr)
3796
3797 /* PERL_CALLCONV void   Perl_sv_catsv_mg(pTHX_ SV *dsv, SV *ssv)
3798                         __attribute__nonnull__(pTHX_1); */
3799 #define PERL_ARGS_ASSERT_SV_CATSV_MG    \
3800         assert(dsv)
3801
3802 PERL_CALLCONV void      Perl_sv_setpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
3803                         __attribute__format__(__printf__,pTHX_2,pTHX_3)
3804                         __attribute__nonnull__(pTHX_1)
3805                         __attribute__nonnull__(pTHX_2);
3806 #define PERL_ARGS_ASSERT_SV_SETPVF_MG   \
3807         assert(sv); assert(pat)
3808
3809 PERL_CALLCONV void      Perl_sv_vsetpvf_mg(pTHX_ SV *const sv, const char *const pat, va_list *const args)
3810                         __attribute__nonnull__(pTHX_1)
3811                         __attribute__nonnull__(pTHX_2);
3812 #define PERL_ARGS_ASSERT_SV_VSETPVF_MG  \
3813         assert(sv); assert(pat)
3814
3815 PERL_CALLCONV void      Perl_sv_setiv_mg(pTHX_ SV *const sv, const IV i)
3816                         __attribute__nonnull__(pTHX_1);
3817 #define PERL_ARGS_ASSERT_SV_SETIV_MG    \
3818         assert(sv)
3819
3820 PERL_CALLCONV void      Perl_sv_setpviv_mg(pTHX_ SV *const sv, const IV iv)
3821                         __attribute__nonnull__(pTHX_1);
3822 #define PERL_ARGS_ASSERT_SV_SETPVIV_MG  \
3823         assert(sv)
3824
3825 PERL_CALLCONV void      Perl_sv_setuv_mg(pTHX_ SV *const sv, const UV u)
3826                         __attribute__nonnull__(pTHX_1);
3827 #define PERL_ARGS_ASSERT_SV_SETUV_MG    \
3828         assert(sv)
3829
3830 PERL_CALLCONV void      Perl_sv_setnv_mg(pTHX_ SV *const sv, const NV num)
3831                         __attribute__nonnull__(pTHX_1);
3832 #define PERL_ARGS_ASSERT_SV_SETNV_MG    \
3833         assert(sv)
3834
3835 PERL_CALLCONV void      Perl_sv_setpv_mg(pTHX_ SV *const sv, const char *const ptr)
3836                         __attribute__nonnull__(pTHX_1);
3837 #define PERL_ARGS_ASSERT_SV_SETPV_MG    \
3838         assert(sv)
3839
3840 PERL_CALLCONV void      Perl_sv_setpvn_mg(pTHX_ SV *const sv, const char *const ptr, const STRLEN len)
3841                         __attribute__nonnull__(pTHX_1)
3842                         __attribute__nonnull__(pTHX_2);
3843 #define PERL_ARGS_ASSERT_SV_SETPVN_MG   \
3844         assert(sv); assert(ptr)
3845
3846 PERL_CALLCONV void      Perl_sv_setsv_mg(pTHX_ SV *const dstr, SV *const sstr)
3847                         __attribute__nonnull__(pTHX_1);
3848 #define PERL_ARGS_ASSERT_SV_SETSV_MG    \
3849         assert(dstr)
3850
3851 /* PERL_CALLCONV void   Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len)
3852                         __attribute__nonnull__(pTHX_1); */
3853 #define PERL_ARGS_ASSERT_SV_USEPVN_MG   \
3854         assert(sv)
3855
3856 PERL_CALLCONV MGVTBL*   Perl_get_vtbl(pTHX_ int vtbl_id)
3857                         __attribute__warn_unused_result__;
3858
3859 PERL_CALLCONV char*     Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim)
3860                         __attribute__nonnull__(pTHX_1)
3861                         __attribute__nonnull__(pTHX_2);
3862 #define PERL_ARGS_ASSERT_PV_DISPLAY     \
3863         assert(dsv); assert(pv)
3864
3865 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)
3866                         __attribute__nonnull__(pTHX_1)
3867                         __attribute__nonnull__(pTHX_2);
3868 #define PERL_ARGS_ASSERT_PV_ESCAPE      \
3869         assert(dsv); assert(str)
3870
3871 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)
3872                         __attribute__nonnull__(pTHX_1)
3873                         __attribute__nonnull__(pTHX_2);
3874 #define PERL_ARGS_ASSERT_PV_PRETTY      \
3875         assert(dsv); assert(str)
3876
3877 PERL_CALLCONV void      Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...)
3878                         __attribute__format__(__printf__,pTHX_3,pTHX_4)
3879                         __attribute__nonnull__(pTHX_2)
3880                         __attribute__nonnull__(pTHX_3);
3881 #define PERL_ARGS_ASSERT_DUMP_INDENT    \
3882         assert(file); assert(pat)
3883
3884 PERL_CALLCONV void      Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args)
3885                         __attribute__nonnull__(pTHX_2)
3886                         __attribute__nonnull__(pTHX_3);
3887 #define PERL_ARGS_ASSERT_DUMP_VINDENT   \
3888         assert(file); assert(pat)
3889
3890 PERL_CALLCONV void      Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv)
3891                         __attribute__nonnull__(pTHX_2)
3892                         __attribute__nonnull__(pTHX_3);
3893 #define PERL_ARGS_ASSERT_DO_GV_DUMP     \
3894         assert(file); assert(name)
3895
3896 PERL_CALLCONV void      Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv)
3897                         __attribute__nonnull__(pTHX_2)
3898                         __attribute__nonnull__(pTHX_3);
3899 #define PERL_ARGS_ASSERT_DO_GVGV_DUMP   \
3900         assert(file); assert(name)
3901
3902 PERL_CALLCONV void      Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv)
3903                         __attribute__nonnull__(pTHX_2)
3904                         __attribute__nonnull__(pTHX_3);
3905 #define PERL_ARGS_ASSERT_DO_HV_DUMP     \
3906         assert(file); assert(name)
3907
3908 PERL_CALLCONV void      Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim)
3909                         __attribute__nonnull__(pTHX_2)
3910                         __attribute__nonnull__(pTHX_3);
3911 #define PERL_ARGS_ASSERT_DO_MAGIC_DUMP  \
3912         assert(file); assert(mg)
3913
3914 PERL_CALLCONV void      Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o)
3915                         __attribute__nonnull__(pTHX_2);
3916 #define PERL_ARGS_ASSERT_DO_OP_DUMP     \
3917         assert(file)
3918
3919 PERL_CALLCONV void      Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm)
3920                         __attribute__nonnull__(pTHX_2);
3921 #define PERL_ARGS_ASSERT_DO_PMOP_DUMP   \
3922         assert(file)
3923
3924 PERL_CALLCONV void      Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim)
3925                         __attribute__nonnull__(pTHX_2);
3926 #define PERL_ARGS_ASSERT_DO_SV_DUMP     \
3927         assert(file)
3928
3929 PERL_CALLCONV void      Perl_magic_dump(pTHX_ const MAGIC *mg);
3930 PERL_CALLCONV void      Perl_reginitcolors(pTHX);
3931 /* PERL_CALLCONV char*  Perl_sv_2pv_nolen(pTHX_ SV* sv)
3932                         __attribute__warn_unused_result__
3933                         __attribute__nonnull__(pTHX_1); */
3934 #define PERL_ARGS_ASSERT_SV_2PV_NOLEN   \
3935         assert(sv)
3936
3937 /* PERL_CALLCONV char*  Perl_sv_2pvutf8_nolen(pTHX_ SV* sv)
3938                         __attribute__warn_unused_result__
3939                         __attribute__nonnull__(pTHX_1); */
3940 #define PERL_ARGS_ASSERT_SV_2PVUTF8_NOLEN       \
3941         assert(sv)
3942
3943 /* PERL_CALLCONV char*  Perl_sv_2pvbyte_nolen(pTHX_ SV* sv)
3944                         __attribute__warn_unused_result__
3945                         __attribute__nonnull__(pTHX_1); */
3946 #define PERL_ARGS_ASSERT_SV_2PVBYTE_NOLEN       \
3947         assert(sv)
3948
3949 /* PERL_CALLCONV char*  Perl_sv_pv(pTHX_ SV *sv)
3950                         __attribute__warn_unused_result__
3951                         __attribute__nonnull__(pTHX_1); */
3952 #define PERL_ARGS_ASSERT_SV_PV  \
3953         assert(sv)
3954
3955 /* PERL_CALLCONV char*  Perl_sv_pvutf8(pTHX_ SV *sv)
3956                         __attribute__warn_unused_result__
3957                         __attribute__nonnull__(pTHX_1); */
3958 #define PERL_ARGS_ASSERT_SV_PVUTF8      \
3959         assert(sv)
3960
3961 /* PERL_CALLCONV char*  Perl_sv_pvbyte(pTHX_ SV *sv)
3962                         __attribute__warn_unused_result__
3963                         __attribute__nonnull__(pTHX_1); */
3964 #define PERL_ARGS_ASSERT_SV_PVBYTE      \
3965         assert(sv)
3966
3967 /* PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade(pTHX_ SV *sv)
3968                         __attribute__nonnull__(pTHX_1); */
3969 #define PERL_ARGS_ASSERT_SV_UTF8_UPGRADE        \
3970         assert(sv)
3971
3972 /* PERL_CALLCONV STRLEN sv_utf8_upgrade_nomg(pTHX_ SV *sv)
3973                         __attribute__nonnull__(pTHX_1); */
3974
3975 PERL_CALLCONV bool      Perl_sv_utf8_downgrade(pTHX_ SV *const sv, const bool fail_ok)
3976                         __attribute__nonnull__(pTHX_1);
3977 #define PERL_ARGS_ASSERT_SV_UTF8_DOWNGRADE      \
3978         assert(sv)
3979
3980 PERL_CALLCONV void      Perl_sv_utf8_encode(pTHX_ SV *const sv)
3981                         __attribute__nonnull__(pTHX_1);
3982 #define PERL_ARGS_ASSERT_SV_UTF8_ENCODE \
3983         assert(sv)
3984
3985 PERL_CALLCONV bool      Perl_sv_utf8_decode(pTHX_ SV *const sv)
3986                         __attribute__nonnull__(pTHX_1);
3987 #define PERL_ARGS_ASSERT_SV_UTF8_DECODE \
3988         assert(sv)
3989
3990 /* PERL_CALLCONV void   Perl_sv_force_normal(pTHX_ SV *sv)
3991                         __attribute__nonnull__(pTHX_1); */
3992 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL        \
3993         assert(sv)
3994
3995 PERL_CALLCONV void      Perl_sv_force_normal_flags(pTHX_ SV *const sv, const U32 flags)
3996                         __attribute__nonnull__(pTHX_1);
3997 #define PERL_ARGS_ASSERT_SV_FORCE_NORMAL_FLAGS  \
3998         assert(sv)
3999
4000 PERL_CALLCONV void      Perl_tmps_grow(pTHX_ I32 n);
4001 PERL_CALLCONV SV*       Perl_sv_rvweaken(pTHX_ SV *const sv)
4002                         __attribute__nonnull__(pTHX_1);
4003 #define PERL_ARGS_ASSERT_SV_RVWEAKEN    \
4004         assert(sv)
4005
4006 PERL_CALLCONV int       Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg)
4007                         __attribute__nonnull__(pTHX_1)
4008                         __attribute__nonnull__(pTHX_2);
4009 #define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS     \
4010         assert(sv); assert(mg)
4011
4012 PERL_CALLCONV OP*       Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block);
4013 PERL_CALLCONV CV*       Perl_newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block);
4014 #ifdef PERL_MAD
4015 PERL_CALLCONV OP *      Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block)
4016                         __attribute__noreturn__;
4017
4018 #else
4019 PERL_CALLCONV void      Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block)
4020                         __attribute__noreturn__;
4021
4022 #endif
4023 PERL_CALLCONV OP *      Perl_my_attrs(pTHX_ OP *o, OP *attrs)
4024                         __attribute__nonnull__(pTHX_1);
4025 #define PERL_ARGS_ASSERT_MY_ATTRS       \
4026         assert(o)
4027
4028 #if defined(USE_ITHREADS)
4029 PERL_CALLCONV PERL_CONTEXT*     Perl_cx_dup(pTHX_ PERL_CONTEXT* cx, I32 ix, I32 max, CLONE_PARAMS* param)
4030                         __attribute__warn_unused_result__
4031                         __attribute__nonnull__(pTHX_4);
4032 #define PERL_ARGS_ASSERT_CX_DUP \
4033         assert(param)
4034
4035 PERL_CALLCONV PERL_SI*  Perl_si_dup(pTHX_ PERL_SI* si, CLONE_PARAMS* param)
4036                         __attribute__warn_unused_result__
4037                         __attribute__nonnull__(pTHX_2);
4038 #define PERL_ARGS_ASSERT_SI_DUP \
4039         assert(param)
4040
4041 PERL_CALLCONV ANY*      Perl_ss_dup(pTHX_ PerlInterpreter* proto_perl, CLONE_PARAMS* param)
4042                         __attribute__malloc__
4043                         __attribute__warn_unused_result__
4044                         __attribute__nonnull__(pTHX_1)
4045                         __attribute__nonnull__(pTHX_2);
4046 #define PERL_ARGS_ASSERT_SS_DUP \
4047         assert(proto_perl); assert(param)
4048
4049 PERL_CALLCONV void*     Perl_any_dup(pTHX_ void* v, const PerlInterpreter* proto_perl)
4050                         __attribute__warn_unused_result__
4051                         __attribute__nonnull__(pTHX_2);
4052 #define PERL_ARGS_ASSERT_ANY_DUP        \
4053         assert(proto_perl)
4054
4055 PERL_CALLCONV HE*       Perl_he_dup(pTHX_ const HE* e, bool shared, CLONE_PARAMS* param)
4056                         __attribute__warn_unused_result__
4057                         __attribute__nonnull__(pTHX_3);
4058 #define PERL_ARGS_ASSERT_HE_DUP \
4059         assert(param)
4060
4061 PERL_CALLCONV HEK*      Perl_hek_dup(pTHX_ HEK* e, CLONE_PARAMS* param)
4062                         __attribute__warn_unused_result__
4063                         __attribute__nonnull__(pTHX_2);
4064 #define PERL_ARGS_ASSERT_HEK_DUP        \
4065         assert(param)
4066
4067 PERL_CALLCONV void      Perl_re_dup_guts(pTHX_ const REGEXP *sstr, REGEXP *dstr, CLONE_PARAMS* param)
4068                         __attribute__nonnull__(pTHX_1)
4069                         __attribute__nonnull__(pTHX_2)
4070                         __attribute__nonnull__(pTHX_3);
4071 #define PERL_ARGS_ASSERT_RE_DUP_GUTS    \
4072         assert(sstr); assert(dstr); assert(param)
4073
4074 PERL_CALLCONV PerlIO*   Perl_fp_dup(pTHX_ PerlIO *const fp, const char type, CLONE_PARAMS *const param)
4075                         __attribute__nonnull__(pTHX_3);
4076 #define PERL_ARGS_ASSERT_FP_DUP \
4077         assert(param)
4078
4079 PERL_CALLCONV DIR*      Perl_dirp_dup(pTHX_ DIR *const dp)
4080                         __attribute__warn_unused_result__;
4081
4082 PERL_CALLCONV GP*       Perl_gp_dup(pTHX_ GP *const gp, CLONE_PARAMS *const param)
4083                         __attribute__warn_unused_result__
4084                         __attribute__nonnull__(pTHX_2);
4085 #define PERL_ARGS_ASSERT_GP_DUP \
4086         assert(param)
4087
4088 PERL_CALLCONV MAGIC*    Perl_mg_dup(pTHX_ MAGIC *mg, CLONE_PARAMS *const param)
4089                         __attribute__warn_unused_result__
4090                         __attribute__nonnull__(pTHX_2);
4091 #define PERL_ARGS_ASSERT_MG_DUP \
4092         assert(param)
4093
4094 #if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
4095 STATIC SV **    S_sv_dup_inc_multiple(pTHX_ SV *const *source, SV **dest, SSize_t items, CLONE_PARAMS *const param)
4096                         __attribute__nonnull__(pTHX_1)
4097                         __attribute__nonnull__(pTHX_2)
4098                         __attribute__nonnull__(pTHX_4);
4099 #define PERL_ARGS_ASSERT_SV_DUP_INC_MULTIPLE    \
4100         assert(source); assert(dest); assert(param)
4101
4102 #endif
4103 PERL_CALLCONV SV*       Perl_sv_dup(pTHX_ const SV *const sstr, CLONE_PARAMS *const param)
4104                         __attribute__warn_unused_result__
4105                         __attribute__nonnull__(pTHX_2);
4106 #define PERL_ARGS_ASSERT_SV_DUP \
4107         assert(param)
4108
4109 PERL_CALLCONV void      Perl_rvpv_dup(pTHX_ SV *const dstr, const SV *const sstr, CLONE_PARAMS *const param)
4110                         __attribute__nonnull__(pTHX_1)
4111                         __attribute__nonnull__(pTHX_2)
4112                         __attribute__nonnull__(pTHX_3);
4113 #define PERL_ARGS_ASSERT_RVPV_DUP       \
4114         assert(dstr); assert(sstr); assert(param)
4115
4116 PERL_CALLCONV yy_parser*        Perl_parser_dup(pTHX_ const yy_parser *const proto, CLONE_PARAMS *const param)
4117                         __attribute__nonnull__(pTHX_2);
4118 #define PERL_ARGS_ASSERT_PARSER_DUP     \
4119         assert(param)
4120
4121 #endif
4122 PERL_CALLCONV PTR_TBL_t*        Perl_ptr_table_new(pTHX)
4123                         __attribute__malloc__
4124                         __attribute__warn_unused_result__;
4125
4126 PERL_CALLCONV void*     Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *const tbl, const void *const sv)
4127                         __attribute__warn_unused_result__
4128                         __attribute__nonnull__(pTHX_1);
4129 #define PERL_ARGS_ASSERT_PTR_TABLE_FETCH        \
4130         assert(tbl)
4131
4132 PERL_CALLCONV void      Perl_ptr_table_store(pTHX_ PTR_TBL_t *const tbl, const void *const oldsv, void *const newsv)
4133                         __attribute__nonnull__(pTHX_1)
4134                         __attribute__nonnull__(pTHX_3);
4135 #define PERL_ARGS_ASSERT_PTR_TABLE_STORE        \
4136         assert(tbl); assert(newsv)
4137
4138 PERL_CALLCONV void      Perl_ptr_table_split(pTHX_ PTR_TBL_t *const tbl)
4139                         __attribute__nonnull__(pTHX_1);
4140 #define PERL_ARGS_ASSERT_PTR_TABLE_SPLIT        \
4141         assert(tbl)
4142
4143 PERL_CALLCONV void      Perl_ptr_table_clear(pTHX_ PTR_TBL_t *const tbl);
4144 PERL_CALLCONV void      Perl_ptr_table_free(pTHX_ PTR_TBL_t *const tbl);
4145 #if defined(USE_ITHREADS)
4146 #  if defined(HAVE_INTERP_INTERN)
4147 PERL_CALLCONV void      Perl_sys_intern_dup(pTHX_ struct interp_intern* src, struct interp_intern* dst)
4148                         __attribute__nonnull__(pTHX_1)
4149                         __attribute__nonnull__(pTHX_2);
4150 #define PERL_ARGS_ASSERT_SYS_INTERN_DUP \
4151         assert(src); assert(dst)
4152
4153 #  endif
4154 #endif
4155 #if defined(HAVE_INTERP_INTERN)
4156 PERL_CALLCONV void      Perl_sys_intern_clear(pTHX);
4157 PERL_CALLCONV void      Perl_sys_intern_init(pTHX);
4158 #endif
4159
4160 PERL_CALLCONV const char *      Perl_custom_op_name(pTHX_ const OP *o)
4161                         __attribute__warn_unused_result__
4162                         __attribute__nonnull__(pTHX_1);
4163 #define PERL_ARGS_ASSERT_CUSTOM_OP_NAME \
4164         assert(o)
4165
4166 PERL_CALLCONV const char *      Perl_custom_op_desc(pTHX_ const OP *o)
4167                         __attribute__warn_unused_result__
4168                         __attribute__nonnull__(pTHX_1);
4169 #define PERL_ARGS_ASSERT_CUSTOM_OP_DESC \
4170         assert(o)
4171
4172
4173 PERL_CALLCONV void      Perl_sv_nosharing(pTHX_ SV *sv);
4174 /* PERL_CALLCONV void   Perl_sv_nolocking(pTHX_ SV *sv); */
4175 PERL_CALLCONV bool      Perl_sv_destroyable(pTHX_ SV *sv);
4176 #ifdef NO_MATHOMS
4177 /* PERL_CALLCONV void   Perl_sv_nounlocking(pTHX_ SV *sv); */
4178 #else
4179 PERL_CALLCONV void      Perl_sv_nounlocking(pTHX_ SV *sv);
4180 #endif
4181 PERL_CALLCONV int       Perl_nothreadhook(pTHX);
4182
4183 END_EXTERN_C
4184
4185 #if defined(PERL_IN_DOOP_C) || defined(PERL_DECL_PROT)
4186 STATIC I32      S_do_trans_simple(pTHX_ SV * const sv)
4187                         __attribute__warn_unused_result__
4188                         __attribute__nonnull__(pTHX_1);
4189 #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE        \
4190         assert(sv)
4191
4192 STATIC I32      S_do_trans_count(pTHX_ SV * const sv)
4193                         __attribute__warn_unused_result__
4194                         __attribute__nonnull__(pTHX_1);
4195 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT \
4196         assert(sv)
4197
4198 STATIC I32      S_do_trans_complex(pTHX_ SV * const sv)
4199                         __attribute__warn_unused_result__
4200                         __attribute__nonnull__(pTHX_1);
4201 #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX       \
4202         assert(sv)
4203
4204 STATIC I32      S_do_trans_simple_utf8(pTHX_ SV * const sv)
4205                         __attribute__warn_unused_result__
4206                         __attribute__nonnull__(pTHX_1);
4207 #define PERL_ARGS_ASSERT_DO_TRANS_SIMPLE_UTF8   \
4208         assert(sv)
4209
4210 STATIC I32      S_do_trans_count_utf8(pTHX_ SV * const sv)
4211                         __attribute__warn_unused_result__
4212                         __attribute__nonnull__(pTHX_1);
4213 #define PERL_ARGS_ASSERT_DO_TRANS_COUNT_UTF8    \
4214         assert(sv)
4215
4216 STATIC I32      S_do_trans_complex_utf8(pTHX_ SV * const sv)
4217                         __attribute__warn_unused_result__
4218                         __attribute__nonnull__(pTHX_1);
4219 #define PERL_ARGS_ASSERT_DO_TRANS_COMPLEX_UTF8  \
4220         assert(sv)
4221
4222 #endif
4223
4224 #if defined(PERL_IN_GV_C) || defined(PERL_DECL_PROT)
4225 STATIC void     S_gv_init_sv(pTHX_ GV *gv, const svtype sv_type)
4226                         __attribute__nonnull__(pTHX_1);
4227 #define PERL_ARGS_ASSERT_GV_INIT_SV     \
4228         assert(gv)
4229
4230 STATIC HV*      S_gv_get_super_pkg(pTHX_ const char* name, I32 namelen)
4231                         __attribute__nonnull__(pTHX_1);
4232 #define PERL_ARGS_ASSERT_GV_GET_SUPER_PKG       \
4233         assert(name)
4234
4235 STATIC HV*      S_require_tie_mod(pTHX_ GV *gv, const char *varpv, SV* namesv, const char *methpv, const U32 flags)
4236                         __attribute__nonnull__(pTHX_1)
4237                         __attribute__nonnull__(pTHX_2)
4238                         __attribute__nonnull__(pTHX_3)
4239                         __attribute__nonnull__(pTHX_4);
4240 #define PERL_ARGS_ASSERT_REQUIRE_TIE_MOD        \
4241         assert(gv); assert(varpv); assert(namesv); assert(methpv)
4242
4243 #endif
4244
4245 PERL_CALLCONV void*     Perl_get_arena(pTHX_ const size_t svtype, const U32 misc)
4246                         __attribute__malloc__
4247                         __attribute__warn_unused_result__;
4248
4249
4250 #if defined(PERL_IN_HV_C) || defined(PERL_DECL_PROT)
4251 STATIC void     S_hsplit(pTHX_ HV *hv)
4252                         __attribute__nonnull__(pTHX_1);
4253 #define PERL_ARGS_ASSERT_HSPLIT \
4254         assert(hv)
4255
4256 STATIC void     S_hfreeentries(pTHX_ HV *hv)
4257                         __attribute__nonnull__(pTHX_1);
4258 #define PERL_ARGS_ASSERT_HFREEENTRIES   \
4259         assert(hv)
4260
4261 STATIC I32      S_anonymise_cv(pTHX_ HEK *stash, SV *val)
4262                         __attribute__nonnull__(pTHX_2);
4263 #define PERL_ARGS_ASSERT_ANONYMISE_CV   \
4264         assert(val)
4265
4266 STATIC HE*      S_new_he(pTHX)
4267                         __attribute__malloc__
4268                         __attribute__warn_unused_result__;
4269
4270 STATIC HEK*     S_save_hek_flags(const char *str, I32 len, U32 hash, int flags)
4271                         __attribute__malloc__
4272                         __attribute__warn_unused_result__
4273                         __attribute__nonnull__(1);
4274 #define PERL_ARGS_ASSERT_SAVE_HEK_FLAGS \
4275         assert(str)
4276
4277 STATIC void     S_hv_magic_check(HV *hv, bool *needs_copy, bool *needs_store)
4278                         __attribute__nonnull__(1)
4279                         __attribute__nonnull__(2)
4280                         __attribute__nonnull__(3);
4281 #define PERL_ARGS_ASSERT_HV_MAGIC_CHECK \
4282         assert(hv); assert(needs_copy); assert(needs_store)
4283
4284 STATIC void     S_unshare_hek_or_pvn(pTHX_ const HEK* hek, const char* str, I32 len, U32 hash);
4285 STATIC HEK*     S_share_hek_flags(pTHX_ const char *str, I32 len, U32 hash, int flags)
4286                         __attribute__warn_unused_result__
4287                         __attribute__nonnull__(pTHX_1);
4288 #define PERL_ARGS_ASSERT_SHARE_HEK_FLAGS        \
4289         assert(str)
4290
4291 STATIC void     S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const char *msg)
4292                         __attribute__noreturn__
4293                         __attribute__nonnull__(pTHX_2)
4294                         __attribute__nonnull__(pTHX_4);
4295 #define PERL_ARGS_ASSERT_HV_NOTALLOWED  \
4296         assert(key); assert(msg)
4297
4298 STATIC struct xpvhv_aux*        S_hv_auxinit(HV *hv)
4299                         __attribute__nonnull__(1);
4300 #define PERL_ARGS_ASSERT_HV_AUXINIT     \
4301         assert(hv)
4302
4303 STATIC SV*      S_hv_delete_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, int k_flags, I32 d_flags, U32 hash);
4304 STATIC void     S_clear_placeholders(pTHX_ HV *hv, U32 items)
4305                         __attribute__nonnull__(pTHX_1);
4306 #define PERL_ARGS_ASSERT_CLEAR_PLACEHOLDERS     \
4307         assert(hv)
4308
4309 STATIC SV *     S_refcounted_he_value(pTHX_ const struct refcounted_he *he)
4310                         __attribute__nonnull__(pTHX_1);
4311 #define PERL_ARGS_ASSERT_REFCOUNTED_HE_VALUE    \
4312         assert(he)
4313
4314 #endif
4315
4316 #if defined(PERL_IN_MG_C) || defined(PERL_DECL_PROT)
4317 STATIC void     S_save_magic(pTHX_ I32 mgs_ix, SV *sv)
4318                         __attribute__nonnull__(pTHX_2);
4319 #define PERL_ARGS_ASSERT_SAVE_MAGIC     \
4320         assert(sv)
4321
4322 STATIC int      S_magic_methpack(pTHX_ SV *sv, const MAGIC *mg, const char *meth)
4323                         __attribute__nonnull__(pTHX_1)
4324                         __attribute__nonnull__(pTHX_2)
4325                         __attribute__nonnull__(pTHX_3);
4326 #define PERL_ARGS_ASSERT_MAGIC_METHPACK \
4327         assert(sv); assert(mg); assert(meth)
4328
4329 STATIC int      S_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, const char *meth, I32 f, int n, SV *val)
4330                         __attribute__nonnull__(pTHX_1)
4331                         __attribute__nonnull__(pTHX_2)
4332                         __attribute__nonnull__(pTHX_3);
4333 #define PERL_ARGS_ASSERT_MAGIC_METHCALL \
4334         assert(sv); assert(mg); assert(meth)
4335
4336 STATIC void     S_restore_magic(pTHX_ const void *p);
4337 STATIC void     S_unwind_handler_stack(pTHX_ const void *p)
4338                         __attribute__nonnull__(pTHX_1);
4339 #define PERL_ARGS_ASSERT_UNWIND_HANDLER_STACK   \
4340         assert(p)
4341
4342
4343 #endif
4344
4345 #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
4346 PERL_CALLCONV OP*       Perl_ck_anoncode(pTHX_ OP *o)
4347                         __attribute__warn_unused_result__
4348                         __attribute__nonnull__(pTHX_1);
4349 #define PERL_ARGS_ASSERT_CK_ANONCODE    \
4350         assert(o)
4351
4352 PERL_CALLCONV OP*       Perl_ck_bitop(pTHX_ OP *o)
4353                         __attribute__warn_unused_result__
4354                         __attribute__nonnull__(pTHX_1);
4355 #define PERL_ARGS_ASSERT_CK_BITOP       \
4356         assert(o)
4357
4358 PERL_CALLCONV OP*       Perl_ck_concat(pTHX_ OP *o)
4359                         __attribute__warn_unused_result__
4360                         __attribute__nonnull__(pTHX_1);
4361 #define PERL_ARGS_ASSERT_CK_CONCAT      \
4362         assert(o)
4363
4364 PERL_CALLCONV OP*       Perl_ck_defined(pTHX_ OP *o)
4365                         __attribute__warn_unused_result__
4366                         __attribute__nonnull__(pTHX_1);
4367 #define PERL_ARGS_ASSERT_CK_DEFINED     \
4368         assert(o)