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