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