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