This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Convert Perl_sv_pos_u2b_proper() to Perl_sv_pos_u2b_flags().
[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
37e2e78e
KW
1417PERL_CALLCONV bool Perl_is_utf8_X_begin(pTHX_ const U8 *p)
1418 __attribute__warn_unused_result__
1419 __attribute__nonnull__(pTHX_1);
1420#define PERL_ARGS_ASSERT_IS_UTF8_X_BEGIN \
1421 assert(p)
1422
1423PERL_CALLCONV bool Perl_is_utf8_X_extend(pTHX_ const U8 *p)
1424 __attribute__warn_unused_result__
1425 __attribute__nonnull__(pTHX_1);
1426#define PERL_ARGS_ASSERT_IS_UTF8_X_EXTEND \
1427 assert(p)
1428
1429PERL_CALLCONV bool Perl_is_utf8_X_prepend(pTHX_ const U8 *p)
1430 __attribute__warn_unused_result__
1431 __attribute__nonnull__(pTHX_1);
1432#define PERL_ARGS_ASSERT_IS_UTF8_X_PREPEND \
1433 assert(p)
1434
1435PERL_CALLCONV bool Perl_is_utf8_X_non_hangul(pTHX_ const U8 *p)
1436 __attribute__warn_unused_result__
1437 __attribute__nonnull__(pTHX_1);
1438#define PERL_ARGS_ASSERT_IS_UTF8_X_NON_HANGUL \
1439 assert(p)
1440
1441PERL_CALLCONV bool Perl_is_utf8_X_L(pTHX_ const U8 *p)
1442 __attribute__warn_unused_result__
1443 __attribute__nonnull__(pTHX_1);
1444#define PERL_ARGS_ASSERT_IS_UTF8_X_L \
1445 assert(p)
1446
1447PERL_CALLCONV bool Perl_is_utf8_X_LV(pTHX_ const U8 *p)
1448 __attribute__warn_unused_result__
1449 __attribute__nonnull__(pTHX_1);
1450#define PERL_ARGS_ASSERT_IS_UTF8_X_LV \
1451 assert(p)
1452
1453PERL_CALLCONV bool Perl_is_utf8_X_LVT(pTHX_ const U8 *p)
1454 __attribute__warn_unused_result__
1455 __attribute__nonnull__(pTHX_1);
1456#define PERL_ARGS_ASSERT_IS_UTF8_X_LVT \
1457 assert(p)
1458
1459PERL_CALLCONV bool Perl_is_utf8_X_LV_LVT_V(pTHX_ const U8 *p)
1460 __attribute__warn_unused_result__
1461 __attribute__nonnull__(pTHX_1);
1462#define PERL_ARGS_ASSERT_IS_UTF8_X_LV_LVT_V \
1463 assert(p)
1464
1465PERL_CALLCONV bool Perl_is_utf8_X_T(pTHX_ const U8 *p)
1466 __attribute__warn_unused_result__
1467 __attribute__nonnull__(pTHX_1);
1468#define PERL_ARGS_ASSERT_IS_UTF8_X_T \
1469 assert(p)
1470
1471PERL_CALLCONV bool Perl_is_utf8_X_V(pTHX_ const U8 *p)
1472 __attribute__warn_unused_result__
1473 __attribute__nonnull__(pTHX_1);
1474#define PERL_ARGS_ASSERT_IS_UTF8_X_V \
1475 assert(p)
1476
4048f010 1477PERL_CALLCONV OP* Perl_jmaybe(pTHX_ OP *o)
abb2c242 1478 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1479#define PERL_ARGS_ASSERT_JMAYBE \
1480 assert(o)
f54cb97a 1481
4048f010 1482PERL_CALLCONV I32 Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
abb2c242
JH
1483 __attribute__pure__
1484 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1485#define PERL_ARGS_ASSERT_KEYWORD \
1486 assert(name)
f54cb97a 1487
867fa1e2
YO
1488#if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
1489STATIC OP* S_opt_scalarhv(pTHX_ OP* rep_op)
1490 __attribute__nonnull__(pTHX_1);
1491#define PERL_ARGS_ASSERT_OPT_SCALARHV \
1492 assert(rep_op)
1493
2f9e2db0
VP
1494STATIC OP* S_is_inplace_av(pTHX_ OP* o, OP* oright)
1495 __attribute__nonnull__(pTHX_1);
1496#define PERL_ARGS_ASSERT_IS_INPLACE_AV \
1497 assert(o)
1498
867fa1e2 1499#endif
1d7c1841
GS
1500PERL_CALLCONV void Perl_leave_scope(pTHX_ I32 base);
1501PERL_CALLCONV void Perl_lex_end(pTHX);
5486870f 1502PERL_CALLCONV void Perl_lex_start(pTHX_ SV* line, PerlIO *rsfp, bool new_filter);
f0e67a1d
Z
1503PERL_CALLCONV bool Perl_lex_bufutf8(pTHX);
1504PERL_CALLCONV char* Perl_lex_grow_linestr(pTHX_ STRLEN len);
1505PERL_CALLCONV void Perl_lex_stuff_pvn(pTHX_ char* pv, STRLEN len, U32 flags)
1506 __attribute__nonnull__(pTHX_1);
1507#define PERL_ARGS_ASSERT_LEX_STUFF_PVN \
1508 assert(pv)
1509
1510PERL_CALLCONV void Perl_lex_stuff_sv(pTHX_ SV* sv, U32 flags)
1511 __attribute__nonnull__(pTHX_1);
1512#define PERL_ARGS_ASSERT_LEX_STUFF_SV \
1513 assert(sv)
1514
1515PERL_CALLCONV void Perl_lex_unstuff(pTHX_ char* ptr)
1516 __attribute__nonnull__(pTHX_1);
1517#define PERL_ARGS_ASSERT_LEX_UNSTUFF \
1518 assert(ptr)
1519
1520PERL_CALLCONV void Perl_lex_read_to(pTHX_ char* ptr)
1521 __attribute__nonnull__(pTHX_1);
1522#define PERL_ARGS_ASSERT_LEX_READ_TO \
1523 assert(ptr)
1524
1525PERL_CALLCONV void Perl_lex_discard_to(pTHX_ char* ptr)
1526 __attribute__nonnull__(pTHX_1);
1527#define PERL_ARGS_ASSERT_LEX_DISCARD_TO \
1528 assert(ptr)
1529
1530PERL_CALLCONV bool Perl_lex_next_chunk(pTHX_ U32 flags);
1531PERL_CALLCONV I32 Perl_lex_peek_unichar(pTHX_ U32 flags);
1532PERL_CALLCONV I32 Perl_lex_read_unichar(pTHX_ U32 flags);
1533PERL_CALLCONV void Perl_lex_read_space(pTHX_ U32 flags);
aec46f14
AL
1534PERL_CALLCONV void Perl_op_null(pTHX_ OP* o)
1535 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1536#define PERL_ARGS_ASSERT_OP_NULL \
1537 assert(o)
aec46f14
AL
1538
1539PERL_CALLCONV void Perl_op_clear(pTHX_ OP* o)
1540 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1541#define PERL_ARGS_ASSERT_OP_CLEAR \
1542 assert(o)
aec46f14 1543
4026c95a
SH
1544PERL_CALLCONV void Perl_op_refcnt_lock(pTHX);
1545PERL_CALLCONV void Perl_op_refcnt_unlock(pTHX);
efd0b058 1546#if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
12e93c28 1547STATIC OP* S_linklist(pTHX_ OP *o)
aec46f14 1548 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1549#define PERL_ARGS_ASSERT_LINKLIST \
1550 assert(o)
aec46f14 1551
412da003 1552STATIC OP* S_listkids(pTHX_ OP* o);
2dd5337b 1553#endif
1d7c1841 1554PERL_CALLCONV OP* Perl_list(pTHX_ OP* o);
aec46f14
AL
1555PERL_CALLCONV void Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...)
1556 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1557#define PERL_ARGS_ASSERT_LOAD_MODULE \
1558 assert(name)
aec46f14
AL
1559
1560PERL_CALLCONV void Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args)
1561 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1562#define PERL_ARGS_ASSERT_VLOAD_MODULE \
1563 assert(name)
aec46f14 1564
4048f010 1565PERL_CALLCONV OP* Perl_localize(pTHX_ OP *o, I32 lex)
bfce84ec 1566 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1567#define PERL_ARGS_ASSERT_LOCALIZE \
1568 assert(o)
bfce84ec 1569
aad570aa 1570PERL_CALLCONV I32 Perl_looks_like_number(pTHX_ SV *const sv)
abb2c242
JH
1571 __attribute__warn_unused_result__
1572 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1573#define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER \
1574 assert(sv)
f54cb97a 1575
a3b680e6 1576PERL_CALLCONV UV Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
abb2c242
JH
1577 __attribute__nonnull__(pTHX_1)
1578 __attribute__nonnull__(pTHX_2)
1579 __attribute__nonnull__(pTHX_3);
7918f24d
NC
1580#define PERL_ARGS_ASSERT_GROK_BIN \
1581 assert(start); assert(len_p); assert(flags)
f54cb97a 1582
a3b680e6 1583PERL_CALLCONV UV Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
abb2c242
JH
1584 __attribute__nonnull__(pTHX_1)
1585 __attribute__nonnull__(pTHX_2)
1586 __attribute__nonnull__(pTHX_3);
7918f24d
NC
1587#define PERL_ARGS_ASSERT_GROK_HEX \
1588 assert(start); assert(len_p); assert(flags)
f54cb97a
AL
1589
1590PERL_CALLCONV int Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep)
abb2c242 1591 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1592#define PERL_ARGS_ASSERT_GROK_NUMBER \
1593 assert(pv)
f54cb97a 1594
901017d6 1595PERL_CALLCONV bool Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send)
bfce84ec
AL
1596 __attribute__warn_unused_result__
1597 __attribute__nonnull__(pTHX_1)
1598 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1599#define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX \
1600 assert(sp); assert(send)
bfce84ec
AL
1601
1602PERL_CALLCONV UV Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
fb9bf107
NC
1603 __attribute__nonnull__(pTHX_1)
1604 __attribute__nonnull__(pTHX_2)
1605 __attribute__nonnull__(pTHX_3);
7918f24d
NC
1606#define PERL_ARGS_ASSERT_GROK_OCT \
1607 assert(start); assert(len_p); assert(flags)
bfce84ec
AL
1608
1609PERL_CALLCONV int Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg)
1610 __attribute__nonnull__(pTHX_1)
1611 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1612#define PERL_ARGS_ASSERT_MAGIC_CLEARENV \
1613 assert(sv); assert(mg)
bfce84ec
AL
1614
1615PERL_CALLCONV int Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg)
1616 __attribute__nonnull__(pTHX_1)
1617 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1618#define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV \
1619 assert(sv); assert(mg)
bfce84ec 1620
b3ca2e83
NC
1621PERL_CALLCONV int Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg)
1622 __attribute__nonnull__(pTHX_1)
1623 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1624#define PERL_ARGS_ASSERT_MAGIC_CLEARHINT \
1625 assert(sv); assert(mg)
b3ca2e83 1626
f747ebd6
Z
1627PERL_CALLCONV int Perl_magic_clearhints(pTHX_ SV* sv, MAGIC* mg)
1628 __attribute__nonnull__(pTHX_1)
1629 __attribute__nonnull__(pTHX_2);
1630#define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS \
1631 assert(sv); assert(mg)
1632
52b45067 1633PERL_CALLCONV int Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg)
52b45067 1634 __attribute__nonnull__(pTHX_2);
7918f24d 1635#define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
0e446081 1636 assert(mg)
52b45067 1637
bfce84ec
AL
1638PERL_CALLCONV int Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg)
1639 __attribute__nonnull__(pTHX_1)
1640 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1641#define PERL_ARGS_ASSERT_MAGIC_CLEARPACK \
1642 assert(sv); assert(mg)
bfce84ec
AL
1643
1644PERL_CALLCONV int Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg)
1645 __attribute__nonnull__(pTHX_1)
1646 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1647#define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \
1648 assert(sv); assert(mg)
bfce84ec 1649
1146e912 1650PERL_CALLCONV int Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg)
bfce84ec
AL
1651 __attribute__nonnull__(pTHX_1)
1652 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1653#define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK \
1654 assert(sv); assert(mg)
bfce84ec 1655
bfce84ec
AL
1656PERL_CALLCONV int Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg)
1657 __attribute__nonnull__(pTHX_1)
1658 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1659#define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD \
1660 assert(sv); assert(mg)
bfce84ec
AL
1661
1662PERL_CALLCONV int Perl_magic_get(pTHX_ SV* sv, MAGIC* mg)
1663 __attribute__nonnull__(pTHX_1)
1664 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1665#define PERL_ARGS_ASSERT_MAGIC_GET \
1666 assert(sv); assert(mg)
901017d6 1667
8772537c
AL
1668PERL_CALLCONV int Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg)
1669 __attribute__nonnull__(pTHX_1)
1670 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1671#define PERL_ARGS_ASSERT_MAGIC_GETARYLEN \
1672 assert(sv); assert(mg)
8772537c 1673
bfce84ec
AL
1674PERL_CALLCONV int Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg)
1675 __attribute__nonnull__(pTHX_1)
1676 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1677#define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM \
1678 assert(sv); assert(mg)
bfce84ec 1679
bfce84ec
AL
1680PERL_CALLCONV int Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg)
1681 __attribute__nonnull__(pTHX_1)
1682 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1683#define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \
1684 assert(sv); assert(mg)
bfce84ec
AL
1685
1686PERL_CALLCONV int Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg)
1687 __attribute__nonnull__(pTHX_1)
1688 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1689#define PERL_ARGS_ASSERT_MAGIC_GETPACK \
1690 assert(sv); assert(mg)
bfce84ec
AL
1691
1692PERL_CALLCONV int Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg)
1693 __attribute__nonnull__(pTHX_1)
1694 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1695#define PERL_ARGS_ASSERT_MAGIC_GETPOS \
1696 assert(sv); assert(mg)
bfce84ec
AL
1697
1698PERL_CALLCONV int Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg)
1699 __attribute__nonnull__(pTHX_1)
1700 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1701#define PERL_ARGS_ASSERT_MAGIC_GETSIG \
1702 assert(sv); assert(mg)
bfce84ec
AL
1703
1704PERL_CALLCONV int Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg)
1705 __attribute__nonnull__(pTHX_1)
1706 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1707#define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR \
1708 assert(sv); assert(mg)
bfce84ec
AL
1709
1710PERL_CALLCONV int Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg)
1711 __attribute__nonnull__(pTHX_1)
1712 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1713#define PERL_ARGS_ASSERT_MAGIC_GETTAINT \
1714 assert(sv); assert(mg)
bfce84ec
AL
1715
1716PERL_CALLCONV int Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg)
1717 __attribute__nonnull__(pTHX_1)
1718 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1719#define PERL_ARGS_ASSERT_MAGIC_GETUVAR \
1720 assert(sv); assert(mg)
bfce84ec
AL
1721
1722PERL_CALLCONV int Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg)
1723 __attribute__nonnull__(pTHX_1)
1724 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1725#define PERL_ARGS_ASSERT_MAGIC_GETVEC \
1726 assert(sv); assert(mg)
bfce84ec
AL
1727
1728PERL_CALLCONV U32 Perl_magic_len(pTHX_ SV* sv, MAGIC* mg)
1729 __attribute__nonnull__(pTHX_1)
1730 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1731#define PERL_ARGS_ASSERT_MAGIC_LEN \
1732 assert(sv); assert(mg)
bfce84ec 1733
4048f010 1734PERL_CALLCONV int Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key)
bfce84ec
AL
1735 __attribute__nonnull__(pTHX_1)
1736 __attribute__nonnull__(pTHX_2)
1737 __attribute__nonnull__(pTHX_3);
7918f24d
NC
1738#define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \
1739 assert(sv); assert(mg); assert(key)
bfce84ec
AL
1740
1741PERL_CALLCONV U32 Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg)
1742 __attribute__nonnull__(pTHX_1)
1743 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1744#define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT \
1745 assert(sv); assert(mg)
bfce84ec
AL
1746
1747PERL_CALLCONV int Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg)
1748 __attribute__nonnull__(pTHX_1)
1749 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1750#define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET \
1751 assert(sv); assert(mg)
bfce84ec 1752
f54cb97a 1753PERL_CALLCONV int Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
1754 __attribute__noreturn__
1755 __attribute__nonnull__(pTHX_1)
1756 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1757#define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET \
1758 assert(sv); assert(mg)
bfce84ec
AL
1759
1760PERL_CALLCONV int Perl_magic_set(pTHX_ SV* sv, MAGIC* mg)
1761 __attribute__nonnull__(pTHX_1)
1762 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1763#define PERL_ARGS_ASSERT_MAGIC_SET \
1764 assert(sv); assert(mg)
bfce84ec
AL
1765
1766PERL_CALLCONV int Perl_magic_setamagic(pTHX_ SV* sv, MAGIC* mg)
1767 __attribute__nonnull__(pTHX_1)
1768 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1769#define PERL_ARGS_ASSERT_MAGIC_SETAMAGIC \
1770 assert(sv); assert(mg)
bfce84ec
AL
1771
1772PERL_CALLCONV int Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg)
1773 __attribute__nonnull__(pTHX_1)
1774 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1775#define PERL_ARGS_ASSERT_MAGIC_SETARYLEN \
1776 assert(sv); assert(mg)
bfce84ec
AL
1777
1778PERL_CALLCONV int Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg)
1779 __attribute__nonnull__(pTHX_1)
1780 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1781#define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P \
1782 assert(sv); assert(mg)
bfce84ec 1783
488344d2 1784PERL_CALLCONV int Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
1785 __attribute__nonnull__(pTHX_1)
1786 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1787#define PERL_ARGS_ASSERT_MAGIC_SETDBLINE \
1788 assert(sv); assert(mg)
bfce84ec 1789
488344d2 1790PERL_CALLCONV int Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
1791 __attribute__nonnull__(pTHX_1)
1792 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1793#define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM \
1794 assert(sv); assert(mg)
bfce84ec 1795
488344d2 1796PERL_CALLCONV int Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
1797 __attribute__nonnull__(pTHX_1)
1798 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1799#define PERL_ARGS_ASSERT_MAGIC_SETENV \
1800 assert(sv); assert(mg)
bfce84ec 1801
b3ca2e83
NC
1802PERL_CALLCONV int Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg)
1803 __attribute__nonnull__(pTHX_1)
1804 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1805#define PERL_ARGS_ASSERT_MAGIC_SETHINT \
1806 assert(sv); assert(mg)
b3ca2e83 1807
bfce84ec
AL
1808PERL_CALLCONV int Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg)
1809 __attribute__nonnull__(pTHX_1)
1810 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1811#define PERL_ARGS_ASSERT_MAGIC_SETISA \
1812 assert(sv); assert(mg)
bfce84ec 1813
bfce84ec
AL
1814PERL_CALLCONV int Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg)
1815 __attribute__nonnull__(pTHX_1)
1816 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1817#define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \
1818 assert(sv); assert(mg)
bfce84ec
AL
1819
1820PERL_CALLCONV int Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg)
1821 __attribute__nonnull__(pTHX_1)
1822 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1823#define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \
1824 assert(sv); assert(mg)
bfce84ec
AL
1825
1826PERL_CALLCONV int Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg)
1827 __attribute__nonnull__(pTHX_1)
1828 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1829#define PERL_ARGS_ASSERT_MAGIC_SETPACK \
1830 assert(sv); assert(mg)
bfce84ec
AL
1831
1832PERL_CALLCONV int Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg)
1833 __attribute__nonnull__(pTHX_1)
1834 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1835#define PERL_ARGS_ASSERT_MAGIC_SETPOS \
1836 assert(sv); assert(mg)
bfce84ec
AL
1837
1838PERL_CALLCONV int Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg)
1839 __attribute__nonnull__(pTHX_1)
1840 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1841#define PERL_ARGS_ASSERT_MAGIC_SETREGEXP \
1842 assert(sv); assert(mg)
bfce84ec
AL
1843
1844PERL_CALLCONV int Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg)
bfce84ec 1845 __attribute__nonnull__(pTHX_2);
7918f24d 1846#define PERL_ARGS_ASSERT_MAGIC_SETSIG \
38a124f0 1847 assert(mg)
bfce84ec
AL
1848
1849PERL_CALLCONV int Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg)
1850 __attribute__nonnull__(pTHX_1)
1851 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1852#define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR \
1853 assert(sv); assert(mg)
bfce84ec
AL
1854
1855PERL_CALLCONV int Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg)
1856 __attribute__nonnull__(pTHX_1)
1857 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1858#define PERL_ARGS_ASSERT_MAGIC_SETTAINT \
1859 assert(sv); assert(mg)
bfce84ec
AL
1860
1861PERL_CALLCONV int Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg)
1862 __attribute__nonnull__(pTHX_1)
1863 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1864#define PERL_ARGS_ASSERT_MAGIC_SETUVAR \
1865 assert(sv); assert(mg)
bfce84ec
AL
1866
1867PERL_CALLCONV int Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg)
1868 __attribute__nonnull__(pTHX_1)
1869 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1870#define PERL_ARGS_ASSERT_MAGIC_SETVEC \
1871 assert(sv); assert(mg)
bfce84ec
AL
1872
1873PERL_CALLCONV int Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg)
1874 __attribute__nonnull__(pTHX_1)
1875 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1876#define PERL_ARGS_ASSERT_MAGIC_SETUTF8 \
1877 assert(sv); assert(mg)
bfce84ec
AL
1878
1879PERL_CALLCONV int Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg)
1880 __attribute__nonnull__(pTHX_1)
1881 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1882#define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV \
1883 assert(sv); assert(mg)
bfce84ec
AL
1884
1885PERL_CALLCONV U32 Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg)
1886 __attribute__nonnull__(pTHX_1)
1887 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1888#define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \
1889 assert(sv); assert(mg)
bfce84ec
AL
1890
1891PERL_CALLCONV int Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg)
1892 __attribute__nonnull__(pTHX_1)
1893 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1894#define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \
1895 assert(sv); assert(mg)
bfce84ec 1896
1d7c1841 1897PERL_CALLCONV void Perl_markstack_grow(pTHX);
864dbfa3 1898#if defined(USE_LOCALE_COLLATE)
aa924a5a
SH
1899PERL_CALLCONV int Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg)
1900 __attribute__nonnull__(pTHX_1)
1901 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1902#define PERL_ARGS_ASSERT_MAGIC_SETCOLLXFRM \
1903 assert(sv); assert(mg)
aa924a5a
SH
1904
1905PERL_CALLCONV char* Perl_mem_collxfrm(pTHX_ const char* s, STRLEN len, STRLEN* xlen)
1906 __attribute__nonnull__(pTHX_1)
1907 __attribute__nonnull__(pTHX_3);
7918f24d
NC
1908#define PERL_ARGS_ASSERT_MEM_COLLXFRM \
1909 assert(s); assert(xlen)
aa924a5a 1910
0cb96387 1911#endif
894356b3 1912PERL_CALLCONV SV* Perl_mess(pTHX_ const char* pat, ...)
aec46f14
AL
1913 __attribute__format__(__printf__,pTHX_1,pTHX_2)
1914 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1915#define PERL_ARGS_ASSERT_MESS \
1916 assert(pat)
aec46f14
AL
1917
1918PERL_CALLCONV SV* Perl_vmess(pTHX_ const char* pat, va_list* args)
1919 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1920#define PERL_ARGS_ASSERT_VMESS \
1921 assert(pat)
f54cb97a 1922
aa924a5a
SH
1923PERL_CALLCONV void Perl_qerror(pTHX_ SV* err)
1924 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1925#define PERL_ARGS_ASSERT_QERROR \
1926 assert(err)
aa924a5a
SH
1927
1928PERL_CALLCONV void Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp)
52657f30 1929 __attribute__nonnull__(pTHX_3);
7918f24d
NC
1930#define PERL_ARGS_ASSERT_SORTSV \
1931 assert(cmp)
aa924a5a 1932
7b9ef140 1933PERL_CALLCONV void Perl_sortsv_flags(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags)
52657f30 1934 __attribute__nonnull__(pTHX_3);
7918f24d
NC
1935#define PERL_ARGS_ASSERT_SORTSV_FLAGS \
1936 assert(cmp)
7b9ef140 1937
9a957fbc
AL
1938PERL_CALLCONV int Perl_mg_clear(pTHX_ SV* sv)
1939 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1940#define PERL_ARGS_ASSERT_MG_CLEAR \
1941 assert(sv)
9a957fbc 1942
4048f010 1943PERL_CALLCONV int Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen)
9a957fbc
AL
1944 __attribute__nonnull__(pTHX_1)
1945 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1946#define PERL_ARGS_ASSERT_MG_COPY \
1947 assert(sv); assert(nsv)
9a957fbc 1948
af7df257 1949PERL_CALLCONV void Perl_mg_localize(pTHX_ SV* sv, SV* nsv, bool setmagic)
9a957fbc
AL
1950 __attribute__nonnull__(pTHX_1)
1951 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1952#define PERL_ARGS_ASSERT_MG_LOCALIZE \
1953 assert(sv); assert(nsv)
9a957fbc 1954
255164ba
DM
1955PERL_CALLCONV MAGIC* Perl_mg_find(pTHX_ const SV* sv, int type)
1956 __attribute__warn_unused_result__;
1957
9a957fbc
AL
1958PERL_CALLCONV int Perl_mg_free(pTHX_ SV* sv)
1959 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1960#define PERL_ARGS_ASSERT_MG_FREE \
1961 assert(sv)
9a957fbc
AL
1962
1963PERL_CALLCONV int Perl_mg_get(pTHX_ SV* sv)
1964 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1965#define PERL_ARGS_ASSERT_MG_GET \
1966 assert(sv)
9a957fbc
AL
1967
1968PERL_CALLCONV U32 Perl_mg_length(pTHX_ SV* sv)
1969 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1970#define PERL_ARGS_ASSERT_MG_LENGTH \
1971 assert(sv)
9a957fbc
AL
1972
1973PERL_CALLCONV void Perl_mg_magical(pTHX_ SV* sv)
1974 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1975#define PERL_ARGS_ASSERT_MG_MAGICAL \
1976 assert(sv)
9a957fbc
AL
1977
1978PERL_CALLCONV int Perl_mg_set(pTHX_ SV* sv)
1979 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1980#define PERL_ARGS_ASSERT_MG_SET \
1981 assert(sv)
9a957fbc
AL
1982
1983PERL_CALLCONV I32 Perl_mg_size(pTHX_ SV* sv)
1984 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1985#define PERL_ARGS_ASSERT_MG_SIZE \
1986 assert(sv)
9a957fbc 1987
9f6cc744 1988PERL_CALLCONV void Perl_mini_mktime(pTHX_ struct tm *ptm)
9a957fbc 1989 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1990#define PERL_ARGS_ASSERT_MINI_MKTIME \
1991 assert(ptm)
9a957fbc 1992
1d7c1841 1993PERL_CALLCONV OP* Perl_mod(pTHX_ OP* o, I32 type);
a79b25b7 1994PERL_CALLCONV int Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len);
c7030b81 1995PERL_CALLCONV const char* Perl_moreswitches(pTHX_ const char* s)
bfce84ec 1996 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1997#define PERL_ARGS_ASSERT_MORESWITCHES \
1998 assert(s)
bfce84ec 1999
4373e329 2000PERL_CALLCONV NV Perl_my_atof(pTHX_ const char *s)
abb2c242 2001 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2002#define PERL_ARGS_ASSERT_MY_ATOF \
2003 assert(s)
f54cb97a 2004
2253333f 2005#if (!defined(HAS_MEMCPY) && !defined(HAS_BCOPY)) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY) && !defined(HAS_SAFE_BCOPY))
4373e329 2006PERL_CALLCONV char* Perl_my_bcopy(const char* from, char* to, I32 len)
abb2c242
JH
2007 __attribute__nonnull__(1)
2008 __attribute__nonnull__(2);
7918f24d
NC
2009#define PERL_ARGS_ASSERT_MY_BCOPY \
2010 assert(from); assert(to)
f54cb97a 2011
5f05dabc 2012#endif
a0d0e21e 2013#if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
4373e329 2014PERL_CALLCONV char* Perl_my_bzero(char* loc, I32 len)
abb2c242 2015 __attribute__nonnull__(1);
7918f24d
NC
2016#define PERL_ARGS_ASSERT_MY_BZERO \
2017 assert(loc)
f54cb97a 2018
864dbfa3 2019#endif
f54cb97a 2020PERL_CALLCONV void Perl_my_exit(pTHX_ U32 status)
abb2c242 2021 __attribute__noreturn__;
f54cb97a
AL
2022
2023PERL_CALLCONV void Perl_my_failure_exit(pTHX)
abb2c242 2024 __attribute__noreturn__;
f54cb97a 2025
1d7c1841 2026PERL_CALLCONV I32 Perl_my_fflush_all(pTHX);
52e18b1f
GS
2027PERL_CALLCONV Pid_t Perl_my_fork(void);
2028PERL_CALLCONV void Perl_atfork_lock(void);
2029PERL_CALLCONV void Perl_atfork_unlock(void);
1d7c1841 2030PERL_CALLCONV I32 Perl_my_lstat(pTHX);
5f05dabc 2031#if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP)
4373e329 2032PERL_CALLCONV I32 Perl_my_memcmp(const char* s1, const char* s2, I32 len)
abb2c242
JH
2033 __attribute__pure__
2034 __attribute__nonnull__(1)
2035 __attribute__nonnull__(2);
7918f24d
NC
2036#define PERL_ARGS_ASSERT_MY_MEMCMP \
2037 assert(s1); assert(s2)
f54cb97a 2038
a0d0e21e 2039#endif
fc36a67e 2040#if !defined(HAS_MEMSET)
4373e329 2041PERL_CALLCONV void* Perl_my_memset(char* loc, I32 ch, I32 len)
abb2c242 2042 __attribute__nonnull__(1);
7918f24d
NC
2043#define PERL_ARGS_ASSERT_MY_MEMSET \
2044 assert(loc)
f54cb97a 2045
864dbfa3 2046#endif
1d7c1841 2047PERL_CALLCONV I32 Perl_my_pclose(pTHX_ PerlIO* ptr);
bfce84ec
AL
2048PERL_CALLCONV PerlIO* Perl_my_popen(pTHX_ const char* cmd, const char* mode)
2049 __attribute__nonnull__(pTHX_1)
2050 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2051#define PERL_ARGS_ASSERT_MY_POPEN \
2052 assert(cmd); assert(mode)
bfce84ec 2053
c9289b7b 2054PERL_CALLCONV PerlIO* Perl_my_popen_list(pTHX_ const char* mode, int n, SV ** args)
bfce84ec
AL
2055 __attribute__nonnull__(pTHX_1)
2056 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2057#define PERL_ARGS_ASSERT_MY_POPEN_LIST \
2058 assert(mode); assert(args)
bfce84ec 2059
e1ec3a88 2060PERL_CALLCONV void Perl_my_setenv(pTHX_ const char* nam, const char* val);
1d7c1841 2061PERL_CALLCONV I32 Perl_my_stat(pTHX);
bfce84ec
AL
2062PERL_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)
2063 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2064#define PERL_ARGS_ASSERT_MY_STRFTIME \
2065 assert(fmt)
bfce84ec 2066
864dbfa3 2067#if defined(MYSWAP)
4373e329 2068PERL_CALLCONV short Perl_my_swap(pTHX_ short s)
abb2c242
JH
2069 __attribute__malloc__
2070 __attribute__warn_unused_result__
2071 __attribute__pure__;
f54cb97a 2072
4373e329 2073PERL_CALLCONV long Perl_my_htonl(pTHX_ long l)
abb2c242
JH
2074 __attribute__malloc__
2075 __attribute__warn_unused_result__
2076 __attribute__pure__;
f54cb97a 2077
4373e329 2078PERL_CALLCONV long Perl_my_ntohl(pTHX_ long l)
abb2c242
JH
2079 __attribute__malloc__
2080 __attribute__warn_unused_result__
2081 __attribute__pure__;
f54cb97a 2082
0cb96387 2083#endif
1d7c1841 2084PERL_CALLCONV void Perl_my_unexec(pTHX);
f54cb97a 2085PERL_CALLCONV OP* Perl_newANONLIST(pTHX_ OP* o)
abb2c242
JH
2086 __attribute__malloc__
2087 __attribute__warn_unused_result__;
f54cb97a
AL
2088
2089PERL_CALLCONV OP* Perl_newANONHASH(pTHX_ OP* o)
abb2c242
JH
2090 __attribute__malloc__
2091 __attribute__warn_unused_result__;
f54cb97a 2092
1d7c1841 2093PERL_CALLCONV OP* Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block);
f54cb97a 2094PERL_CALLCONV OP* Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right)
abb2c242
JH
2095 __attribute__malloc__
2096 __attribute__warn_unused_result__;
f54cb97a 2097
aec46f14 2098PERL_CALLCONV OP* Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop)
abb2c242 2099 __attribute__malloc__
aec46f14
AL
2100 __attribute__warn_unused_result__
2101 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2102#define PERL_ARGS_ASSERT_NEWCONDOP \
2103 assert(first)
aec46f14 2104
99ab892b 2105PERL_CALLCONV CV* Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv);
eb8433b7
NC
2106#ifdef PERL_MAD
2107PERL_CALLCONV OP* Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
2108#else
1d7c1841 2109PERL_CALLCONV void Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
eb8433b7 2110#endif
aa924a5a 2111PERL_CALLCONV OP* Perl_newFOROP(pTHX_ I32 flags, char* label, line_t forline, OP* sv, OP* expr, OP* block, OP* cont)
abb2c242 2112 __attribute__malloc__
aa924a5a
SH
2113 __attribute__warn_unused_result__
2114 __attribute__nonnull__(pTHX_5);
7918f24d
NC
2115#define PERL_ARGS_ASSERT_NEWFOROP \
2116 assert(expr)
f54cb97a 2117
0d863452
RH
2118PERL_CALLCONV OP* Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off)
2119 __attribute__malloc__
2120 __attribute__warn_unused_result__
2121 __attribute__nonnull__(pTHX_1)
2122 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2123#define PERL_ARGS_ASSERT_NEWGIVENOP \
2124 assert(cond); assert(block)
0d863452 2125
4048f010 2126PERL_CALLCONV OP* Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
abb2c242 2127 __attribute__malloc__
aa924a5a
SH
2128 __attribute__warn_unused_result__
2129 __attribute__nonnull__(pTHX_3)
2130 __attribute__nonnull__(pTHX_4);
7918f24d
NC
2131#define PERL_ARGS_ASSERT_NEWLOGOP \
2132 assert(first); assert(other)
f54cb97a
AL
2133
2134PERL_CALLCONV OP* Perl_newLOOPEX(pTHX_ I32 type, OP* label)
abb2c242 2135 __attribute__malloc__
aa924a5a
SH
2136 __attribute__warn_unused_result__
2137 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2138#define PERL_ARGS_ASSERT_NEWLOOPEX \
2139 assert(label)
f54cb97a
AL
2140
2141PERL_CALLCONV OP* Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block)
abb2c242
JH
2142 __attribute__malloc__
2143 __attribute__warn_unused_result__;
f54cb97a 2144
4373e329 2145PERL_CALLCONV OP* Perl_newNULLLIST(pTHX)
abb2c242
JH
2146 __attribute__malloc__
2147 __attribute__warn_unused_result__;
f54cb97a
AL
2148
2149PERL_CALLCONV OP* Perl_newOP(pTHX_ I32 optype, I32 flags)
abb2c242
JH
2150 __attribute__malloc__
2151 __attribute__warn_unused_result__;
f54cb97a
AL
2152
2153PERL_CALLCONV void Perl_newPROG(pTHX_ OP* o)
abb2c242 2154 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2155#define PERL_ARGS_ASSERT_NEWPROG \
2156 assert(o)
f54cb97a
AL
2157
2158PERL_CALLCONV OP* Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right)
abb2c242 2159 __attribute__malloc__
aa924a5a
SH
2160 __attribute__warn_unused_result__
2161 __attribute__nonnull__(pTHX_2)
2162 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2163#define PERL_ARGS_ASSERT_NEWRANGE \
2164 assert(left); assert(right)
f54cb97a
AL
2165
2166PERL_CALLCONV OP* Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop)
abb2c242
JH
2167 __attribute__malloc__
2168 __attribute__warn_unused_result__;
f54cb97a
AL
2169
2170PERL_CALLCONV OP* Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o)
abb2c242
JH
2171 __attribute__malloc__
2172 __attribute__warn_unused_result__;
f54cb97a 2173
1d7c1841 2174PERL_CALLCONV CV* Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block);
77004dee
NC
2175PERL_CALLCONV CV * Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags)
2176 __attribute__nonnull__(pTHX_2)
2177 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2178#define PERL_ARGS_ASSERT_NEWXS_FLAGS \
2179 assert(subaddr); assert(filename)
77004dee 2180
4048f010 2181PERL_CALLCONV CV* Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename)
9a957fbc 2182 __attribute__nonnull__(pTHX_2)
abb2c242 2183 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2184#define PERL_ARGS_ASSERT_NEWXS \
2185 assert(subaddr); assert(filename)
f54cb97a 2186
ac572bf4 2187/* PERL_CALLCONV AV* Perl_newAV(pTHX)
ac572bf4 2188 __attribute__warn_unused_result__; */
f54cb97a 2189
4373e329 2190PERL_CALLCONV OP* Perl_newAVREF(pTHX_ OP* o)
abb2c242
JH
2191 __attribute__malloc__
2192 __attribute__warn_unused_result__
2193 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2194#define PERL_ARGS_ASSERT_NEWAVREF \
2195 assert(o)
f54cb97a
AL
2196
2197PERL_CALLCONV OP* Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
abb2c242
JH
2198 __attribute__malloc__
2199 __attribute__warn_unused_result__;
f54cb97a
AL
2200
2201PERL_CALLCONV OP* Perl_newCVREF(pTHX_ I32 flags, OP* o)
abb2c242
JH
2202 __attribute__malloc__
2203 __attribute__warn_unused_result__;
f54cb97a
AL
2204
2205PERL_CALLCONV OP* Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv)
abb2c242 2206 __attribute__malloc__
2d03de9c
AL
2207 __attribute__warn_unused_result__
2208 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2209#define PERL_ARGS_ASSERT_NEWGVOP \
2210 assert(gv)
f54cb97a
AL
2211
2212PERL_CALLCONV GV* Perl_newGVgen(pTHX_ const char* pack)
abb2c242 2213 __attribute__malloc__
aa924a5a
SH
2214 __attribute__warn_unused_result__
2215 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2216#define PERL_ARGS_ASSERT_NEWGVGEN \
2217 assert(pack)
f54cb97a
AL
2218
2219PERL_CALLCONV OP* Perl_newGVREF(pTHX_ I32 type, OP* o)
abb2c242
JH
2220 __attribute__malloc__
2221 __attribute__warn_unused_result__;
f54cb97a 2222
4373e329 2223PERL_CALLCONV OP* Perl_newHVREF(pTHX_ OP* o)
abb2c242
JH
2224 __attribute__malloc__
2225 __attribute__warn_unused_result__
2226 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2227#define PERL_ARGS_ASSERT_NEWHVREF \
2228 assert(o)
f54cb97a 2229
78ac7dd9 2230/* PERL_CALLCONV HV* Perl_newHV(pTHX)
78ac7dd9 2231 __attribute__warn_unused_result__; */
f54cb97a 2232
4048f010 2233PERL_CALLCONV HV* Perl_newHVhv(pTHX_ HV *hv)
abb2c242
JH
2234 __attribute__malloc__
2235 __attribute__warn_unused_result__;
f54cb97a 2236
85dca89a 2237/* PERL_CALLCONV IO* Perl_newIO(pTHX)
abb2c242 2238 __attribute__malloc__
85dca89a 2239 __attribute__warn_unused_result__; */
f54cb97a
AL
2240
2241PERL_CALLCONV OP* Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
abb2c242
JH
2242 __attribute__malloc__
2243 __attribute__warn_unused_result__;
f54cb97a 2244
392d04bb 2245#ifdef USE_ITHREADS
f54cb97a 2246PERL_CALLCONV OP* Perl_newPADOP(pTHX_ I32 type, I32 flags, SV* sv)
abb2c242 2247 __attribute__malloc__
58182927
NC
2248 __attribute__warn_unused_result__
2249 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2250#define PERL_ARGS_ASSERT_NEWPADOP \
2251 assert(sv)
f54cb97a 2252
392d04bb 2253#endif
f54cb97a 2254PERL_CALLCONV OP* Perl_newPMOP(pTHX_ I32 type, I32 flags)
abb2c242
JH
2255 __attribute__malloc__
2256 __attribute__warn_unused_result__;
f54cb97a
AL
2257
2258PERL_CALLCONV OP* Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv)
abb2c242
JH
2259 __attribute__malloc__
2260 __attribute__warn_unused_result__;
f54cb97a 2261
23f13727 2262PERL_CALLCONV SV* Perl_newRV(pTHX_ SV *const sv)
abb2c242 2263 __attribute__malloc__
66a1b24b
AL
2264 __attribute__warn_unused_result__
2265 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2266#define PERL_ARGS_ASSERT_NEWRV \
2267 assert(sv)
f54cb97a 2268
23f13727 2269PERL_CALLCONV SV* Perl_newRV_noinc(pTHX_ SV *const sv)
abb2c242
JH
2270 __attribute__malloc__
2271 __attribute__warn_unused_result__
2272 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2273#define PERL_ARGS_ASSERT_NEWRV_NOINC \
2274 assert(sv)
f54cb97a 2275
2b021c53 2276PERL_CALLCONV SV* Perl_newSV(pTHX_ const STRLEN len)
abb2c242
JH
2277 __attribute__malloc__
2278 __attribute__warn_unused_result__;
f54cb97a 2279
4373e329 2280PERL_CALLCONV OP* Perl_newSVREF(pTHX_ OP* o)
abb2c242
JH
2281 __attribute__malloc__
2282 __attribute__warn_unused_result__
2283 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2284#define PERL_ARGS_ASSERT_NEWSVREF \
2285 assert(o)
f54cb97a 2286
4373e329 2287PERL_CALLCONV OP* Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv)
abb2c242
JH
2288 __attribute__malloc__
2289 __attribute__warn_unused_result__
2290 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2291#define PERL_ARGS_ASSERT_NEWSVOP \
2292 assert(sv)
f54cb97a 2293
23f13727 2294PERL_CALLCONV SV* Perl_newSViv(pTHX_ const IV i)
abb2c242
JH
2295 __attribute__malloc__
2296 __attribute__warn_unused_result__;
f54cb97a 2297
23f13727 2298PERL_CALLCONV SV* Perl_newSVuv(pTHX_ const UV u)
abb2c242
JH
2299 __attribute__malloc__
2300 __attribute__warn_unused_result__;
f54cb97a 2301
23f13727 2302PERL_CALLCONV SV* Perl_newSVnv(pTHX_ const NV n)
abb2c242
JH
2303 __attribute__malloc__
2304 __attribute__warn_unused_result__;
f54cb97a 2305
23f13727 2306PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
abb2c242
JH
2307 __attribute__malloc__
2308 __attribute__warn_unused_result__;
f54cb97a 2309
23f13727 2310PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char *const s, const STRLEN len)
abb2c242
JH
2311 __attribute__malloc__
2312 __attribute__warn_unused_result__;
f54cb97a 2313
23f13727 2314PERL_CALLCONV SV* Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)
740cce10
NC
2315 __attribute__malloc__
2316 __attribute__warn_unused_result__;
2317
23f13727 2318PERL_CALLCONV SV* Perl_newSVhek(pTHX_ const HEK *const hek)
c1b02ed8
NC
2319 __attribute__malloc__
2320 __attribute__warn_unused_result__;
2321
f54cb97a 2322PERL_CALLCONV SV* Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash)
abb2c242
JH
2323 __attribute__malloc__
2324 __attribute__warn_unused_result__;
f54cb97a 2325
23f13727 2326PERL_CALLCONV SV* Perl_newSVpvf(pTHX_ const char *const pat, ...)
abb2c242
JH
2327 __attribute__malloc__
2328 __attribute__warn_unused_result__
aec46f14
AL
2329 __attribute__format__(__printf__,pTHX_1,pTHX_2)
2330 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2331#define PERL_ARGS_ASSERT_NEWSVPVF \
2332 assert(pat)
aec46f14 2333
23f13727 2334PERL_CALLCONV SV* Perl_vnewSVpvf(pTHX_ const char *const pat, va_list *const args)
aec46f14
AL
2335 __attribute__malloc__
2336 __attribute__warn_unused_result__
2337 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2338#define PERL_ARGS_ASSERT_VNEWSVPVF \
2339 assert(pat)
f54cb97a 2340
12964ddd 2341PERL_CALLCONV SV* Perl_newSVrv(pTHX_ SV *const rv, const char *const classname)
1b6737cc 2342 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2343#define PERL_ARGS_ASSERT_NEWSVRV \
2344 assert(rv)
f54cb97a 2345
23f13727 2346PERL_CALLCONV SV* Perl_newSVsv(pTHX_ SV *const old)
abb2c242
JH
2347 __attribute__malloc__
2348 __attribute__warn_unused_result__;
f54cb97a 2349
fe9845cc 2350PERL_CALLCONV SV* Perl_newSV_type(pTHX_ const svtype type)
b9f83d2f
NC
2351 __attribute__malloc__
2352 __attribute__warn_unused_result__;
2353
f54cb97a 2354PERL_CALLCONV OP* Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first)
abb2c242
JH
2355 __attribute__malloc__
2356 __attribute__warn_unused_result__;
f54cb97a 2357
0d863452
RH
2358PERL_CALLCONV OP* Perl_newWHENOP(pTHX_ OP* cond, OP* block)
2359 __attribute__malloc__
2360 __attribute__warn_unused_result__
2361 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2362#define PERL_ARGS_ASSERT_NEWWHENOP \
2363 assert(block)
0d863452 2364
f54cb97a 2365PERL_CALLCONV OP* Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, I32 whileline, OP* expr, OP* block, OP* cont, I32 has_my)
abb2c242
JH
2366 __attribute__malloc__
2367 __attribute__warn_unused_result__;
f54cb97a
AL
2368
2369PERL_CALLCONV PERL_SI* Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
abb2c242
JH
2370 __attribute__malloc__
2371 __attribute__warn_unused_result__;
f54cb97a 2372
4048f010 2373PERL_CALLCONV char* Perl_scan_vstring(pTHX_ const char *s, const char *const e, SV *sv)
abb2c242 2374 __attribute__nonnull__(pTHX_1)
65b06e02
DM
2375 __attribute__nonnull__(pTHX_2)
2376 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2377#define PERL_ARGS_ASSERT_SCAN_VSTRING \
2378 assert(s); assert(e); assert(sv)
f54cb97a 2379
9f6cc744 2380PERL_CALLCONV const char* Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv)
abb2c242
JH
2381 __attribute__nonnull__(pTHX_1)
2382 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2383#define PERL_ARGS_ASSERT_SCAN_VERSION \
2384 assert(s); assert(rv)
f54cb97a 2385
5747a2f6 2386PERL_CALLCONV const char* Perl_prescan_version(pTHX_ const char *s, bool strict, const char** errstr, bool *sqv, int *ssaw_decimal, int *swidth, bool *salpha)
91152fc1
DG
2387 __attribute__nonnull__(pTHX_1);
2388#define PERL_ARGS_ASSERT_PRESCAN_VERSION \
2389 assert(s)
2390
2d03de9c
AL
2391PERL_CALLCONV SV* Perl_new_version(pTHX_ SV *ver)
2392 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2393#define PERL_ARGS_ASSERT_NEW_VERSION \
2394 assert(ver)
2d03de9c 2395
ac0e6a2f 2396PERL_CALLCONV SV* Perl_upg_version(pTHX_ SV *ver, bool qv)
2d03de9c 2397 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2398#define PERL_ARGS_ASSERT_UPG_VERSION \
2399 assert(ver)
2d03de9c 2400
e0218a61
JP
2401PERL_CALLCONV bool Perl_vverify(pTHX_ SV *vs)
2402 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2403#define PERL_ARGS_ASSERT_VVERIFY \
2404 assert(vs)
e0218a61 2405
2d03de9c
AL
2406PERL_CALLCONV SV* Perl_vnumify(pTHX_ SV *vs)
2407 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2408#define PERL_ARGS_ASSERT_VNUMIFY \
2409 assert(vs)
2d03de9c
AL
2410
2411PERL_CALLCONV SV* Perl_vnormal(pTHX_ SV *vs)
2412 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2413#define PERL_ARGS_ASSERT_VNORMAL \
2414 assert(vs)
2d03de9c
AL
2415
2416PERL_CALLCONV SV* Perl_vstringify(pTHX_ SV *vs)
2417 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2418#define PERL_ARGS_ASSERT_VSTRINGIFY \
2419 assert(vs)
2d03de9c 2420
9f6cc744 2421PERL_CALLCONV int Perl_vcmp(pTHX_ SV *lhv, SV *rhv)
abb2c242
JH
2422 __attribute__nonnull__(pTHX_1)
2423 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2424#define PERL_ARGS_ASSERT_VCMP \
2425 assert(lhv); assert(rhv)
f54cb97a 2426
2d03de9c
AL
2427PERL_CALLCONV PerlIO* Perl_nextargv(pTHX_ GV* gv)
2428 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2429#define PERL_ARGS_ASSERT_NEXTARGV \
2430 assert(gv)
2d03de9c 2431
04c9e624 2432PERL_CALLCONV char* Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend)
2d03de9c 2433 __attribute__pure__
04c9e624
VP
2434 __attribute__nonnull__(1)
2435 __attribute__nonnull__(2)
2436 __attribute__nonnull__(3)
2437 __attribute__nonnull__(4);
7918f24d
NC
2438#define PERL_ARGS_ASSERT_NINSTR \
2439 assert(big); assert(bigend); assert(little); assert(lend)
f54cb97a 2440
6472dca1 2441PERL_CALLCONV void Perl_op_free(pTHX_ OP* arg);
eb8433b7
NC
2442#ifdef PERL_MAD
2443PERL_CALLCONV OP* Perl_package(pTHX_ OP* o)
2444 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2445#define PERL_ARGS_ASSERT_PACKAGE \
2446 assert(o)
eb8433b7
NC
2447
2448#else
2d03de9c
AL
2449PERL_CALLCONV void Perl_package(pTHX_ OP* o)
2450 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2451#define PERL_ARGS_ASSERT_PACKAGE \
2452 assert(o)
f54cb97a 2453
eb8433b7 2454#endif
6fa4d285
DG
2455PERL_CALLCONV void Perl_package_version(pTHX_ OP* v)
2456 __attribute__nonnull__(pTHX_1);
2457#define PERL_ARGS_ASSERT_PACKAGE_VERSION \
2458 assert(v)
2459
1d7c1841 2460PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
d6447115 2461PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name, const STRLEN len, const U32 flags)
abb2c242 2462 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2463#define PERL_ARGS_ASSERT_ALLOCMY \
2464 assert(name)
f54cb97a 2465
f8f98e0a 2466PERL_CALLCONV PADOFFSET Perl_pad_findmy(pTHX_ const char* name, STRLEN len, U32 flags)
255164ba 2467 __attribute__warn_unused_result__
abb2c242 2468 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2469#define PERL_ARGS_ASSERT_PAD_FINDMY \
2470 assert(name)
f54cb97a 2471
e1f795dc 2472PERL_CALLCONV PADOFFSET Perl_find_rundefsvoffset(pTHX);
4373e329 2473PERL_CALLCONV OP* Perl_oopsAV(pTHX_ OP* o)
1df70142 2474 __attribute__warn_unused_result__
abb2c242 2475 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2476#define PERL_ARGS_ASSERT_OOPSAV \
2477 assert(o)
f54cb97a 2478
4373e329 2479PERL_CALLCONV OP* Perl_oopsHV(pTHX_ OP* o)
1df70142 2480 __attribute__warn_unused_result__
abb2c242 2481 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2482#define PERL_ARGS_ASSERT_OOPSHV \
2483 assert(o)
f54cb97a 2484
dd2155a4 2485PERL_CALLCONV void Perl_pad_leavemy(pTHX);
c3507693 2486#ifdef DEBUGGING
1d7c1841 2487PERL_CALLCONV SV* Perl_pad_sv(pTHX_ PADOFFSET po);
c3507693 2488#endif
1d7c1841 2489PERL_CALLCONV void Perl_pad_free(pTHX_ PADOFFSET po);
efd0b058 2490#if defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT)
82af08ae
NC
2491STATIC void S_pad_reset(pTHX);
2492#endif
dd2155a4 2493PERL_CALLCONV void Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust);
1d7c1841 2494PERL_CALLCONV void Perl_peep(pTHX_ OP* o);
4048f010 2495PERL_CALLCONV PerlIO* Perl_start_glob(pTHX_ SV *tmpglob, IO *io)
2d03de9c
AL
2496 __attribute__nonnull__(pTHX_1)
2497 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2498#define PERL_ARGS_ASSERT_START_GLOB \
2499 assert(tmpglob); assert(io)
2d03de9c 2500
59bd0823 2501#if defined(USE_REENTRANT_API)
10bc17b6 2502PERL_CALLCONV void Perl_reentrant_size(pTHX);
59bd0823 2503PERL_CALLCONV void Perl_reentrant_init(pTHX);
10bc17b6 2504PERL_CALLCONV void Perl_reentrant_free(pTHX);
4048f010 2505PERL_CALLCONV void* Perl_reentrant_retry(const char *f, ...)
fb9bf107 2506 __attribute__nonnull__(1);
7918f24d
NC
2507#define PERL_ARGS_ASSERT_REENTRANT_RETRY \
2508 assert(f)
fb9bf107 2509
59bd0823 2510#endif
1d7c1841 2511PERL_CALLCONV void Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr);
4373e329 2512PERL_CALLCONV I32 Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv)
abb2c242
JH
2513 __attribute__nonnull__(pTHX_1)
2514 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2515#define PERL_ARGS_ASSERT_CALL_ARGV \
2516 assert(sub_name); assert(argv)
f54cb97a 2517
4373e329 2518PERL_CALLCONV I32 Perl_call_method(pTHX_ const char* methname, I32 flags)
abb2c242 2519 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2520#define PERL_ARGS_ASSERT_CALL_METHOD \
2521 assert(methname)
f54cb97a 2522
4373e329 2523PERL_CALLCONV I32 Perl_call_pv(pTHX_ const char* sub_name, I32 flags)
abb2c242 2524 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2525#define PERL_ARGS_ASSERT_CALL_PV \
2526 assert(sub_name)
f54cb97a 2527
8c54174d 2528PERL_CALLCONV I32 Perl_call_sv(pTHX_ SV* sv, VOL I32 flags)
aec46f14 2529 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2530#define PERL_ARGS_ASSERT_CALL_SV \
2531 assert(sv)
aec46f14 2532
ce08f86c 2533PERL_CALLCONV void Perl_despatch_signals(pTHX);
e4c5ccf3
RH
2534PERL_CALLCONV OP * Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref)
2535 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2536#define PERL_ARGS_ASSERT_DOREF \
2537 assert(o)
e4c5ccf3 2538
4373e329 2539PERL_CALLCONV SV* Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error)
abb2c242 2540 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2541#define PERL_ARGS_ASSERT_EVAL_PV \
2542 assert(p)
f54cb97a 2543
4373e329 2544PERL_CALLCONV I32 Perl_eval_sv(pTHX_ SV* sv, I32 flags)
abb2c242 2545 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2546#define PERL_ARGS_ASSERT_EVAL_SV \
2547 assert(sv)
f54cb97a 2548
64ace3f8 2549PERL_CALLCONV SV* Perl_get_sv(pTHX_ const char *name, I32 flags)
abb2c242 2550 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2551#define PERL_ARGS_ASSERT_GET_SV \
2552 assert(name)
f54cb97a 2553
cbfd0a87 2554PERL_CALLCONV AV* Perl_get_av(pTHX_ const char *name, I32 flags)
255164ba 2555 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2556#define PERL_ARGS_ASSERT_GET_AV \
2557 assert(name)
255164ba 2558
6673a63c 2559PERL_CALLCONV HV* Perl_get_hv(pTHX_ const char *name, I32 flags)
255164ba 2560 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2561#define PERL_ARGS_ASSERT_GET_HV \
2562 assert(name)
255164ba 2563
780a5241
NC
2564PERL_CALLCONV CV* Perl_get_cv(pTHX_ const char* name, I32 flags)
2565 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2566#define PERL_ARGS_ASSERT_GET_CV \
2567 assert(name)
780a5241
NC
2568
2569PERL_CALLCONV CV* Perl_get_cvn_flags(pTHX_ const char* name, STRLEN len, I32 flags)
abb2c242 2570 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2571#define PERL_ARGS_ASSERT_GET_CVN_FLAGS \
2572 assert(name)
f54cb97a 2573
1d7c1841
GS
2574PERL_CALLCONV int Perl_init_i18nl10n(pTHX_ int printwarn);
2575PERL_CALLCONV int Perl_init_i18nl14n(pTHX_ int printwarn);
8772537c
AL
2576PERL_CALLCONV void Perl_new_collate(pTHX_ const char* newcoll);
2577PERL_CALLCONV void Perl_new_ctype(pTHX_ const char* newctype)
abb2c242 2578 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2579#define PERL_ARGS_ASSERT_NEW_CTYPE \
2580 assert(newctype)
f54cb97a 2581
8772537c 2582PERL_CALLCONV void Perl_new_numeric(pTHX_ const char* newcoll);
1d7c1841
GS
2583PERL_CALLCONV void Perl_set_numeric_local(pTHX);
2584PERL_CALLCONV void Perl_set_numeric_radix(pTHX);
2585PERL_CALLCONV void Perl_set_numeric_standard(pTHX);
4373e329 2586PERL_CALLCONV void Perl_require_pv(pTHX_ const char* pv)
abb2c242 2587 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2588#define PERL_ARGS_ASSERT_REQUIRE_PV \
2589 assert(pv)
f54cb97a 2590
2d03de9c
AL
2591PERL_CALLCONV void Perl_pack_cat(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist, SV ***next_in_list, U32 flags)
2592 __attribute__nonnull__(pTHX_1)
2593 __attribute__nonnull__(pTHX_2)
2594 __attribute__nonnull__(pTHX_3)
2595 __attribute__nonnull__(pTHX_4)
2596 __attribute__nonnull__(pTHX_5)
2597 __attribute__nonnull__(pTHX_6);
7918f24d
NC
2598#define PERL_ARGS_ASSERT_PACK_CAT \
2599 assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist); assert(next_in_list)
2d03de9c
AL
2600
2601PERL_CALLCONV void Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist)
2602 __attribute__nonnull__(pTHX_1)
2603 __attribute__nonnull__(pTHX_2)
2604 __attribute__nonnull__(pTHX_3)
2605 __attribute__nonnull__(pTHX_4)
2606 __attribute__nonnull__(pTHX_5);
7918f24d
NC
2607#define PERL_ARGS_ASSERT_PACKLIST \
2608 assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist)
2d03de9c 2609
ed4173ef
NC
2610#if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
2611STATIC void S_pidgone(pTHX_ Pid_t pid, int status);
e3790a26 2612#endif
879d0c72
NC
2613PERL_CALLCONV void Perl_pmflag(pTHX_ U32 *pmfl, int ch)
2614 __attribute__deprecated__
abb2c242 2615 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2616#define PERL_ARGS_ASSERT_PMFLAG \
2617 assert(pmfl)
f54cb97a 2618
4048f010 2619PERL_CALLCONV OP* Perl_pmruntime(pTHX_ OP *o, OP *expr, bool isreg)
abb2c242
JH
2620 __attribute__nonnull__(pTHX_1)
2621 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2622#define PERL_ARGS_ASSERT_PMRUNTIME \
2623 assert(o); assert(expr)
f54cb97a 2624
efd0b058 2625#if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
0d86688d 2626STATIC OP* S_pmtrans(pTHX_ OP* o, OP* expr, OP* repl)
abb2c242 2627 __attribute__nonnull__(pTHX_1)
2d03de9c
AL
2628 __attribute__nonnull__(pTHX_2)
2629 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2630#define PERL_ARGS_ASSERT_PMTRANS \
2631 assert(o); assert(expr); assert(repl)
f54cb97a 2632
0d86688d 2633#endif
1d7c1841
GS
2634PERL_CALLCONV void Perl_pop_scope(pTHX);
2635PERL_CALLCONV OP* Perl_prepend_elem(pTHX_ I32 optype, OP* head, OP* tail);
1d7c1841 2636PERL_CALLCONV void Perl_push_scope(pTHX);
25b0f989 2637/* PERL_CALLCONV OP* Perl_ref(pTHX_ OP* o, I32 type); */
efd0b058 2638#if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
0d86688d
NC
2639STATIC OP* S_refkids(pTHX_ OP* o, I32 type);
2640#endif
097eb12c 2641PERL_CALLCONV void Perl_regdump(pTHX_ const regexp* r)
abb2c242 2642 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2643#define PERL_ARGS_ASSERT_REGDUMP \
2644 assert(r)
f54cb97a 2645
f7819f85
A
2646PERL_CALLCONV void Perl_regdump(pTHX_ const regexp* r)
2647 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2648#define PERL_ARGS_ASSERT_REGDUMP \
2649 assert(r)
f7819f85 2650
4048f010 2651PERL_CALLCONV SV* Perl_regclass_swash(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **altsvp)
32fc9b6a 2652 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2653#define PERL_ARGS_ASSERT_REGCLASS_SWASH \
2654 assert(node)
2d03de9c 2655
49d7dfbc 2656PERL_CALLCONV I32 Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, U32 nosave)
abb2c242
JH
2657 __attribute__nonnull__(pTHX_1)
2658 __attribute__nonnull__(pTHX_2)
2659 __attribute__nonnull__(pTHX_3)
2660 __attribute__nonnull__(pTHX_4)
2661 __attribute__nonnull__(pTHX_6);
7918f24d
NC
2662#define PERL_ARGS_ASSERT_PREGEXEC \
2663 assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
f54cb97a 2664
84679df5 2665PERL_CALLCONV void Perl_pregfree(pTHX_ REGEXP* r);
4048f010 2666PERL_CALLCONV void Perl_pregfree2(pTHX_ REGEXP *rx)
288b8c02 2667 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2668#define PERL_ARGS_ASSERT_PREGFREE2 \
2669 assert(rx)
288b8c02 2670
f0826785
BM
2671PERL_CALLCONV REGEXP* Perl_reg_temp_copy(pTHX_ REGEXP* ret_x, REGEXP* rx)
2672 __attribute__nonnull__(pTHX_2);
7918f24d 2673#define PERL_ARGS_ASSERT_REG_TEMP_COPY \
f0826785 2674 assert(rx)
28d8d7f4 2675
4048f010 2676PERL_CALLCONV void Perl_regfree_internal(pTHX_ REGEXP *const rx)
8074533a 2677 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2678#define PERL_ARGS_ASSERT_REGFREE_INTERNAL \
2679 assert(rx)
8074533a 2680
a3c0e9ca 2681#if defined(USE_ITHREADS)
49d7dfbc 2682PERL_CALLCONV void* Perl_regdupe_internal(pTHX_ REGEXP * const r, CLONE_PARAMS* param)
84da74a7
YO
2683 __attribute__nonnull__(pTHX_1)
2684 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2685#define PERL_ARGS_ASSERT_REGDUPE_INTERNAL \
2686 assert(r); assert(param)
84da74a7 2687
a3c0e9ca 2688#endif
1593ad57 2689PERL_CALLCONV REGEXP* Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags)
3ab4a224 2690 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2691#define PERL_ARGS_ASSERT_PREGCOMP \
2692 assert(pattern)
f54cb97a 2693
1593ad57 2694PERL_CALLCONV REGEXP* Perl_re_compile(pTHX_ SV * const pattern, U32 flags)
3ab4a224 2695 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2696#define PERL_ARGS_ASSERT_RE_COMPILE \
2697 assert(pattern)
2a5d9b1d 2698
9f61653a 2699PERL_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
2700 __attribute__nonnull__(pTHX_1)
2701 __attribute__nonnull__(pTHX_3)
2702 __attribute__nonnull__(pTHX_4);
7918f24d
NC
2703#define PERL_ARGS_ASSERT_RE_INTUIT_START \
2704 assert(rx); assert(strpos); assert(strend)
2d03de9c 2705
4048f010 2706PERL_CALLCONV SV* Perl_re_intuit_string(pTHX_ REGEXP *const r)
2d03de9c 2707 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2708#define PERL_ARGS_ASSERT_RE_INTUIT_STRING \
2709 assert(r)
2d03de9c 2710
4048f010 2711PERL_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
2712 __attribute__nonnull__(pTHX_1)
2713 __attribute__nonnull__(pTHX_2)
2714 __attribute__nonnull__(pTHX_3)
fb9bf107
NC
2715 __attribute__nonnull__(pTHX_4)
2716 __attribute__nonnull__(pTHX_6);
7918f24d
NC
2717#define PERL_ARGS_ASSERT_REGEXEC_FLAGS \
2718 assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv)
a3b680e6 2719
1df70142 2720PERL_CALLCONV regnode* Perl_regnext(pTHX_ regnode* p)
8074533a 2721 __attribute__warn_unused_result__;
1df70142 2722
81714fb9 2723
192b9cd1
AB
2724PERL_CALLCONV SV* Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags)
2725 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2726#define PERL_ARGS_ASSERT_REG_NAMED_BUFF \
2727 assert(rx)
192b9cd1
AB
2728
2729PERL_CALLCONV SV* Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags)
2730 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2731#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER \
2732 assert(rx)
192b9cd1
AB
2733
2734PERL_CALLCONV SV* Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags)
93b32b6d 2735 __attribute__nonnull__(pTHX_1)
44a2ac75 2736 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2737#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH \
2738 assert(rx); assert(namesv)
44a2ac75 2739
192b9cd1
AB
2740PERL_CALLCONV bool Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags)
2741 __attribute__nonnull__(pTHX_1)
2742 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2743#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS \
2744 assert(rx); assert(key)
192b9cd1
AB
2745
2746PERL_CALLCONV SV* Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags)
2747 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2748#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY \
2749 assert(rx)
192b9cd1
AB
2750
2751PERL_CALLCONV SV* Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags)
2752 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2753#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
2754 assert(rx)
192b9cd1
AB
2755
2756PERL_CALLCONV SV* Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags)
2757 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2758#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR \
2759 assert(rx)
192b9cd1
AB
2760
2761PERL_CALLCONV SV* Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags)
2762 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2763#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL \
2764 assert(rx)
192b9cd1 2765
2fdbfb4d
AB
2766
2767PERL_CALLCONV void Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const rx, const I32 paren, SV * const sv)
2768 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2769#define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH \
2770 assert(rx)
2fdbfb4d
AB
2771
2772PERL_CALLCONV void Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value)
93b32b6d 2773 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2774#define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE \
2775 assert(rx)
93b32b6d 2776
2fdbfb4d
AB
2777PERL_CALLCONV I32 Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren)
2778 __attribute__nonnull__(pTHX_1)
2779 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2780#define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH \
2781 assert(rx); assert(sv)
2fdbfb4d
AB
2782
2783
49d7dfbc 2784PERL_CALLCONV SV* Perl_reg_qr_package(pTHX_ REGEXP * const rx)
fe578d7f 2785 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2786#define PERL_ARGS_ASSERT_REG_QR_PACKAGE \
2787 assert(rx)
fe578d7f 2788
93b32b6d 2789
32fc9b6a
DM
2790PERL_CALLCONV void Perl_regprop(pTHX_ const regexp *prog, SV* sv, const regnode* o)
2791 __attribute__nonnull__(pTHX_2)
2792 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2793#define PERL_ARGS_ASSERT_REGPROP \
2794 assert(sv); assert(o)
2d03de9c 2795
16fa5c11
VP
2796PERL_CALLCONV void Perl_repeatcpy(char* to, const char* from, I32 len, I32 count)
2797 __attribute__nonnull__(1)
2798 __attribute__nonnull__(2);
7918f24d
NC
2799#define PERL_ARGS_ASSERT_REPEATCPY \
2800 assert(to); assert(from)
f54cb97a 2801
04c9e624 2802PERL_CALLCONV char* Perl_rninstr(const char* big, const char* bigend, const char* little, const char* lend)
abb2c242 2803 __attribute__pure__
04c9e624
VP
2804 __attribute__nonnull__(1)
2805 __attribute__nonnull__(2)
2806 __attribute__nonnull__(3)
2807 __attribute__nonnull__(4);
7918f24d
NC
2808#define PERL_ARGS_ASSERT_RNINSTR \
2809 assert(big); assert(bigend); assert(little); assert(lend)
f54cb97a 2810
1d7c1841
GS
2811PERL_CALLCONV Sighandler_t Perl_rsignal(pTHX_ int i, Sighandler_t t);
2812PERL_CALLCONV int Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t);
9f6cc744 2813PERL_CALLCONV int Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* save)
9a957fbc 2814 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2815#define PERL_ARGS_ASSERT_RSIGNAL_SAVE \
2816 assert(save)
9a957fbc 2817
1d7c1841 2818PERL_CALLCONV Sighandler_t Perl_rsignal_state(pTHX_ int i);
efd0b058 2819#if defined(PERL_IN_PP_CTL_C) || defined(PERL_DECL_PROT)
9c105995 2820STATIC void S_rxres_free(pTHX_ void** rsp)
abb2c242 2821 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2822#define PERL_ARGS_ASSERT_RXRES_FREE \
2823 assert(rsp)
a3b680e6 2824
9c105995 2825STATIC void S_rxres_restore(pTHX_ void **rsp, REGEXP *rx)
abb2c242
JH
2826 __attribute__nonnull__(pTHX_1)
2827 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2828#define PERL_ARGS_ASSERT_RXRES_RESTORE \
2829 assert(rsp); assert(rx)
a3b680e6 2830
9c105995 2831#endif
4048f010 2832PERL_CALLCONV void Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx)
abb2c242
JH
2833 __attribute__nonnull__(pTHX_1)
2834 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2835#define PERL_ARGS_ASSERT_RXRES_SAVE \
2836 assert(rsp); assert(rx)
a3b680e6 2837
cea2e8a9 2838#if !defined(HAS_RENAME)
4373e329 2839PERL_CALLCONV I32 Perl_same_dirent(pTHX_ const char* a, const char* b)
abb2c242
JH
2840 __attribute__nonnull__(pTHX_1)
2841 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2842#define PERL_ARGS_ASSERT_SAME_DIRENT \
2843 assert(a); assert(b)
f54cb97a 2844
0cb96387 2845#endif
53c1dcc0
AL
2846PERL_CALLCONV char* Perl_savepv(pTHX_ const char* pv)
2847 __attribute__malloc__
639f6c3d 2848 __attribute__warn_unused_result__;
53c1dcc0
AL
2849
2850PERL_CALLCONV char* Perl_savepvn(pTHX_ const char* pv, I32 len)
2851 __attribute__malloc__
639f6c3d 2852 __attribute__warn_unused_result__;
53c1dcc0
AL
2853
2854PERL_CALLCONV char* Perl_savesharedpv(pTHX_ const char* pv)
2855 __attribute__malloc__
2856 __attribute__warn_unused_result__;
2857
d9095cec
NC
2858PERL_CALLCONV char* Perl_savesharedpvn(pTHX_ const char *const pv, const STRLEN len)
2859 __attribute__malloc__
2860 __attribute__warn_unused_result__
2861 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2862#define PERL_ARGS_ASSERT_SAVESHAREDPVN \
2863 assert(pv)
d9095cec 2864
53c1dcc0
AL
2865PERL_CALLCONV char* Perl_savesvpv(pTHX_ SV* sv)
2866 __attribute__malloc__
2867 __attribute__warn_unused_result__
2868 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2869#define PERL_ARGS_ASSERT_SAVESVPV \
2870 assert(sv)
53c1dcc0 2871
1d7c1841 2872PERL_CALLCONV void Perl_savestack_grow(pTHX);
4b3c1a47 2873PERL_CALLCONV void Perl_savestack_grow_cnt(pTHX_ I32 need);
91d1c79f
VP
2874/* PERL_CALLCONV void Perl_save_aelem(pTHX_ AV* av, I32 idx, SV **sptr)
2875 __attribute__nonnull__(pTHX_1)
2876 __attribute__nonnull__(pTHX_3); */
2877
2878PERL_CALLCONV void Perl_save_aelem_flags(pTHX_ AV* av, I32 idx, SV **sptr, const U32 flags)
9a957fbc
AL
2879 __attribute__nonnull__(pTHX_1)
2880 __attribute__nonnull__(pTHX_3);
91d1c79f 2881#define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS \
7918f24d 2882 assert(av); assert(sptr)
9a957fbc 2883
1d7c1841 2884PERL_CALLCONV I32 Perl_save_alloc(pTHX_ I32 size, I32 pad);
9a957fbc
AL
2885PERL_CALLCONV void Perl_save_aptr(pTHX_ AV** aptr)
2886 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2887#define PERL_ARGS_ASSERT_SAVE_APTR \
2888 assert(aptr)
9a957fbc
AL
2889
2890PERL_CALLCONV AV* Perl_save_ary(pTHX_ GV* gv)
2891 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2892#define PERL_ARGS_ASSERT_SAVE_ARY \
2893 assert(gv)
9a957fbc
AL
2894
2895PERL_CALLCONV void Perl_save_bool(pTHX_ bool* boolp)
2896 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2897#define PERL_ARGS_ASSERT_SAVE_BOOL \
2898 assert(boolp)
9a957fbc
AL
2899
2900PERL_CALLCONV void Perl_save_clearsv(pTHX_ SV** svp)
2901 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2902#define PERL_ARGS_ASSERT_SAVE_CLEARSV \
2903 assert(svp)
9a957fbc 2904
4048f010 2905PERL_CALLCONV void Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen)
9a957fbc
AL
2906 __attribute__nonnull__(pTHX_1)
2907 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2908#define PERL_ARGS_ASSERT_SAVE_DELETE \
2909 assert(hv); assert(key)
9a957fbc 2910
af097752
VP
2911PERL_CALLCONV void Perl_save_hdelete(pTHX_ HV *hv, SV *keysv)
2912 __attribute__nonnull__(pTHX_1)
2913 __attribute__nonnull__(pTHX_2);
2914#define PERL_ARGS_ASSERT_SAVE_HDELETE \
2915 assert(hv); assert(keysv)
2916
c68ec7a9
VP
2917PERL_CALLCONV void Perl_save_adelete(pTHX_ AV *av, I32 key)
2918 __attribute__nonnull__(pTHX_1);
2919#define PERL_ARGS_ASSERT_SAVE_ADELETE \
2920 assert(av)
2921
fb9bf107
NC
2922PERL_CALLCONV void Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p)
2923 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2924#define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR \
2925 assert(p)
fb9bf107 2926
55968144 2927PERL_CALLCONV void Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p);
2fd8beea
NC
2928/* PERL_CALLCONV void Perl_save_freesv(pTHX_ SV* sv); */
2929/* PERL_CALLCONV void Perl_save_freeop(pTHX_ OP* o); */
2930/* PERL_CALLCONV void Perl_save_freepv(pTHX_ char* pv); */
9a957fbc
AL
2931PERL_CALLCONV void Perl_save_generic_svref(pTHX_ SV** sptr)
2932 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2933#define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF \
2934 assert(sptr)
9a957fbc
AL
2935
2936PERL_CALLCONV void Perl_save_generic_pvref(pTHX_ char** str)
2937 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2938#define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF \
2939 assert(str)
9a957fbc
AL
2940
2941PERL_CALLCONV void Perl_save_shared_pvref(pTHX_ char** str)
2942 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2943#define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF \
2944 assert(str)
9a957fbc 2945
aec46f14
AL
2946PERL_CALLCONV void Perl_save_gp(pTHX_ GV* gv, I32 empty)
2947 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2948#define PERL_ARGS_ASSERT_SAVE_GP \
2949 assert(gv)
aec46f14
AL
2950
2951PERL_CALLCONV HV* Perl_save_hash(pTHX_ GV* gv)
2952 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2953#define PERL_ARGS_ASSERT_SAVE_HASH \
2954 assert(gv)
aec46f14 2955
da8315f8 2956PERL_CALLCONV void Perl_save_hints(pTHX);
af7df257 2957/* PERL_CALLCONV void Perl_save_helem(pTHX_ HV *hv, SV *key, SV **sptr)
9a957fbc
AL
2958 __attribute__nonnull__(pTHX_1)
2959 __attribute__nonnull__(pTHX_2)
af7df257 2960 __attribute__nonnull__(pTHX_3); */
9a957fbc 2961
af7df257
CS
2962PERL_CALLCONV void Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags)
2963 __attribute__nonnull__(pTHX_1)
2964 __attribute__nonnull__(pTHX_2)
2965 __attribute__nonnull__(pTHX_3);
2966#define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS \
2967 assert(hv); assert(key); assert(sptr)
2968
aec46f14
AL
2969PERL_CALLCONV void Perl_save_hptr(pTHX_ HV** hptr)
2970 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2971#define PERL_ARGS_ASSERT_SAVE_HPTR \
2972 assert(hptr)
aec46f14
AL
2973
2974PERL_CALLCONV void Perl_save_I16(pTHX_ I16* intp)
2975 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2976#define PERL_ARGS_ASSERT_SAVE_I16 \
2977 assert(intp)
aec46f14
AL
2978
2979PERL_CALLCONV void Perl_save_I32(pTHX_ I32* intp)
2980 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2981#define PERL_ARGS_ASSERT_SAVE_I32 \
2982 assert(intp)
aec46f14
AL
2983
2984PERL_CALLCONV void Perl_save_I8(pTHX_ I8* bytep)
2985 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2986#define PERL_ARGS_ASSERT_SAVE_I8 \
2987 assert(bytep)
aec46f14
AL
2988
2989PERL_CALLCONV void Perl_save_int(pTHX_ int* intp)
2990 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2991#define PERL_ARGS_ASSERT_SAVE_INT \
2992 assert(intp)
aec46f14
AL
2993
2994PERL_CALLCONV void Perl_save_item(pTHX_ SV* item)
2995 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2996#define PERL_ARGS_ASSERT_SAVE_ITEM \
2997 assert(item)
aec46f14 2998
4048f010 2999PERL_CALLCONV void Perl_save_iv(pTHX_ IV *ivp)
aec46f14 3000 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3001#define PERL_ARGS_ASSERT_SAVE_IV \
3002 assert(ivp)
aec46f14
AL
3003
3004PERL_CALLCONV void Perl_save_list(pTHX_ SV** sarg, I32 maxsarg)
3005 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3006#define PERL_ARGS_ASSERT_SAVE_LIST \
3007 assert(sarg)
aec46f14
AL
3008
3009PERL_CALLCONV void Perl_save_long(pTHX_ long* longp)
3010 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3011#define PERL_ARGS_ASSERT_SAVE_LONG \
3012 assert(longp)
aec46f14 3013
2fd8beea
NC
3014/* PERL_CALLCONV void Perl_save_mortalizesv(pTHX_ SV* sv)
3015 __attribute__nonnull__(pTHX_1); */
7918f24d
NC
3016#define PERL_ARGS_ASSERT_SAVE_MORTALIZESV \
3017 assert(sv)
aec46f14 3018
3d4dd4c7
NC
3019PERL_CALLCONV void Perl_save_nogv(pTHX_ GV* gv)
3020 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3021#define PERL_ARGS_ASSERT_SAVE_NOGV \
3022 assert(gv)
3d4dd4c7 3023
2fd8beea 3024/* PERL_CALLCONV void Perl_save_op(pTHX); */
aec46f14
AL
3025PERL_CALLCONV SV* Perl_save_scalar(pTHX_ GV* gv)
3026 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3027#define PERL_ARGS_ASSERT_SAVE_SCALAR \
3028 assert(gv)
aec46f14
AL
3029
3030PERL_CALLCONV void Perl_save_pptr(pTHX_ char** pptr)
3031 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3032#define PERL_ARGS_ASSERT_SAVE_PPTR \
3033 assert(pptr)
aec46f14 3034
4048f010 3035PERL_CALLCONV void Perl_save_vptr(pTHX_ void *ptr)
aec46f14 3036 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3037#define PERL_ARGS_ASSERT_SAVE_VPTR \
3038 assert(ptr)
aec46f14 3039
1d7c1841 3040PERL_CALLCONV void Perl_save_re_context(pTHX);
09edbca0 3041PERL_CALLCONV void Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off);
aec46f14
AL
3042PERL_CALLCONV void Perl_save_sptr(pTHX_ SV** sptr)
3043 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3044#define PERL_ARGS_ASSERT_SAVE_SPTR \
3045 assert(sptr)
aec46f14
AL
3046
3047PERL_CALLCONV SV* Perl_save_svref(pTHX_ SV** sptr)
3048 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3049#define PERL_ARGS_ASSERT_SAVE_SVREF \
3050 assert(sptr)
aec46f14 3051
2fd8beea 3052PERL_CALLCONV void Perl_save_pushptr(pTHX_ void *const ptr, const int type);
4f5084fa 3053PERL_CALLCONV void Perl_save_pushi32ptr(pTHX_ const I32 i, void *const ptr, const int type);
dfcd3de5 3054PERL_CALLCONV void Perl_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type);
be84297e
NC
3055#if defined(PERL_IN_SCOPE_C) || defined(PERL_DECL_PROT)
3056STATIC void S_save_pushptri32ptr(pTHX_ void *const ptr1, const I32 i, void *const ptr2, const int type);
3057#endif
1d7c1841
GS
3058PERL_CALLCONV OP* Perl_sawparens(pTHX_ OP* o);
3059PERL_CALLCONV OP* Perl_scalar(pTHX_ OP* o);
efd0b058 3060#if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
2dd5337b
NC
3061STATIC OP* S_scalarkids(pTHX_ OP* o);
3062STATIC OP* S_scalarseq(pTHX_ OP* o);
3063#endif
aec46f14
AL
3064PERL_CALLCONV OP* Perl_scalarvoid(pTHX_ OP* o)
3065 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3066#define PERL_ARGS_ASSERT_SCALARVOID \
3067 assert(o)
aec46f14
AL
3068
3069PERL_CALLCONV NV Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
3070 __attribute__nonnull__(pTHX_1)
3071 __attribute__nonnull__(pTHX_3);
7918f24d
NC
3072#define PERL_ARGS_ASSERT_SCAN_BIN \
3073 assert(start); assert(retlen)
aec46f14
AL
3074
3075PERL_CALLCONV NV Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
3076 __attribute__nonnull__(pTHX_1)
3077 __attribute__nonnull__(pTHX_3);
7918f24d
NC
3078#define PERL_ARGS_ASSERT_SCAN_HEX \
3079 assert(start); assert(retlen)
aec46f14
AL
3080
3081PERL_CALLCONV char* Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp)
3082 __attribute__nonnull__(pTHX_1)
3083 __attribute__nonnull__(pTHX_2);
7918f24d
NC
3084#define PERL_ARGS_ASSERT_SCAN_NUM \
3085 assert(s); assert(lvalp)
aec46f14
AL
3086
3087PERL_CALLCONV NV Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
3088 __attribute__nonnull__(pTHX_1)
3089 __attribute__nonnull__(pTHX_3);
7918f24d
NC
3090#define PERL_ARGS_ASSERT_SCAN_OCT \
3091 assert(start); assert(retlen)
aec46f14 3092
1d7c1841 3093PERL_CALLCONV OP* Perl_scope(pTHX_ OP* o);
9f6cc744 3094PERL_CALLCONV char* Perl_screaminstr(pTHX_ SV *bigstr, SV *littlestr, I32 start_shift, I32 end_shift, I32 *old_posp, I32 last)
aec46f14
AL
3095 __attribute__nonnull__(pTHX_1)
3096 __attribute__nonnull__(pTHX_2)
3097 __attribute__nonnull__(pTHX_5);
7918f24d
NC
3098#define PERL_ARGS_ASSERT_SCREAMINSTR \
3099 assert(bigstr); assert(littlestr); assert(old_posp)
aec46f14 3100
1d7c1841 3101PERL_CALLCONV void Perl_setdefout(pTHX_ GV* gv);
aec46f14
AL
3102PERL_CALLCONV HEK* Perl_share_hek(pTHX_ const char* str, I32 len, U32 hash)
3103 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3104#define PERL_ARGS_ASSERT_SHARE_HEK \
3105 assert(str)
aec46f14 3106
8aad04aa 3107#if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
b6455c53
SR
3108PERL_CALLCONV Signal_t Perl_sighandler(int sig, siginfo_t *info, void *uap);
3109PERL_CALLCONV Signal_t Perl_csighandler(int sig, siginfo_t *info, void *uap);
8aad04aa 3110#else
1d7c1841 3111PERL_CALLCONV Signal_t Perl_sighandler(int sig);
d36b6582 3112PERL_CALLCONV Signal_t Perl_csighandler(int sig);
8aad04aa 3113#endif
c48640ec 3114PERL_CALLCONV SV** Perl_stack_grow(pTHX_ SV** sp, SV** p, int n)
abb2c242
JH
3115 __attribute__nonnull__(pTHX_1)
3116 __attribute__nonnull__(pTHX_2);
7918f24d
NC
3117#define PERL_ARGS_ASSERT_STACK_GROW \
3118 assert(sp); assert(p)
f54cb97a 3119
0b1558d1 3120PERL_CALLCONV I32 Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
aec46f14
AL
3121PERL_CALLCONV void Perl_sub_crush_depth(pTHX_ CV* cv)
3122 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3123#define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH \
3124 assert(cv)
aec46f14 3125
7bc54cea 3126PERL_CALLCONV bool Perl_sv_2bool(pTHX_ SV *const sv)
abb2c242 3127 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3128#define PERL_ARGS_ASSERT_SV_2BOOL \
3129 assert(sv)
f54cb97a 3130
23f13727 3131PERL_CALLCONV CV* Perl_sv_2cv(pTHX_ SV* sv, HV **const st, GV **const gvp, const I32 lref)
aec46f14
AL
3132 __attribute__nonnull__(pTHX_2)
3133 __attribute__nonnull__(pTHX_3);
7918f24d
NC
3134#define PERL_ARGS_ASSERT_SV_2CV \
3135 assert(st); assert(gvp)
f54cb97a 3136
23f13727 3137PERL_CALLCONV IO* Perl_sv_2io(pTHX_ SV *const sv)
abb2c242 3138 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3139#define PERL_ARGS_ASSERT_SV_2IO \
3140 assert(sv)
f54cb97a 3141
efd0b058 3142#if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
19f6321d 3143STATIC bool S_glob_2number(pTHX_ GV* const gv)
180488f8 3144 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3145#define PERL_ARGS_ASSERT_GLOB_2NUMBER \
3146 assert(gv)
180488f8
NC
3147
3148#endif
53e85712
NC
3149/* PERL_CALLCONV IV Perl_sv_2iv(pTHX_ SV *sv); */
3150PERL_CALLCONV IV Perl_sv_2iv_flags(pTHX_ SV *const sv, const I32 flags);
23f13727 3151PERL_CALLCONV SV* Perl_sv_2mortal(pTHX_ SV *const sv);
53e85712 3152PERL_CALLCONV NV Perl_sv_2nv(pTHX_ SV *const sv);
5de3775c 3153PERL_CALLCONV SV* Perl_sv_2num(pTHX_ SV *const sv)
800401ee 3154 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3155#define PERL_ARGS_ASSERT_SV_2NUM \
3156 assert(sv)
800401ee 3157
53e85712
NC
3158/* PERL_CALLCONV char* Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp); */
3159PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
7bc54cea 3160PERL_CALLCONV char* Perl_sv_2pvutf8(pTHX_ SV *const sv, STRLEN *const lp)
f49ed1da 3161 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3162#define PERL_ARGS_ASSERT_SV_2PVUTF8 \
3163 assert(sv)
f54cb97a 3164
5de3775c 3165PERL_CALLCONV char* Perl_sv_2pvbyte(pTHX_ SV *const sv, STRLEN *const lp)
f49ed1da 3166 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3167#define PERL_ARGS_ASSERT_SV_2PVBYTE \
3168 assert(sv)
f54cb97a 3169
4373e329 3170PERL_CALLCONV char* Perl_sv_pvn_nomg(pTHX_ SV* sv, STRLEN* lp)
f49ed1da 3171 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3172#define PERL_ARGS_ASSERT_SV_PVN_NOMG \
3173 assert(sv)
f54cb97a 3174
53e85712
NC
3175/* PERL_CALLCONV UV Perl_sv_2uv(pTHX_ SV *sv); */
3176PERL_CALLCONV UV Perl_sv_2uv_flags(pTHX_ SV *const sv, const I32 flags);
4373e329 3177PERL_CALLCONV IV Perl_sv_iv(pTHX_ SV* sv)
abb2c242 3178 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3179#define PERL_ARGS_ASSERT_SV_IV \
3180 assert(sv)
f54cb97a 3181
4373e329 3182PERL_CALLCONV UV Perl_sv_uv(pTHX_ SV* sv)
abb2c242 3183 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3184#define PERL_ARGS_ASSERT_SV_UV \
3185 assert(sv)
f54cb97a 3186
4373e329 3187PERL_CALLCONV NV Perl_sv_nv(pTHX_ SV* sv)
abb2c242 3188 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3189#define PERL_ARGS_ASSERT_SV_NV \
3190 assert(sv)
f54cb97a 3191
4048f010 3192PERL_CALLCONV char* Perl_sv_pvn(pTHX_ SV *sv, STRLEN *lp)
abb2c242
JH
3193 __attribute__nonnull__(pTHX_1)
3194 __attribute__nonnull__(pTHX_2);
7918f24d
NC
3195#define PERL_ARGS_ASSERT_SV_PVN \
3196 assert(sv); assert(lp)
f54cb97a 3197
4048f010 3198PERL_CALLCONV char* Perl_sv_pvutf8n(pTHX_ SV *sv, STRLEN *lp)
abb2c242
JH
3199 __attribute__nonnull__(pTHX_1)
3200 __attribute__nonnull__(pTHX_2);
7918f24d
NC
3201#define PERL_ARGS_ASSERT_SV_PVUTF8N \
3202 assert(sv); assert(lp)
f54cb97a 3203
4048f010 3204PERL_CALLCONV char* Perl_sv_pvbyten(pTHX_ SV *sv, STRLEN *lp)
abb2c242
JH
3205 __attribute__nonnull__(pTHX_1)
3206 __attribute__nonnull__(pTHX_2);
7918f24d
NC
3207#define PERL_ARGS_ASSERT_SV_PVBYTEN \
3208 assert(sv); assert(lp)
f54cb97a 3209
23f13727 3210PERL_CALLCONV I32 Perl_sv_true(pTHX_ SV *const sv);
efd0b058 3211#if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
d2bd4e7f 3212STATIC void S_sv_add_arena(pTHX_ char *const ptr, const U32 size, const U32 flags)
abb2c242 3213 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3214#define PERL_ARGS_ASSERT_SV_ADD_ARENA \
3215 assert(ptr)
f54cb97a 3216
d2bd4e7f 3217#endif
aad570aa 3218PERL_CALLCONV int Perl_sv_backoff(pTHX_ SV *const sv)
abb2c242 3219 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3220#define PERL_ARGS_ASSERT_SV_BACKOFF \
3221 assert(sv)
f54cb97a 3222
12964ddd 3223PERL_CALLCONV SV* Perl_sv_bless(pTHX_ SV *const sv, HV *const stash)
abb2c242
JH
3224 __attribute__nonnull__(pTHX_1)
3225 __attribute__nonnull__(pTHX_2);
7918f24d
NC
3226#define PERL_ARGS_ASSERT_SV_BLESS \
3227 assert(sv); assert(stash)
f54cb97a 3228
66ceb532 3229PERL_CALLCONV void Perl_sv_catpvf(pTHX_ SV *const sv, const char *const pat, ...)
f54cb97a 3230 __attribute__format__(__printf__,pTHX_2,pTHX_3)
aec46f14
AL
3231 __attribute__nonnull__(pTHX_1)
3232 __attribute__nonnull__(pTHX_2);
7918f24d
NC
3233#define PERL_ARGS_ASSERT_SV_CATPVF \
3234 assert(sv); assert(pat)
f54cb97a 3235
66ceb532 3236PERL_CALLCONV void Perl_sv_vcatpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args)
aec46f14
AL
3237 __attribute__nonnull__(pTHX_1)
3238 __attribute__nonnull__(pTHX_2);
7918f24d
NC
3239#define PERL_ARGS_ASSERT_SV_VCATPVF \
3240 assert(sv); assert(pat)
f54cb97a 3241
2b021c53 3242PERL_CALLCONV void Perl_sv_catpv(pTHX_ SV *const sv, const char* ptr)
cf684db6 3243 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3244#define PERL_ARGS_ASSERT_SV_CATPV \
3245 assert(sv)
f54cb97a 3246
4048f010 3247/* PERL_CALLCONV void Perl_sv_catpvn(pTHX_ SV *dsv, const char *sstr, STRLEN len)
aec46f14
AL
3248 __attribute__nonnull__(pTHX_1)
3249 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
3250#define PERL_ARGS_ASSERT_SV_CATPVN \
3251 assert(dsv); assert(sstr)
f54cb97a 3252
4048f010 3253/* PERL_CALLCONV void Perl_sv_catsv(pTHX_ SV *dstr, SV *sstr)
abb2c242 3254 __attribute__nonnull__(pTHX_1); */
7918f24d
NC
3255#define PERL_ARGS_ASSERT_SV_CATSV \
3256 assert(dstr)
f54cb97a 3257
2e000ff2 3258PERL_CALLCONV void Perl_sv_chop(pTHX_ SV *const sv, const char *const ptr)
abb2c242 3259 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3260#define PERL_ARGS_ASSERT_SV_CHOP \
3261 assert(sv)
f54cb97a 3262
5226ed68 3263PERL_CALLCONV I32 Perl_sv_clean_all(pTHX);
1d7c1841 3264PERL_CALLCONV void Perl_sv_clean_objs(pTHX);
af828c01 3265PERL_CALLCONV void Perl_sv_clear(pTHX_ SV *const sv)
abb2c242 3266 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3267#define PERL_ARGS_ASSERT_SV_CLEAR \
3268 assert(sv)
f54cb97a 3269