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