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