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