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