This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
make regen.
[perl5.git] / proto.h
CommitLineData
37442d52
RGS
1/* -*- buffer-read-only: t -*-
2 *
f5e3445d
RGS
3 * proto.h
4 *
4bb101f2 5 * Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999,
83706693 6 * 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, by Larry Wall and others
f5e3445d
RGS
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,
907b3e23 13 * pp.sym, intrpvar.h, and perlvars.h.
f5e3445d
RGS
14 * Any changes made here will be lost!
15 *
16 * Edit those files and run 'make regen_headers' to effect changes.
17 */
1d7c1841 18
1d7c1841
GS
19START_EXTERN_C
20
21#if defined(PERL_IMPLICIT_SYS)
16bf6295 22PERL_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)
fb9bf107
NC
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);
7918f24d 32#define PERL_ARGS_ASSERT_PERL_ALLOC_USING \
16bf6295 33 assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
fb9bf107 34
1d7c1841 35#endif
b46bc2b6 36PERL_CALLCONV PerlInterpreter* perl_alloc(void);
4048f010 37PERL_CALLCONV void perl_construct(PerlInterpreter *my_perl)
abb2c242 38 __attribute__nonnull__(1);
7918f24d
NC
39#define PERL_ARGS_ASSERT_PERL_CONSTRUCT \
40 assert(my_perl)
f54cb97a 41
4048f010 42PERL_CALLCONV int perl_destruct(PerlInterpreter *my_perl)
abb2c242 43 __attribute__nonnull__(1);
7918f24d
NC
44#define PERL_ARGS_ASSERT_PERL_DESTRUCT \
45 assert(my_perl)
f54cb97a 46
4048f010 47PERL_CALLCONV void perl_free(PerlInterpreter *my_perl)
abb2c242 48 __attribute__nonnull__(1);
7918f24d
NC
49#define PERL_ARGS_ASSERT_PERL_FREE \
50 assert(my_perl)
f54cb97a 51
4048f010 52PERL_CALLCONV int perl_run(PerlInterpreter *my_perl)
abb2c242 53 __attribute__nonnull__(1);
7918f24d
NC
54#define PERL_ARGS_ASSERT_PERL_RUN \
55 assert(my_perl)
f54cb97a 56
4048f010 57PERL_CALLCONV int perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char** argv, char** env)
fb9bf107 58 __attribute__nonnull__(1);
7918f24d
NC
59#define PERL_ARGS_ASSERT_PERL_PARSE \
60 assert(my_perl)
fb9bf107 61
a28509cc
AL
62PERL_CALLCONV bool Perl_doing_taint(int argc, char** argv, char** env)
63 __attribute__warn_unused_result__;
64
1d7c1841 65#if defined(USE_ITHREADS)
4048f010 66PERL_CALLCONV PerlInterpreter* perl_clone(PerlInterpreter *proto_perl, UV flags)
fb9bf107 67 __attribute__nonnull__(1);
7918f24d
NC
68#define PERL_ARGS_ASSERT_PERL_CLONE \
69 assert(proto_perl)
fb9bf107 70
1d7c1841 71# if defined(PERL_IMPLICIT_SYS)
589df73b 72PERL_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)
fb9bf107
NC
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);
7918f24d 83#define PERL_ARGS_ASSERT_PERL_CLONE_USING \
589df73b 84 assert(proto_perl); assert(ipM); assert(ipMS); assert(ipMP); assert(ipE); assert(ipStd); assert(ipLIO); assert(ipD); assert(ipS); assert(ipP)
fb9bf107 85
1d7c1841
GS
86# endif
87#endif
88
4373e329 89PERL_CALLCONV Malloc_t Perl_malloc(MEM_SIZE nbytes)
abb2c242
JH
90 __attribute__malloc__
91 __attribute__warn_unused_result__;
f54cb97a 92
4373e329 93PERL_CALLCONV Malloc_t Perl_calloc(MEM_SIZE elements, MEM_SIZE size)
abb2c242
JH
94 __attribute__malloc__
95 __attribute__warn_unused_result__;
f54cb97a 96
4373e329 97PERL_CALLCONV Malloc_t Perl_realloc(Malloc_t where, MEM_SIZE nbytes)
abb2c242
JH
98 __attribute__malloc__
99 __attribute__warn_unused_result__;
f54cb97a 100
1d7c1841 101PERL_CALLCONV Free_t Perl_mfree(Malloc_t where);
cae6d0e5 102#if defined(MYMALLOC)
b464bac0 103PERL_CALLCONV MEM_SIZE Perl_malloced_size(void *p)
fb9bf107
NC
104 __attribute__warn_unused_result__
105 __attribute__nonnull__(1);
7918f24d
NC
106#define PERL_ARGS_ASSERT_MALLOCED_SIZE \
107 assert(p)
b464bac0 108
64107180
NC
109PERL_CALLCONV MEM_SIZE Perl_malloc_good_size(size_t nbytes)
110 __attribute__warn_unused_result__;
111
1d7c1841
GS
112#endif
113
255164ba
DM
114PERL_CALLCONV void* Perl_get_context(void)
115 __attribute__warn_unused_result__;
116
9f6cc744 117PERL_CALLCONV void Perl_set_context(void *t)
255164ba 118 __attribute__nonnull__(1);
7918f24d
NC
119#define PERL_ARGS_ASSERT_SET_CONTEXT \
120 assert(t)
255164ba 121
70a6e658
RGS
122PERL_CALLCONV I32 Perl_regcurly(const char *s)
123 __attribute__warn_unused_result__
124 __attribute__pure__
125 __attribute__nonnull__(1);
126#define PERL_ARGS_ASSERT_REGCURLY \
127 assert(s)
128
ba869deb 129
1d7c1841
GS
130END_EXTERN_C
131
132/* functions with flag 'n' should come before here */
1d7c1841 133START_EXTERN_C
1d7c1841 134# include "pp_proto.h"
6f1401dc
DM
135PERL_CALLCONV bool Perl_try_amagic_bin(pTHX_ int method, int flags);
136PERL_CALLCONV bool Perl_try_amagic_un(pTHX_ int method, int flags);
46c461b5
AL
137PERL_CALLCONV SV* Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir)
138 __attribute__nonnull__(pTHX_1)
139 __attribute__nonnull__(pTHX_2);
7918f24d
NC
140#define PERL_ARGS_ASSERT_AMAGIC_CALL \
141 assert(left); assert(right)
46c461b5 142
c3a9a790 143PERL_CALLCONV int Perl_Gv_AMupdate(pTHX_ HV* stash, bool destructing)
255164ba 144 __attribute__nonnull__(pTHX_1);
7918f24d
NC
145#define PERL_ARGS_ASSERT_GV_AMUPDATE \
146 assert(stash)
255164ba
DM
147
148PERL_CALLCONV CV* Perl_gv_handler(pTHX_ HV* stash, I32 id)
149 __attribute__warn_unused_result__;
150
151PERL_CALLCONV OP* Perl_append_elem(pTHX_ I32 optype, OP* first, OP* last);
1d7c1841 152PERL_CALLCONV OP* Perl_append_list(pTHX_ I32 optype, LISTOP* first, LISTOP* last);
255164ba
DM
153PERL_CALLCONV I32 Perl_apply(pTHX_ I32 type, SV** mark, SV** sp)
154 __attribute__nonnull__(pTHX_2)
155 __attribute__nonnull__(pTHX_3);
7918f24d
NC
156#define PERL_ARGS_ASSERT_APPLY \
157 assert(mark); assert(sp)
255164ba
DM
158
159PERL_CALLCONV void Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len)
160 __attribute__nonnull__(pTHX_1)
161 __attribute__nonnull__(pTHX_2)
162 __attribute__nonnull__(pTHX_3);
7918f24d
NC
163#define PERL_ARGS_ASSERT_APPLY_ATTRS_STRING \
164 assert(stashpv); assert(cv); assert(attrstr)
255164ba 165
4048f010 166PERL_CALLCONV void Perl_av_clear(pTHX_ AV *av)
7a5b473e 167 __attribute__nonnull__(pTHX_1);
7918f24d
NC
168#define PERL_ARGS_ASSERT_AV_CLEAR \
169 assert(av)
7a5b473e 170
4048f010 171PERL_CALLCONV SV* Perl_av_delete(pTHX_ AV *av, I32 key, I32 flags)
7a5b473e 172 __attribute__nonnull__(pTHX_1);
7918f24d
NC
173#define PERL_ARGS_ASSERT_AV_DELETE \
174 assert(av)
7a5b473e 175
4048f010 176PERL_CALLCONV bool Perl_av_exists(pTHX_ AV *av, I32 key)
7a5b473e
AL
177 __attribute__warn_unused_result__
178 __attribute__nonnull__(pTHX_1);
7918f24d
NC
179#define PERL_ARGS_ASSERT_AV_EXISTS \
180 assert(av)
a3b680e6 181
4048f010 182PERL_CALLCONV void Perl_av_extend(pTHX_ AV *av, I32 key)
abb2c242 183 __attribute__nonnull__(pTHX_1);
7918f24d
NC
184#define PERL_ARGS_ASSERT_AV_EXTEND \
185 assert(av)
a3b680e6 186
4048f010 187PERL_CALLCONV SV** Perl_av_fetch(pTHX_ AV *av, I32 key, I32 lval)
7a5b473e
AL
188 __attribute__warn_unused_result__
189 __attribute__nonnull__(pTHX_1);
7918f24d
NC
190#define PERL_ARGS_ASSERT_AV_FETCH \
191 assert(av)
a3b680e6 192
4048f010 193PERL_CALLCONV void Perl_av_fill(pTHX_ AV *av, I32 fill)
255164ba 194 __attribute__nonnull__(pTHX_1);
7918f24d
NC
195#define PERL_ARGS_ASSERT_AV_FILL \
196 assert(av)
255164ba 197
bb5dd93d 198PERL_CALLCONV I32 Perl_av_len(pTHX_ AV *av)
255164ba
DM
199 __attribute__warn_unused_result__
200 __attribute__nonnull__(pTHX_1);
7918f24d
NC
201#define PERL_ARGS_ASSERT_AV_LEN \
202 assert(av)
a3b680e6 203
4048f010 204PERL_CALLCONV AV* Perl_av_make(pTHX_ I32 size, SV **strp)
abb2c242
JH
205 __attribute__warn_unused_result__
206 __attribute__nonnull__(pTHX_2);
7918f24d
NC
207#define PERL_ARGS_ASSERT_AV_MAKE \
208 assert(strp)
a3b680e6 209
4048f010 210PERL_CALLCONV SV* Perl_av_pop(pTHX_ AV *av)
7a5b473e 211 __attribute__nonnull__(pTHX_1);
7918f24d
NC
212#define PERL_ARGS_ASSERT_AV_POP \
213 assert(av)
7a5b473e 214
29a861e7
NC
215PERL_CALLCONV void Perl_av_create_and_push(pTHX_ AV **const avp, SV *const val)
216 __attribute__nonnull__(pTHX_1)
217 __attribute__nonnull__(pTHX_2);
7918f24d
NC
218#define PERL_ARGS_ASSERT_AV_CREATE_AND_PUSH \
219 assert(avp); assert(val)
29a861e7 220
4048f010 221PERL_CALLCONV void Perl_av_push(pTHX_ AV *av, SV *val)
7a5b473e 222 __attribute__nonnull__(pTHX_1)
255164ba 223 __attribute__nonnull__(pTHX_2);
7918f24d
NC
224#define PERL_ARGS_ASSERT_AV_PUSH \
225 assert(av); assert(val)
255164ba 226
4048f010 227PERL_CALLCONV void Perl_av_reify(pTHX_ AV *av)
255164ba 228 __attribute__nonnull__(pTHX_1);
7918f24d
NC
229#define PERL_ARGS_ASSERT_AV_REIFY \
230 assert(av)
255164ba 231
4048f010 232PERL_CALLCONV SV* Perl_av_shift(pTHX_ AV *av)
7a5b473e
AL
233 __attribute__warn_unused_result__
234 __attribute__nonnull__(pTHX_1);
7918f24d
NC
235#define PERL_ARGS_ASSERT_AV_SHIFT \
236 assert(av)
7a5b473e 237
4048f010 238PERL_CALLCONV SV** Perl_av_store(pTHX_ AV *av, I32 key, SV *val)
7a5b473e 239 __attribute__nonnull__(pTHX_1);
7918f24d
NC
240#define PERL_ARGS_ASSERT_AV_STORE \
241 assert(av)
7a5b473e 242
4048f010 243PERL_CALLCONV void Perl_av_undef(pTHX_ AV *av)
7a5b473e 244 __attribute__nonnull__(pTHX_1);
7918f24d
NC
245#define PERL_ARGS_ASSERT_AV_UNDEF \
246 assert(av)
7a5b473e 247
29a861e7
NC
248PERL_CALLCONV SV** Perl_av_create_and_unshift_one(pTHX_ AV **const avp, SV *const val)
249 __attribute__nonnull__(pTHX_1)
250 __attribute__nonnull__(pTHX_2);
7918f24d
NC
251#define PERL_ARGS_ASSERT_AV_CREATE_AND_UNSHIFT_ONE \
252 assert(avp); assert(val)
29a861e7 253
4048f010 254PERL_CALLCONV void Perl_av_unshift(pTHX_ AV *av, I32 num)
7a5b473e 255 __attribute__nonnull__(pTHX_1);
7918f24d
NC
256#define PERL_ARGS_ASSERT_AV_UNSHIFT \
257 assert(av)
a3b680e6 258
4048f010 259PERL_CALLCONV SV** Perl_av_arylen_p(pTHX_ AV *av)
255164ba 260 __attribute__nonnull__(pTHX_1);
7918f24d
NC
261#define PERL_ARGS_ASSERT_AV_ARYLEN_P \
262 assert(av)
255164ba 263
4048f010 264PERL_CALLCONV IV* Perl_av_iter_p(pTHX_ AV *av)
878d132a 265 __attribute__nonnull__(pTHX_1);
7918f24d
NC
266#define PERL_ARGS_ASSERT_AV_ITER_P \
267 assert(av)
878d132a 268
43869a0c 269#if defined(PERL_IN_AV_C)
878d132a
NC
270STATIC MAGIC* S_get_aux_mg(pTHX_ AV *av)
271 __attribute__nonnull__(pTHX_1);
7918f24d
NC
272#define PERL_ARGS_ASSERT_GET_AUX_MG \
273 assert(av)
878d132a
NC
274
275#endif
4048f010 276PERL_CALLCONV OP* Perl_bind_match(pTHX_ I32 type, OP *left, OP *right)
abb2c242
JH
277 __attribute__warn_unused_result__
278 __attribute__nonnull__(pTHX_2)
279 __attribute__nonnull__(pTHX_3);
7918f24d
NC
280#define PERL_ARGS_ASSERT_BIND_MATCH \
281 assert(left); assert(right)
a3b680e6
AL
282
283PERL_CALLCONV OP* Perl_block_end(pTHX_ I32 floor, OP* seq)
6472dca1 284 __attribute__warn_unused_result__;
a3b680e6
AL
285
286PERL_CALLCONV I32 Perl_block_gimme(pTHX)
abb2c242 287 __attribute__warn_unused_result__;
a3b680e6
AL
288
289PERL_CALLCONV int Perl_block_start(pTHX_ int full)
abb2c242 290 __attribute__warn_unused_result__;
a3b680e6 291
bb6c22e7
BM
292PERL_CALLCONV void Perl_blockhook_register(pTHX_ BHK *hk)
293 __attribute__nonnull__(pTHX_1);
294#define PERL_ARGS_ASSERT_BLOCKHOOK_REGISTER \
295 assert(hk)
296
1d7c1841 297PERL_CALLCONV void Perl_boot_core_UNIVERSAL(pTHX);
36ed5425 298PERL_CALLCONV void Perl_boot_core_PerlIO(pTHX);
4048f010 299PERL_CALLCONV void Perl_call_list(pTHX_ I32 oldscope, AV *paramList)
abb2c242 300 __attribute__nonnull__(pTHX_2);
7918f24d
NC
301#define PERL_ARGS_ASSERT_CALL_LIST \
302 assert(paramList)
a3b680e6 303
2fefa6c7 304PERL_CALLCONV const PERL_CONTEXT * Perl_caller_cx(pTHX_ I32 level, const PERL_CONTEXT **dbcxp);
ae1951c1 305PERL_CALLCONV bool Perl_cando(pTHX_ Mode_t mode, bool effective, const Stat_t* statbufp)
abb2c242
JH
306 __attribute__warn_unused_result__
307 __attribute__nonnull__(pTHX_3);
7918f24d
NC
308#define PERL_ARGS_ASSERT_CANDO \
309 assert(statbufp)
f54cb97a 310
53c1dcc0
AL
311PERL_CALLCONV U32 Perl_cast_ulong(pTHX_ NV f)
312 __attribute__warn_unused_result__;
313
314PERL_CALLCONV I32 Perl_cast_i32(pTHX_ NV f)
315 __attribute__warn_unused_result__;
316
317PERL_CALLCONV IV Perl_cast_iv(pTHX_ NV f)
318 __attribute__warn_unused_result__;
319
320PERL_CALLCONV UV Perl_cast_uv(pTHX_ NV f)
321 __attribute__warn_unused_result__;
322
cea2e8a9 323#if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
53c1dcc0
AL
324PERL_CALLCONV I32 Perl_my_chsize(pTHX_ int fd, Off_t length)
325 __attribute__warn_unused_result__;
326
cea2e8a9 327#endif
53c1dcc0
AL
328PERL_CALLCONV OP* Perl_convert(pTHX_ I32 optype, I32 flags, OP* o)
329 __attribute__warn_unused_result__;
330
2fefa6c7
BM
331PERL_CALLCONV HV* Perl_cop_hints_2hv(pTHX_ const COP *cop)
332 __attribute__nonnull__(pTHX_1);
333#define PERL_ARGS_ASSERT_COP_HINTS_2HV \
334 assert(cop)
335
336PERL_CALLCONV SV* Perl_cop_hints_fetchpvn(pTHX_ const COP *cop, const char *key, STRLEN klen, int flags, U32 hash)
337 __attribute__nonnull__(pTHX_1)
338 __attribute__nonnull__(pTHX_2);
339#define PERL_ARGS_ASSERT_COP_HINTS_FETCHPVN \
340 assert(cop); assert(key)
341
342/* PERL_CALLCONV SV* cop_hints_fetchpvs(pTHX_ const COP *cop, const char *const key)
343 __attribute__nonnull__(pTHX_1)
344 __attribute__nonnull__(pTHX_2); */
345
346/* PERL_CALLCONV SV* cop_hints_fetchsv(pTHX_ const COP *cop, SV *keysv, U32 hash)
347 __attribute__nonnull__(pTHX_1)
348 __attribute__nonnull__(pTHX_2); */
349
edb2152a 350PERL_CALLCONV PERL_CONTEXT* Perl_create_eval_scope(pTHX_ U32 flags);
c5df3096
Z
351PERL_CALLCONV void Perl_croak_sv(pTHX_ SV *baseex)
352 __attribute__noreturn__
353 __attribute__nonnull__(pTHX_1);
354#define PERL_ARGS_ASSERT_CROAK_SV \
355 assert(baseex)
356
f54cb97a 357PERL_CALLCONV void Perl_croak(pTHX_ const char* pat, ...)
cdfeb707
RB
358 __attribute__noreturn__
359 __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
f54cb97a
AL
360
361PERL_CALLCONV void Perl_vcroak(pTHX_ const char* pat, va_list* args)
f3dc127a 362 __attribute__noreturn__;
f54cb97a 363
6ad8f254
NC
364PERL_CALLCONV void Perl_croak_no_modify(pTHX)
365 __attribute__noreturn__;
366
afa74d42
NC
367PERL_CALLCONV void Perl_croak_xs_usage(pTHX_ const CV *const cv, const char *const params)
368 __attribute__noreturn__
369 __attribute__nonnull__(pTHX_1)
370 __attribute__nonnull__(pTHX_2);
371#define PERL_ARGS_ASSERT_CROAK_XS_USAGE \
372 assert(cv); assert(params)
373
374
cea2e8a9 375#if defined(PERL_IMPLICIT_CONTEXT)
f54cb97a 376PERL_CALLCONV void Perl_croak_nocontext(const char* pat, ...)
abb2c242 377 __attribute__noreturn__
52a5bfab 378 __attribute__format__null_ok__(__printf__,1,2);
f54cb97a 379
894356b3 380PERL_CALLCONV OP* Perl_die_nocontext(const char* pat, ...)
cf284a24 381 __attribute__format__null_ok__(__printf__,1,2);
f54cb97a 382
894356b3 383PERL_CALLCONV void Perl_deb_nocontext(const char* pat, ...)
255164ba
DM
384 __attribute__format__(__printf__,1,2)
385 __attribute__nonnull__(1);
7918f24d
NC
386#define PERL_ARGS_ASSERT_DEB_NOCONTEXT \
387 assert(pat)
f54cb97a 388
894356b3 389PERL_CALLCONV char* Perl_form_nocontext(const char* pat, ...)
255164ba
DM
390 __attribute__format__(__printf__,1,2)
391 __attribute__nonnull__(1);
7918f24d
NC
392#define PERL_ARGS_ASSERT_FORM_NOCONTEXT \
393 assert(pat)
255164ba
DM
394
395PERL_CALLCONV void Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...)
3d4dd4c7 396 __attribute__nonnull__(2);
7918f24d
NC
397#define PERL_ARGS_ASSERT_LOAD_MODULE_NOCONTEXT \
398 assert(name)
f54cb97a 399
894356b3 400PERL_CALLCONV SV* Perl_mess_nocontext(const char* pat, ...)
255164ba
DM
401 __attribute__format__(__printf__,1,2)
402 __attribute__nonnull__(1);
7918f24d
NC
403#define PERL_ARGS_ASSERT_MESS_NOCONTEXT \
404 assert(pat)
f54cb97a 405
894356b3 406PERL_CALLCONV void Perl_warn_nocontext(const char* pat, ...)
255164ba
DM
407 __attribute__format__(__printf__,1,2)
408 __attribute__nonnull__(1);
7918f24d
NC
409#define PERL_ARGS_ASSERT_WARN_NOCONTEXT \
410 assert(pat)
f54cb97a 411
894356b3 412PERL_CALLCONV void Perl_warner_nocontext(U32 err, const char* pat, ...)
255164ba
DM
413 __attribute__format__(__printf__,2,3)
414 __attribute__nonnull__(2);
7918f24d
NC
415#define PERL_ARGS_ASSERT_WARNER_NOCONTEXT \
416 assert(pat)
f54cb97a 417
23f13727 418PERL_CALLCONV SV* Perl_newSVpvf_nocontext(const char *const pat, ...)
255164ba
DM
419 __attribute__format__(__printf__,1,2)
420 __attribute__nonnull__(1);
7918f24d
NC
421#define PERL_ARGS_ASSERT_NEWSVPVF_NOCONTEXT \
422 assert(pat)
f54cb97a 423
89e38212 424PERL_CALLCONV void Perl_sv_catpvf_nocontext(SV *const sv, const char *const pat, ...)
255164ba 425 __attribute__format__(__printf__,2,3)
fb9bf107
NC
426 __attribute__nonnull__(1)
427 __attribute__nonnull__(2);
7918f24d
NC
428#define PERL_ARGS_ASSERT_SV_CATPVF_NOCONTEXT \
429 assert(sv); assert(pat)
f54cb97a 430
89e38212 431PERL_CALLCONV void Perl_sv_setpvf_nocontext(SV *const sv, const char *const pat, ...)
255164ba 432 __attribute__format__(__printf__,2,3)
fb9bf107
NC
433 __attribute__nonnull__(1)
434 __attribute__nonnull__(2);
7918f24d
NC
435#define PERL_ARGS_ASSERT_SV_SETPVF_NOCONTEXT \
436 assert(sv); assert(pat)
f54cb97a 437
89e38212 438PERL_CALLCONV void Perl_sv_catpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
255164ba 439 __attribute__format__(__printf__,2,3)
fb9bf107
NC
440 __attribute__nonnull__(1)
441 __attribute__nonnull__(2);
7918f24d
NC
442#define PERL_ARGS_ASSERT_SV_CATPVF_MG_NOCONTEXT \
443 assert(sv); assert(pat)
f54cb97a 444
89e38212 445PERL_CALLCONV void Perl_sv_setpvf_mg_nocontext(SV *const sv, const char *const pat, ...)
255164ba 446 __attribute__format__(__printf__,2,3)
fb9bf107
NC
447 __attribute__nonnull__(1)
448 __attribute__nonnull__(2);
7918f24d
NC
449#define PERL_ARGS_ASSERT_SV_SETPVF_MG_NOCONTEXT \
450 assert(sv); assert(pat)
f54cb97a 451
4048f010 452PERL_CALLCONV int Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...)
255164ba
DM
453 __attribute__format__(__printf__,2,3)
454 __attribute__nonnull__(1)
455 __attribute__nonnull__(2);
7918f24d
NC
456#define PERL_ARGS_ASSERT_FPRINTF_NOCONTEXT \
457 assert(stream); assert(format)
f54cb97a 458
4048f010 459PERL_CALLCONV int Perl_printf_nocontext(const char *format, ...)
255164ba
DM
460 __attribute__format__(__printf__,1,2)
461 __attribute__nonnull__(1);
7918f24d
NC
462#define PERL_ARGS_ASSERT_PRINTF_NOCONTEXT \
463 assert(format)
f54cb97a 464
0cb96387 465#endif
cbf82dd0
NC
466PERL_CALLCONV void Perl_cv_ckproto_len(pTHX_ const CV* cv, const GV* gv, const char* p, const STRLEN len)
467 __attribute__nonnull__(pTHX_1);
7918f24d
NC
468#define PERL_ARGS_ASSERT_CV_CKPROTO_LEN \
469 assert(cv)
cbf82dd0 470
4373e329 471PERL_CALLCONV CV* Perl_cv_clone(pTHX_ CV* proto)
abb2c242 472 __attribute__nonnull__(pTHX_1);
7918f24d
NC
473#define PERL_ARGS_ASSERT_CV_CLONE \
474 assert(proto)
f54cb97a 475
62d55b22
NC
476PERL_CALLCONV SV* Perl_gv_const_sv(pTHX_ GV* gv)
477 __attribute__warn_unused_result__
478 __attribute__nonnull__(pTHX_1);
7918f24d
NC
479#define PERL_ARGS_ASSERT_GV_CONST_SV \
480 assert(gv)
62d55b22 481
d45f5b30 482PERL_CALLCONV SV* Perl_cv_const_sv(pTHX_ const CV *const cv)
255164ba
DM
483 __attribute__warn_unused_result__;
484
485PERL_CALLCONV SV* Perl_op_const_sv(pTHX_ const OP* o, CV* cv)
486 __attribute__warn_unused_result__;
487
488PERL_CALLCONV void Perl_cv_undef(pTHX_ CV* cv)
489 __attribute__nonnull__(pTHX_1);
7918f24d
NC
490#define PERL_ARGS_ASSERT_CV_UNDEF \
491 assert(cv)
255164ba
DM
492
493PERL_CALLCONV void Perl_cx_dump(pTHX_ PERL_CONTEXT* cx)
494 __attribute__nonnull__(pTHX_1);
7918f24d
NC
495#define PERL_ARGS_ASSERT_CX_DUMP \
496 assert(cx)
255164ba 497
1d7c1841 498PERL_CALLCONV SV* Perl_filter_add(pTHX_ filter_t funcp, SV* datasv);
255164ba
DM
499PERL_CALLCONV void Perl_filter_del(pTHX_ filter_t funcp)
500 __attribute__nonnull__(pTHX_1);
7918f24d
NC
501#define PERL_ARGS_ASSERT_FILTER_DEL \
502 assert(funcp)
255164ba 503
4048f010 504PERL_CALLCONV I32 Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen)
255164ba
DM
505 __attribute__warn_unused_result__
506 __attribute__nonnull__(pTHX_2);
7918f24d
NC
507#define PERL_ARGS_ASSERT_FILTER_READ \
508 assert(buf_sv)
255164ba 509
4373e329 510PERL_CALLCONV char** Perl_get_op_descs(pTHX)
abb2c242
JH
511 __attribute__warn_unused_result__
512 __attribute__pure__;
f54cb97a 513
4373e329 514PERL_CALLCONV char** Perl_get_op_names(pTHX)
abb2c242
JH
515 __attribute__warn_unused_result__
516 __attribute__pure__;
f54cb97a 517
4373e329 518PERL_CALLCONV const char* Perl_get_no_modify(pTHX)
abb2c242
JH
519 __attribute__warn_unused_result__
520 __attribute__pure__;
f54cb97a 521
4373e329 522PERL_CALLCONV U32* Perl_get_opargs(pTHX)
abb2c242
JH
523 __attribute__warn_unused_result__
524 __attribute__pure__;
f54cb97a 525
4373e329 526PERL_CALLCONV PPADDR_t* Perl_get_ppaddr(pTHX)
abb2c242
JH
527 __attribute__warn_unused_result__
528 __attribute__pure__;
f54cb97a 529
a3b680e6 530PERL_CALLCONV I32 Perl_cxinc(pTHX)
abb2c242 531 __attribute__warn_unused_result__;
a3b680e6 532
894356b3 533PERL_CALLCONV void Perl_deb(pTHX_ const char* pat, ...)
255164ba
DM
534 __attribute__format__(__printf__,pTHX_1,pTHX_2)
535 __attribute__nonnull__(pTHX_1);
7918f24d
NC
536#define PERL_ARGS_ASSERT_DEB \
537 assert(pat)
255164ba
DM
538
539PERL_CALLCONV void Perl_vdeb(pTHX_ const char* pat, va_list* args)
540 __attribute__nonnull__(pTHX_1);
7918f24d
NC
541#define PERL_ARGS_ASSERT_VDEB \
542 assert(pat)
f54cb97a 543
1d7c1841 544PERL_CALLCONV void Perl_debprofdump(pTHX);
4373e329 545PERL_CALLCONV I32 Perl_debop(pTHX_ const OP* o)
abb2c242 546 __attribute__nonnull__(pTHX_1);
7918f24d
NC
547#define PERL_ARGS_ASSERT_DEBOP \
548 assert(o)
f54cb97a 549
1d7c1841
GS
550PERL_CALLCONV I32 Perl_debstack(pTHX);
551PERL_CALLCONV I32 Perl_debstackptrs(pTHX);
04c9e624
VP
552PERL_CALLCONV char* Perl_delimcpy(char* to, const char* toend, const char* from, const char* fromend, int delim, I32* retlen)
553 __attribute__nonnull__(1)
554 __attribute__nonnull__(2)
555 __attribute__nonnull__(3)
556 __attribute__nonnull__(4)
557 __attribute__nonnull__(6);
7918f24d
NC
558#define PERL_ARGS_ASSERT_DELIMCPY \
559 assert(to); assert(toend); assert(from); assert(fromend); assert(retlen)
f54cb97a 560
edb2152a 561PERL_CALLCONV void Perl_delete_eval_scope(pTHX);
c5df3096
Z
562PERL_CALLCONV OP* Perl_die_sv(pTHX_ SV *baseex)
563 __attribute__nonnull__(pTHX_1);
564#define PERL_ARGS_ASSERT_DIE_SV \
565 assert(baseex)
566
cdfeb707
RB
567PERL_CALLCONV OP* Perl_die(pTHX_ const char* pat, ...)
568 __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
569
62705b21 570PERL_CALLCONV void Perl_die_unwind(pTHX_ SV* msv)
c5df3096
Z
571 __attribute__noreturn__
572 __attribute__nonnull__(pTHX_1);
573#define PERL_ARGS_ASSERT_DIE_UNWIND \
62705b21 574 assert(msv)
bb4c52e0 575
1d7c1841 576PERL_CALLCONV void Perl_dounwind(pTHX_ I32 cxix);
a9f96b3f 577/* PERL_CALLCONV bool Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp)
255164ba 578 __attribute__nonnull__(pTHX_2)
a9f96b3f 579 __attribute__nonnull__(pTHX_3); */
7918f24d
NC
580#define PERL_ARGS_ASSERT_DO_AEXEC \
581 assert(mark); assert(sp)
255164ba 582
5b5cf8d2 583PERL_CALLCONV bool Perl_do_aexec5(pTHX_ SV* really, SV** mark, SV** sp, int fd, int do_report)
255164ba
DM
584 __attribute__nonnull__(pTHX_2)
585 __attribute__nonnull__(pTHX_3);
7918f24d
NC
586#define PERL_ARGS_ASSERT_DO_AEXEC5 \
587 assert(mark); assert(sp)
255164ba 588
4373e329 589PERL_CALLCONV int Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int mode)
abb2c242 590 __attribute__nonnull__(pTHX_1);
7918f24d
NC
591#define PERL_ARGS_ASSERT_DO_BINMODE \
592 assert(fp)
f54cb97a 593
4048f010 594PERL_CALLCONV void Perl_do_chop(pTHX_ SV *astr, SV *sv)
abb2c242
JH
595 __attribute__nonnull__(pTHX_1)
596 __attribute__nonnull__(pTHX_2);
7918f24d
NC
597#define PERL_ARGS_ASSERT_DO_CHOP \
598 assert(astr); assert(sv)
f54cb97a 599
063df69c 600PERL_CALLCONV bool Perl_do_close(pTHX_ GV* gv, bool not_implicit);
4373e329 601PERL_CALLCONV bool Perl_do_eof(pTHX_ GV* gv)
abb2c242 602 __attribute__nonnull__(pTHX_1);
7918f24d
NC
603#define PERL_ARGS_ASSERT_DO_EOF \
604 assert(gv)
f54cb97a 605
8c654ff2
NC
606
607#ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION
9555a685
NC
608/* PERL_CALLCONV bool Perl_do_exec(pTHX_ const char* cmd)
609 __attribute__nonnull__(pTHX_1); */
7918f24d
NC
610#define PERL_ARGS_ASSERT_DO_EXEC \
611 assert(cmd)
f54cb97a 612
8c654ff2
NC
613#else
614PERL_CALLCONV bool Perl_do_exec(pTHX_ const char* cmd)
615 __attribute__nonnull__(pTHX_1);
7918f24d
NC
616#define PERL_ARGS_ASSERT_DO_EXEC \
617 assert(cmd)
8c654ff2
NC
618
619#endif
620
9ec7171b 621#if defined(WIN32) || defined(__SYMBIAN32__) || defined(VMS)
255164ba 622PERL_CALLCONV int Perl_do_aspawn(pTHX_ SV* really, SV** mark, SV** sp)
255164ba
DM
623 __attribute__nonnull__(pTHX_2)
624 __attribute__nonnull__(pTHX_3);
7918f24d 625#define PERL_ARGS_ASSERT_DO_ASPAWN \
a3e405b2 626 assert(mark); assert(sp)
255164ba
DM
627
628PERL_CALLCONV int Perl_do_spawn(pTHX_ char* cmd)
629 __attribute__nonnull__(pTHX_1);
7918f24d
NC
630#define PERL_ARGS_ASSERT_DO_SPAWN \
631 assert(cmd)
255164ba
DM
632
633PERL_CALLCONV int Perl_do_spawn_nowait(pTHX_ char* cmd)
634 __attribute__nonnull__(pTHX_1);
7918f24d
NC
635#define PERL_ARGS_ASSERT_DO_SPAWN_NOWAIT \
636 assert(cmd)
255164ba 637
54725af6 638#endif
864dbfa3 639#if !defined(WIN32)
4048f010 640PERL_CALLCONV bool Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report)
255164ba 641 __attribute__nonnull__(pTHX_1);
7918f24d
NC
642#define PERL_ARGS_ASSERT_DO_EXEC3 \
643 assert(incmd)
255164ba 644
864dbfa3 645#endif
1d7c1841 646PERL_CALLCONV void Perl_do_execfree(pTHX);
43869a0c 647#if defined(PERL_IN_DOIO_C)
b1366aaf
RGS
648STATIC void S_exec_failed(pTHX_ const char *cmd, int fd, int do_report)
649 __attribute__nonnull__(pTHX_1);
7918f24d
NC
650#define PERL_ARGS_ASSERT_EXEC_FAILED \
651 assert(cmd)
b1366aaf 652
a0f2c8ec 653#endif
864dbfa3 654#if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
fb9bf107
NC
655PERL_CALLCONV I32 Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp)
656 __attribute__nonnull__(pTHX_2)
657 __attribute__nonnull__(pTHX_3);
7918f24d
NC
658#define PERL_ARGS_ASSERT_DO_IPCCTL \
659 assert(mark); assert(sp)
fb9bf107
NC
660
661PERL_CALLCONV I32 Perl_do_ipcget(pTHX_ I32 optype, SV** mark, SV** sp)
662 __attribute__nonnull__(pTHX_2)
663 __attribute__nonnull__(pTHX_3);
7918f24d
NC
664#define PERL_ARGS_ASSERT_DO_IPCGET \
665 assert(mark); assert(sp)
fb9bf107
NC
666
667PERL_CALLCONV I32 Perl_do_msgrcv(pTHX_ SV** mark, SV** sp)
668 __attribute__nonnull__(pTHX_1)
669 __attribute__nonnull__(pTHX_2);
7918f24d
NC
670#define PERL_ARGS_ASSERT_DO_MSGRCV \
671 assert(mark); assert(sp)
fb9bf107
NC
672
673PERL_CALLCONV I32 Perl_do_msgsnd(pTHX_ SV** mark, SV** sp)
674 __attribute__nonnull__(pTHX_1)
675 __attribute__nonnull__(pTHX_2);
7918f24d
NC
676#define PERL_ARGS_ASSERT_DO_MSGSND \
677 assert(mark); assert(sp)
fb9bf107
NC
678
679PERL_CALLCONV I32 Perl_do_semop(pTHX_ SV** mark, SV** sp)
680 __attribute__nonnull__(pTHX_1)
681 __attribute__nonnull__(pTHX_2);
7918f24d
NC
682#define PERL_ARGS_ASSERT_DO_SEMOP \
683 assert(mark); assert(sp)
fb9bf107
NC
684
685PERL_CALLCONV I32 Perl_do_shmio(pTHX_ I32 optype, SV** mark, SV** sp)
686 __attribute__nonnull__(pTHX_2)
687 __attribute__nonnull__(pTHX_3);
7918f24d
NC
688#define PERL_ARGS_ASSERT_DO_SHMIO \
689 assert(mark); assert(sp)
fb9bf107 690
0cb96387 691#endif
4048f010 692PERL_CALLCONV void Perl_do_join(pTHX_ SV *sv, SV *delim, SV **mark, SV **sp)
abb2c242
JH
693 __attribute__nonnull__(pTHX_1)
694 __attribute__nonnull__(pTHX_2)
695 __attribute__nonnull__(pTHX_3)
696 __attribute__nonnull__(pTHX_4);
7918f24d
NC
697#define PERL_ARGS_ASSERT_DO_JOIN \
698 assert(sv); assert(delim); assert(mark); assert(sp)
f54cb97a 699
1d7c1841 700PERL_CALLCONV OP* Perl_do_kv(pTHX);
e4dba786 701/* PERL_CALLCONV bool Perl_do_open(pTHX_ GV* gv, const char* name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp)
255164ba 702 __attribute__nonnull__(pTHX_1)
e4dba786 703 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
704#define PERL_ARGS_ASSERT_DO_OPEN \
705 assert(gv); assert(name)
255164ba 706
2fbb330f 707PERL_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)
255164ba
DM
708 __attribute__nonnull__(pTHX_1)
709 __attribute__nonnull__(pTHX_2)
710 __attribute__nonnull__(pTHX_8);
7918f24d
NC
711#define PERL_ARGS_ASSERT_DO_OPEN9 \
712 assert(gv); assert(name); assert(svs)
255164ba 713
4048f010 714PERL_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)
255164ba
DM
715 __attribute__nonnull__(pTHX_1)
716 __attribute__nonnull__(pTHX_2);
7918f24d
NC
717#define PERL_ARGS_ASSERT_DO_OPENN \
718 assert(gv); assert(oname)
255164ba 719
255164ba
DM
720PERL_CALLCONV bool Perl_do_print(pTHX_ SV* sv, PerlIO* fp)
721 __attribute__nonnull__(pTHX_2);
7918f24d
NC
722#define PERL_ARGS_ASSERT_DO_PRINT \
723 assert(fp)
255164ba
DM
724
725PERL_CALLCONV OP* Perl_do_readline(pTHX)
726 __attribute__warn_unused_result__;
727
728PERL_CALLCONV I32 Perl_do_chomp(pTHX_ SV* sv)
729 __attribute__nonnull__(pTHX_1);
7918f24d
NC
730#define PERL_ARGS_ASSERT_DO_CHOMP \
731 assert(sv)
255164ba 732
1d7c1841 733PERL_CALLCONV bool Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence);
255164ba
DM
734PERL_CALLCONV void Perl_do_sprintf(pTHX_ SV* sv, I32 len, SV** sarg)
735 __attribute__nonnull__(pTHX_1)
736 __attribute__nonnull__(pTHX_3);
7918f24d
NC
737#define PERL_ARGS_ASSERT_DO_SPRINTF \
738 assert(sv); assert(sarg)
255164ba
DM
739
740PERL_CALLCONV Off_t Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence)
741 __attribute__nonnull__(pTHX_1);
7918f24d
NC
742#define PERL_ARGS_ASSERT_DO_SYSSEEK \
743 assert(gv)
255164ba
DM
744
745PERL_CALLCONV Off_t Perl_do_tell(pTHX_ GV* gv)
746 __attribute__warn_unused_result__
747 __attribute__nonnull__(pTHX_1);
7918f24d
NC
748#define PERL_ARGS_ASSERT_DO_TELL \
749 assert(gv)
255164ba
DM
750
751PERL_CALLCONV I32 Perl_do_trans(pTHX_ SV* sv)
752 __attribute__nonnull__(pTHX_1);
7918f24d
NC
753#define PERL_ARGS_ASSERT_DO_TRANS \
754 assert(sv)
255164ba 755
4373e329 756PERL_CALLCONV UV Perl_do_vecget(pTHX_ SV* sv, I32 offset, I32 size)
abb2c242 757 __attribute__nonnull__(pTHX_1);
7918f24d
NC
758#define PERL_ARGS_ASSERT_DO_VECGET \
759 assert(sv)
f54cb97a 760
4373e329 761PERL_CALLCONV void Perl_do_vecset(pTHX_ SV* sv)
abb2c242 762 __attribute__nonnull__(pTHX_1);
7918f24d
NC
763#define PERL_ARGS_ASSERT_DO_VECSET \
764 assert(sv)
f54cb97a 765
255164ba
DM
766PERL_CALLCONV void Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right)
767 __attribute__nonnull__(pTHX_2)
768 __attribute__nonnull__(pTHX_3)
769 __attribute__nonnull__(pTHX_4);
7918f24d
NC
770#define PERL_ARGS_ASSERT_DO_VOP \
771 assert(sv); assert(left); assert(right)
255164ba 772
850e8516 773PERL_CALLCONV OP* Perl_dofile(pTHX_ OP* term, I32 force_builtin)
255164ba 774 __attribute__nonnull__(pTHX_1);
7918f24d
NC
775#define PERL_ARGS_ASSERT_DOFILE \
776 assert(term)
255164ba
DM
777
778PERL_CALLCONV I32 Perl_dowantarray(pTHX)
779 __attribute__warn_unused_result__;
780
1d7c1841 781PERL_CALLCONV void Perl_dump_all(pTHX);
f0e3f042 782PERL_CALLCONV void Perl_dump_all_perl(pTHX_ bool justperl);
1d7c1841 783PERL_CALLCONV void Perl_dump_eval(pTHX);
864dbfa3 784#if defined(DUMP_FDS)
9a957fbc
AL
785PERL_CALLCONV void Perl_dump_fds(pTHX_ char* s)
786 __attribute__nonnull__(pTHX_1);
7918f24d
NC
787#define PERL_ARGS_ASSERT_DUMP_FDS \
788 assert(s)
9a957fbc 789
0cb96387 790#endif
9a957fbc
AL
791PERL_CALLCONV void Perl_dump_form(pTHX_ const GV* gv)
792 __attribute__nonnull__(pTHX_1);
7918f24d
NC
793#define PERL_ARGS_ASSERT_DUMP_FORM \
794 assert(gv)
9a957fbc 795
255164ba
DM
796PERL_CALLCONV void Perl_gv_dump(pTHX_ GV* gv)
797 __attribute__nonnull__(pTHX_1);
7918f24d
NC
798#define PERL_ARGS_ASSERT_GV_DUMP \
799 assert(gv)
255164ba 800
4048f010 801PERL_CALLCONV void Perl_op_dump(pTHX_ const OP *o)
255164ba 802 __attribute__nonnull__(pTHX_1);
7918f24d
NC
803#define PERL_ARGS_ASSERT_OP_DUMP \
804 assert(o)
255164ba 805
1d7c1841 806PERL_CALLCONV void Perl_pmop_dump(pTHX_ PMOP* pm);
9a957fbc
AL
807PERL_CALLCONV void Perl_dump_packsubs(pTHX_ const HV* stash)
808 __attribute__nonnull__(pTHX_1);
7918f24d
NC
809#define PERL_ARGS_ASSERT_DUMP_PACKSUBS \
810 assert(stash)
9a957fbc 811
f0e3f042
CS
812PERL_CALLCONV void Perl_dump_packsubs_perl(pTHX_ const HV* stash, bool justperl)
813 __attribute__nonnull__(pTHX_1);
814#define PERL_ARGS_ASSERT_DUMP_PACKSUBS_PERL \
815 assert(stash)
816
f54cb97a 817PERL_CALLCONV void Perl_dump_sub(pTHX_ const GV* gv)
abb2c242 818 __attribute__nonnull__(pTHX_1);
7918f24d
NC
819#define PERL_ARGS_ASSERT_DUMP_SUB \
820 assert(gv)
f54cb97a 821
f0e3f042
CS
822PERL_CALLCONV void Perl_dump_sub_perl(pTHX_ const GV* gv, bool justperl)
823 __attribute__nonnull__(pTHX_1);
824#define PERL_ARGS_ASSERT_DUMP_SUB_PERL \
825 assert(gv)
826
255164ba
DM
827PERL_CALLCONV void Perl_fbm_compile(pTHX_ SV* sv, U32 flags)
828 __attribute__nonnull__(pTHX_1);
7918f24d
NC
829#define PERL_ARGS_ASSERT_FBM_COMPILE \
830 assert(sv)
255164ba 831
9f6cc744 832PERL_CALLCONV char* Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlestr, U32 flags)
255164ba
DM
833 __attribute__warn_unused_result__
834 __attribute__nonnull__(pTHX_1)
835 __attribute__nonnull__(pTHX_2)
836 __attribute__nonnull__(pTHX_3);
7918f24d
NC
837#define PERL_ARGS_ASSERT_FBM_INSTR \
838 assert(big); assert(bigend); assert(littlestr)
255164ba 839
fb9bf107
NC
840PERL_CALLCONV char* Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char *const *const search_ext, I32 flags)
841 __attribute__nonnull__(pTHX_1);
7918f24d
NC
842#define PERL_ARGS_ASSERT_FIND_SCRIPT \
843 assert(scriptname)
fb9bf107 844
43869a0c 845#if defined(PERL_IN_OP_C)
b7783a12
NC
846STATIC OP* S_force_list(pTHX_ OP* arg);
847STATIC OP* S_fold_constants(pTHX_ OP *o)
abb2c242 848 __attribute__nonnull__(pTHX_1);
7918f24d
NC
849#define PERL_ARGS_ASSERT_FOLD_CONSTANTS \
850 assert(o)
f54cb97a 851
b7783a12 852#endif
894356b3 853PERL_CALLCONV char* Perl_form(pTHX_ const char* pat, ...)
aec46f14
AL
854 __attribute__format__(__printf__,pTHX_1,pTHX_2)
855 __attribute__nonnull__(pTHX_1);
7918f24d
NC
856#define PERL_ARGS_ASSERT_FORM \
857 assert(pat)
aec46f14
AL
858
859PERL_CALLCONV char* Perl_vform(pTHX_ const char* pat, va_list* args)
860 __attribute__nonnull__(pTHX_1);
7918f24d
NC
861#define PERL_ARGS_ASSERT_VFORM \
862 assert(pat)
f54cb97a 863
1d7c1841 864PERL_CALLCONV void Perl_free_tmps(pTHX);
43869a0c 865#if defined(PERL_IN_OP_C)
b7783a12 866STATIC OP* S_gen_constant_list(pTHX_ OP* o);
0da8eb3a 867#endif
864dbfa3 868#if !defined(HAS_GETENV_LEN)
9f6cc744 869PERL_CALLCONV char* Perl_getenv_len(pTHX_ const char *env_elem, unsigned long *len)
8772537c
AL
870 __attribute__nonnull__(pTHX_1)
871 __attribute__nonnull__(pTHX_2);
7918f24d
NC
872#define PERL_ARGS_ASSERT_GETENV_LEN \
873 assert(env_elem); assert(len)
8772537c 874
0cb96387 875#endif
005a8a35
NC
876PERL_CALLCONV void Perl_get_db_sub(pTHX_ SV **svp, CV *cv)
877 __attribute__nonnull__(pTHX_2);
7918f24d
NC
878#define PERL_ARGS_ASSERT_GET_DB_SUB \
879 assert(cv)
005a8a35 880
1d7c1841
GS
881PERL_CALLCONV void Perl_gp_free(pTHX_ GV* gv);
882PERL_CALLCONV GP* Perl_gp_ref(pTHX_ GP* gp);
bb85b28a
NC
883PERL_CALLCONV GV* Perl_gv_add_by_type(pTHX_ GV *gv, svtype type);
884/* PERL_CALLCONV GV* Perl_gv_AVadd(pTHX_ GV *gv); */
885/* PERL_CALLCONV GV* Perl_gv_HVadd(pTHX_ GV *gv); */
886/* PERL_CALLCONV GV* Perl_gv_IOadd(pTHX_ GV* gv); */
a28509cc
AL
887PERL_CALLCONV GV* Perl_gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method)
888 __attribute__warn_unused_result__
889 __attribute__nonnull__(pTHX_2);
7918f24d
NC
890#define PERL_ARGS_ASSERT_GV_AUTOLOAD4 \
891 assert(name)
a28509cc 892
1146e912 893PERL_CALLCONV void Perl_gv_check(pTHX_ const HV* stash)
46c461b5 894 __attribute__nonnull__(pTHX_1);
7918f24d
NC
895#define PERL_ARGS_ASSERT_GV_CHECK \
896 assert(stash)
46c461b5
AL
897
898PERL_CALLCONV void Perl_gv_efullname(pTHX_ SV* sv, const GV* gv)
899 __attribute__nonnull__(pTHX_1)
900 __attribute__nonnull__(pTHX_2);
7918f24d
NC
901#define PERL_ARGS_ASSERT_GV_EFULLNAME \
902 assert(sv); assert(gv)
46c461b5
AL
903
904/* PERL_CALLCONV void Perl_gv_efullname3(pTHX_ SV* sv, const GV* gv, const char* prefix)
905 __attribute__nonnull__(pTHX_1)
906 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
907#define PERL_ARGS_ASSERT_GV_EFULLNAME3 \
908 assert(sv); assert(gv)
46c461b5
AL
909
910PERL_CALLCONV void Perl_gv_efullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain)
911 __attribute__nonnull__(pTHX_1)
912 __attribute__nonnull__(pTHX_2);
7918f24d
NC
913#define PERL_ARGS_ASSERT_GV_EFULLNAME4 \
914 assert(sv); assert(gv)
46c461b5 915
53c1dcc0
AL
916PERL_CALLCONV GV* Perl_gv_fetchfile(pTHX_ const char* name)
917 __attribute__nonnull__(pTHX_1);
7918f24d
NC
918#define PERL_ARGS_ASSERT_GV_FETCHFILE \
919 assert(name)
53c1dcc0 920
d9095cec
NC
921PERL_CALLCONV GV* Perl_gv_fetchfile_flags(pTHX_ const char *const name, const STRLEN len, const U32 flags)
922 __attribute__nonnull__(pTHX_1);
7918f24d
NC
923#define PERL_ARGS_ASSERT_GV_FETCHFILE_FLAGS \
924 assert(name)
d9095cec 925
fb9bf107
NC
926PERL_CALLCONV GV* Perl_gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level)
927 __attribute__nonnull__(pTHX_2);
7918f24d
NC
928#define PERL_ARGS_ASSERT_GV_FETCHMETH \
929 assert(name)
fb9bf107
NC
930
931PERL_CALLCONV GV* Perl_gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level)
932 __attribute__nonnull__(pTHX_2);
7918f24d
NC
933#define PERL_ARGS_ASSERT_GV_FETCHMETH_AUTOLOAD \
934 assert(name)
fb9bf107 935
887986eb 936/* PERL_CALLCONV GV* Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name)
eff494dd 937 __attribute__nonnull__(pTHX_1)
887986eb 938 __attribute__nonnull__(pTHX_2); */
7918f24d 939#define PERL_ARGS_ASSERT_GV_FETCHMETHOD \
eff494dd 940 assert(stash); assert(name)
fb9bf107
NC
941
942PERL_CALLCONV GV* Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload)
eff494dd 943 __attribute__nonnull__(pTHX_1)
fb9bf107 944 __attribute__nonnull__(pTHX_2);
7918f24d 945#define PERL_ARGS_ASSERT_GV_FETCHMETHOD_AUTOLOAD \
eff494dd 946 assert(stash); assert(name)
fb9bf107 947
256d1bb2 948PERL_CALLCONV GV* Perl_gv_fetchmethod_flags(pTHX_ HV* stash, const char* name, U32 flags)
eff494dd 949 __attribute__nonnull__(pTHX_1)
256d1bb2
NC
950 __attribute__nonnull__(pTHX_2);
951#define PERL_ARGS_ASSERT_GV_FETCHMETHOD_FLAGS \
eff494dd 952 assert(stash); assert(name)
256d1bb2 953
fe9845cc 954PERL_CALLCONV GV* Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 add, const svtype sv_type)
9a957fbc 955 __attribute__nonnull__(pTHX_1);
7918f24d
NC
956#define PERL_ARGS_ASSERT_GV_FETCHPV \
957 assert(nambeg)
9a957fbc
AL
958
959PERL_CALLCONV void Perl_gv_fullname(pTHX_ SV* sv, const GV* gv)
960 __attribute__nonnull__(pTHX_1)
961 __attribute__nonnull__(pTHX_2);
7918f24d
NC
962#define PERL_ARGS_ASSERT_GV_FULLNAME \
963 assert(sv); assert(gv)
9a957fbc
AL
964
965/* PERL_CALLCONV void Perl_gv_fullname3(pTHX_ SV* sv, const GV* gv, const char* prefix)
966 __attribute__nonnull__(pTHX_1)
967 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
968#define PERL_ARGS_ASSERT_GV_FULLNAME3 \
969 assert(sv); assert(gv)
9a957fbc
AL
970
971PERL_CALLCONV void Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain)
972 __attribute__nonnull__(pTHX_1)
973 __attribute__nonnull__(pTHX_2);
7918f24d
NC
974#define PERL_ARGS_ASSERT_GV_FULLNAME4 \
975 assert(sv); assert(gv)
9a957fbc 976
12816592
NC
977PERL_CALLCONV GP * Perl_newGP(pTHX_ GV *const gv)
978 __attribute__nonnull__(pTHX_1);
7918f24d
NC
979#define PERL_ARGS_ASSERT_NEWGP \
980 assert(gv)
12816592 981
803f2748
DM
982PERL_CALLCONV void Perl_cvgv_set(pTHX_ CV* cv, GV* gv)
983 __attribute__nonnull__(pTHX_1);
984#define PERL_ARGS_ASSERT_CVGV_SET \
985 assert(cv)
986
53c1dcc0
AL
987PERL_CALLCONV void Perl_gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi)
988 __attribute__nonnull__(pTHX_1)
53c1dcc0 989 __attribute__nonnull__(pTHX_3);
7918f24d
NC
990#define PERL_ARGS_ASSERT_GV_INIT \
991 assert(gv); assert(name)
53c1dcc0 992
f5c1e807 993PERL_CALLCONV void Perl_gv_name_set(pTHX_ GV* gv, const char *name, U32 len, U32 flags)
9f616d01
MHM
994 __attribute__nonnull__(pTHX_1)
995 __attribute__nonnull__(pTHX_2);
7918f24d
NC
996#define PERL_ARGS_ASSERT_GV_NAME_SET \
997 assert(gv); assert(name)
f5c1e807 998
f7461760
Z
999PERL_CALLCONV void Perl_gv_try_downgrade(pTHX_ GV* gv)
1000 __attribute__nonnull__(pTHX_1);
1001#define PERL_ARGS_ASSERT_GV_TRY_DOWNGRADE \
1002 assert(gv)
1003
da51bb9b 1004PERL_CALLCONV HV* Perl_gv_stashpv(pTHX_ const char* name, I32 flags)
aa924a5a 1005 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1006#define PERL_ARGS_ASSERT_GV_STASHPV \
1007 assert(name)
aa924a5a 1008
da51bb9b 1009PERL_CALLCONV HV* Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 flags)
aa924a5a 1010 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1011#define PERL_ARGS_ASSERT_GV_STASHPVN \
1012 assert(name)
aa924a5a 1013
8798655d
NC
1014PERL_CALLCONV HV* Perl_gv_stashsv(pTHX_ SV* sv, I32 flags)
1015 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1016#define PERL_ARGS_ASSERT_GV_STASHSV \
1017 assert(sv)
8798655d 1018
4048f010 1019PERL_CALLCONV void Perl_hv_clear(pTHX_ HV *hv);
3d4dd4c7 1020PERL_CALLCONV HV * Perl_hv_copy_hints_hv(pTHX_ HV *const ohv);
4048f010 1021PERL_CALLCONV void Perl_hv_delayfree_ent(pTHX_ HV *hv, HE *entry)
aa924a5a 1022 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1023#define PERL_ARGS_ASSERT_HV_DELAYFREE_ENT \
1024 assert(hv)
aa924a5a 1025
4048f010 1026/* PERL_CALLCONV SV* Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen, I32 flags)
a038e571 1027 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
1028#define PERL_ARGS_ASSERT_HV_DELETE \
1029 assert(key)
aa924a5a 1030
4048f010 1031/* PERL_CALLCONV SV* Perl_hv_delete_ent(pTHX_ HV *hv, SV *keysv, I32 flags, U32 hash)
4c2df08c 1032 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
1033#define PERL_ARGS_ASSERT_HV_DELETE_ENT \
1034 assert(keysv)
aa924a5a 1035
4048f010 1036/* PERL_CALLCONV bool Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen)
aa924a5a 1037 __attribute__warn_unused_result__
a038e571 1038 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
1039#define PERL_ARGS_ASSERT_HV_EXISTS \
1040 assert(key)
901017d6 1041
4048f010 1042/* PERL_CALLCONV bool Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash)
aa924a5a 1043 __attribute__warn_unused_result__
4c2df08c 1044 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
1045#define PERL_ARGS_ASSERT_HV_EXISTS_ENT \
1046 assert(keysv)
aa924a5a 1047
4048f010 1048/* PERL_CALLCONV SV** Perl_hv_fetch(pTHX_ HV *hv, const char *key, I32 klen, I32 lval)
a038e571 1049 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
1050#define PERL_ARGS_ASSERT_HV_FETCH \
1051 assert(key)
901017d6 1052
4048f010 1053/* PERL_CALLCONV HE* Perl_hv_fetch_ent(pTHX_ HV *hv, SV *keysv, I32 lval, U32 hash)
4c2df08c 1054 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
1055#define PERL_ARGS_ASSERT_HV_FETCH_ENT \
1056 assert(keysv)
aa924a5a 1057
4048f010 1058PERL_CALLCONV void* Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char* key, STRLEN klen, int flags, int action, SV *val, U32 hash);
a038e571
NC
1059PERL_CALLCONV void* Perl_hv_common_key_len(pTHX_ HV *hv, const char *key, I32 klen_i32, const int action, SV *val, const U32 hash)
1060 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1061#define PERL_ARGS_ASSERT_HV_COMMON_KEY_LEN \
1062 assert(key)
a038e571 1063
4d0fbddd
NC
1064PERL_CALLCONV STRLEN Perl_hv_fill(pTHX_ HV const *const hv)
1065 __attribute__nonnull__(pTHX_1);
1066#define PERL_ARGS_ASSERT_HV_FILL \
1067 assert(hv)
1068
4048f010 1069PERL_CALLCONV void Perl_hv_free_ent(pTHX_ HV *hv, HE *entryK)
abb2c242 1070 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1071#define PERL_ARGS_ASSERT_HV_FREE_ENT \
1072 assert(hv)
a3b680e6 1073
4048f010 1074PERL_CALLCONV I32 Perl_hv_iterinit(pTHX_ HV *hv)
abb2c242 1075 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1076#define PERL_ARGS_ASSERT_HV_ITERINIT \
1077 assert(hv)
a3b680e6
AL
1078
1079PERL_CALLCONV char* Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen)
abb2c242
JH
1080 __attribute__warn_unused_result__
1081 __attribute__nonnull__(pTHX_1)
1082 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1083#define PERL_ARGS_ASSERT_HV_ITERKEY \
1084 assert(entry); assert(retlen)
a3b680e6
AL
1085
1086PERL_CALLCONV SV* Perl_hv_iterkeysv(pTHX_ HE* entry)
abb2c242
JH
1087 __attribute__warn_unused_result__
1088 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1089#define PERL_ARGS_ASSERT_HV_ITERKEYSV \
1090 assert(entry)
a3b680e6 1091
4048f010 1092/* PERL_CALLCONV HE* Perl_hv_iternext(pTHX_ HV *hv)
abb2c242 1093 __attribute__warn_unused_result__
7a7b9979 1094 __attribute__nonnull__(pTHX_1); */
7918f24d
NC
1095#define PERL_ARGS_ASSERT_HV_ITERNEXT \
1096 assert(hv)
a3b680e6 1097
4048f010 1098PERL_CALLCONV SV* Perl_hv_iternextsv(pTHX_ HV *hv, char **key, I32 *retlen)
abb2c242
JH
1099 __attribute__warn_unused_result__
1100 __attribute__nonnull__(pTHX_1)
1101 __attribute__nonnull__(pTHX_2)
1102 __attribute__nonnull__(pTHX_3);
7918f24d
NC
1103#define PERL_ARGS_ASSERT_HV_ITERNEXTSV \
1104 assert(hv); assert(key); assert(retlen)
a3b680e6 1105
4048f010 1106PERL_CALLCONV HE* Perl_hv_iternext_flags(pTHX_ HV *hv, I32 flags)
abb2c242
JH
1107 __attribute__warn_unused_result__
1108 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1109#define PERL_ARGS_ASSERT_HV_ITERNEXT_FLAGS \
1110 assert(hv)
a3b680e6 1111
4048f010 1112PERL_CALLCONV SV* Perl_hv_iterval(pTHX_ HV *hv, HE *entry)
abb2c242
JH
1113 __attribute__warn_unused_result__
1114 __attribute__nonnull__(pTHX_1)
1115 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1116#define PERL_ARGS_ASSERT_HV_ITERVAL \
1117 assert(hv); assert(entry)
a3b680e6 1118
4048f010 1119PERL_CALLCONV void Perl_hv_ksplit(pTHX_ HV *hv, IV newmax)
abb2c242 1120 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1121#define PERL_ARGS_ASSERT_HV_KSPLIT \
1122 assert(hv)
a3b680e6 1123
4048f010 1124/* PERL_CALLCONV void Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how)
bc5cdc23 1125 __attribute__nonnull__(pTHX_1); */
7918f24d
NC
1126#define PERL_ARGS_ASSERT_HV_MAGIC \
1127 assert(hv)
fb9bf107 1128
b3ca2e83 1129PERL_CALLCONV HV * Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c);
18759386 1130PERL_CALLCONV SV * Perl_refcounted_he_fetch(pTHX_ const struct refcounted_he *chain, SV *keysv, const char *key, STRLEN klen, int flags, U32 hash);
b3ca2e83 1131PERL_CALLCONV void Perl_refcounted_he_free(pTHX_ struct refcounted_he *he);
b46c265e 1132PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_new(pTHX_ struct refcounted_he *const parent, SV *const key, SV *const value);
43869a0c 1133#if defined(PERL_IN_HV_C)
012da8e5
NC
1134STATIC struct refcounted_he * S_refcounted_he_new_common(pTHX_ struct refcounted_he *const parent, const char *const key_p, const STRLEN key_len, const char flags, char value_type, const void *value, const STRLEN value_len)
1135 __attribute__nonnull__(pTHX_2)
1136 __attribute__nonnull__(pTHX_6);
1137#define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_COMMON \
1138 assert(key_p); assert(value)
1139
1140#endif
4048f010
NC
1141/* PERL_CALLCONV SV** Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash); */
1142/* PERL_CALLCONV HE* Perl_hv_store_ent(pTHX_ HV *hv, SV *key, SV *val, U32 hash); */
1143/* PERL_CALLCONV SV** Perl_hv_store_flags(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash, int flags); */
1144PERL_CALLCONV void Perl_hv_undef(pTHX_ HV *hv);
e6226b18
KW
1145/* PERL_CALLCONV I32 ibcmp(pTHX_ const char* a, const char* b, I32 len)
1146 __attribute__nonnull__(pTHX_1)
1147 __attribute__nonnull__(pTHX_2); */
1148
1149PERL_CALLCONV I32 Perl_foldEQ(const char* a, const char* b, I32 len)
abb2c242 1150 __attribute__pure__
04c9e624
VP
1151 __attribute__nonnull__(1)
1152 __attribute__nonnull__(2);
e6226b18 1153#define PERL_ARGS_ASSERT_FOLDEQ \
7918f24d 1154 assert(a); assert(b)
f54cb97a 1155
e6226b18
KW
1156/* PERL_CALLCONV I32 ibcmp_locale(pTHX_ const char* a, const char* b, I32 len)
1157 __attribute__nonnull__(pTHX_1)
1158 __attribute__nonnull__(pTHX_2); */
1159
1160PERL_CALLCONV I32 Perl_foldEQ_locale(const char* a, const char* b, I32 len)
abb2c242 1161 __attribute__pure__
04c9e624
VP
1162 __attribute__nonnull__(1)
1163 __attribute__nonnull__(2);
e6226b18 1164#define PERL_ARGS_ASSERT_FOLDEQ_LOCALE \
7918f24d 1165 assert(a); assert(b)
f54cb97a 1166
e6226b18
KW
1167/* PERL_CALLCONV I32 ibcmp_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2)
1168 __attribute__nonnull__(pTHX_1)
1169 __attribute__nonnull__(pTHX_5); */
1170
1171PERL_CALLCONV I32 Perl_foldEQ_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2)
abb2c242
JH
1172 __attribute__nonnull__(pTHX_1)
1173 __attribute__nonnull__(pTHX_5);
e6226b18 1174#define PERL_ARGS_ASSERT_FOLDEQ_UTF8 \
7918f24d 1175 assert(s1); assert(s2)
f54cb97a 1176
43869a0c 1177#if defined(PERL_IN_DOIO_C)
0da8eb3a 1178STATIC bool S_ingroup(pTHX_ Gid_t testgid, bool effective)
abb2c242 1179 __attribute__warn_unused_result__;
f54cb97a 1180
0da8eb3a 1181#endif
4373e329 1182PERL_CALLCONV void Perl_init_argv_symbols(pTHX_ int argc, char **argv)
abb2c242 1183 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1184#define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS \
1185 assert(argv)
f54cb97a 1186
8af6f985 1187PERL_CALLCONV void Perl_init_dbargs(pTHX);
1d7c1841
GS
1188PERL_CALLCONV void Perl_init_debugger(pTHX);
1189PERL_CALLCONV void Perl_init_stacks(pTHX);
bfce84ec
AL
1190PERL_CALLCONV void Perl_init_tm(pTHX_ struct tm *ptm)
1191 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1192#define PERL_ARGS_ASSERT_INIT_TM \
1193 assert(ptm)
bfce84ec 1194
1d7c1841 1195PERL_CALLCONV U32 Perl_intro_my(pTHX);
04c9e624 1196PERL_CALLCONV char* Perl_instr(const char* big, const char* little)
b464bac0 1197 __attribute__warn_unused_result__
abb2c242 1198 __attribute__pure__
04c9e624
VP
1199 __attribute__nonnull__(1)
1200 __attribute__nonnull__(2);
7918f24d
NC
1201#define PERL_ARGS_ASSERT_INSTR \
1202 assert(big); assert(little)
f54cb97a 1203
b464bac0 1204PERL_CALLCONV bool Perl_io_close(pTHX_ IO* io, bool not_implicit)
b464bac0 1205 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1206#define PERL_ARGS_ASSERT_IO_CLOSE \
1207 assert(io)
b464bac0
AL
1208
1209PERL_CALLCONV OP* Perl_invert(pTHX_ OP* cmd)
1210 __attribute__warn_unused_result__;
1211
f54cb97a 1212PERL_CALLCONV I32 Perl_is_lvalue_sub(pTHX)
abb2c242 1213 __attribute__warn_unused_result__;
f54cb97a
AL
1214
1215PERL_CALLCONV U32 Perl_to_uni_upper_lc(pTHX_ U32 c)
abb2c242
JH
1216 __attribute__warn_unused_result__
1217 __attribute__pure__;
f54cb97a
AL
1218
1219PERL_CALLCONV U32 Perl_to_uni_title_lc(pTHX_ U32 c)
abb2c242
JH
1220 __attribute__warn_unused_result__
1221 __attribute__pure__;
f54cb97a
AL
1222
1223PERL_CALLCONV U32 Perl_to_uni_lower_lc(pTHX_ U32 c)
abb2c242
JH
1224 __attribute__warn_unused_result__
1225 __attribute__pure__;
f54cb97a
AL
1226
1227PERL_CALLCONV bool Perl_is_uni_alnum(pTHX_ UV c)
abb2c242
JH
1228 __attribute__warn_unused_result__
1229 __attribute__pure__;
f54cb97a 1230
f54cb97a 1231PERL_CALLCONV bool Perl_is_uni_idfirst(pTHX_ UV c)
abb2c242
JH
1232 __attribute__warn_unused_result__
1233 __attribute__pure__;
f54cb97a
AL
1234
1235PERL_CALLCONV bool Perl_is_uni_alpha(pTHX_ UV c)
abb2c242
JH
1236 __attribute__warn_unused_result__
1237 __attribute__pure__;
f54cb97a
AL
1238
1239PERL_CALLCONV bool Perl_is_uni_ascii(pTHX_ UV c)
abb2c242
JH
1240 __attribute__warn_unused_result__
1241 __attribute__pure__;
f54cb97a
AL
1242
1243PERL_CALLCONV bool Perl_is_uni_space(pTHX_ UV c)
abb2c242
JH
1244 __attribute__warn_unused_result__
1245 __attribute__pure__;
f54cb97a
AL
1246
1247PERL_CALLCONV bool Perl_is_uni_cntrl(pTHX_ UV c)
abb2c242
JH
1248 __attribute__warn_unused_result__
1249 __attribute__pure__;
f54cb97a
AL
1250
1251PERL_CALLCONV bool Perl_is_uni_graph(pTHX_ UV c)
abb2c242
JH
1252 __attribute__warn_unused_result__
1253 __attribute__pure__;
f54cb97a
AL
1254
1255PERL_CALLCONV bool Perl_is_uni_digit(pTHX_ UV c)
abb2c242
JH
1256 __attribute__warn_unused_result__
1257 __attribute__pure__;
f54cb97a
AL
1258
1259PERL_CALLCONV bool Perl_is_uni_upper(pTHX_ UV c)
abb2c242
JH
1260 __attribute__warn_unused_result__
1261 __attribute__pure__;
f54cb97a
AL
1262
1263PERL_CALLCONV bool Perl_is_uni_lower(pTHX_ UV c)
abb2c242
JH
1264 __attribute__warn_unused_result__
1265 __attribute__pure__;
f54cb97a
AL
1266
1267PERL_CALLCONV bool Perl_is_uni_print(pTHX_ UV c)
abb2c242
JH
1268 __attribute__warn_unused_result__
1269 __attribute__pure__;
f54cb97a
AL
1270
1271PERL_CALLCONV bool Perl_is_uni_punct(pTHX_ UV c)
abb2c242
JH
1272 __attribute__warn_unused_result__
1273 __attribute__pure__;
f54cb97a
AL
1274
1275PERL_CALLCONV bool Perl_is_uni_xdigit(pTHX_ UV c)
abb2c242
JH
1276 __attribute__warn_unused_result__
1277 __attribute__pure__;
f54cb97a 1278
4373e329 1279PERL_CALLCONV UV Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp)
abb2c242
JH
1280 __attribute__nonnull__(pTHX_2)
1281 __attribute__nonnull__(pTHX_3);
7918f24d
NC
1282#define PERL_ARGS_ASSERT_TO_UNI_UPPER \
1283 assert(p); assert(lenp)
f54cb97a 1284
4373e329 1285PERL_CALLCONV UV Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp)
abb2c242
JH
1286 __attribute__nonnull__(pTHX_2)
1287 __attribute__nonnull__(pTHX_3);
7918f24d
NC
1288#define PERL_ARGS_ASSERT_TO_UNI_TITLE \
1289 assert(p); assert(lenp)
f54cb97a 1290
4373e329 1291PERL_CALLCONV UV Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp)
abb2c242
JH
1292 __attribute__nonnull__(pTHX_2)
1293 __attribute__nonnull__(pTHX_3);
7918f24d
NC
1294#define PERL_ARGS_ASSERT_TO_UNI_LOWER \
1295 assert(p); assert(lenp)
f54cb97a 1296
4373e329 1297PERL_CALLCONV UV Perl_to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp)
abb2c242
JH
1298 __attribute__nonnull__(pTHX_2)
1299 __attribute__nonnull__(pTHX_3);
7918f24d
NC
1300#define PERL_ARGS_ASSERT_TO_UNI_FOLD \
1301 assert(p); assert(lenp)
f54cb97a
AL
1302
1303PERL_CALLCONV bool Perl_is_uni_alnum_lc(pTHX_ UV c)
abb2c242
JH
1304 __attribute__warn_unused_result__
1305 __attribute__pure__;
f54cb97a 1306
f54cb97a 1307PERL_CALLCONV bool Perl_is_uni_idfirst_lc(pTHX_ UV c)
abb2c242
JH
1308 __attribute__warn_unused_result__
1309 __attribute__pure__;
f54cb97a
AL
1310
1311PERL_CALLCONV bool Perl_is_uni_alpha_lc(pTHX_ UV c)
abb2c242
JH
1312 __attribute__warn_unused_result__
1313 __attribute__pure__;
f54cb97a
AL
1314
1315PERL_CALLCONV bool Perl_is_uni_ascii_lc(pTHX_ UV c)
abb2c242
JH
1316 __attribute__warn_unused_result__
1317 __attribute__pure__;
f54cb97a
AL
1318
1319PERL_CALLCONV bool Perl_is_uni_space_lc(pTHX_ UV c)
abb2c242
JH
1320 __attribute__warn_unused_result__
1321 __attribute__pure__;
f54cb97a
AL
1322
1323PERL_CALLCONV bool Perl_is_uni_cntrl_lc(pTHX_ UV c)
abb2c242
JH
1324 __attribute__warn_unused_result__
1325 __attribute__pure__;
f54cb97a
AL
1326
1327PERL_CALLCONV bool Perl_is_uni_graph_lc(pTHX_ UV c)
abb2c242
JH
1328 __attribute__warn_unused_result__
1329 __attribute__pure__;
f54cb97a
AL
1330
1331PERL_CALLCONV bool Perl_is_uni_digit_lc(pTHX_ UV c)
abb2c242
JH
1332 __attribute__warn_unused_result__
1333 __attribute__pure__;
f54cb97a
AL
1334
1335PERL_CALLCONV bool Perl_is_uni_upper_lc(pTHX_ UV c)
abb2c242
JH
1336 __attribute__warn_unused_result__
1337 __attribute__pure__;
f54cb97a
AL
1338
1339PERL_CALLCONV bool Perl_is_uni_lower_lc(pTHX_ UV c)
abb2c242
JH
1340 __attribute__warn_unused_result__
1341 __attribute__pure__;
f54cb97a
AL
1342
1343PERL_CALLCONV bool Perl_is_uni_print_lc(pTHX_ UV c)
abb2c242
JH
1344 __attribute__warn_unused_result__
1345 __attribute__pure__;
f54cb97a
AL
1346
1347PERL_CALLCONV bool Perl_is_uni_punct_lc(pTHX_ UV c)
abb2c242
JH
1348 __attribute__warn_unused_result__
1349 __attribute__pure__;
f54cb97a
AL
1350
1351PERL_CALLCONV bool Perl_is_uni_xdigit_lc(pTHX_ UV c)
abb2c242
JH
1352 __attribute__warn_unused_result__
1353 __attribute__pure__;
f54cb97a 1354
668b6d8d
VP
1355PERL_CALLCONV bool Perl_is_ascii_string(const U8 *s, STRLEN len)
1356 __attribute__nonnull__(1);
eaf7a4d2
CS
1357#define PERL_ARGS_ASSERT_IS_ASCII_STRING \
1358 assert(s)
1359
668b6d8d
VP
1360PERL_CALLCONV STRLEN Perl_is_utf8_char(const U8 *s)
1361 __attribute__nonnull__(1);
7918f24d
NC
1362#define PERL_ARGS_ASSERT_IS_UTF8_CHAR \
1363 assert(s)
f54cb97a 1364
668b6d8d
VP
1365PERL_CALLCONV bool Perl_is_utf8_string(const U8 *s, STRLEN len)
1366 __attribute__nonnull__(1);
7918f24d
NC
1367#define PERL_ARGS_ASSERT_IS_UTF8_STRING \
1368 assert(s)
f54cb97a 1369
668b6d8d
VP
1370/* PERL_CALLCONV bool Perl_is_utf8_string_loc(const U8 *s, STRLEN len, const U8 **p)
1371 __attribute__nonnull__(1); */
7918f24d
NC
1372#define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC \
1373 assert(s)
768c67ee 1374
668b6d8d
VP
1375PERL_CALLCONV bool Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el)
1376 __attribute__nonnull__(1);
7918f24d
NC
1377#define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN \
1378 assert(s)
f54cb97a 1379
4373e329 1380PERL_CALLCONV bool Perl_is_utf8_alnum(pTHX_ const U8 *p)
1df70142 1381 __attribute__warn_unused_result__
abb2c242 1382 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1383#define PERL_ARGS_ASSERT_IS_UTF8_ALNUM \
1384 assert(p)
f54cb97a 1385
4373e329 1386PERL_CALLCONV bool Perl_is_utf8_idfirst(pTHX_ const U8 *p)
1df70142 1387 __attribute__warn_unused_result__
abb2c242 1388 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1389#define PERL_ARGS_ASSERT_IS_UTF8_IDFIRST \
1390 assert(p)
f54cb97a 1391
4373e329 1392PERL_CALLCONV bool Perl_is_utf8_idcont(pTHX_ const U8 *p)
1df70142 1393 __attribute__warn_unused_result__
abb2c242 1394 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1395#define PERL_ARGS_ASSERT_IS_UTF8_IDCONT \
1396 assert(p)
f54cb97a 1397
4373e329 1398PERL_CALLCONV bool Perl_is_utf8_alpha(pTHX_ const U8 *p)
1df70142 1399 __attribute__warn_unused_result__
abb2c242 1400 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1401#define PERL_ARGS_ASSERT_IS_UTF8_ALPHA \
1402 assert(p)
f54cb97a 1403
4373e329 1404PERL_CALLCONV bool Perl_is_utf8_ascii(pTHX_ const U8 *p)
1df70142 1405 __attribute__warn_unused_result__
abb2c242 1406 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1407#define PERL_ARGS_ASSERT_IS_UTF8_ASCII \
1408 assert(p)
f54cb97a 1409
4373e329 1410PERL_CALLCONV bool Perl_is_utf8_space(pTHX_ const U8 *p)
1df70142 1411 __attribute__warn_unused_result__
abb2c242 1412 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1413#define PERL_ARGS_ASSERT_IS_UTF8_SPACE \
1414 assert(p)
f54cb97a 1415
d1eb3177
YO
1416PERL_CALLCONV bool Perl_is_utf8_perl_space(pTHX_ const U8 *p)
1417 __attribute__warn_unused_result__
1418 __attribute__nonnull__(pTHX_1);
1419#define PERL_ARGS_ASSERT_IS_UTF8_PERL_SPACE \
1420 assert(p)
1421
1422PERL_CALLCONV bool Perl_is_utf8_perl_word(pTHX_ const U8 *p)
1423 __attribute__warn_unused_result__
1424 __attribute__nonnull__(pTHX_1);
1425#define PERL_ARGS_ASSERT_IS_UTF8_PERL_WORD \
1426 assert(p)
1427
4373e329 1428PERL_CALLCONV bool Perl_is_utf8_cntrl(pTHX_ const U8 *p)
1df70142 1429 __attribute__warn_unused_result__
abb2c242 1430 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1431#define PERL_ARGS_ASSERT_IS_UTF8_CNTRL \
1432 assert(p)
f54cb97a 1433
4373e329 1434PERL_CALLCONV bool Perl_is_utf8_digit(pTHX_ const U8 *p)
1df70142 1435 __attribute__warn_unused_result__
abb2c242 1436 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1437#define PERL_ARGS_ASSERT_IS_UTF8_DIGIT \
1438 assert(p)
f54cb97a 1439
d1eb3177
YO
1440PERL_CALLCONV bool Perl_is_utf8_posix_digit(pTHX_ const U8 *p)
1441 __attribute__warn_unused_result__
1442 __attribute__nonnull__(pTHX_1);
1443#define PERL_ARGS_ASSERT_IS_UTF8_POSIX_DIGIT \
1444 assert(p)
1445
4373e329 1446PERL_CALLCONV bool Perl_is_utf8_graph(pTHX_ const U8 *p)
1df70142 1447 __attribute__warn_unused_result__
abb2c242 1448 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1449#define PERL_ARGS_ASSERT_IS_UTF8_GRAPH \
1450 assert(p)
f54cb97a 1451
4373e329 1452PERL_CALLCONV bool Perl_is_utf8_upper(pTHX_ const U8 *p)
1df70142 1453 __attribute__warn_unused_result__
abb2c242 1454 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1455#define PERL_ARGS_ASSERT_IS_UTF8_UPPER \
1456 assert(p)
f54cb97a 1457
4373e329 1458PERL_CALLCONV bool Perl_is_utf8_lower(pTHX_ const U8 *p)
1df70142 1459 __attribute__warn_unused_result__
abb2c242 1460 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1461#define PERL_ARGS_ASSERT_IS_UTF8_LOWER \
1462 assert(p)
f54cb97a 1463
4373e329 1464PERL_CALLCONV bool Perl_is_utf8_print(pTHX_ const U8 *p)
1df70142 1465 __attribute__warn_unused_result__
abb2c242 1466 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1467#define PERL_ARGS_ASSERT_IS_UTF8_PRINT \
1468 assert(p)
f54cb97a 1469
4373e329 1470PERL_CALLCONV bool Perl_is_utf8_punct(pTHX_ const U8 *p)
1df70142 1471 __attribute__warn_unused_result__
abb2c242 1472 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1473#define PERL_ARGS_ASSERT_IS_UTF8_PUNCT \
1474 assert(p)
f54cb97a 1475
4373e329 1476PERL_CALLCONV bool Perl_is_utf8_xdigit(pTHX_ const U8 *p)
1df70142 1477 __attribute__warn_unused_result__
abb2c242 1478 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1479#define PERL_ARGS_ASSERT_IS_UTF8_XDIGIT \
1480 assert(p)
f54cb97a 1481
4373e329 1482PERL_CALLCONV bool Perl_is_utf8_mark(pTHX_ const U8 *p)
1df70142 1483 __attribute__warn_unused_result__
abb2c242 1484 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1485#define PERL_ARGS_ASSERT_IS_UTF8_MARK \
1486 assert(p)
f54cb97a 1487
37e2e78e
KW
1488PERL_CALLCONV bool Perl_is_utf8_X_begin(pTHX_ const U8 *p)
1489 __attribute__warn_unused_result__
1490 __attribute__nonnull__(pTHX_1);
1491#define PERL_ARGS_ASSERT_IS_UTF8_X_BEGIN \
1492 assert(p)
1493
1494PERL_CALLCONV bool Perl_is_utf8_X_extend(pTHX_ const U8 *p)
1495 __attribute__warn_unused_result__
1496 __attribute__nonnull__(pTHX_1);
1497#define PERL_ARGS_ASSERT_IS_UTF8_X_EXTEND \
1498 assert(p)
1499
1500PERL_CALLCONV bool Perl_is_utf8_X_prepend(pTHX_ const U8 *p)
1501 __attribute__warn_unused_result__
1502 __attribute__nonnull__(pTHX_1);
1503#define PERL_ARGS_ASSERT_IS_UTF8_X_PREPEND \
1504 assert(p)
1505
1506PERL_CALLCONV bool Perl_is_utf8_X_non_hangul(pTHX_ const U8 *p)
1507 __attribute__warn_unused_result__
1508 __attribute__nonnull__(pTHX_1);
1509#define PERL_ARGS_ASSERT_IS_UTF8_X_NON_HANGUL \
1510 assert(p)
1511
1512PERL_CALLCONV bool Perl_is_utf8_X_L(pTHX_ const U8 *p)
1513 __attribute__warn_unused_result__
1514 __attribute__nonnull__(pTHX_1);
1515#define PERL_ARGS_ASSERT_IS_UTF8_X_L \
1516 assert(p)
1517
1518PERL_CALLCONV bool Perl_is_utf8_X_LV(pTHX_ const U8 *p)
1519 __attribute__warn_unused_result__
1520 __attribute__nonnull__(pTHX_1);
1521#define PERL_ARGS_ASSERT_IS_UTF8_X_LV \
1522 assert(p)
1523
1524PERL_CALLCONV bool Perl_is_utf8_X_LVT(pTHX_ const U8 *p)
1525 __attribute__warn_unused_result__
1526 __attribute__nonnull__(pTHX_1);
1527#define PERL_ARGS_ASSERT_IS_UTF8_X_LVT \
1528 assert(p)
1529
1530PERL_CALLCONV bool Perl_is_utf8_X_LV_LVT_V(pTHX_ const U8 *p)
1531 __attribute__warn_unused_result__
1532 __attribute__nonnull__(pTHX_1);
1533#define PERL_ARGS_ASSERT_IS_UTF8_X_LV_LVT_V \
1534 assert(p)
1535
1536PERL_CALLCONV bool Perl_is_utf8_X_T(pTHX_ const U8 *p)
1537 __attribute__warn_unused_result__
1538 __attribute__nonnull__(pTHX_1);
1539#define PERL_ARGS_ASSERT_IS_UTF8_X_T \
1540 assert(p)
1541
1542PERL_CALLCONV bool Perl_is_utf8_X_V(pTHX_ const U8 *p)
1543 __attribute__warn_unused_result__
1544 __attribute__nonnull__(pTHX_1);
1545#define PERL_ARGS_ASSERT_IS_UTF8_X_V \
1546 assert(p)
1547
4048f010 1548PERL_CALLCONV OP* Perl_jmaybe(pTHX_ OP *o)
abb2c242 1549 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1550#define PERL_ARGS_ASSERT_JMAYBE \
1551 assert(o)
f54cb97a 1552
4048f010 1553PERL_CALLCONV I32 Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
abb2c242
JH
1554 __attribute__pure__
1555 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1556#define PERL_ARGS_ASSERT_KEYWORD \
1557 assert(name)
f54cb97a 1558
43869a0c 1559#if defined(PERL_IN_OP_C)
867fa1e2
YO
1560STATIC OP* S_opt_scalarhv(pTHX_ OP* rep_op)
1561 __attribute__nonnull__(pTHX_1);
1562#define PERL_ARGS_ASSERT_OPT_SCALARHV \
1563 assert(rep_op)
1564
2f9e2db0
VP
1565STATIC OP* S_is_inplace_av(pTHX_ OP* o, OP* oright)
1566 __attribute__nonnull__(pTHX_1);
1567#define PERL_ARGS_ASSERT_IS_INPLACE_AV \
1568 assert(o)
1569
867fa1e2 1570#endif
1d7c1841
GS
1571PERL_CALLCONV void Perl_leave_scope(pTHX_ I32 base);
1572PERL_CALLCONV void Perl_lex_end(pTHX);
5486870f 1573PERL_CALLCONV void Perl_lex_start(pTHX_ SV* line, PerlIO *rsfp, bool new_filter);
f0e67a1d
Z
1574PERL_CALLCONV bool Perl_lex_bufutf8(pTHX);
1575PERL_CALLCONV char* Perl_lex_grow_linestr(pTHX_ STRLEN len);
83aa740e 1576PERL_CALLCONV void Perl_lex_stuff_pvn(pTHX_ const char* pv, STRLEN len, U32 flags)
f0e67a1d
Z
1577 __attribute__nonnull__(pTHX_1);
1578#define PERL_ARGS_ASSERT_LEX_STUFF_PVN \
1579 assert(pv)
1580
1581PERL_CALLCONV void Perl_lex_stuff_sv(pTHX_ SV* sv, U32 flags)
1582 __attribute__nonnull__(pTHX_1);
1583#define PERL_ARGS_ASSERT_LEX_STUFF_SV \
1584 assert(sv)
1585
1586PERL_CALLCONV void Perl_lex_unstuff(pTHX_ char* ptr)
1587 __attribute__nonnull__(pTHX_1);
1588#define PERL_ARGS_ASSERT_LEX_UNSTUFF \
1589 assert(ptr)
1590
1591PERL_CALLCONV void Perl_lex_read_to(pTHX_ char* ptr)
1592 __attribute__nonnull__(pTHX_1);
1593#define PERL_ARGS_ASSERT_LEX_READ_TO \
1594 assert(ptr)
1595
1596PERL_CALLCONV void Perl_lex_discard_to(pTHX_ char* ptr)
1597 __attribute__nonnull__(pTHX_1);
1598#define PERL_ARGS_ASSERT_LEX_DISCARD_TO \
1599 assert(ptr)
1600
1601PERL_CALLCONV bool Perl_lex_next_chunk(pTHX_ U32 flags);
1602PERL_CALLCONV I32 Perl_lex_peek_unichar(pTHX_ U32 flags);
1603PERL_CALLCONV I32 Perl_lex_read_unichar(pTHX_ U32 flags);
1604PERL_CALLCONV void Perl_lex_read_space(pTHX_ U32 flags);
636def1f 1605PERL_CALLCONV OP* Perl_parse_fullstmt(pTHX_ U32 flags);
aec46f14
AL
1606PERL_CALLCONV void Perl_op_null(pTHX_ OP* o)
1607 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1608#define PERL_ARGS_ASSERT_OP_NULL \
1609 assert(o)
aec46f14
AL
1610
1611PERL_CALLCONV void Perl_op_clear(pTHX_ OP* o)
1612 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1613#define PERL_ARGS_ASSERT_OP_CLEAR \
1614 assert(o)
aec46f14 1615
4026c95a
SH
1616PERL_CALLCONV void Perl_op_refcnt_lock(pTHX);
1617PERL_CALLCONV void Perl_op_refcnt_unlock(pTHX);
43869a0c 1618#if defined(PERL_IN_OP_C)
12e93c28 1619STATIC OP* S_linklist(pTHX_ OP *o)
aec46f14 1620 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1621#define PERL_ARGS_ASSERT_LINKLIST \
1622 assert(o)
aec46f14 1623
412da003 1624STATIC OP* S_listkids(pTHX_ OP* o);
2dd5337b 1625#endif
1d7c1841 1626PERL_CALLCONV OP* Perl_list(pTHX_ OP* o);
aec46f14
AL
1627PERL_CALLCONV void Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...)
1628 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1629#define PERL_ARGS_ASSERT_LOAD_MODULE \
1630 assert(name)
aec46f14
AL
1631
1632PERL_CALLCONV void Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args)
1633 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1634#define PERL_ARGS_ASSERT_VLOAD_MODULE \
1635 assert(name)
aec46f14 1636
4048f010 1637PERL_CALLCONV OP* Perl_localize(pTHX_ OP *o, I32 lex)
bfce84ec 1638 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1639#define PERL_ARGS_ASSERT_LOCALIZE \
1640 assert(o)
bfce84ec 1641
aad570aa 1642PERL_CALLCONV I32 Perl_looks_like_number(pTHX_ SV *const sv)
abb2c242
JH
1643 __attribute__warn_unused_result__
1644 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1645#define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER \
1646 assert(sv)
f54cb97a 1647
a3b680e6 1648PERL_CALLCONV UV Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
abb2c242
JH
1649 __attribute__nonnull__(pTHX_1)
1650 __attribute__nonnull__(pTHX_2)
1651 __attribute__nonnull__(pTHX_3);
7918f24d
NC
1652#define PERL_ARGS_ASSERT_GROK_BIN \
1653 assert(start); assert(len_p); assert(flags)
f54cb97a 1654
e52cd83c
RGS
1655PERL_CALLCONV char Perl_grok_bslash_c(pTHX_ const char source, const bool output_warning)
1656 __attribute__warn_unused_result__;
1657
454155d9 1658PERL_CALLCONV bool Perl_grok_bslash_o(pTHX_ const char* s, UV* uv, STRLEN* len, const char** error_msg, const bool output_warning)
f0a2b745
KW
1659 __attribute__warn_unused_result__
1660 __attribute__nonnull__(pTHX_1)
1661 __attribute__nonnull__(pTHX_2)
454155d9
KW
1662 __attribute__nonnull__(pTHX_3)
1663 __attribute__nonnull__(pTHX_4);
f0a2b745 1664#define PERL_ARGS_ASSERT_GROK_BSLASH_O \
454155d9 1665 assert(s); assert(uv); assert(len); assert(error_msg)
f0a2b745 1666
a3b680e6 1667PERL_CALLCONV UV Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
abb2c242
JH
1668 __attribute__nonnull__(pTHX_1)
1669 __attribute__nonnull__(pTHX_2)
1670 __attribute__nonnull__(pTHX_3);
7918f24d
NC
1671#define PERL_ARGS_ASSERT_GROK_HEX \
1672 assert(start); assert(len_p); assert(flags)
f54cb97a
AL
1673
1674PERL_CALLCONV int Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep)
abb2c242 1675 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1676#define PERL_ARGS_ASSERT_GROK_NUMBER \
1677 assert(pv)
f54cb97a 1678
901017d6 1679PERL_CALLCONV bool Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send)
bfce84ec
AL
1680 __attribute__warn_unused_result__
1681 __attribute__nonnull__(pTHX_1)
1682 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1683#define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX \
1684 assert(sp); assert(send)
bfce84ec
AL
1685
1686PERL_CALLCONV UV Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
fb9bf107
NC
1687 __attribute__nonnull__(pTHX_1)
1688 __attribute__nonnull__(pTHX_2)
1689 __attribute__nonnull__(pTHX_3);
7918f24d
NC
1690#define PERL_ARGS_ASSERT_GROK_OCT \
1691 assert(start); assert(len_p); assert(flags)
bfce84ec
AL
1692
1693PERL_CALLCONV int Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg)
1694 __attribute__nonnull__(pTHX_1)
1695 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1696#define PERL_ARGS_ASSERT_MAGIC_CLEARENV \
1697 assert(sv); assert(mg)
bfce84ec
AL
1698
1699PERL_CALLCONV int Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg)
1700 __attribute__nonnull__(pTHX_1)
1701 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1702#define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV \
1703 assert(sv); assert(mg)
bfce84ec 1704
b3ca2e83
NC
1705PERL_CALLCONV int Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg)
1706 __attribute__nonnull__(pTHX_1)
1707 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1708#define PERL_ARGS_ASSERT_MAGIC_CLEARHINT \
1709 assert(sv); assert(mg)
b3ca2e83 1710
f747ebd6
Z
1711PERL_CALLCONV int Perl_magic_clearhints(pTHX_ SV* sv, MAGIC* mg)
1712 __attribute__nonnull__(pTHX_1)
1713 __attribute__nonnull__(pTHX_2);
1714#define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS \
1715 assert(sv); assert(mg)
1716
52b45067 1717PERL_CALLCONV int Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg)
52b45067 1718 __attribute__nonnull__(pTHX_2);
7918f24d 1719#define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
0e446081 1720 assert(mg)
52b45067 1721
bfce84ec
AL
1722PERL_CALLCONV int Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg)
1723 __attribute__nonnull__(pTHX_1)
1724 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1725#define PERL_ARGS_ASSERT_MAGIC_CLEARPACK \
1726 assert(sv); assert(mg)
bfce84ec
AL
1727
1728PERL_CALLCONV int Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg)
1729 __attribute__nonnull__(pTHX_1)
1730 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1731#define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \
1732 assert(sv); assert(mg)
bfce84ec 1733
1146e912 1734PERL_CALLCONV int Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg)
bfce84ec
AL
1735 __attribute__nonnull__(pTHX_1)
1736 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1737#define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK \
1738 assert(sv); assert(mg)
bfce84ec 1739
bfce84ec
AL
1740PERL_CALLCONV int Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg)
1741 __attribute__nonnull__(pTHX_1)
1742 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1743#define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD \
1744 assert(sv); assert(mg)
bfce84ec
AL
1745
1746PERL_CALLCONV int Perl_magic_get(pTHX_ SV* sv, MAGIC* mg)
1747 __attribute__nonnull__(pTHX_1)
1748 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1749#define PERL_ARGS_ASSERT_MAGIC_GET \
1750 assert(sv); assert(mg)
901017d6 1751
8772537c
AL
1752PERL_CALLCONV int Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg)
1753 __attribute__nonnull__(pTHX_1)
1754 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1755#define PERL_ARGS_ASSERT_MAGIC_GETARYLEN \
1756 assert(sv); assert(mg)
8772537c 1757
bfce84ec
AL
1758PERL_CALLCONV int Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg)
1759 __attribute__nonnull__(pTHX_1)
1760 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1761#define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM \
1762 assert(sv); assert(mg)
bfce84ec 1763
bfce84ec
AL
1764PERL_CALLCONV int Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg)
1765 __attribute__nonnull__(pTHX_1)
1766 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1767#define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \
1768 assert(sv); assert(mg)
bfce84ec
AL
1769
1770PERL_CALLCONV int Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg)
1771 __attribute__nonnull__(pTHX_1)
1772 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1773#define PERL_ARGS_ASSERT_MAGIC_GETPACK \
1774 assert(sv); assert(mg)
bfce84ec
AL
1775
1776PERL_CALLCONV int Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg)
1777 __attribute__nonnull__(pTHX_1)
1778 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1779#define PERL_ARGS_ASSERT_MAGIC_GETPOS \
1780 assert(sv); assert(mg)
bfce84ec
AL
1781
1782PERL_CALLCONV int Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg)
1783 __attribute__nonnull__(pTHX_1)
1784 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1785#define PERL_ARGS_ASSERT_MAGIC_GETSIG \
1786 assert(sv); assert(mg)
bfce84ec
AL
1787
1788PERL_CALLCONV int Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg)
1789 __attribute__nonnull__(pTHX_1)
1790 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1791#define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR \
1792 assert(sv); assert(mg)
bfce84ec
AL
1793
1794PERL_CALLCONV int Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg)
1795 __attribute__nonnull__(pTHX_1)
1796 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1797#define PERL_ARGS_ASSERT_MAGIC_GETTAINT \
1798 assert(sv); assert(mg)
bfce84ec
AL
1799
1800PERL_CALLCONV int Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg)
1801 __attribute__nonnull__(pTHX_1)
1802 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1803#define PERL_ARGS_ASSERT_MAGIC_GETUVAR \
1804 assert(sv); assert(mg)
bfce84ec
AL
1805
1806PERL_CALLCONV int Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg)
1807 __attribute__nonnull__(pTHX_1)
1808 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1809#define PERL_ARGS_ASSERT_MAGIC_GETVEC \
1810 assert(sv); assert(mg)
bfce84ec
AL
1811
1812PERL_CALLCONV U32 Perl_magic_len(pTHX_ SV* sv, MAGIC* mg)
1813 __attribute__nonnull__(pTHX_1)
1814 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1815#define PERL_ARGS_ASSERT_MAGIC_LEN \
1816 assert(sv); assert(mg)
bfce84ec 1817
4048f010 1818PERL_CALLCONV int Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key)
bfce84ec
AL
1819 __attribute__nonnull__(pTHX_1)
1820 __attribute__nonnull__(pTHX_2)
1821 __attribute__nonnull__(pTHX_3);
7918f24d
NC
1822#define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \
1823 assert(sv); assert(mg); assert(key)
bfce84ec
AL
1824
1825PERL_CALLCONV U32 Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg)
1826 __attribute__nonnull__(pTHX_1)
1827 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1828#define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT \
1829 assert(sv); assert(mg)
bfce84ec
AL
1830
1831PERL_CALLCONV int Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg)
1832 __attribute__nonnull__(pTHX_1)
1833 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1834#define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET \
1835 assert(sv); assert(mg)
bfce84ec 1836
f54cb97a 1837PERL_CALLCONV int Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
1838 __attribute__noreturn__
1839 __attribute__nonnull__(pTHX_1)
1840 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1841#define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET \
1842 assert(sv); assert(mg)
bfce84ec
AL
1843
1844PERL_CALLCONV int Perl_magic_set(pTHX_ SV* sv, MAGIC* mg)
1845 __attribute__nonnull__(pTHX_1)
1846 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1847#define PERL_ARGS_ASSERT_MAGIC_SET \
1848 assert(sv); assert(mg)
bfce84ec
AL
1849
1850PERL_CALLCONV int Perl_magic_setamagic(pTHX_ SV* sv, MAGIC* mg)
1851 __attribute__nonnull__(pTHX_1)
1852 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1853#define PERL_ARGS_ASSERT_MAGIC_SETAMAGIC \
1854 assert(sv); assert(mg)
bfce84ec
AL
1855
1856PERL_CALLCONV int Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg)
1857 __attribute__nonnull__(pTHX_1)
1858 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1859#define PERL_ARGS_ASSERT_MAGIC_SETARYLEN \
1860 assert(sv); assert(mg)
bfce84ec
AL
1861
1862PERL_CALLCONV int Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg)
1863 __attribute__nonnull__(pTHX_1)
1864 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1865#define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P \
1866 assert(sv); assert(mg)
bfce84ec 1867
488344d2 1868PERL_CALLCONV int Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
1869 __attribute__nonnull__(pTHX_1)
1870 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1871#define PERL_ARGS_ASSERT_MAGIC_SETDBLINE \
1872 assert(sv); assert(mg)
bfce84ec 1873
488344d2 1874PERL_CALLCONV int Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
1875 __attribute__nonnull__(pTHX_1)
1876 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1877#define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM \
1878 assert(sv); assert(mg)
bfce84ec 1879
488344d2 1880PERL_CALLCONV int Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
1881 __attribute__nonnull__(pTHX_1)
1882 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1883#define PERL_ARGS_ASSERT_MAGIC_SETENV \
1884 assert(sv); assert(mg)
bfce84ec 1885
b3ca2e83
NC
1886PERL_CALLCONV int Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg)
1887 __attribute__nonnull__(pTHX_1)
1888 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1889#define PERL_ARGS_ASSERT_MAGIC_SETHINT \
1890 assert(sv); assert(mg)
b3ca2e83 1891
bfce84ec
AL
1892PERL_CALLCONV int Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg)
1893 __attribute__nonnull__(pTHX_1)
1894 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1895#define PERL_ARGS_ASSERT_MAGIC_SETISA \
1896 assert(sv); assert(mg)
bfce84ec 1897
bfce84ec
AL
1898PERL_CALLCONV int Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg)
1899 __attribute__nonnull__(pTHX_1)
1900 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1901#define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \
1902 assert(sv); assert(mg)
bfce84ec
AL
1903
1904PERL_CALLCONV int Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg)
1905 __attribute__nonnull__(pTHX_1)
1906 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1907#define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \
1908 assert(sv); assert(mg)
bfce84ec
AL
1909
1910PERL_CALLCONV int Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg)
1911 __attribute__nonnull__(pTHX_1)
1912 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1913#define PERL_ARGS_ASSERT_MAGIC_SETPACK \
1914 assert(sv); assert(mg)
bfce84ec
AL
1915
1916PERL_CALLCONV int Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg)
1917 __attribute__nonnull__(pTHX_1)
1918 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1919#define PERL_ARGS_ASSERT_MAGIC_SETPOS \
1920 assert(sv); assert(mg)
bfce84ec
AL
1921
1922PERL_CALLCONV int Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg)
1923 __attribute__nonnull__(pTHX_1)
1924 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1925#define PERL_ARGS_ASSERT_MAGIC_SETREGEXP \
1926 assert(sv); assert(mg)
bfce84ec
AL
1927
1928PERL_CALLCONV int Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg)
bfce84ec 1929 __attribute__nonnull__(pTHX_2);
7918f24d 1930#define PERL_ARGS_ASSERT_MAGIC_SETSIG \
38a124f0 1931 assert(mg)
bfce84ec
AL
1932
1933PERL_CALLCONV int Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg)
1934 __attribute__nonnull__(pTHX_1)
1935 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1936#define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR \
1937 assert(sv); assert(mg)
bfce84ec
AL
1938
1939PERL_CALLCONV int Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg)
1940 __attribute__nonnull__(pTHX_1)
1941 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1942#define PERL_ARGS_ASSERT_MAGIC_SETTAINT \
1943 assert(sv); assert(mg)
bfce84ec
AL
1944
1945PERL_CALLCONV int Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg)
1946 __attribute__nonnull__(pTHX_1)
1947 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1948#define PERL_ARGS_ASSERT_MAGIC_SETUVAR \
1949 assert(sv); assert(mg)
bfce84ec
AL
1950
1951PERL_CALLCONV int Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg)
1952 __attribute__nonnull__(pTHX_1)
1953 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1954#define PERL_ARGS_ASSERT_MAGIC_SETVEC \
1955 assert(sv); assert(mg)
bfce84ec
AL
1956
1957PERL_CALLCONV int Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg)
1958 __attribute__nonnull__(pTHX_1)
1959 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1960#define PERL_ARGS_ASSERT_MAGIC_SETUTF8 \
1961 assert(sv); assert(mg)
bfce84ec
AL
1962
1963PERL_CALLCONV int Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg)
1964 __attribute__nonnull__(pTHX_1)
1965 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1966#define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV \
1967 assert(sv); assert(mg)
bfce84ec
AL
1968
1969PERL_CALLCONV U32 Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg)
1970 __attribute__nonnull__(pTHX_1)
1971 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1972#define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \
1973 assert(sv); assert(mg)
bfce84ec
AL
1974
1975PERL_CALLCONV int Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg)
1976 __attribute__nonnull__(pTHX_1)
1977 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1978#define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \
1979 assert(sv); assert(mg)
bfce84ec 1980
046b0c7d 1981PERL_CALLCONV SV* Perl_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, const char *meth, U32 flags, U32 argc, ...)
efaf3674
DM
1982 __attribute__nonnull__(pTHX_1)
1983 __attribute__nonnull__(pTHX_2)
1984 __attribute__nonnull__(pTHX_3);
1985#define PERL_ARGS_ASSERT_MAGIC_METHCALL \
1986 assert(sv); assert(mg); assert(meth)
1987
1d7c1841 1988PERL_CALLCONV void Perl_markstack_grow(pTHX);
864dbfa3 1989#if defined(USE_LOCALE_COLLATE)
aa924a5a
SH
1990PERL_CALLCONV int Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg)
1991 __attribute__nonnull__(pTHX_1)
1992 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1993#define PERL_ARGS_ASSERT_MAGIC_SETCOLLXFRM \
1994 assert(sv); assert(mg)
aa924a5a
SH
1995
1996PERL_CALLCONV char* Perl_mem_collxfrm(pTHX_ const char* s, STRLEN len, STRLEN* xlen)
1997 __attribute__nonnull__(pTHX_1)
1998 __attribute__nonnull__(pTHX_3);
7918f24d
NC
1999#define PERL_ARGS_ASSERT_MEM_COLLXFRM \
2000 assert(s); assert(xlen)
aa924a5a 2001
0cb96387 2002#endif
894356b3 2003PERL_CALLCONV SV* Perl_mess(pTHX_ const char* pat, ...)
aec46f14
AL
2004 __attribute__format__(__printf__,pTHX_1,pTHX_2)
2005 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2006#define PERL_ARGS_ASSERT_MESS \
2007 assert(pat)
aec46f14 2008
c5df3096
Z
2009PERL_CALLCONV SV* Perl_mess_sv(pTHX_ SV* basemsg, bool consume)
2010 __attribute__nonnull__(pTHX_1);
2011#define PERL_ARGS_ASSERT_MESS_SV \
2012 assert(basemsg)
2013
aec46f14
AL
2014PERL_CALLCONV SV* Perl_vmess(pTHX_ const char* pat, va_list* args)
2015 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2016#define PERL_ARGS_ASSERT_VMESS \
2017 assert(pat)
f54cb97a 2018
aa924a5a
SH
2019PERL_CALLCONV void Perl_qerror(pTHX_ SV* err)
2020 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2021#define PERL_ARGS_ASSERT_QERROR \
2022 assert(err)
aa924a5a
SH
2023
2024PERL_CALLCONV void Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp)
52657f30 2025 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2026#define PERL_ARGS_ASSERT_SORTSV \
2027 assert(cmp)
aa924a5a 2028
7b9ef140 2029PERL_CALLCONV void Perl_sortsv_flags(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags)
52657f30 2030 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2031#define PERL_ARGS_ASSERT_SORTSV_FLAGS \
2032 assert(cmp)
7b9ef140 2033
9a957fbc
AL
2034PERL_CALLCONV int Perl_mg_clear(pTHX_ SV* sv)
2035 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2036#define PERL_ARGS_ASSERT_MG_CLEAR \
2037 assert(sv)
9a957fbc 2038
4048f010 2039PERL_CALLCONV int Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen)
9a957fbc
AL
2040 __attribute__nonnull__(pTHX_1)
2041 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2042#define PERL_ARGS_ASSERT_MG_COPY \
2043 assert(sv); assert(nsv)
9a957fbc 2044
af7df257 2045PERL_CALLCONV void Perl_mg_localize(pTHX_ SV* sv, SV* nsv, bool setmagic)
9a957fbc
AL
2046 __attribute__nonnull__(pTHX_1)
2047 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2048#define PERL_ARGS_ASSERT_MG_LOCALIZE \
2049 assert(sv); assert(nsv)
9a957fbc 2050
255164ba
DM
2051PERL_CALLCONV MAGIC* Perl_mg_find(pTHX_ const SV* sv, int type)
2052 __attribute__warn_unused_result__;
2053
9a957fbc
AL
2054PERL_CALLCONV int Perl_mg_free(pTHX_ SV* sv)
2055 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2056#define PERL_ARGS_ASSERT_MG_FREE \
2057 assert(sv)
9a957fbc
AL
2058
2059PERL_CALLCONV int Perl_mg_get(pTHX_ SV* sv)
2060 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2061#define PERL_ARGS_ASSERT_MG_GET \
2062 assert(sv)
9a957fbc
AL
2063
2064PERL_CALLCONV U32 Perl_mg_length(pTHX_ SV* sv)
2065 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2066#define PERL_ARGS_ASSERT_MG_LENGTH \
2067 assert(sv)
9a957fbc
AL
2068
2069PERL_CALLCONV void Perl_mg_magical(pTHX_ SV* sv)
2070 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2071#define PERL_ARGS_ASSERT_MG_MAGICAL \
2072 assert(sv)
9a957fbc
AL
2073
2074PERL_CALLCONV int Perl_mg_set(pTHX_ SV* sv)
2075 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2076#define PERL_ARGS_ASSERT_MG_SET \
2077 assert(sv)
9a957fbc
AL
2078
2079PERL_CALLCONV I32 Perl_mg_size(pTHX_ SV* sv)
2080 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2081#define PERL_ARGS_ASSERT_MG_SIZE \
2082 assert(sv)
9a957fbc 2083
9f6cc744 2084PERL_CALLCONV void Perl_mini_mktime(pTHX_ struct tm *ptm)
9a957fbc 2085 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2086#define PERL_ARGS_ASSERT_MINI_MKTIME \
2087 assert(ptm)
9a957fbc 2088
1d7c1841 2089PERL_CALLCONV OP* Perl_mod(pTHX_ OP* o, I32 type);
a79b25b7 2090PERL_CALLCONV int Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len);
c7030b81 2091PERL_CALLCONV const char* Perl_moreswitches(pTHX_ const char* s)
bfce84ec 2092 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2093#define PERL_ARGS_ASSERT_MORESWITCHES \
2094 assert(s)
bfce84ec 2095
4373e329 2096PERL_CALLCONV NV Perl_my_atof(pTHX_ const char *s)
abb2c242 2097 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2098#define PERL_ARGS_ASSERT_MY_ATOF \
2099 assert(s)
f54cb97a 2100
2253333f 2101#if (!defined(HAS_MEMCPY) && !defined(HAS_BCOPY)) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY) && !defined(HAS_SAFE_BCOPY))
4373e329 2102PERL_CALLCONV char* Perl_my_bcopy(const char* from, char* to, I32 len)
abb2c242
JH
2103 __attribute__nonnull__(1)
2104 __attribute__nonnull__(2);
7918f24d
NC
2105#define PERL_ARGS_ASSERT_MY_BCOPY \
2106 assert(from); assert(to)
f54cb97a 2107
5f05dabc 2108#endif
a0d0e21e 2109#if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
4373e329 2110PERL_CALLCONV char* Perl_my_bzero(char* loc, I32 len)
abb2c242 2111 __attribute__nonnull__(1);
7918f24d
NC
2112#define PERL_ARGS_ASSERT_MY_BZERO \
2113 assert(loc)
f54cb97a 2114
864dbfa3 2115#endif
f54cb97a 2116PERL_CALLCONV void Perl_my_exit(pTHX_ U32 status)
abb2c242 2117 __attribute__noreturn__;
f54cb97a
AL
2118
2119PERL_CALLCONV void Perl_my_failure_exit(pTHX)
abb2c242 2120 __attribute__noreturn__;
f54cb97a 2121
1d7c1841 2122PERL_CALLCONV I32 Perl_my_fflush_all(pTHX);
52e18b1f
GS
2123PERL_CALLCONV Pid_t Perl_my_fork(void);
2124PERL_CALLCONV void Perl_atfork_lock(void);
2125PERL_CALLCONV void Perl_atfork_unlock(void);
0d7d409d
DM
2126/* PERL_CALLCONV I32 Perl_my_lstat(pTHX); */
2127PERL_CALLCONV I32 Perl_my_lstat_flags(pTHX_ const U32 flags);
5f05dabc 2128#if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP)
4373e329 2129PERL_CALLCONV I32 Perl_my_memcmp(const char* s1, const char* s2, I32 len)
abb2c242
JH
2130 __attribute__pure__
2131 __attribute__nonnull__(1)
2132 __attribute__nonnull__(2);
7918f24d
NC
2133#define PERL_ARGS_ASSERT_MY_MEMCMP \
2134 assert(s1); assert(s2)
f54cb97a 2135
a0d0e21e 2136#endif
fc36a67e 2137#if !defined(HAS_MEMSET)
4373e329 2138PERL_CALLCONV void* Perl_my_memset(char* loc, I32 ch, I32 len)
abb2c242 2139 __attribute__nonnull__(1);
7918f24d
NC
2140#define PERL_ARGS_ASSERT_MY_MEMSET \
2141 assert(loc)
f54cb97a 2142
864dbfa3 2143#endif
1d7c1841 2144PERL_CALLCONV I32 Perl_my_pclose(pTHX_ PerlIO* ptr);
bfce84ec
AL
2145PERL_CALLCONV PerlIO* Perl_my_popen(pTHX_ const char* cmd, const char* mode)
2146 __attribute__nonnull__(pTHX_1)
2147 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2148#define PERL_ARGS_ASSERT_MY_POPEN \
2149 assert(cmd); assert(mode)
bfce84ec 2150
c9289b7b 2151PERL_CALLCONV PerlIO* Perl_my_popen_list(pTHX_ const char* mode, int n, SV ** args)
bfce84ec
AL
2152 __attribute__nonnull__(pTHX_1)
2153 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2154#define PERL_ARGS_ASSERT_MY_POPEN_LIST \
2155 assert(mode); assert(args)
bfce84ec 2156
e1ec3a88 2157PERL_CALLCONV void Perl_my_setenv(pTHX_ const char* nam, const char* val);
0d7d409d
DM
2158/* PERL_CALLCONV I32 Perl_my_stat(pTHX); */
2159PERL_CALLCONV I32 Perl_my_stat_flags(pTHX_ const U32 flags);
bfce84ec
AL
2160PERL_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)
2161 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2162#define PERL_ARGS_ASSERT_MY_STRFTIME \
2163 assert(fmt)
bfce84ec 2164
864dbfa3 2165#if defined(MYSWAP)
4373e329 2166PERL_CALLCONV short Perl_my_swap(pTHX_ short s)
abb2c242
JH
2167 __attribute__malloc__
2168 __attribute__warn_unused_result__
2169 __attribute__pure__;
f54cb97a 2170
4373e329 2171PERL_CALLCONV long Perl_my_htonl(pTHX_ long l)
abb2c242
JH
2172 __attribute__malloc__
2173 __attribute__warn_unused_result__
2174 __attribute__pure__;
f54cb97a 2175
4373e329 2176PERL_CALLCONV long Perl_my_ntohl(pTHX_ long l)
abb2c242
JH
2177 __attribute__malloc__
2178 __attribute__warn_unused_result__
2179 __attribute__pure__;
f54cb97a 2180
0cb96387 2181#endif
1d7c1841 2182PERL_CALLCONV void Perl_my_unexec(pTHX);
f54cb97a 2183PERL_CALLCONV OP* Perl_newANONLIST(pTHX_ OP* o)
abb2c242
JH
2184 __attribute__malloc__
2185 __attribute__warn_unused_result__;
f54cb97a
AL
2186
2187PERL_CALLCONV OP* Perl_newANONHASH(pTHX_ OP* o)
abb2c242
JH
2188 __attribute__malloc__
2189 __attribute__warn_unused_result__;
f54cb97a 2190
1d7c1841 2191PERL_CALLCONV OP* Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block);
f54cb97a 2192PERL_CALLCONV OP* Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right)
abb2c242
JH
2193 __attribute__malloc__
2194 __attribute__warn_unused_result__;
f54cb97a 2195
aec46f14 2196PERL_CALLCONV OP* Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop)
abb2c242 2197 __attribute__malloc__
aec46f14
AL
2198 __attribute__warn_unused_result__
2199 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2200#define PERL_ARGS_ASSERT_NEWCONDOP \
2201 assert(first)
aec46f14 2202
99ab892b 2203PERL_CALLCONV CV* Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv);
eb8433b7
NC
2204#ifdef PERL_MAD
2205PERL_CALLCONV OP* Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
2206#else
1d7c1841 2207PERL_CALLCONV void Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
eb8433b7 2208#endif
aa924a5a 2209PERL_CALLCONV OP* Perl_newFOROP(pTHX_ I32 flags, char* label, line_t forline, OP* sv, OP* expr, OP* block, OP* cont)
abb2c242 2210 __attribute__malloc__
aa924a5a
SH
2211 __attribute__warn_unused_result__
2212 __attribute__nonnull__(pTHX_5);
7918f24d
NC
2213#define PERL_ARGS_ASSERT_NEWFOROP \
2214 assert(expr)
f54cb97a 2215
0d863452
RH
2216PERL_CALLCONV OP* Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off)
2217 __attribute__malloc__
2218 __attribute__warn_unused_result__
2219 __attribute__nonnull__(pTHX_1)
2220 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2221#define PERL_ARGS_ASSERT_NEWGIVENOP \
2222 assert(cond); assert(block)
0d863452 2223
4048f010 2224PERL_CALLCONV OP* Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
abb2c242 2225 __attribute__malloc__
aa924a5a
SH
2226 __attribute__warn_unused_result__
2227 __attribute__nonnull__(pTHX_3)
2228 __attribute__nonnull__(pTHX_4);
7918f24d
NC
2229#define PERL_ARGS_ASSERT_NEWLOGOP \
2230 assert(first); assert(other)
f54cb97a
AL
2231
2232PERL_CALLCONV OP* Perl_newLOOPEX(pTHX_ I32 type, OP* label)
abb2c242 2233 __attribute__malloc__
aa924a5a
SH
2234 __attribute__warn_unused_result__
2235 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2236#define PERL_ARGS_ASSERT_NEWLOOPEX \
2237 assert(label)
f54cb97a
AL
2238
2239PERL_CALLCONV OP* Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block)
abb2c242
JH
2240 __attribute__malloc__
2241 __attribute__warn_unused_result__;
f54cb97a 2242
4373e329 2243PERL_CALLCONV OP* Perl_newNULLLIST(pTHX)
abb2c242
JH
2244 __attribute__malloc__
2245 __attribute__warn_unused_result__;
f54cb97a
AL
2246
2247PERL_CALLCONV OP* Perl_newOP(pTHX_ I32 optype, I32 flags)
abb2c242
JH
2248 __attribute__malloc__
2249 __attribute__warn_unused_result__;
f54cb97a
AL
2250
2251PERL_CALLCONV void Perl_newPROG(pTHX_ OP* o)
abb2c242 2252 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2253#define PERL_ARGS_ASSERT_NEWPROG \
2254 assert(o)
f54cb97a
AL
2255
2256PERL_CALLCONV OP* Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right)
abb2c242 2257 __attribute__malloc__
aa924a5a
SH
2258 __attribute__warn_unused_result__
2259 __attribute__nonnull__(pTHX_2)
2260 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2261#define PERL_ARGS_ASSERT_NEWRANGE \
2262 assert(left); assert(right)
f54cb97a
AL
2263
2264PERL_CALLCONV OP* Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop)
abb2c242
JH
2265 __attribute__malloc__
2266 __attribute__warn_unused_result__;
f54cb97a
AL
2267
2268PERL_CALLCONV OP* Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o)
abb2c242
JH
2269 __attribute__malloc__
2270 __attribute__warn_unused_result__;
f54cb97a 2271
1d7c1841 2272PERL_CALLCONV CV* Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block);
77004dee
NC
2273PERL_CALLCONV CV * Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags)
2274 __attribute__nonnull__(pTHX_2)
2275 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2276#define PERL_ARGS_ASSERT_NEWXS_FLAGS \
2277 assert(subaddr); assert(filename)
77004dee 2278
4048f010 2279PERL_CALLCONV CV* Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename)
9a957fbc 2280 __attribute__nonnull__(pTHX_2)
abb2c242 2281 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2282#define PERL_ARGS_ASSERT_NEWXS \
2283 assert(subaddr); assert(filename)
f54cb97a 2284
ac572bf4 2285/* PERL_CALLCONV AV* Perl_newAV(pTHX)
ac572bf4 2286 __attribute__warn_unused_result__; */
f54cb97a 2287
4373e329 2288PERL_CALLCONV OP* Perl_newAVREF(pTHX_ OP* o)
abb2c242
JH
2289 __attribute__malloc__
2290 __attribute__warn_unused_result__
2291 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2292#define PERL_ARGS_ASSERT_NEWAVREF \
2293 assert(o)
f54cb97a
AL
2294
2295PERL_CALLCONV OP* Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
abb2c242
JH
2296 __attribute__malloc__
2297 __attribute__warn_unused_result__;
f54cb97a
AL
2298
2299PERL_CALLCONV OP* Perl_newCVREF(pTHX_ I32 flags, OP* o)
abb2c242
JH
2300 __attribute__malloc__
2301 __attribute__warn_unused_result__;
f54cb97a
AL
2302
2303PERL_CALLCONV OP* Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv)
abb2c242 2304 __attribute__malloc__
2d03de9c
AL
2305 __attribute__warn_unused_result__
2306 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2307#define PERL_ARGS_ASSERT_NEWGVOP \
2308 assert(gv)
f54cb97a
AL
2309
2310PERL_CALLCONV GV* Perl_newGVgen(pTHX_ const char* pack)
abb2c242 2311 __attribute__malloc__
aa924a5a
SH
2312 __attribute__warn_unused_result__
2313 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2314#define PERL_ARGS_ASSERT_NEWGVGEN \
2315 assert(pack)
f54cb97a
AL
2316
2317PERL_CALLCONV OP* Perl_newGVREF(pTHX_ I32 type, OP* o)
abb2c242
JH
2318 __attribute__malloc__
2319 __attribute__warn_unused_result__;
f54cb97a 2320
4373e329 2321PERL_CALLCONV OP* Perl_newHVREF(pTHX_ OP* o)
abb2c242
JH
2322 __attribute__malloc__
2323 __attribute__warn_unused_result__
2324 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2325#define PERL_ARGS_ASSERT_NEWHVREF \
2326 assert(o)
f54cb97a 2327
78ac7dd9 2328/* PERL_CALLCONV HV* Perl_newHV(pTHX)
78ac7dd9 2329 __attribute__warn_unused_result__; */
f54cb97a 2330
4048f010 2331PERL_CALLCONV HV* Perl_newHVhv(pTHX_ HV *hv)
abb2c242
JH
2332 __attribute__malloc__
2333 __attribute__warn_unused_result__;
f54cb97a 2334
85dca89a 2335/* PERL_CALLCONV IO* Perl_newIO(pTHX)
abb2c242 2336 __attribute__malloc__
85dca89a 2337 __attribute__warn_unused_result__; */
f54cb97a
AL
2338
2339PERL_CALLCONV OP* Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
abb2c242
JH
2340 __attribute__malloc__
2341 __attribute__warn_unused_result__;
f54cb97a 2342
392d04bb 2343#ifdef USE_ITHREADS
f54cb97a 2344PERL_CALLCONV OP* Perl_newPADOP(pTHX_ I32 type, I32 flags, SV* sv)
abb2c242 2345 __attribute__malloc__
58182927
NC
2346 __attribute__warn_unused_result__
2347 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2348#define PERL_ARGS_ASSERT_NEWPADOP \
2349 assert(sv)
f54cb97a 2350
392d04bb 2351#endif
f54cb97a 2352PERL_CALLCONV OP* Perl_newPMOP(pTHX_ I32 type, I32 flags)
abb2c242
JH
2353 __attribute__malloc__
2354 __attribute__warn_unused_result__;
f54cb97a
AL
2355
2356PERL_CALLCONV OP* Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv)
abb2c242
JH
2357 __attribute__malloc__
2358 __attribute__warn_unused_result__;
f54cb97a 2359
23f13727 2360PERL_CALLCONV SV* Perl_newRV(pTHX_ SV *const sv)
abb2c242 2361 __attribute__malloc__
66a1b24b
AL
2362 __attribute__warn_unused_result__
2363 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2364#define PERL_ARGS_ASSERT_NEWRV \
2365 assert(sv)
f54cb97a 2366
23f13727 2367PERL_CALLCONV SV* Perl_newRV_noinc(pTHX_ SV *const sv)
abb2c242
JH
2368 __attribute__malloc__
2369 __attribute__warn_unused_result__
2370 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2371#define PERL_ARGS_ASSERT_NEWRV_NOINC \
2372 assert(sv)
f54cb97a 2373
2b021c53 2374PERL_CALLCONV SV* Perl_newSV(pTHX_ const STRLEN len)
abb2c242
JH
2375 __attribute__malloc__
2376 __attribute__warn_unused_result__;
f54cb97a 2377
4373e329 2378PERL_CALLCONV OP* Perl_newSVREF(pTHX_ OP* o)
abb2c242
JH
2379 __attribute__malloc__
2380 __attribute__warn_unused_result__
2381 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2382#define PERL_ARGS_ASSERT_NEWSVREF \
2383 assert(o)
f54cb97a 2384
4373e329 2385PERL_CALLCONV OP* Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv)
abb2c242
JH
2386 __attribute__malloc__
2387 __attribute__warn_unused_result__
2388 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2389#define PERL_ARGS_ASSERT_NEWSVOP \
2390 assert(sv)
f54cb97a 2391
23f13727 2392PERL_CALLCONV SV* Perl_newSViv(pTHX_ const IV i)
abb2c242
JH
2393 __attribute__malloc__
2394 __attribute__warn_unused_result__;
f54cb97a 2395
23f13727 2396PERL_CALLCONV SV* Perl_newSVuv(pTHX_ const UV u)
abb2c242
JH
2397 __attribute__malloc__
2398 __attribute__warn_unused_result__;
f54cb97a 2399
23f13727 2400PERL_CALLCONV SV* Perl_newSVnv(pTHX_ const NV n)
abb2c242
JH
2401 __attribute__malloc__
2402 __attribute__warn_unused_result__;
f54cb97a 2403
23f13727 2404PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
abb2c242
JH
2405 __attribute__malloc__
2406 __attribute__warn_unused_result__;
f54cb97a 2407
23f13727 2408PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char *const s, const STRLEN len)
abb2c242
JH
2409 __attribute__malloc__
2410 __attribute__warn_unused_result__;
f54cb97a 2411
23f13727 2412PERL_CALLCONV SV* Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)
740cce10
NC
2413 __attribute__malloc__
2414 __attribute__warn_unused_result__;
2415
23f13727 2416PERL_CALLCONV SV* Perl_newSVhek(pTHX_ const HEK *const hek)
c1b02ed8
NC
2417 __attribute__malloc__
2418 __attribute__warn_unused_result__;
2419
f54cb97a 2420PERL_CALLCONV SV* Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash)
abb2c242
JH
2421 __attribute__malloc__
2422 __attribute__warn_unused_result__;
f54cb97a 2423
23f13727 2424PERL_CALLCONV SV* Perl_newSVpvf(pTHX_ const char *const pat, ...)
abb2c242
JH
2425 __attribute__malloc__
2426 __attribute__warn_unused_result__
aec46f14
AL
2427 __attribute__format__(__printf__,pTHX_1,pTHX_2)
2428 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2429#define PERL_ARGS_ASSERT_NEWSVPVF \
2430 assert(pat)
aec46f14 2431
23f13727 2432PERL_CALLCONV SV* Perl_vnewSVpvf(pTHX_ const char *const pat, va_list *const args)
aec46f14
AL
2433 __attribute__malloc__
2434 __attribute__warn_unused_result__
2435 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2436#define PERL_ARGS_ASSERT_VNEWSVPVF \
2437 assert(pat)
f54cb97a 2438
12964ddd 2439PERL_CALLCONV SV* Perl_newSVrv(pTHX_ SV *const rv, const char *const classname)
1b6737cc 2440 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2441#define PERL_ARGS_ASSERT_NEWSVRV \
2442 assert(rv)
f54cb97a 2443
23f13727 2444PERL_CALLCONV SV* Perl_newSVsv(pTHX_ SV *const old)
abb2c242
JH
2445 __attribute__malloc__
2446 __attribute__warn_unused_result__;
f54cb97a 2447
fe9845cc 2448PERL_CALLCONV SV* Perl_newSV_type(pTHX_ const svtype type)
b9f83d2f
NC
2449 __attribute__malloc__
2450 __attribute__warn_unused_result__;
2451
f54cb97a 2452PERL_CALLCONV OP* Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first)
abb2c242
JH
2453 __attribute__malloc__
2454 __attribute__warn_unused_result__;
f54cb97a 2455
0d863452
RH
2456PERL_CALLCONV OP* Perl_newWHENOP(pTHX_ OP* cond, OP* block)
2457 __attribute__malloc__
2458 __attribute__warn_unused_result__
2459 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2460#define PERL_ARGS_ASSERT_NEWWHENOP \
2461 assert(block)
0d863452 2462
f54cb97a 2463PERL_CALLCONV OP* Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, I32 whileline, OP* expr, OP* block, OP* cont, I32 has_my)
abb2c242
JH
2464 __attribute__malloc__
2465 __attribute__warn_unused_result__;
f54cb97a
AL
2466
2467PERL_CALLCONV PERL_SI* Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
abb2c242
JH
2468 __attribute__malloc__
2469 __attribute__warn_unused_result__;
f54cb97a 2470
4048f010 2471PERL_CALLCONV char* Perl_scan_vstring(pTHX_ const char *s, const char *const e, SV *sv)
abb2c242 2472 __attribute__nonnull__(pTHX_1)
65b06e02
DM
2473 __attribute__nonnull__(pTHX_2)
2474 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2475#define PERL_ARGS_ASSERT_SCAN_VSTRING \
2476 assert(s); assert(e); assert(sv)
f54cb97a 2477
9f6cc744 2478PERL_CALLCONV const char* Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv)
abb2c242
JH
2479 __attribute__nonnull__(pTHX_1)
2480 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2481#define PERL_ARGS_ASSERT_SCAN_VERSION \
2482 assert(s); assert(rv)
f54cb97a 2483
5747a2f6 2484PERL_CALLCONV const char* Perl_prescan_version(pTHX_ const char *s, bool strict, const char** errstr, bool *sqv, int *ssaw_decimal, int *swidth, bool *salpha)
91152fc1
DG
2485 __attribute__nonnull__(pTHX_1);
2486#define PERL_ARGS_ASSERT_PRESCAN_VERSION \
2487 assert(s)
2488
2d03de9c
AL
2489PERL_CALLCONV SV* Perl_new_version(pTHX_ SV *ver)
2490 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2491#define PERL_ARGS_ASSERT_NEW_VERSION \
2492 assert(ver)
2d03de9c 2493
ac0e6a2f 2494PERL_CALLCONV SV* Perl_upg_version(pTHX_ SV *ver, bool qv)
2d03de9c 2495 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2496#define PERL_ARGS_ASSERT_UPG_VERSION \
2497 assert(ver)
2d03de9c 2498
e0218a61
JP
2499PERL_CALLCONV bool Perl_vverify(pTHX_ SV *vs)
2500 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2501#define PERL_ARGS_ASSERT_VVERIFY \
2502 assert(vs)
e0218a61 2503
2d03de9c
AL
2504PERL_CALLCONV SV* Perl_vnumify(pTHX_ SV *vs)
2505 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2506#define PERL_ARGS_ASSERT_VNUMIFY \
2507 assert(vs)
2d03de9c
AL
2508
2509PERL_CALLCONV SV* Perl_vnormal(pTHX_ SV *vs)
2510 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2511#define PERL_ARGS_ASSERT_VNORMAL \
2512 assert(vs)
2d03de9c
AL
2513
2514PERL_CALLCONV SV* Perl_vstringify(pTHX_ SV *vs)
2515 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2516#define PERL_ARGS_ASSERT_VSTRINGIFY \
2517 assert(vs)
2d03de9c 2518
9f6cc744 2519PERL_CALLCONV int Perl_vcmp(pTHX_ SV *lhv, SV *rhv)
abb2c242
JH
2520 __attribute__nonnull__(pTHX_1)
2521 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2522#define PERL_ARGS_ASSERT_VCMP \
2523 assert(lhv); assert(rhv)
f54cb97a 2524
2d03de9c
AL
2525PERL_CALLCONV PerlIO* Perl_nextargv(pTHX_ GV* gv)
2526 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2527#define PERL_ARGS_ASSERT_NEXTARGV \
2528 assert(gv)
2d03de9c 2529
04c9e624 2530PERL_CALLCONV char* Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend)
2d03de9c 2531 __attribute__pure__
04c9e624
VP
2532 __attribute__nonnull__(1)
2533 __attribute__nonnull__(2)
2534 __attribute__nonnull__(3)
2535 __attribute__nonnull__(4);
7918f24d
NC
2536#define PERL_ARGS_ASSERT_NINSTR \
2537 assert(big); assert(bigend); assert(little); assert(lend)
f54cb97a 2538
6472dca1 2539PERL_CALLCONV void Perl_op_free(pTHX_ OP* arg);
eb8433b7
NC
2540#ifdef PERL_MAD
2541PERL_CALLCONV OP* Perl_package(pTHX_ OP* o)
2542 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2543#define PERL_ARGS_ASSERT_PACKAGE \
2544 assert(o)
eb8433b7
NC
2545
2546#else
2d03de9c
AL
2547PERL_CALLCONV void Perl_package(pTHX_ OP* o)
2548 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2549#define PERL_ARGS_ASSERT_PACKAGE \
2550 assert(o)
f54cb97a 2551
eb8433b7 2552#endif
6fa4d285
DG
2553PERL_CALLCONV void Perl_package_version(pTHX_ OP* v)
2554 __attribute__nonnull__(pTHX_1);
2555#define PERL_ARGS_ASSERT_PACKAGE_VERSION \
2556 assert(v)
2557
1d7c1841 2558PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
d6447115 2559PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name, const STRLEN len, const U32 flags)
abb2c242 2560 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2561#define PERL_ARGS_ASSERT_ALLOCMY \
2562 assert(name)
f54cb97a 2563
f8f98e0a 2564PERL_CALLCONV PADOFFSET Perl_pad_findmy(pTHX_ const char* name, STRLEN len, U32 flags)
255164ba 2565 __attribute__warn_unused_result__
abb2c242 2566 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2567#define PERL_ARGS_ASSERT_PAD_FINDMY \
2568 assert(name)
f54cb97a 2569
03d5bcf8
VP
2570PERL_CALLCONV PADOFFSET Perl_find_rundefsvoffset(pTHX)
2571 __attribute__deprecated__;
2572
789bd863 2573PERL_CALLCONV SV* Perl_find_rundefsv(pTHX);
4373e329 2574PERL_CALLCONV OP* Perl_oopsAV(pTHX_ OP* o)
1df70142 2575 __attribute__warn_unused_result__
abb2c242 2576 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2577#define PERL_ARGS_ASSERT_OOPSAV \
2578 assert(o)
f54cb97a 2579
4373e329 2580PERL_CALLCONV OP* Perl_oopsHV(pTHX_ OP* o)
1df70142 2581 __attribute__warn_unused_result__
abb2c242 2582 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2583#define PERL_ARGS_ASSERT_OOPSHV \
2584 assert(o)
f54cb97a 2585
dd2155a4 2586PERL_CALLCONV void Perl_pad_leavemy(pTHX);
c3507693 2587#ifdef DEBUGGING
1d7c1841 2588PERL_CALLCONV SV* Perl_pad_sv(pTHX_ PADOFFSET po);
c3507693 2589#endif
1d7c1841 2590PERL_CALLCONV void Perl_pad_free(pTHX_ PADOFFSET po);
43869a0c 2591#if defined(PERL_IN_PAD_C)
82af08ae
NC
2592STATIC void S_pad_reset(pTHX);
2593#endif
dd2155a4 2594PERL_CALLCONV void Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust);
666e7765 2595PERL_CALLCONV void Perl_peep(pTHX_ OP* o);
1a0a2ba9 2596PERL_CALLCONV void Perl_rpeep(pTHX_ OP* o);
4048f010 2597PERL_CALLCONV PerlIO* Perl_start_glob(pTHX_ SV *tmpglob, IO *io)
2d03de9c
AL
2598 __attribute__nonnull__(pTHX_1)
2599 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2600#define PERL_ARGS_ASSERT_START_GLOB \
2601 assert(tmpglob); assert(io)
2d03de9c 2602
59bd0823 2603#if defined(USE_REENTRANT_API)
10bc17b6 2604PERL_CALLCONV void Perl_reentrant_size(pTHX);
59bd0823 2605PERL_CALLCONV void Perl_reentrant_init(pTHX);
10bc17b6 2606PERL_CALLCONV void Perl_reentrant_free(pTHX);
4048f010 2607PERL_CALLCONV void* Perl_reentrant_retry(const char *f, ...)
fb9bf107 2608 __attribute__nonnull__(1);
7918f24d
NC
2609#define PERL_ARGS_ASSERT_REENTRANT_RETRY \
2610 assert(f)
fb9bf107 2611
59bd0823 2612#endif
1d7c1841 2613PERL_CALLCONV void Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr);
4373e329 2614PERL_CALLCONV I32 Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv)
abb2c242
JH
2615 __attribute__nonnull__(pTHX_1)
2616 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2617#define PERL_ARGS_ASSERT_CALL_ARGV \
2618 assert(sub_name); assert(argv)
f54cb97a 2619
4373e329 2620PERL_CALLCONV I32 Perl_call_method(pTHX_ const char* methname, I32 flags)
abb2c242 2621 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2622#define PERL_ARGS_ASSERT_CALL_METHOD \
2623 assert(methname)
f54cb97a 2624
4373e329 2625PERL_CALLCONV I32 Perl_call_pv(pTHX_ const char* sub_name, I32 flags)
abb2c242 2626 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2627#define PERL_ARGS_ASSERT_CALL_PV \
2628 assert(sub_name)
f54cb97a 2629
8c54174d 2630PERL_CALLCONV I32 Perl_call_sv(pTHX_ SV* sv, VOL I32 flags)
aec46f14 2631 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2632#define PERL_ARGS_ASSERT_CALL_SV \
2633 assert(sv)
aec46f14 2634
ce08f86c 2635PERL_CALLCONV void Perl_despatch_signals(pTHX);
e4c5ccf3
RH
2636PERL_CALLCONV OP * Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref)
2637 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2638#define PERL_ARGS_ASSERT_DOREF \
2639 assert(o)
e4c5ccf3 2640
4373e329 2641PERL_CALLCONV SV* Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error)
abb2c242 2642 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2643#define PERL_ARGS_ASSERT_EVAL_PV \
2644 assert(p)
f54cb97a 2645
4373e329 2646PERL_CALLCONV I32 Perl_eval_sv(pTHX_ SV* sv, I32 flags)
abb2c242 2647 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2648#define PERL_ARGS_ASSERT_EVAL_SV \
2649 assert(sv)
f54cb97a 2650
64ace3f8 2651PERL_CALLCONV SV* Perl_get_sv(pTHX_ const char *name, I32 flags)
abb2c242 2652 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2653#define PERL_ARGS_ASSERT_GET_SV \
2654 assert(name)
f54cb97a 2655
cbfd0a87 2656PERL_CALLCONV AV* Perl_get_av(pTHX_ const char *name, I32 flags)
255164ba 2657 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2658#define PERL_ARGS_ASSERT_GET_AV \
2659 assert(name)
255164ba 2660
6673a63c 2661PERL_CALLCONV HV* Perl_get_hv(pTHX_ const char *name, I32 flags)
255164ba 2662 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2663#define PERL_ARGS_ASSERT_GET_HV \
2664 assert(name)
255164ba 2665
780a5241
NC
2666PERL_CALLCONV CV* Perl_get_cv(pTHX_ const char* name, I32 flags)
2667 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2668#define PERL_ARGS_ASSERT_GET_CV \
2669 assert(name)
780a5241
NC
2670
2671PERL_CALLCONV CV* Perl_get_cvn_flags(pTHX_ const char* name, STRLEN len, I32 flags)
abb2c242 2672 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2673#define PERL_ARGS_ASSERT_GET_CVN_FLAGS \
2674 assert(name)
f54cb97a 2675
1d7c1841
GS
2676PERL_CALLCONV int Perl_init_i18nl10n(pTHX_ int printwarn);
2677PERL_CALLCONV int Perl_init_i18nl14n(pTHX_ int printwarn);
8772537c
AL
2678PERL_CALLCONV void Perl_new_collate(pTHX_ const char* newcoll);
2679PERL_CALLCONV void Perl_new_ctype(pTHX_ const char* newctype)
abb2c242 2680 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2681#define PERL_ARGS_ASSERT_NEW_CTYPE \
2682 assert(newctype)
f54cb97a 2683
8772537c 2684PERL_CALLCONV void Perl_new_numeric(pTHX_ const char* newcoll);
1d7c1841
GS
2685PERL_CALLCONV void Perl_set_numeric_local(pTHX);
2686PERL_CALLCONV void Perl_set_numeric_radix(pTHX);
2687PERL_CALLCONV void Perl_set_numeric_standard(pTHX);
4373e329 2688PERL_CALLCONV void Perl_require_pv(pTHX_ const char* pv)
abb2c242 2689 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2690#define PERL_ARGS_ASSERT_REQUIRE_PV \
2691 assert(pv)
f54cb97a 2692
2d03de9c
AL
2693PERL_CALLCONV void Perl_pack_cat(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist, SV ***next_in_list, U32 flags)
2694 __attribute__nonnull__(pTHX_1)
2695 __attribute__nonnull__(pTHX_2)
2696 __attribute__nonnull__(pTHX_3)
2697 __attribute__nonnull__(pTHX_4)
2698 __attribute__nonnull__(pTHX_5)
2699 __attribute__nonnull__(pTHX_6);
7918f24d
NC
2700#define PERL_ARGS_ASSERT_PACK_CAT \
2701 assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist); assert(next_in_list)
2d03de9c
AL
2702
2703PERL_CALLCONV void Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist)
2704 __attribute__nonnull__(pTHX_1)
2705 __attribute__nonnull__(pTHX_2)
2706 __attribute__nonnull__(pTHX_3)
2707 __attribute__nonnull__(pTHX_4)
2708 __attribute__nonnull__(pTHX_5);
7918f24d
NC
2709#define PERL_ARGS_ASSERT_PACKLIST \
2710 assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist)
2d03de9c 2711
ed4173ef
NC
2712#if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
2713STATIC void S_pidgone(pTHX_ Pid_t pid, int status);
e3790a26 2714#endif
4048f010 2715PERL_CALLCONV OP* Perl_pmruntime(pTHX_ OP *o, OP *expr, bool isreg)
abb2c242
JH
2716 __attribute__nonnull__(pTHX_1)
2717 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2718#define PERL_ARGS_ASSERT_PMRUNTIME \
2719 assert(o); assert(expr)
f54cb97a 2720
43869a0c 2721#if defined(PERL_IN_OP_C)
0d86688d 2722STATIC OP* S_pmtrans(pTHX_ OP* o, OP* expr, OP* repl)
abb2c242 2723 __attribute__nonnull__(pTHX_1)
2d03de9c
AL
2724 __attribute__nonnull__(pTHX_2)
2725 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2726#define PERL_ARGS_ASSERT_PMTRANS \
2727 assert(o); assert(expr); assert(repl)
f54cb97a 2728
0d86688d 2729#endif
1d7c1841
GS
2730PERL_CALLCONV void Perl_pop_scope(pTHX);
2731PERL_CALLCONV OP* Perl_prepend_elem(pTHX_ I32 optype, OP* head, OP* tail);
1d7c1841 2732PERL_CALLCONV void Perl_push_scope(pTHX);
25b0f989 2733/* PERL_CALLCONV OP* Perl_ref(pTHX_ OP* o, I32 type); */
43869a0c 2734#if defined(PERL_IN_OP_C)
0d86688d
NC
2735STATIC OP* S_refkids(pTHX_ OP* o, I32 type);
2736#endif
097eb12c 2737PERL_CALLCONV void Perl_regdump(pTHX_ const regexp* r)
abb2c242 2738 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2739#define PERL_ARGS_ASSERT_REGDUMP \
2740 assert(r)
f54cb97a 2741
f7819f85
A
2742PERL_CALLCONV void Perl_regdump(pTHX_ const regexp* r)
2743 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2744#define PERL_ARGS_ASSERT_REGDUMP \
2745 assert(r)
f7819f85 2746
4048f010 2747PERL_CALLCONV SV* Perl_regclass_swash(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **altsvp)
32fc9b6a 2748 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2749#define PERL_ARGS_ASSERT_REGCLASS_SWASH \
2750 assert(node)
2d03de9c 2751
49d7dfbc 2752PERL_CALLCONV I32 Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, U32 nosave)
abb2c242
JH
2753 __attribute__nonnull__(pTHX_1)
2754 __attribute__nonnull__(pTHX_2)
2755 __attribute__nonnull__(pTHX_3)
2756 __attribute__nonnull__(pTHX_4)
2757 __attribute__nonnull__(pTHX_6);
7918f24d
NC
2758#define PERL_ARGS_ASSERT_PREGEXEC \
2759 assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
f54cb97a 2760
84679df5 2761PERL_CALLCONV void Perl_pregfree(pTHX_ REGEXP* r);
4048f010 2762PERL_CALLCONV void Perl_pregfree2(pTHX_ REGEXP *rx)
288b8c02 2763 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2764#define PERL_ARGS_ASSERT_PREGFREE2 \
2765 assert(rx)
288b8c02 2766
f0826785
BM
2767PERL_CALLCONV REGEXP* Perl_reg_temp_copy(pTHX_ REGEXP* ret_x, REGEXP* rx)
2768 __attribute__nonnull__(pTHX_2);
7918f24d 2769#define PERL_ARGS_ASSERT_REG_TEMP_COPY \
f0826785 2770 assert(rx)
28d8d7f4 2771
4048f010 2772PERL_CALLCONV void Perl_regfree_internal(pTHX_ REGEXP *const rx)
8074533a 2773 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2774#define PERL_ARGS_ASSERT_REGFREE_INTERNAL \
2775 assert(rx)
8074533a 2776
a3c0e9ca 2777#if defined(USE_ITHREADS)
49d7dfbc 2778PERL_CALLCONV void* Perl_regdupe_internal(pTHX_ REGEXP * const r, CLONE_PARAMS* param)
84da74a7
YO
2779 __attribute__nonnull__(pTHX_1)
2780 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2781#define PERL_ARGS_ASSERT_REGDUPE_INTERNAL \
2782 assert(r); assert(param)
84da74a7 2783
a3c0e9ca 2784#endif
1593ad57 2785PERL_CALLCONV REGEXP* Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags)
3ab4a224 2786 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2787#define PERL_ARGS_ASSERT_PREGCOMP \
2788 assert(pattern)
f54cb97a 2789
1593ad57 2790PERL_CALLCONV REGEXP* Perl_re_compile(pTHX_ SV * const pattern, U32 flags)
3ab4a224 2791 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2792#define PERL_ARGS_ASSERT_RE_COMPILE \
2793 assert(pattern)
2a5d9b1d 2794
9f61653a 2795PERL_CALLCONV char* Perl_re_intuit_start(pTHX_ REGEXP * const rx, SV* sv, char* strpos, char* strend, const U32 flags, re_scream_pos_data *data)
2d03de9c
AL
2796 __attribute__nonnull__(pTHX_1)
2797 __attribute__nonnull__(pTHX_3)
2798 __attribute__nonnull__(pTHX_4);
7918f24d
NC
2799#define PERL_ARGS_ASSERT_RE_INTUIT_START \
2800 assert(rx); assert(strpos); assert(strend)
2d03de9c 2801
4048f010 2802PERL_CALLCONV SV* Perl_re_intuit_string(pTHX_ REGEXP *const r)
2d03de9c 2803 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2804#define PERL_ARGS_ASSERT_RE_INTUIT_STRING \
2805 assert(r)
2d03de9c 2806
4048f010 2807PERL_CALLCONV I32 Perl_regexec_flags(pTHX_ REGEXP *const rx, char *stringarg, char *strend, char *strbeg, I32 minend, SV *sv, void *data, U32 flags)
abb2c242
JH
2808 __attribute__nonnull__(pTHX_1)
2809 __attribute__nonnull__(pTHX_2)
2810 __attribute__nonnull__(pTHX_3)
fb9bf107
NC
2811 __attribute__nonnull__(pTHX_4)
2812 __attribute__nonnull__(pTHX_6);
7918f24d
NC
2813#define PERL_ARGS_ASSERT_REGEXEC_FLAGS \
2814 assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv)
a3b680e6 2815
1df70142 2816PERL_CALLCONV regnode* Perl_regnext(pTHX_ regnode* p)
8074533a 2817 __attribute__warn_unused_result__;
1df70142 2818
81714fb9 2819
192b9cd1
AB
2820PERL_CALLCONV SV* Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags)
2821 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2822#define PERL_ARGS_ASSERT_REG_NAMED_BUFF \
2823 assert(rx)
192b9cd1
AB
2824
2825PERL_CALLCONV SV* Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags)
2826 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2827#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER \
2828 assert(rx)
192b9cd1
AB
2829
2830PERL_CALLCONV SV* Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags)
93b32b6d 2831 __attribute__nonnull__(pTHX_1)
44a2ac75 2832 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2833#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH \
2834 assert(rx); assert(namesv)
44a2ac75 2835
192b9cd1
AB
2836PERL_CALLCONV bool Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags)
2837 __attribute__nonnull__(pTHX_1)
2838 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2839#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS \
2840 assert(rx); assert(key)
192b9cd1
AB
2841
2842PERL_CALLCONV SV* Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags)
2843 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2844#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY \
2845 assert(rx)
192b9cd1
AB
2846
2847PERL_CALLCONV SV* Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags)
2848 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2849#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
2850 assert(rx)
192b9cd1
AB
2851
2852PERL_CALLCONV SV* Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags)
2853 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2854#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR \
2855 assert(rx)
192b9cd1
AB
2856
2857PERL_CALLCONV SV* Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags)
2858 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2859#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL \
2860 assert(rx)
192b9cd1 2861
2fdbfb4d
AB
2862
2863PERL_CALLCONV void Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const rx, const I32 paren, SV * const sv)
2864 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2865#define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH \
2866 assert(rx)
2fdbfb4d
AB
2867
2868PERL_CALLCONV void Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value)
93b32b6d 2869 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2870#define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE \
2871 assert(rx)
93b32b6d 2872
2fdbfb4d
AB
2873PERL_CALLCONV I32 Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren)
2874 __attribute__nonnull__(pTHX_1)
2875 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2876#define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH \
2877 assert(rx); assert(sv)
2fdbfb4d
AB
2878
2879
49d7dfbc 2880PERL_CALLCONV SV* Perl_reg_qr_package(pTHX_ REGEXP * const rx)
fe578d7f 2881 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2882#define PERL_ARGS_ASSERT_REG_QR_PACKAGE \
2883 assert(rx)
fe578d7f 2884
93b32b6d 2885
32fc9b6a
DM
2886PERL_CALLCONV void Perl_regprop(pTHX_ const regexp *prog, SV* sv, const regnode* o)
2887 __attribute__nonnull__(pTHX_2)
2888 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2889#define PERL_ARGS_ASSERT_REGPROP \
2890 assert(sv); assert(o)
2d03de9c 2891
16fa5c11
VP
2892PERL_CALLCONV void Perl_repeatcpy(char* to, const char* from, I32 len, I32 count)
2893 __attribute__nonnull__(1)
2894 __attribute__nonnull__(2);
7918f24d
NC
2895#define PERL_ARGS_ASSERT_REPEATCPY \
2896 assert(to); assert(from)
f54cb97a 2897
04c9e624 2898PERL_CALLCONV char* Perl_rninstr(const char* big, const char* bigend, const char* little, const char* lend)
abb2c242 2899 __attribute__pure__
04c9e624
VP
2900 __attribute__nonnull__(1)
2901 __attribute__nonnull__(2)
2902 __attribute__nonnull__(3)
2903 __attribute__nonnull__(4);
7918f24d
NC
2904#define PERL_ARGS_ASSERT_RNINSTR \
2905 assert(big); assert(bigend); assert(little); assert(lend)
f54cb97a 2906
1d7c1841
GS
2907PERL_CALLCONV Sighandler_t Perl_rsignal(pTHX_ int i, Sighandler_t t);
2908PERL_CALLCONV int Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t);
9f6cc744 2909PERL_CALLCONV int Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* save)
9a957fbc 2910 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2911#define PERL_ARGS_ASSERT_RSIGNAL_SAVE \
2912 assert(save)
9a957fbc 2913
1d7c1841 2914PERL_CALLCONV Sighandler_t Perl_rsignal_state(pTHX_ int i);
43869a0c 2915#if defined(PERL_IN_PP_CTL_C)
9c105995 2916STATIC void S_rxres_free(pTHX_ void** rsp)
abb2c242 2917 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2918#define PERL_ARGS_ASSERT_RXRES_FREE \
2919 assert(rsp)
a3b680e6 2920
9c105995 2921STATIC void S_rxres_restore(pTHX_ void **rsp, REGEXP *rx)
abb2c242
JH
2922 __attribute__nonnull__(pTHX_1)
2923 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2924#define PERL_ARGS_ASSERT_RXRES_RESTORE \
2925 assert(rsp); assert(rx)
a3b680e6 2926
9c105995 2927#endif
4048f010 2928PERL_CALLCONV void Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx)
abb2c242
JH
2929 __attribute__nonnull__(pTHX_1)
2930 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2931#define PERL_ARGS_ASSERT_RXRES_SAVE \
2932 assert(rsp); assert(rx)
a3b680e6 2933
cea2e8a9 2934#if !defined(HAS_RENAME)
4373e329 2935PERL_CALLCONV I32 Perl_same_dirent(pTHX_ const char* a, const char* b)
abb2c242
JH
2936 __attribute__nonnull__(pTHX_1)
2937 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2938#define PERL_ARGS_ASSERT_SAME_DIRENT \
2939 assert(a); assert(b)
f54cb97a 2940
0cb96387 2941#endif
53c1dcc0
AL
2942PERL_CALLCONV char* Perl_savepv(pTHX_ const char* pv)
2943 __attribute__malloc__
639f6c3d 2944 __attribute__warn_unused_result__;
53c1dcc0
AL
2945
2946PERL_CALLCONV char* Perl_savepvn(pTHX_ const char* pv, I32 len)
2947 __attribute__malloc__
639f6c3d 2948 __attribute__warn_unused_result__;
53c1dcc0
AL
2949
2950PERL_CALLCONV char* Perl_savesharedpv(pTHX_ const char* pv)
2951 __attribute__malloc__
2952 __attribute__warn_unused_result__;
2953
d9095cec
NC
2954PERL_CALLCONV char* Perl_savesharedpvn(pTHX_ const char *const pv, const STRLEN len)
2955 __attribute__malloc__
2956 __attribute__warn_unused_result__
2957 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2958#define PERL_ARGS_ASSERT_SAVESHAREDPVN \
2959 assert(pv)
d9095cec 2960
53c1dcc0
AL
2961PERL_CALLCONV char* Perl_savesvpv(pTHX_ SV* sv)
2962 __attribute__malloc__
2963 __attribute__warn_unused_result__
2964 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2965#define PERL_ARGS_ASSERT_SAVESVPV \
2966 assert(sv)
53c1dcc0 2967
1d7c1841 2968PERL_CALLCONV void Perl_savestack_grow(pTHX);
4b3c1a47 2969PERL_CALLCONV void Perl_savestack_grow_cnt(pTHX_ I32 need);
91d1c79f
VP
2970/* PERL_CALLCONV void Perl_save_aelem(pTHX_ AV* av, I32 idx, SV **sptr)
2971 __attribute__nonnull__(pTHX_1)
2972 __attribute__nonnull__(pTHX_3); */
2973
2974PERL_CALLCONV void Perl_save_aelem_flags(pTHX_ AV* av, I32 idx, SV **sptr, const U32 flags)
9a957fbc
AL
2975 __attribute__nonnull__(pTHX_1)
2976 __attribute__nonnull__(pTHX_3);
91d1c79f 2977#define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS \
7918f24d 2978 assert(av); assert(sptr)
9a957fbc 2979
1d7c1841 2980PERL_CALLCONV I32 Perl_save_alloc(pTHX_ I32 size, I32 pad);
9a957fbc
AL
2981PERL_CALLCONV void Perl_save_aptr(pTHX_ AV** aptr)
2982 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2983#define PERL_ARGS_ASSERT_SAVE_APTR \
2984 assert(aptr)
9a957fbc
AL
2985
2986PERL_CALLCONV AV* Perl_save_ary(pTHX_ GV* gv)
2987 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2988#define PERL_ARGS_ASSERT_SAVE_ARY \
2989 assert(gv)
9a957fbc
AL
2990
2991PERL_CALLCONV void Perl_save_bool(pTHX_ bool* boolp)
2992 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2993#define PERL_ARGS_ASSERT_SAVE_BOOL \
2994 assert(boolp)
9a957fbc
AL
2995
2996PERL_CALLCONV void Perl_save_clearsv(pTHX_ SV** svp)
2997 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2998#define PERL_ARGS_ASSERT_SAVE_CLEARSV \
2999 assert(svp)
9a957fbc 3000
4048f010 3001PERL_CALLCONV void Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen)
9a957fbc
AL
3002 __attribute__nonnull__(pTHX_1)
3003 __attribute__nonnull__(pTHX_2);
7918f24d
NC
3004#define PERL_ARGS_ASSERT_SAVE_DELETE \
3005 assert(hv); assert(key)
9a957fbc 3006
af097752
VP
3007PERL_CALLCONV void Perl_save_hdelete(pTHX_ HV *hv, SV *keysv)
3008 __attribute__nonnull__(pTHX_1)
3009 __attribute__nonnull__(pTHX_2);
3010#define PERL_ARGS_ASSERT_SAVE_HDELETE \
3011 assert(hv); assert(keysv)
3012
c68ec7a9
VP
3013PERL_CALLCONV void Perl_save_adelete(pTHX_ AV *av, I32 key)
3014 __attribute__nonnull__(pTHX_1);
3015#define PERL_ARGS_ASSERT_SAVE_ADELETE \
3016 assert(av)
3017
fb9bf107
NC
3018PERL_CALLCONV void Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p)
3019 __attribute__nonnull__(pTHX_2);
7918f24d
NC
3020#define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR \
3021 assert(p)
fb9bf107 3022
55968144 3023PERL_CALLCONV void Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p);
2fd8beea
NC
3024/* PERL_CALLCONV void Perl_save_freesv(pTHX_ SV* sv); */
3025/* PERL_CALLCONV void Perl_save_freeop(pTHX_ OP* o); */
3026/* PERL_CALLCONV void Perl_save_freepv(pTHX_ char* pv); */
9a957fbc
AL
3027PERL_CALLCONV void Perl_save_generic_svref(pTHX_ SV** sptr)
3028 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3029#define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF \
3030 assert(sptr)
9a957fbc
AL
3031
3032PERL_CALLCONV void Perl_save_generic_pvref(pTHX_ char** str)
3033 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3034#define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF \
3035 assert(str)
9a957fbc
AL
3036
3037PERL_CALLCONV void Perl_save_shared_pvref(pTHX_ char** str)
3038 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3039#define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF \
3040 assert(str)
9a957fbc 3041
aec46f14
AL
3042PERL_CALLCONV void Perl_save_gp(pTHX_ GV* gv, I32 empty)
3043 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3044#define PERL_ARGS_ASSERT_SAVE_GP \
3045 assert(gv)
aec46f14
AL
3046
3047PERL_CALLCONV HV* Perl_save_hash(pTHX_ GV* gv)
3048 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3049#define PERL_ARGS_ASSERT_SAVE_HASH \
3050 assert(gv)
aec46f14 3051
da8315f8 3052PERL_CALLCONV void Perl_save_hints(pTHX);
af7df257 3053/* PERL_CALLCONV void Perl_save_helem(pTHX_ HV *hv, SV *key, SV **sptr)
9a957fbc
AL
3054 __attribute__nonnull__(pTHX_1)
3055 __attribute__nonnull__(pTHX_2)
af7df257 3056 __attribute__nonnull__(pTHX_3); */
9a957fbc 3057
af7df257
CS
3058PERL_CALLCONV void Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags)
3059 __attribute__nonnull__(pTHX_1)
3060 __attribute__nonnull__(pTHX_2)
3061 __attribute__nonnull__(pTHX_3);
3062#define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS \
3063 assert(hv); assert(key); assert(sptr)
3064
aec46f14
AL
3065PERL_CALLCONV void Perl_save_hptr(pTHX_ HV** hptr)
3066 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3067#define PERL_ARGS_ASSERT_SAVE_HPTR \
3068 assert(hptr)
aec46f14
AL
3069
3070PERL_CALLCONV void Perl_save_I16(pTHX_ I16* intp)
3071 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3072#define PERL_ARGS_ASSERT_SAVE_I16 \
3073 assert(intp)
aec46f14
AL
3074
3075PERL_CALLCONV void Perl_save_I32(pTHX_ I32* intp)
3076 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3077#define PERL_ARGS_ASSERT_SAVE_I32 \
3078 assert(intp)
aec46f14
AL
3079
3080PERL_CALLCONV void Perl_save_I8(pTHX_ I8* bytep)
3081 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3082#define PERL_ARGS_ASSERT_SAVE_I8 \
3083 assert(bytep)
aec46f14
AL
3084
3085PERL_CALLCONV void Perl_save_int(pTHX_ int* intp)
3086 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3087#define PERL_ARGS_ASSERT_SAVE_INT \
3088 assert(intp)
aec46f14
AL
3089
3090PERL_CALLCONV void Perl_save_item(pTHX_ SV* item)
3091 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3092#define PERL_ARGS_ASSERT_SAVE_ITEM \
3093 assert(item)
aec46f14 3094
4048f010 3095PERL_CALLCONV void Perl_save_iv(pTHX_ IV *ivp)
aec46f14 3096 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3097#define PERL_ARGS_ASSERT_SAVE_IV \
3098 assert(ivp)
aec46f14
AL
3099
3100PERL_CALLCONV void Perl_save_list(pTHX_ SV** sarg, I32 maxsarg)
3101 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3102#define PERL_ARGS_ASSERT_SAVE_LIST \
3103 assert(sarg)
aec46f14
AL
3104
3105PERL_CALLCONV void Perl_save_long(pTHX_ long* longp)
3106 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3107#define PERL_ARGS_ASSERT_SAVE_LONG \
3108 assert(longp)
aec46f14 3109
2fd8beea
NC
3110/* PERL_CALLCONV void Perl_save_mortalizesv(pTHX_ SV* sv)
3111 __attribute__nonnull__(pTHX_1); */
7918f24d
NC
3112#define PERL_ARGS_ASSERT_SAVE_MORTALIZESV \
3113 assert(sv)
aec46f14 3114
3d4dd4c7
NC
3115PERL_CALLCONV void Perl_save_nogv(pTHX_ GV* gv)
3116 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3117#define PERL_ARGS_ASSERT_SAVE_NOGV \
3118 assert(gv)
3d4dd4c7 3119
2fd8beea 3120/* PERL_CALLCONV void Perl_save_op(pTHX); */
aec46f14
AL
3121PERL_CALLCONV SV* Perl_save_scalar(pTHX_ GV* gv)
3122 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3123#define PERL_ARGS_ASSERT_SAVE_SCALAR \
3124 assert(gv)
aec46f14
AL
3125
3126PERL_CALLCONV void Perl_save_pptr(pTHX_ char** pptr)
3127 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3128#define PERL_ARGS_ASSERT_SAVE_PPTR \
3129 assert(pptr)
aec46f14 3130
4048f010 3131PERL_CALLCONV void Perl_save_vptr(pTHX_ void *ptr)
aec46f14 3132 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3133#define PERL_ARGS_ASSERT_SAVE_VPTR \
3134 assert(ptr)
aec46f14 3135
1d7c1841 3136PERL_CALLCONV void Perl_save_re_context(pTHX);
09edbca0 3137PERL_CALLCONV void Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off);
aec46f14
AL
3138PERL_CALLCONV void Perl_save_sptr(pTHX_ SV** sptr)
3139 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3140#define PERL_ARGS_ASSERT_SAVE_SPTR \
3141 assert(sptr)
aec46f14
AL
3142
3143PERL_CALLCONV SV* Perl_save_svref(pTHX_ SV** sptr)
3144 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3145#define PERL_ARGS_ASSERT_SAVE_SVREF \
3146 assert(sptr)
aec46f14 3147
2fd8beea 3148PERL_CALLCONV void Perl_save_pushptr(pTHX_ void *const ptr, const int type);
4f5084fa 3149PERL_CALLCONV void Perl_save_pushi32ptr(pTHX_ const I32 i, void *const ptr, const int type);
dfcd3de5 3150PERL_CALLCONV void Perl_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type);
43869a0c 3151#if defined(PERL_IN_SCOPE_C)
be84297e
NC
3152STATIC void S_save_pushptri32ptr(pTHX_ void *const ptr1, const I32 i, void *const ptr2, const int type);
3153#endif
1d7c1841
GS
3154PERL_CALLCONV OP* Perl_sawparens(pTHX_ OP* o);
3155PERL_CALLCONV OP* Perl_scalar(pTHX_ OP* o);
43869a0c 3156#if defined(PERL_IN_OP_C)
2dd5337b
NC
3157STATIC OP* S_scalarkids(pTHX_ OP* o);
3158STATIC OP* S_scalarseq(pTHX_ OP* o);
3159#endif
aec46f14
AL
3160PERL_CALLCONV OP* Perl_scalarvoid(pTHX_ OP* o)
3161 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3162#define PERL_ARGS_ASSERT_SCALARVOID \
3163 assert(o)
aec46f14
AL
3164
3165PERL_CALLCONV NV Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
3166 __attribute__nonnull__(pTHX_1)
3167 __attribute__nonnull__(pTHX_3);
7918f24d
NC
3168#define PERL_ARGS_ASSERT_SCAN_BIN \
3169 assert(start); assert(retlen)
aec46f14
AL
3170
3171PERL_CALLCONV NV Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
3172 __attribute__nonnull__(pTHX_1)
3173 __attribute__nonnull__(pTHX_3);
7918f24d
NC
3174#define PERL_ARGS_ASSERT_SCAN_HEX \
3175 assert(start); assert(retlen)
aec46f14
AL
3176
3177PERL_CALLCONV char* Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp)
3178 __attribute__nonnull__(pTHX_1)
3179 __attribute__nonnull__(pTHX_2);
7918f24d
NC
3180#define PERL_ARGS_ASSERT_SCAN_NUM \
3181 assert(s); assert(lvalp)
aec46f14
AL
3182
3183PERL_CALLCONV NV Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
3184 __attribute__nonnull__(pTHX_1)
3185 __attribute__nonnull__(pTHX_3);
7918f24d
NC
3186#define PERL_ARGS_ASSERT_SCAN_OCT \
3187 assert(start); assert(retlen)
aec46f14 3188
1d7c1841 3189PERL_CALLCONV OP* Perl_scope(pTHX_ OP* o);
9f6cc744 3190PERL_CALLCONV char* Perl_screaminstr(pTHX_ SV *bigstr, SV *littlestr, I32 start_shift, I32 end_shift, I32 *old_posp, I32 last)
aec46f14
AL
3191 __attribute__nonnull__(pTHX_1)
3192 __attribute__nonnull__(pTHX_2)
3193 __attribute__nonnull__(pTHX_5);
7918f24d
NC
3194#define PERL_ARGS_ASSERT_SCREAMINSTR \
3195 assert(bigstr); assert(littlestr); assert(old_posp)
aec46f14 3196
1d7c1841 3197PERL_CALLCONV void Perl_setdefout(pTHX_ GV* gv);
aec46f14
AL
3198PERL_CALLCONV HEK* Perl_share_hek(pTHX_ const char* str, I32 len, U32 hash)
3199 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3200#define PERL_ARGS_ASSERT_SHARE_HEK \
3201 assert(str)
aec46f14 3202
8aad04aa 3203#if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
b6455c53
SR
3204PERL_CALLCONV Signal_t Perl_sighandler(int sig, siginfo_t *info, void *uap);
3205PERL_CALLCONV Signal_t Perl_csighandler(int sig, siginfo_t *info, void *uap);
8aad04aa 3206#else
1d7c1841 3207PERL_CALLCONV Signal_t Perl_sighandler(int sig);
d36b6582 3208PERL_CALLCONV Signal_t Perl_csighandler(int sig);
8aad04aa 3209#endif
c48640ec 3210PERL_CALLCONV SV** Perl_stack_grow(pTHX_ SV** sp, SV** p, int n)
abb2c242
JH
3211 __attribute__nonnull__(pTHX_1)
3212 __attribute__nonnull__(pTHX_2);
7918f24d
NC
3213#define PERL_ARGS_ASSERT_STACK_GROW \
3214 assert(sp); assert(p)
f54cb97a 3215
0b1558d1 3216PERL_CALLCONV I32 Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
aec46f14
AL
3217PERL_CALLCONV void Perl_sub_crush_depth(pTHX_ CV* cv)
3218 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3219#define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH \
3220 assert(cv)
aec46f14 3221
7bc54cea 3222PERL_CALLCONV bool Perl_sv_2bool(pTHX_ SV *const sv)
abb2c242 3223 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3224#define PERL_ARGS_ASSERT_SV_2BOOL \
3225 assert(sv)
f54cb97a 3226
23f13727 3227PERL_CALLCONV CV* Perl_sv_2cv(pTHX_ SV* sv, HV **const st, GV **const gvp, const I32 lref)
aec46f14
AL
3228 __attribute__nonnull__(pTHX_2)
3229 __attribute__nonnull__(pTHX_3);
7918f24d
NC
3230#define PERL_ARGS_ASSERT_SV_2CV \
3231 assert(st); assert(gvp)
f54cb97a 3232
23f13727 3233PERL_CALLCONV IO* Perl_sv_2io(pTHX_ SV *const sv)
abb2c242 3234 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3235#define PERL_ARGS_ASSERT_SV_2IO \
3236 assert(sv)
f54cb97a 3237
43869a0c 3238#if defined(PERL_IN_SV_C)
19f6321d 3239STATIC bool S_glob_2number(pTHX_ GV* const gv)
180488f8 3240 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3241#define PERL_ARGS_ASSERT_GLOB_2NUMBER \
3242 assert(gv)
180488f8
NC
3243
3244#endif
53e85712
NC
3245/* PERL_CALLCONV IV Perl_sv_2iv(pTHX_ SV *sv); */
3246PERL_CALLCONV IV Perl_sv_2iv_flags(pTHX_ SV *const sv, const I32 flags);
23f13727 3247PERL_CALLCONV SV* Perl_sv_2mortal(pTHX_ SV *const sv);
39d5de13 3248PERL_CALLCONV NV Perl_sv_2nv_flags(pTHX_ SV *const sv, const I32 flags);
5de3775c 3249PERL_CALLCONV SV* Perl_sv_2num(pTHX_ SV *const sv)
800401ee 3250 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3251#define PERL_ARGS_ASSERT_SV_2NUM \
3252 assert(sv)
800401ee 3253
53e85712
NC
3254/* PERL_CALLCONV char* Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp); */
3255PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
7bc54cea 3256PERL_CALLCONV char* Perl_sv_2pvutf8(pTHX_ SV *const sv, STRLEN *const lp)
f49ed1da 3257 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3258#define PERL_ARGS_ASSERT_SV_2PVUTF8 \
3259 assert(sv)
f54cb97a 3260
5de3775c 3261PERL_CALLCONV char* Perl_sv_2pvbyte(pTHX_ SV *const sv, STRLEN *const lp)
f49ed1da 3262 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3263#define PERL_ARGS_ASSERT_SV_2PVBYTE \
3264 assert(sv)
f54cb97a 3265
4373e329 3266PERL_CALLCONV char* Perl_sv_pvn_nomg(pTHX_ SV* sv, STRLEN* lp)
f49ed1da 3267 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3268#define PERL_ARGS_ASSERT_SV_PVN_NOMG \
3269 assert(sv)
f54cb97a 3270
53e85712
NC
3271/* PERL_CALLCONV UV Perl_sv_2uv(pTHX_ SV *sv); */
3272PERL_CALLCONV UV Perl_sv_2uv_flags(pTHX_ SV *const sv, const I32 flags);
4373e329 3273PERL_CALLCONV IV Perl_sv_iv(pTHX_ SV* sv)
abb2c242 3274 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3275#define PERL_ARGS_ASSERT_SV_IV \
3276 assert(sv)
f54cb97a 3277
4373e329 3278PERL_CALLCONV UV Perl_sv_uv(pTHX_ SV* sv)
abb2c242 3279 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3280#define PERL_ARGS_ASSERT_SV_UV \
3281 assert(sv)
f54cb97a 3282
4373e329 3283PERL_CALLCONV NV Perl_sv_nv(pTHX_ SV* sv)
abb2c242 3284 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3285#define PERL_ARGS_ASSERT_SV_NV \
3286 assert(sv)
f54cb97a 3287
4048f010 3288PERL_CALLCONV char* Perl_sv_pvn(pTHX_ SV *sv, STRLEN *lp)
abb2c242
JH
3289 __attribute__nonnull__(pTHX_1)