This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
mg.c: Remove redundant SvOK checks
[perl5.git] / proto.h
CommitLineData
78102347 1/* -*- buffer-read-only: t -*-
37442d52 2 *
f5e3445d
RGS
3 * proto.h
4 *
78102347
NC
5 * Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
6 * 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by Larry Wall and others
f5e3445d
RGS
7 *
8 * You may distribute under the terms of either the GNU General Public
9 * License or the Artistic License, as specified in the README file.
10 *
11 * !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
d7cb65f2 12 * This file is built by regen/embed.pl from data in embed.fnc,
78102347 13 * regen/embed.pl, regen/opcodes, 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 19START_EXTERN_C
3d81eea6
KW
20PERL_CALLCONV UV ASCII_TO_NEED(const UV enc, const UV ch)
21 __attribute__deprecated__
22 __attribute__warn_unused_result__
23 __attribute__pure__;
24
e8a67806
NC
25PERL_CALLCONV int Perl_Gv_AMupdate(pTHX_ HV* stash, bool destructing)
26 __attribute__nonnull__(pTHX_1);
27#define PERL_ARGS_ASSERT_GV_AMUPDATE \
28 assert(stash)
255164ba 29
3d81eea6
KW
30PERL_CALLCONV UV NATIVE_TO_NEED(const UV enc, const UV ch)
31 __attribute__deprecated__
32 __attribute__warn_unused_result__
33 __attribute__pure__;
34
e8a67806 35PERL_CALLCONV const char * Perl_PerlIO_context_layers(pTHX_ const char *mode);
8be227ab
FC
36PERL_CALLCONV void* Perl_Slab_Alloc(pTHX_ size_t sz)
37 __attribute__malloc__
38 __attribute__warn_unused_result__;
39
40PERL_CALLCONV void Perl_Slab_Free(pTHX_ void *op)
41 __attribute__nonnull__(pTHX_1);
42#define PERL_ARGS_ASSERT_SLAB_FREE \
43 assert(op)
44
922e8cb4
KW
45PERL_CALLCONV bool Perl__is_uni_FOO(pTHX_ const U8 classnum, const UV c)
46 __attribute__warn_unused_result__;
47
eba68aa0
KW
48PERL_CALLCONV bool Perl__is_uni_perl_idcont(pTHX_ UV c)
49 __attribute__warn_unused_result__;
50
f91dcd13
KW
51PERL_CALLCONV bool Perl__is_uni_perl_idstart(pTHX_ UV c)
52 __attribute__warn_unused_result__;
53
922e8cb4
KW
54PERL_CALLCONV bool Perl__is_utf8_FOO(pTHX_ const U8 classnum, const U8 *p)
55 __attribute__warn_unused_result__
56 __attribute__nonnull__(pTHX_2);
57#define PERL_ARGS_ASSERT__IS_UTF8_FOO \
58 assert(p)
59
7dbf68d2
KW
60PERL_CALLCONV bool Perl__is_utf8_mark(pTHX_ const U8 *p)
61 __attribute__warn_unused_result__
62 __attribute__nonnull__(pTHX_1);
63#define PERL_ARGS_ASSERT__IS_UTF8_MARK \
64 assert(p)
65
eba68aa0
KW
66PERL_CALLCONV bool Perl__is_utf8_perl_idcont(pTHX_ const U8 *p)
67 __attribute__warn_unused_result__
68 __attribute__nonnull__(pTHX_1);
69#define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDCONT \
70 assert(p)
71
d65654cb 72PERL_CALLCONV bool Perl__is_utf8_perl_idstart(pTHX_ const U8 *p)
b6912c02
KW
73 __attribute__warn_unused_result__
74 __attribute__nonnull__(pTHX_1);
d65654cb 75#define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDSTART \
b6912c02
KW
76 assert(p)
77
a0270393 78PERL_CALLCONV UV Perl__to_uni_fold_flags(pTHX_ UV c, U8 *p, STRLEN *lenp, const U8 flags)
36bb2ab6
KW
79 __attribute__nonnull__(pTHX_2)
80 __attribute__nonnull__(pTHX_3);
81#define PERL_ARGS_ASSERT__TO_UNI_FOLD_FLAGS \
82 assert(p); assert(lenp)
83
051a06d4 84PERL_CALLCONV UV Perl__to_utf8_fold_flags(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, U8 flags, bool* tainted_ptr)
36bb2ab6
KW
85 __attribute__nonnull__(pTHX_1)
86 __attribute__nonnull__(pTHX_2);
87#define PERL_ARGS_ASSERT__TO_UTF8_FOLD_FLAGS \
88 assert(p); assert(ustrp)
89
051a06d4
KW
90PERL_CALLCONV UV Perl__to_utf8_lower_flags(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, const bool flags, bool* tainted_ptr)
91 __attribute__nonnull__(pTHX_1)
92 __attribute__nonnull__(pTHX_2);
93#define PERL_ARGS_ASSERT__TO_UTF8_LOWER_FLAGS \
94 assert(p); assert(ustrp)
95
96PERL_CALLCONV UV Perl__to_utf8_title_flags(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, const bool flags, bool* tainted_ptr)
97 __attribute__nonnull__(pTHX_1)
98 __attribute__nonnull__(pTHX_2);
99#define PERL_ARGS_ASSERT__TO_UTF8_TITLE_FLAGS \
100 assert(p); assert(ustrp)
101
102PERL_CALLCONV UV Perl__to_utf8_upper_flags(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, const bool flags, bool* tainted_ptr)
103 __attribute__nonnull__(pTHX_1)
104 __attribute__nonnull__(pTHX_2);
105#define PERL_ARGS_ASSERT__TO_UTF8_UPPER_FLAGS \
106 assert(p); assert(ustrp)
107
e8a67806
NC
108PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name, const STRLEN len, const U32 flags)
109 __attribute__nonnull__(pTHX_1);
110#define PERL_ARGS_ASSERT_ALLOCMY \
111 assert(name)
255164ba 112
46c461b5
AL
113PERL_CALLCONV SV* Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir)
114 __attribute__nonnull__(pTHX_1)
115 __attribute__nonnull__(pTHX_2);
7918f24d
NC
116#define PERL_ARGS_ASSERT_AMAGIC_CALL \
117 assert(left); assert(right)
46c461b5 118
25a9ffce
NC
119PERL_CALLCONV SV * Perl_amagic_deref_call(pTHX_ SV *ref, int method)
120 __attribute__nonnull__(pTHX_1);
121#define PERL_ARGS_ASSERT_AMAGIC_DEREF_CALL \
122 assert(ref)
123
8d569291 124PERL_CALLCONV bool Perl_amagic_is_enabled(pTHX_ int method);
55d09dc8
KW
125PERL_STATIC_INLINE void S_append_utf8_from_native_byte(const U8 byte, U8** dest)
126 __attribute__nonnull__(2);
127#define PERL_ARGS_ASSERT_APPEND_UTF8_FROM_NATIVE_BYTE \
128 assert(dest)
129
255164ba
DM
130PERL_CALLCONV I32 Perl_apply(pTHX_ I32 type, SV** mark, SV** sp)
131 __attribute__nonnull__(pTHX_2)
132 __attribute__nonnull__(pTHX_3);
7918f24d
NC
133#define PERL_ARGS_ASSERT_APPLY \
134 assert(mark); assert(sp)
255164ba
DM
135
136PERL_CALLCONV void Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len)
137 __attribute__nonnull__(pTHX_1)
138 __attribute__nonnull__(pTHX_2)
139 __attribute__nonnull__(pTHX_3);
7918f24d
NC
140#define PERL_ARGS_ASSERT_APPLY_ATTRS_STRING \
141 assert(stashpv); assert(cv); assert(attrstr)
255164ba 142
e8a67806
NC
143PERL_CALLCONV void Perl_atfork_lock(void);
144PERL_CALLCONV void Perl_atfork_unlock(void);
145PERL_CALLCONV SV** Perl_av_arylen_p(pTHX_ AV *av)
146 __attribute__nonnull__(pTHX_1);
147#define PERL_ARGS_ASSERT_AV_ARYLEN_P \
148 assert(av)
149
4048f010 150PERL_CALLCONV void Perl_av_clear(pTHX_ AV *av)
7a5b473e 151 __attribute__nonnull__(pTHX_1);
7918f24d
NC
152#define PERL_ARGS_ASSERT_AV_CLEAR \
153 assert(av)
7a5b473e 154
e8a67806
NC
155PERL_CALLCONV void Perl_av_create_and_push(pTHX_ AV **const avp, SV *const val)
156 __attribute__nonnull__(pTHX_1)
157 __attribute__nonnull__(pTHX_2);
158#define PERL_ARGS_ASSERT_AV_CREATE_AND_PUSH \
159 assert(avp); assert(val)
160
161PERL_CALLCONV SV** Perl_av_create_and_unshift_one(pTHX_ AV **const avp, SV *const val)
162 __attribute__nonnull__(pTHX_1)
163 __attribute__nonnull__(pTHX_2);
164#define PERL_ARGS_ASSERT_AV_CREATE_AND_UNSHIFT_ONE \
165 assert(avp); assert(val)
166
c70927a6 167PERL_CALLCONV SV* Perl_av_delete(pTHX_ AV *av, SSize_t key, I32 flags)
7a5b473e 168 __attribute__nonnull__(pTHX_1);
7918f24d
NC
169#define PERL_ARGS_ASSERT_AV_DELETE \
170 assert(av)
7a5b473e 171
c70927a6 172PERL_CALLCONV bool Perl_av_exists(pTHX_ AV *av, SSize_t key)
7a5b473e
AL
173 __attribute__warn_unused_result__
174 __attribute__nonnull__(pTHX_1);
7918f24d
NC
175#define PERL_ARGS_ASSERT_AV_EXISTS \
176 assert(av)
a3b680e6 177
fc16c392 178PERL_CALLCONV void Perl_av_extend(pTHX_ AV *av, SSize_t key)
abb2c242 179 __attribute__nonnull__(pTHX_1);
7918f24d
NC
180#define PERL_ARGS_ASSERT_AV_EXTEND \
181 assert(av)
a3b680e6 182
fc16c392 183PERL_CALLCONV void Perl_av_extend_guts(pTHX_ AV *av, SSize_t key, SSize_t *maxp, SV ***allocp, SV ***arrayp)
7261499d
FC
184 __attribute__nonnull__(pTHX_3)
185 __attribute__nonnull__(pTHX_4)
186 __attribute__nonnull__(pTHX_5);
187#define PERL_ARGS_ASSERT_AV_EXTEND_GUTS \
188 assert(maxp); assert(allocp); assert(arrayp)
189
c70927a6 190PERL_CALLCONV SV** Perl_av_fetch(pTHX_ AV *av, SSize_t key, I32 lval)
7a5b473e
AL
191 __attribute__warn_unused_result__
192 __attribute__nonnull__(pTHX_1);
7918f24d
NC
193#define PERL_ARGS_ASSERT_AV_FETCH \
194 assert(av)
a3b680e6 195
c70927a6 196PERL_CALLCONV void Perl_av_fill(pTHX_ AV *av, SSize_t fill)
255164ba 197 __attribute__nonnull__(pTHX_1);
7918f24d
NC
198#define PERL_ARGS_ASSERT_AV_FILL \
199 assert(av)
255164ba 200
e8a67806
NC
201PERL_CALLCONV IV* Perl_av_iter_p(pTHX_ AV *av)
202 __attribute__nonnull__(pTHX_1);
203#define PERL_ARGS_ASSERT_AV_ITER_P \
204 assert(av)
205
c70927a6 206PERL_CALLCONV SSize_t Perl_av_len(pTHX_ AV *av)
255164ba
DM
207 __attribute__warn_unused_result__
208 __attribute__nonnull__(pTHX_1);
7918f24d
NC
209#define PERL_ARGS_ASSERT_AV_LEN \
210 assert(av)
a3b680e6 211
c70927a6 212PERL_CALLCONV AV* Perl_av_make(pTHX_ SSize_t size, SV **strp)
abb2c242
JH
213 __attribute__warn_unused_result__
214 __attribute__nonnull__(pTHX_2);
7918f24d
NC
215#define PERL_ARGS_ASSERT_AV_MAKE \
216 assert(strp)
a3b680e6 217
4048f010 218PERL_CALLCONV SV* Perl_av_pop(pTHX_ AV *av)
7a5b473e 219 __attribute__nonnull__(pTHX_1);
7918f24d
NC
220#define PERL_ARGS_ASSERT_AV_POP \
221 assert(av)
7a5b473e 222
4048f010 223PERL_CALLCONV void Perl_av_push(pTHX_ AV *av, SV *val)
06942096
FC
224 __attribute__nonnull__(pTHX_1)
225 __attribute__nonnull__(pTHX_2);
7918f24d 226#define PERL_ARGS_ASSERT_AV_PUSH \
06942096 227 assert(av); assert(val)
255164ba 228
4048f010 229PERL_CALLCONV void Perl_av_reify(pTHX_ AV *av)
255164ba 230 __attribute__nonnull__(pTHX_1);
7918f24d
NC
231#define PERL_ARGS_ASSERT_AV_REIFY \
232 assert(av)
255164ba 233
4048f010 234PERL_CALLCONV SV* Perl_av_shift(pTHX_ AV *av)
7a5b473e
AL
235 __attribute__warn_unused_result__
236 __attribute__nonnull__(pTHX_1);
7918f24d
NC
237#define PERL_ARGS_ASSERT_AV_SHIFT \
238 assert(av)
7a5b473e 239
c70927a6 240PERL_CALLCONV SV** Perl_av_store(pTHX_ AV *av, SSize_t key, SV *val)
7a5b473e 241 __attribute__nonnull__(pTHX_1);
7918f24d
NC
242#define PERL_ARGS_ASSERT_AV_STORE \
243 assert(av)
7a5b473e 244
c70927a6 245/* PERL_CALLCONV SSize_t Perl_av_tindex(pTHX_ AV *av)
12719193
KW
246 __attribute__warn_unused_result__
247 __attribute__nonnull__(pTHX_1); */
248
c70927a6 249PERL_STATIC_INLINE SSize_t S_av_top_index(pTHX_ AV *av)
36baafc9
KW
250 __attribute__warn_unused_result__
251 __attribute__nonnull__(pTHX_1);
dab460cd 252#define PERL_ARGS_ASSERT_AV_TOP_INDEX \
36baafc9
KW
253 assert(av)
254
4048f010 255PERL_CALLCONV void Perl_av_undef(pTHX_ AV *av)
7a5b473e 256 __attribute__nonnull__(pTHX_1);
7918f24d
NC
257#define PERL_ARGS_ASSERT_AV_UNDEF \
258 assert(av)
7a5b473e 259
c70927a6 260PERL_CALLCONV void Perl_av_unshift(pTHX_ AV *av, SSize_t num)
7a5b473e 261 __attribute__nonnull__(pTHX_1);
7918f24d
NC
262#define PERL_ARGS_ASSERT_AV_UNSHIFT \
263 assert(av)
a3b680e6 264
4048f010 265PERL_CALLCONV OP* Perl_bind_match(pTHX_ I32 type, OP *left, OP *right)
abb2c242
JH
266 __attribute__warn_unused_result__
267 __attribute__nonnull__(pTHX_2)
268 __attribute__nonnull__(pTHX_3);
7918f24d
NC
269#define PERL_ARGS_ASSERT_BIND_MATCH \
270 assert(left); assert(right)
a3b680e6
AL
271
272PERL_CALLCONV OP* Perl_block_end(pTHX_ I32 floor, OP* seq)
6472dca1 273 __attribute__warn_unused_result__;
a3b680e6
AL
274
275PERL_CALLCONV I32 Perl_block_gimme(pTHX)
abb2c242 276 __attribute__warn_unused_result__;
a3b680e6
AL
277
278PERL_CALLCONV int Perl_block_start(pTHX_ int full)
abb2c242 279 __attribute__warn_unused_result__;
a3b680e6 280
bb6c22e7
BM
281PERL_CALLCONV void Perl_blockhook_register(pTHX_ BHK *hk)
282 __attribute__nonnull__(pTHX_1);
283#define PERL_ARGS_ASSERT_BLOCKHOOK_REGISTER \
284 assert(hk)
285
36ed5425 286PERL_CALLCONV void Perl_boot_core_PerlIO(pTHX);
e8a67806
NC
287PERL_CALLCONV void Perl_boot_core_UNIVERSAL(pTHX);
288PERL_CALLCONV void Perl_boot_core_mro(pTHX);
fed3ba5d
NC
289PERL_CALLCONV int Perl_bytes_cmp_utf8(pTHX_ const U8 *b, STRLEN blen, const U8 *u, STRLEN ulen)
290 __attribute__nonnull__(pTHX_1)
291 __attribute__nonnull__(pTHX_3);
292#define PERL_ARGS_ASSERT_BYTES_CMP_UTF8 \
293 assert(b); assert(u)
294
e8a67806
NC
295PERL_CALLCONV U8* Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *len, bool *is_utf8)
296 __attribute__nonnull__(pTHX_1)
297 __attribute__nonnull__(pTHX_2);
298#define PERL_ARGS_ASSERT_BYTES_FROM_UTF8 \
299 assert(s); assert(len)
300
301PERL_CALLCONV U8* Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *len)
302 __attribute__nonnull__(pTHX_1)
303 __attribute__nonnull__(pTHX_2);
304#define PERL_ARGS_ASSERT_BYTES_TO_UTF8 \
305 assert(s); assert(len)
306
307PERL_CALLCONV I32 Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv)
308 __attribute__nonnull__(pTHX_1)
309 __attribute__nonnull__(pTHX_3);
310#define PERL_ARGS_ASSERT_CALL_ARGV \
311 assert(sub_name); assert(argv)
312
313PERL_CALLCONV void Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr);
4048f010 314PERL_CALLCONV void Perl_call_list(pTHX_ I32 oldscope, AV *paramList)
abb2c242 315 __attribute__nonnull__(pTHX_2);
7918f24d
NC
316#define PERL_ARGS_ASSERT_CALL_LIST \
317 assert(paramList)
a3b680e6 318
e8a67806
NC
319PERL_CALLCONV I32 Perl_call_method(pTHX_ const char* methname, I32 flags)
320 __attribute__nonnull__(pTHX_1);
321#define PERL_ARGS_ASSERT_CALL_METHOD \
322 assert(methname)
323
324PERL_CALLCONV I32 Perl_call_pv(pTHX_ const char* sub_name, I32 flags)
325 __attribute__nonnull__(pTHX_1);
326#define PERL_ARGS_ASSERT_CALL_PV \
327 assert(sub_name)
328
329PERL_CALLCONV I32 Perl_call_sv(pTHX_ SV* sv, VOL I32 flags)
330 __attribute__nonnull__(pTHX_1);
331#define PERL_ARGS_ASSERT_CALL_SV \
332 assert(sv)
333
2fefa6c7 334PERL_CALLCONV const PERL_CONTEXT * Perl_caller_cx(pTHX_ I32 level, const PERL_CONTEXT **dbcxp);
e8a67806
NC
335PERL_CALLCONV Malloc_t Perl_calloc(MEM_SIZE elements, MEM_SIZE size)
336 __attribute__malloc__
337 __attribute__warn_unused_result__;
338
ae1951c1 339PERL_CALLCONV bool Perl_cando(pTHX_ Mode_t mode, bool effective, const Stat_t* statbufp)
abb2c242
JH
340 __attribute__warn_unused_result__
341 __attribute__nonnull__(pTHX_3);
7918f24d
NC
342#define PERL_ARGS_ASSERT_CANDO \
343 assert(statbufp)
f54cb97a 344
53c1dcc0
AL
345PERL_CALLCONV I32 Perl_cast_i32(pTHX_ NV f)
346 __attribute__warn_unused_result__;
347
348PERL_CALLCONV IV Perl_cast_iv(pTHX_ NV f)
349 __attribute__warn_unused_result__;
350
e8a67806 351PERL_CALLCONV U32 Perl_cast_ulong(pTHX_ NV f)
53c1dcc0
AL
352 __attribute__warn_unused_result__;
353
e8a67806 354PERL_CALLCONV UV Perl_cast_uv(pTHX_ NV f)
53c1dcc0
AL
355 __attribute__warn_unused_result__;
356
0876b9a0
KW
357PERL_CALLCONV bool Perl_check_utf8_print(pTHX_ const U8 *s, const STRLEN len)
358 __attribute__nonnull__(pTHX_1);
359#define PERL_ARGS_ASSERT_CHECK_UTF8_PRINT \
360 assert(s)
361
e8a67806
NC
362PERL_CALLCONV OP * Perl_ck_anoncode(pTHX_ OP *o)
363 __attribute__warn_unused_result__
2fefa6c7 364 __attribute__nonnull__(pTHX_1);
e8a67806
NC
365#define PERL_ARGS_ASSERT_CK_ANONCODE \
366 assert(o)
2fefa6c7 367
9ce1fb7d
FC
368PERL_CALLCONV OP * Perl_ck_backtick(pTHX_ OP *o)
369 __attribute__warn_unused_result__
370 __attribute__nonnull__(pTHX_1);
371#define PERL_ARGS_ASSERT_CK_BACKTICK \
372 assert(o)
373
e8a67806
NC
374PERL_CALLCONV OP * Perl_ck_bitop(pTHX_ OP *o)
375 __attribute__warn_unused_result__
376 __attribute__nonnull__(pTHX_1);
377#define PERL_ARGS_ASSERT_CK_BITOP \
378 assert(o)
2fefa6c7 379
89474f50
FC
380PERL_CALLCONV OP * Perl_ck_cmp(pTHX_ OP *o)
381 __attribute__warn_unused_result__
382 __attribute__nonnull__(pTHX_1);
383#define PERL_ARGS_ASSERT_CK_CMP \
384 assert(o)
385
e8a67806
NC
386PERL_CALLCONV OP * Perl_ck_concat(pTHX_ OP *o)
387 __attribute__warn_unused_result__
388 __attribute__nonnull__(pTHX_1);
389#define PERL_ARGS_ASSERT_CK_CONCAT \
390 assert(o)
9dcc53ea 391
e8a67806
NC
392PERL_CALLCONV OP * Perl_ck_defined(pTHX_ OP *o)
393 __attribute__warn_unused_result__
c5df3096 394 __attribute__nonnull__(pTHX_1);
e8a67806
NC
395#define PERL_ARGS_ASSERT_CK_DEFINED \
396 assert(o)
f54cb97a 397
e8a67806
NC
398PERL_CALLCONV OP * Perl_ck_delete(pTHX_ OP *o)
399 __attribute__warn_unused_result__
400 __attribute__nonnull__(pTHX_1);
401#define PERL_ARGS_ASSERT_CK_DELETE \
402 assert(o)
f54cb97a 403
e8a67806
NC
404PERL_CALLCONV OP * Perl_ck_each(pTHX_ OP *o)
405 __attribute__warn_unused_result__
406 __attribute__nonnull__(pTHX_1);
407#define PERL_ARGS_ASSERT_CK_EACH \
408 assert(o)
f54cb97a 409
4aaa4757
FC
410PERL_CALLCONV OP* Perl_ck_entersub_args_core(pTHX_ OP *entersubop, GV *namegv, SV *protosv)
411 __attribute__nonnull__(pTHX_1)
412 __attribute__nonnull__(pTHX_2)
413 __attribute__nonnull__(pTHX_3);
414#define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_CORE \
415 assert(entersubop); assert(namegv); assert(protosv)
416
d9088386
Z
417PERL_CALLCONV OP* Perl_ck_entersub_args_list(pTHX_ OP *entersubop)
418 __attribute__nonnull__(pTHX_1);
419#define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_LIST \
420 assert(entersubop)
421
422PERL_CALLCONV OP* Perl_ck_entersub_args_proto(pTHX_ OP *entersubop, GV *namegv, SV *protosv)
423 __attribute__nonnull__(pTHX_1)
424 __attribute__nonnull__(pTHX_2)
425 __attribute__nonnull__(pTHX_3);
426#define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO \
427 assert(entersubop); assert(namegv); assert(protosv)
428
429PERL_CALLCONV OP* Perl_ck_entersub_args_proto_or_list(pTHX_ OP *entersubop, GV *namegv, SV *protosv)
430 __attribute__nonnull__(pTHX_1)
431 __attribute__nonnull__(pTHX_2)
432 __attribute__nonnull__(pTHX_3);
433#define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO_OR_LIST \
434 assert(entersubop); assert(namegv); assert(protosv)
435
e8a67806
NC
436PERL_CALLCONV OP * Perl_ck_eof(pTHX_ OP *o)
437 __attribute__warn_unused_result__
cbf82dd0 438 __attribute__nonnull__(pTHX_1);
e8a67806
NC
439#define PERL_ARGS_ASSERT_CK_EOF \
440 assert(o)
cbf82dd0 441
e8a67806
NC
442PERL_CALLCONV OP * Perl_ck_eval(pTHX_ OP *o)
443 __attribute__warn_unused_result__
abb2c242 444 __attribute__nonnull__(pTHX_1);
e8a67806
NC
445#define PERL_ARGS_ASSERT_CK_EVAL \
446 assert(o)
f54cb97a 447
e8a67806 448PERL_CALLCONV OP * Perl_ck_exec(pTHX_ OP *o)
62d55b22
NC
449 __attribute__warn_unused_result__
450 __attribute__nonnull__(pTHX_1);
e8a67806
NC
451#define PERL_ARGS_ASSERT_CK_EXEC \
452 assert(o)
62d55b22 453
e8a67806
NC
454PERL_CALLCONV OP * Perl_ck_exists(pTHX_ OP *o)
455 __attribute__warn_unused_result__
456 __attribute__nonnull__(pTHX_1);
457#define PERL_ARGS_ASSERT_CK_EXISTS \
458 assert(o)
255164ba 459
e8a67806
NC
460PERL_CALLCONV OP * Perl_ck_ftst(pTHX_ OP *o)
461 __attribute__warn_unused_result__
255164ba 462 __attribute__nonnull__(pTHX_1);
e8a67806
NC
463#define PERL_ARGS_ASSERT_CK_FTST \
464 assert(o)
255164ba 465
e8a67806
NC
466PERL_CALLCONV OP * Perl_ck_fun(pTHX_ OP *o)
467 __attribute__warn_unused_result__
255164ba 468 __attribute__nonnull__(pTHX_1);
e8a67806
NC
469#define PERL_ARGS_ASSERT_CK_FUN \
470 assert(o)
255164ba 471
e8a67806
NC
472PERL_CALLCONV OP * Perl_ck_glob(pTHX_ OP *o)
473 __attribute__warn_unused_result__
255164ba 474 __attribute__nonnull__(pTHX_1);
e8a67806
NC
475#define PERL_ARGS_ASSERT_CK_GLOB \
476 assert(o)
255164ba 477
e8a67806 478PERL_CALLCONV OP * Perl_ck_grep(pTHX_ OP *o)
255164ba 479 __attribute__warn_unused_result__
e8a67806
NC
480 __attribute__nonnull__(pTHX_1);
481#define PERL_ARGS_ASSERT_CK_GREP \
482 assert(o)
255164ba 483
e8a67806 484PERL_CALLCONV OP * Perl_ck_index(pTHX_ OP *o)
abb2c242 485 __attribute__warn_unused_result__
e8a67806
NC
486 __attribute__nonnull__(pTHX_1);
487#define PERL_ARGS_ASSERT_CK_INDEX \
488 assert(o)
f54cb97a 489
e8a67806 490PERL_CALLCONV OP * Perl_ck_join(pTHX_ OP *o)
abb2c242 491 __attribute__warn_unused_result__
e8a67806
NC
492 __attribute__nonnull__(pTHX_1);
493#define PERL_ARGS_ASSERT_CK_JOIN \
494 assert(o)
f54cb97a 495
e508c8a4
MH
496PERL_CALLCONV OP * Perl_ck_length(pTHX_ OP *o)
497 __attribute__warn_unused_result__
498 __attribute__nonnull__(pTHX_1);
499#define PERL_ARGS_ASSERT_CK_LENGTH \
500 assert(o)
501
e8a67806 502PERL_CALLCONV OP * Perl_ck_lfun(pTHX_ OP *o)
abb2c242 503 __attribute__warn_unused_result__
e8a67806
NC
504 __attribute__nonnull__(pTHX_1);
505#define PERL_ARGS_ASSERT_CK_LFUN \
506 assert(o)
f54cb97a 507
e8a67806 508PERL_CALLCONV OP * Perl_ck_listiob(pTHX_ OP *o)
abb2c242 509 __attribute__warn_unused_result__
e8a67806
NC
510 __attribute__nonnull__(pTHX_1);
511#define PERL_ARGS_ASSERT_CK_LISTIOB \
512 assert(o)
f54cb97a 513
e8a67806 514PERL_CALLCONV OP * Perl_ck_match(pTHX_ OP *o)
abb2c242 515 __attribute__warn_unused_result__
e8a67806
NC
516 __attribute__nonnull__(pTHX_1);
517#define PERL_ARGS_ASSERT_CK_MATCH \
518 assert(o)
f54cb97a 519
e8a67806
NC
520PERL_CALLCONV OP * Perl_ck_method(pTHX_ OP *o)
521 __attribute__warn_unused_result__
522 __attribute__nonnull__(pTHX_1);
523#define PERL_ARGS_ASSERT_CK_METHOD \
524 assert(o)
a3b680e6 525
e8a67806
NC
526PERL_CALLCONV OP * Perl_ck_null(pTHX_ OP *o)
527 __attribute__warn_unused_result__
255164ba 528 __attribute__nonnull__(pTHX_1);
e8a67806
NC
529#define PERL_ARGS_ASSERT_CK_NULL \
530 assert(o)
255164ba 531
e8a67806
NC
532PERL_CALLCONV OP * Perl_ck_open(pTHX_ OP *o)
533 __attribute__warn_unused_result__
255164ba 534 __attribute__nonnull__(pTHX_1);
e8a67806
NC
535#define PERL_ARGS_ASSERT_CK_OPEN \
536 assert(o)
f54cb97a 537
e8a67806
NC
538PERL_CALLCONV OP * Perl_ck_readline(pTHX_ OP *o)
539 __attribute__warn_unused_result__
abb2c242 540 __attribute__nonnull__(pTHX_1);
e8a67806 541#define PERL_ARGS_ASSERT_CK_READLINE \
7918f24d 542 assert(o)
f54cb97a 543
e8a67806
NC
544PERL_CALLCONV OP * Perl_ck_repeat(pTHX_ OP *o)
545 __attribute__warn_unused_result__
546 __attribute__nonnull__(pTHX_1);
547#define PERL_ARGS_ASSERT_CK_REPEAT \
548 assert(o)
549
550PERL_CALLCONV OP * Perl_ck_require(pTHX_ OP *o)
551 __attribute__warn_unused_result__
552 __attribute__nonnull__(pTHX_1);
553#define PERL_ARGS_ASSERT_CK_REQUIRE \
554 assert(o)
555
556PERL_CALLCONV OP * Perl_ck_return(pTHX_ OP *o)
557 __attribute__warn_unused_result__
558 __attribute__nonnull__(pTHX_1);
559#define PERL_ARGS_ASSERT_CK_RETURN \
560 assert(o)
561
562PERL_CALLCONV OP * Perl_ck_rfun(pTHX_ OP *o)
563 __attribute__warn_unused_result__
564 __attribute__nonnull__(pTHX_1);
565#define PERL_ARGS_ASSERT_CK_RFUN \
566 assert(o)
567
568PERL_CALLCONV OP * Perl_ck_rvconst(pTHX_ OP *o)
569 __attribute__warn_unused_result__
570 __attribute__nonnull__(pTHX_1);
571#define PERL_ARGS_ASSERT_CK_RVCONST \
572 assert(o)
573
574PERL_CALLCONV OP * Perl_ck_sassign(pTHX_ OP *o)
575 __attribute__warn_unused_result__
576 __attribute__nonnull__(pTHX_1);
577#define PERL_ARGS_ASSERT_CK_SASSIGN \
578 assert(o)
579
580PERL_CALLCONV OP * Perl_ck_select(pTHX_ OP *o)
581 __attribute__warn_unused_result__
582 __attribute__nonnull__(pTHX_1);
583#define PERL_ARGS_ASSERT_CK_SELECT \
584 assert(o)
585
586PERL_CALLCONV OP * Perl_ck_shift(pTHX_ OP *o)
587 __attribute__warn_unused_result__
588 __attribute__nonnull__(pTHX_1);
589#define PERL_ARGS_ASSERT_CK_SHIFT \
590 assert(o)
591
592PERL_CALLCONV OP * Perl_ck_smartmatch(pTHX_ OP *o)
593 __attribute__warn_unused_result__
594 __attribute__nonnull__(pTHX_1);
595#define PERL_ARGS_ASSERT_CK_SMARTMATCH \
596 assert(o)
597
598PERL_CALLCONV OP * Perl_ck_sort(pTHX_ OP *o)
599 __attribute__warn_unused_result__
600 __attribute__nonnull__(pTHX_1);
601#define PERL_ARGS_ASSERT_CK_SORT \
602 assert(o)
603
604PERL_CALLCONV OP * Perl_ck_spair(pTHX_ OP *o)
605 __attribute__warn_unused_result__
606 __attribute__nonnull__(pTHX_1);
607#define PERL_ARGS_ASSERT_CK_SPAIR \
608 assert(o)
609
610PERL_CALLCONV OP * Perl_ck_split(pTHX_ OP *o)
611 __attribute__warn_unused_result__
612 __attribute__nonnull__(pTHX_1);
613#define PERL_ARGS_ASSERT_CK_SPLIT \
614 assert(o)
615
616PERL_CALLCONV OP * Perl_ck_subr(pTHX_ OP *o)
617 __attribute__warn_unused_result__
618 __attribute__nonnull__(pTHX_1);
619#define PERL_ARGS_ASSERT_CK_SUBR \
620 assert(o)
621
622PERL_CALLCONV OP * Perl_ck_substr(pTHX_ OP *o)
623 __attribute__warn_unused_result__
624 __attribute__nonnull__(pTHX_1);
625#define PERL_ARGS_ASSERT_CK_SUBSTR \
626 assert(o)
627
628PERL_CALLCONV OP * Perl_ck_svconst(pTHX_ OP *o)
629 __attribute__warn_unused_result__
630 __attribute__nonnull__(pTHX_1);
631#define PERL_ARGS_ASSERT_CK_SVCONST \
632 assert(o)
633
8dc99089
FC
634PERL_CALLCONV OP * Perl_ck_tell(pTHX_ OP *o)
635 __attribute__warn_unused_result__
636 __attribute__nonnull__(pTHX_1);
637#define PERL_ARGS_ASSERT_CK_TELL \
638 assert(o)
639
e8a67806
NC
640PERL_CALLCONV OP * Perl_ck_trunc(pTHX_ OP *o)
641 __attribute__warn_unused_result__
642 __attribute__nonnull__(pTHX_1);
643#define PERL_ARGS_ASSERT_CK_TRUNC \
644 assert(o)
645
e8a67806
NC
646PERL_CALLCONV void Perl_ck_warner(pTHX_ U32 err, const char* pat, ...)
647 __attribute__format__(__printf__,pTHX_2,pTHX_3)
648 __attribute__nonnull__(pTHX_2);
649#define PERL_ARGS_ASSERT_CK_WARNER \
650 assert(pat)
651
652PERL_CALLCONV void Perl_ck_warner_d(pTHX_ U32 err, const char* pat, ...)
653 __attribute__format__(__printf__,pTHX_2,pTHX_3)
654 __attribute__nonnull__(pTHX_2);
655#define PERL_ARGS_ASSERT_CK_WARNER_D \
656 assert(pat)
657
658PERL_CALLCONV bool Perl_ckwarn(pTHX_ U32 w);
659PERL_CALLCONV bool Perl_ckwarn_d(pTHX_ U32 w);
25502127
FC
660PERL_CALLCONV const COP* Perl_closest_cop(pTHX_ const COP *cop, const OP *o, const OP *curop, bool opnext)
661 __attribute__nonnull__(pTHX_1);
662#define PERL_ARGS_ASSERT_CLOSEST_COP \
663 assert(cop)
664
e8a67806
NC
665PERL_CALLCONV OP* Perl_convert(pTHX_ I32 optype, I32 flags, OP* o)
666 __attribute__warn_unused_result__;
667
aebc0cbe
FC
668PERL_CALLCONV const char * Perl_cop_fetch_label(pTHX_ COP *const cop, STRLEN *len, U32 *flags)
669 __attribute__nonnull__(pTHX_1);
670#define PERL_ARGS_ASSERT_COP_FETCH_LABEL \
671 assert(cop)
672
673PERL_CALLCONV void Perl_cop_store_label(pTHX_ COP *const cop, const char *label, STRLEN len, U32 flags)
674 __attribute__nonnull__(pTHX_1)
675 __attribute__nonnull__(pTHX_2);
676#define PERL_ARGS_ASSERT_COP_STORE_LABEL \
677 assert(cop); assert(label)
678
b66130dd 679PERL_CALLCONV SV * Perl_core_prototype(pTHX_ SV *sv, const char *name, const int code, int * const opnum)
b8c38f0a
FC
680 __attribute__nonnull__(pTHX_2);
681#define PERL_ARGS_ASSERT_CORE_PROTOTYPE \
682 assert(name)
683
8f939fab 684PERL_CALLCONV OP * Perl_coresub_op(pTHX_ SV *const coreargssv, const int code, const int opnum)
1e4b6aa1
FC
685 __attribute__nonnull__(pTHX_1);
686#define PERL_ARGS_ASSERT_CORESUB_OP \
687 assert(coreargssv)
688
e8a67806 689PERL_CALLCONV PERL_CONTEXT* Perl_create_eval_scope(pTHX_ U32 flags);
12a2785c 690PERL_CALLCONV_NO_RET void Perl_croak(pTHX_ const char* pat, ...)
e8a67806
NC
691 __attribute__noreturn__
692 __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
693
d1decf2b
TC
694PERL_STATIC_NO_RET void S_croak_memory_wrap(void)
695 __attribute__noreturn__;
696
4cbe3a7d
DD
697PERL_CALLCONV_NO_RET void Perl_croak_no_mem(void)
698 __attribute__noreturn__;
699
cb077ed2 700PERL_CALLCONV_NO_RET void Perl_croak_no_modify(void)
e8a67806
NC
701 __attribute__noreturn__;
702
3d04513d
DD
703PERL_CALLCONV_NO_RET void Perl_croak_popstack(void)
704 __attribute__noreturn__;
705
12a2785c 706PERL_CALLCONV_NO_RET void Perl_croak_sv(pTHX_ SV *baseex)
e8a67806
NC
707 __attribute__noreturn__
708 __attribute__nonnull__(pTHX_1);
709#define PERL_ARGS_ASSERT_CROAK_SV \
710 assert(baseex)
711
cb077ed2 712PERL_CALLCONV_NO_RET void Perl_croak_xs_usage(const CV *const cv, const char *const params)
e8a67806 713 __attribute__noreturn__
cb077ed2
DD
714 __attribute__nonnull__(1)
715 __attribute__nonnull__(2);
e8a67806
NC
716#define PERL_ARGS_ASSERT_CROAK_XS_USAGE \
717 assert(cv); assert(params)
718
3c13cae6 719PERL_CALLCONV regexp_engine const * Perl_current_re_engine(pTHX);
e8a67806
NC
720PERL_CALLCONV const char * Perl_custom_op_desc(pTHX_ const OP *o)
721 __attribute__warn_unused_result__
722 __attribute__nonnull__(pTHX_1);
723#define PERL_ARGS_ASSERT_CUSTOM_OP_DESC \
724 assert(o)
725
ae103e09
DD
726PERL_CALLCONV XOPRETANY Perl_custom_op_get_field(pTHX_ const OP *o, const xop_flags_enum field)
727 __attribute__warn_unused_result__
728 __attribute__nonnull__(pTHX_1);
729#define PERL_ARGS_ASSERT_CUSTOM_OP_GET_FIELD \
730 assert(o)
731
e8a67806
NC
732PERL_CALLCONV const char * Perl_custom_op_name(pTHX_ const OP *o)
733 __attribute__warn_unused_result__
734 __attribute__nonnull__(pTHX_1);
735#define PERL_ARGS_ASSERT_CUSTOM_OP_NAME \
736 assert(o)
737
1830b3d9
BM
738PERL_CALLCONV void Perl_custom_op_register(pTHX_ Perl_ppaddr_t ppaddr, const XOP *xop)
739 __attribute__nonnull__(pTHX_1)
740 __attribute__nonnull__(pTHX_2);
741#define PERL_ARGS_ASSERT_CUSTOM_OP_REGISTER \
742 assert(ppaddr); assert(xop)
743
ae103e09 744/* PERL_CALLCONV const XOP * Perl_custom_op_xop(pTHX_ const OP *o)
1830b3d9 745 __attribute__pure__
ae103e09 746 __attribute__nonnull__(pTHX_1); */
1830b3d9 747
dab1c735
BF
748PERL_CALLCONV void Perl_cv_ckproto_len_flags(pTHX_ const CV* cv, const GV* gv, const char* p, const STRLEN len, const U32 flags)
749 __attribute__nonnull__(pTHX_1);
750#define PERL_ARGS_ASSERT_CV_CKPROTO_LEN_FLAGS \
751 assert(cv)
752
e8a67806
NC
753PERL_CALLCONV CV* Perl_cv_clone(pTHX_ CV* proto)
754 __attribute__nonnull__(pTHX_1);
755#define PERL_ARGS_ASSERT_CV_CLONE \
756 assert(proto)
757
6d5c2147
FC
758PERL_CALLCONV CV* Perl_cv_clone_into(pTHX_ CV* proto, CV *target)
759 __attribute__nonnull__(pTHX_1)
760 __attribute__nonnull__(pTHX_2);
761#define PERL_ARGS_ASSERT_CV_CLONE_INTO \
762 assert(proto); assert(target)
763
e8a67806
NC
764PERL_CALLCONV SV* Perl_cv_const_sv(pTHX_ const CV *const cv)
765 __attribute__warn_unused_result__;
766
f815dc14
FC
767PERL_CALLCONV SV* Perl_cv_const_sv_or_av(pTHX_ const CV *const cv)
768 __attribute__warn_unused_result__;
769
7aef8e5b
FC
770PERL_CALLCONV void Perl_cv_forget_slab(pTHX_ CV *cv)
771 __attribute__nonnull__(pTHX_1);
772#define PERL_ARGS_ASSERT_CV_FORGET_SLAB \
773 assert(cv)
774
d9088386
Z
775PERL_CALLCONV void Perl_cv_get_call_checker(pTHX_ CV *cv, Perl_call_checker *ckfun_p, SV **ckobj_p)
776 __attribute__nonnull__(pTHX_1)
777 __attribute__nonnull__(pTHX_2)
778 __attribute__nonnull__(pTHX_3);
779#define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER \
780 assert(cv); assert(ckfun_p); assert(ckobj_p)
781
782PERL_CALLCONV void Perl_cv_set_call_checker(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj)
783 __attribute__nonnull__(pTHX_1)
784 __attribute__nonnull__(pTHX_2)
785 __attribute__nonnull__(pTHX_3);
786#define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER \
787 assert(cv); assert(ckfun); assert(ckobj)
788
e8a67806
NC
789PERL_CALLCONV void Perl_cv_undef(pTHX_ CV* cv)
790 __attribute__nonnull__(pTHX_1);
791#define PERL_ARGS_ASSERT_CV_UNDEF \
792 assert(cv)
793
794PERL_CALLCONV void Perl_cvgv_set(pTHX_ CV* cv, GV* gv)
795 __attribute__nonnull__(pTHX_1);
796#define PERL_ARGS_ASSERT_CVGV_SET \
797 assert(cv)
798
c68d9564
Z
799PERL_CALLCONV void Perl_cvstash_set(pTHX_ CV* cv, HV* stash)
800 __attribute__nonnull__(pTHX_1);
801#define PERL_ARGS_ASSERT_CVSTASH_SET \
802 assert(cv)
803
e8a67806
NC
804PERL_CALLCONV void Perl_cx_dump(pTHX_ PERL_CONTEXT* cx)
805 __attribute__nonnull__(pTHX_1);
806#define PERL_ARGS_ASSERT_CX_DUMP \
807 assert(cx)
808
809PERL_CALLCONV I32 Perl_cxinc(pTHX)
810 __attribute__warn_unused_result__;
811
812PERL_CALLCONV void Perl_deb(pTHX_ const char* pat, ...)
813 __attribute__format__(__printf__,pTHX_1,pTHX_2)
814 __attribute__nonnull__(pTHX_1);
815#define PERL_ARGS_ASSERT_DEB \
816 assert(pat)
817
818PERL_CALLCONV void Perl_deb_stack_all(pTHX);
819PERL_CALLCONV I32 Perl_debop(pTHX_ const OP* o)
820 __attribute__nonnull__(pTHX_1);
821#define PERL_ARGS_ASSERT_DEBOP \
822 assert(o)
823
824PERL_CALLCONV void Perl_debprofdump(pTHX);
825PERL_CALLCONV I32 Perl_debstack(pTHX);
826PERL_CALLCONV I32 Perl_debstackptrs(pTHX);
13733cde
FC
827PERL_CALLCONV SV * Perl_defelem_target(pTHX_ SV *sv, MAGIC *mg)
828 __attribute__warn_unused_result__
829 __attribute__nonnull__(pTHX_1);
830#define PERL_ARGS_ASSERT_DEFELEM_TARGET \
831 assert(sv)
832
e8a67806 833PERL_CALLCONV void Perl_delete_eval_scope(pTHX);
04c9e624
VP
834PERL_CALLCONV char* Perl_delimcpy(char* to, const char* toend, const char* from, const char* fromend, int delim, I32* retlen)
835 __attribute__nonnull__(1)
836 __attribute__nonnull__(2)
837 __attribute__nonnull__(3)
838 __attribute__nonnull__(4)
839 __attribute__nonnull__(6);
7918f24d
NC
840#define PERL_ARGS_ASSERT_DELIMCPY \
841 assert(to); assert(toend); assert(from); assert(fromend); assert(retlen)
f54cb97a 842
e8a67806
NC
843PERL_CALLCONV void Perl_despatch_signals(pTHX);
844PERL_CALLCONV OP* Perl_die(pTHX_ const char* pat, ...)
845 __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
846
c5df3096
Z
847PERL_CALLCONV OP* Perl_die_sv(pTHX_ SV *baseex)
848 __attribute__nonnull__(pTHX_1);
849#define PERL_ARGS_ASSERT_DIE_SV \
850 assert(baseex)
851
12a2785c 852PERL_CALLCONV_NO_RET void Perl_die_unwind(pTHX_ SV* msv)
c5df3096
Z
853 __attribute__noreturn__
854 __attribute__nonnull__(pTHX_1);
855#define PERL_ARGS_ASSERT_DIE_UNWIND \
62705b21 856 assert(msv)
bb4c52e0 857
a9f96b3f 858/* PERL_CALLCONV bool Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp)
255164ba 859 __attribute__nonnull__(pTHX_2)
a9f96b3f 860 __attribute__nonnull__(pTHX_3); */
7918f24d
NC
861#define PERL_ARGS_ASSERT_DO_AEXEC \
862 assert(mark); assert(sp)
255164ba 863
5b5cf8d2 864PERL_CALLCONV bool Perl_do_aexec5(pTHX_ SV* really, SV** mark, SV** sp, int fd, int do_report)
255164ba
DM
865 __attribute__nonnull__(pTHX_2)
866 __attribute__nonnull__(pTHX_3);
7918f24d
NC
867#define PERL_ARGS_ASSERT_DO_AEXEC5 \
868 assert(mark); assert(sp)
255164ba 869
4373e329 870PERL_CALLCONV int Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int mode)
abb2c242 871 __attribute__nonnull__(pTHX_1);
7918f24d
NC
872#define PERL_ARGS_ASSERT_DO_BINMODE \
873 assert(fp)
f54cb97a 874
063df69c 875PERL_CALLCONV bool Perl_do_close(pTHX_ GV* gv, bool not_implicit);
e8a67806
NC
876PERL_CALLCONV void Perl_do_dump_pad(pTHX_ I32 level, PerlIO *file, PADLIST *padlist, int full)
877 __attribute__nonnull__(pTHX_2);
878#define PERL_ARGS_ASSERT_DO_DUMP_PAD \
879 assert(file)
880
4373e329 881PERL_CALLCONV bool Perl_do_eof(pTHX_ GV* gv)
abb2c242 882 __attribute__nonnull__(pTHX_1);
7918f24d
NC
883#define PERL_ARGS_ASSERT_DO_EOF \
884 assert(gv)
f54cb97a 885
e8a67806
NC
886PERL_CALLCONV void Perl_do_execfree(pTHX);
887PERL_CALLCONV void Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv)
888 __attribute__nonnull__(pTHX_2)
889 __attribute__nonnull__(pTHX_3);
890#define PERL_ARGS_ASSERT_DO_GV_DUMP \
891 assert(file); assert(name)
f54cb97a 892
e8a67806 893PERL_CALLCONV void Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv)
fb9bf107
NC
894 __attribute__nonnull__(pTHX_2)
895 __attribute__nonnull__(pTHX_3);
e8a67806
NC
896#define PERL_ARGS_ASSERT_DO_GVGV_DUMP \
897 assert(file); assert(name)
fb9bf107 898
e8a67806 899PERL_CALLCONV void Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv)
fb9bf107
NC
900 __attribute__nonnull__(pTHX_2)
901 __attribute__nonnull__(pTHX_3);
e8a67806
NC
902#define PERL_ARGS_ASSERT_DO_HV_DUMP \
903 assert(file); assert(name)
fb9bf107 904
4048f010 905PERL_CALLCONV void Perl_do_join(pTHX_ SV *sv, SV *delim, SV **mark, SV **sp)
abb2c242
JH
906 __attribute__nonnull__(pTHX_1)
907 __attribute__nonnull__(pTHX_2)
908 __attribute__nonnull__(pTHX_3)
909 __attribute__nonnull__(pTHX_4);
7918f24d
NC
910#define PERL_ARGS_ASSERT_DO_JOIN \
911 assert(sv); assert(delim); assert(mark); assert(sp)
f54cb97a 912
e8a67806
NC
913PERL_CALLCONV void Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim)
914 __attribute__nonnull__(pTHX_2)
915 __attribute__nonnull__(pTHX_3);
916#define PERL_ARGS_ASSERT_DO_MAGIC_DUMP \
917 assert(file); assert(mg)
918
33efebe6
DM
919PERL_CALLCONV I32 Perl_do_ncmp(pTHX_ SV *const left, SV *const right)
920 __attribute__warn_unused_result__
921 __attribute__nonnull__(pTHX_1)
922 __attribute__nonnull__(pTHX_2);
923#define PERL_ARGS_ASSERT_DO_NCMP \
924 assert(left); assert(right)
925
e8a67806
NC
926PERL_CALLCONV void Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o)
927 __attribute__nonnull__(pTHX_2);
928#define PERL_ARGS_ASSERT_DO_OP_DUMP \
929 assert(file)
930
e4dba786 931/* 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 932 __attribute__nonnull__(pTHX_1)
e4dba786 933 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
934#define PERL_ARGS_ASSERT_DO_OPEN \
935 assert(gv); assert(name)
255164ba 936
2fbb330f 937PERL_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
938 __attribute__nonnull__(pTHX_1)
939 __attribute__nonnull__(pTHX_2)
940 __attribute__nonnull__(pTHX_8);
7918f24d
NC
941#define PERL_ARGS_ASSERT_DO_OPEN9 \
942 assert(gv); assert(name); assert(svs)
255164ba 943
4048f010 944PERL_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
945 __attribute__nonnull__(pTHX_1)
946 __attribute__nonnull__(pTHX_2);
7918f24d
NC
947#define PERL_ARGS_ASSERT_DO_OPENN \
948 assert(gv); assert(oname)
255164ba 949
e8a67806
NC
950PERL_CALLCONV void Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm)
951 __attribute__nonnull__(pTHX_2);
952#define PERL_ARGS_ASSERT_DO_PMOP_DUMP \
953 assert(file)
954
255164ba
DM
955PERL_CALLCONV bool Perl_do_print(pTHX_ SV* sv, PerlIO* fp)
956 __attribute__nonnull__(pTHX_2);
7918f24d
NC
957#define PERL_ARGS_ASSERT_DO_PRINT \
958 assert(fp)
255164ba
DM
959
960PERL_CALLCONV OP* Perl_do_readline(pTHX)
961 __attribute__warn_unused_result__;
962
1d7c1841 963PERL_CALLCONV bool Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence);
255164ba
DM
964PERL_CALLCONV void Perl_do_sprintf(pTHX_ SV* sv, I32 len, SV** sarg)
965 __attribute__nonnull__(pTHX_1)
966 __attribute__nonnull__(pTHX_3);
7918f24d
NC
967#define PERL_ARGS_ASSERT_DO_SPRINTF \
968 assert(sv); assert(sarg)
255164ba 969
e8a67806
NC
970PERL_CALLCONV void Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim)
971 __attribute__nonnull__(pTHX_2);
972#define PERL_ARGS_ASSERT_DO_SV_DUMP \
973 assert(file)
974
255164ba
DM
975PERL_CALLCONV Off_t Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence)
976 __attribute__nonnull__(pTHX_1);
7918f24d
NC
977#define PERL_ARGS_ASSERT_DO_SYSSEEK \
978 assert(gv)
255164ba
DM
979
980PERL_CALLCONV Off_t Perl_do_tell(pTHX_ GV* gv)
981 __attribute__warn_unused_result__
982 __attribute__nonnull__(pTHX_1);
7918f24d
NC
983#define PERL_ARGS_ASSERT_DO_TELL \
984 assert(gv)
255164ba
DM
985
986PERL_CALLCONV I32 Perl_do_trans(pTHX_ SV* sv)
987 __attribute__nonnull__(pTHX_1);
7918f24d
NC
988#define PERL_ARGS_ASSERT_DO_TRANS \
989 assert(sv)
255164ba 990
fcb8da00 991PERL_CALLCONV UV Perl_do_vecget(pTHX_ SV* sv, SSize_t offset, int size)
abb2c242 992 __attribute__nonnull__(pTHX_1);
7918f24d
NC
993#define PERL_ARGS_ASSERT_DO_VECGET \
994 assert(sv)
f54cb97a 995
4373e329 996PERL_CALLCONV void Perl_do_vecset(pTHX_ SV* sv)
abb2c242 997 __attribute__nonnull__(pTHX_1);
7918f24d
NC
998#define PERL_ARGS_ASSERT_DO_VECSET \
999 assert(sv)
f54cb97a 1000
255164ba
DM
1001PERL_CALLCONV void Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right)
1002 __attribute__nonnull__(pTHX_2)
1003 __attribute__nonnull__(pTHX_3)
1004 __attribute__nonnull__(pTHX_4);
7918f24d
NC
1005#define PERL_ARGS_ASSERT_DO_VOP \
1006 assert(sv); assert(left); assert(right)
255164ba 1007
850e8516 1008PERL_CALLCONV OP* Perl_dofile(pTHX_ OP* term, I32 force_builtin)
255164ba 1009 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1010#define PERL_ARGS_ASSERT_DOFILE \
1011 assert(term)
255164ba 1012
e8a67806
NC
1013PERL_CALLCONV bool Perl_doing_taint(int argc, char** argv, char** env)
1014 __attribute__warn_unused_result__;
1015
1016PERL_CALLCONV OP * Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref)
1017 __attribute__nonnull__(pTHX_1);
1018#define PERL_ARGS_ASSERT_DOREF \
1019 assert(o)
1020
1021PERL_CALLCONV void Perl_dounwind(pTHX_ I32 cxix);
255164ba
DM
1022PERL_CALLCONV I32 Perl_dowantarray(pTHX)
1023 __attribute__warn_unused_result__;
1024
3be8f094
TC
1025PERL_CALLCONV void Perl_drand48_init_r(perl_drand48_t *random_state, U32 seed)
1026 __attribute__nonnull__(1);
1027#define PERL_ARGS_ASSERT_DRAND48_INIT_R \
1028 assert(random_state)
1029
1030PERL_CALLCONV double Perl_drand48_r(perl_drand48_t *random_state)
1031 __attribute__nonnull__(1);
1032#define PERL_ARGS_ASSERT_DRAND48_R \
1033 assert(random_state)
1034
1d7c1841 1035PERL_CALLCONV void Perl_dump_all(pTHX);
f0e3f042 1036PERL_CALLCONV void Perl_dump_all_perl(pTHX_ bool justperl);
1d7c1841 1037PERL_CALLCONV void Perl_dump_eval(pTHX);
9a957fbc
AL
1038PERL_CALLCONV void Perl_dump_form(pTHX_ const GV* gv)
1039 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1040#define PERL_ARGS_ASSERT_DUMP_FORM \
1041 assert(gv)
9a957fbc 1042
e8a67806
NC
1043PERL_CALLCONV void Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...)
1044 __attribute__format__(__printf__,pTHX_3,pTHX_4)
1045 __attribute__nonnull__(pTHX_2)
1046 __attribute__nonnull__(pTHX_3);
1047#define PERL_ARGS_ASSERT_DUMP_INDENT \
1048 assert(file); assert(pat)
255164ba 1049
9a957fbc
AL
1050PERL_CALLCONV void Perl_dump_packsubs(pTHX_ const HV* stash)
1051 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1052#define PERL_ARGS_ASSERT_DUMP_PACKSUBS \
1053 assert(stash)
9a957fbc 1054
f0e3f042
CS
1055PERL_CALLCONV void Perl_dump_packsubs_perl(pTHX_ const HV* stash, bool justperl)
1056 __attribute__nonnull__(pTHX_1);
1057#define PERL_ARGS_ASSERT_DUMP_PACKSUBS_PERL \
1058 assert(stash)
1059
f54cb97a 1060PERL_CALLCONV void Perl_dump_sub(pTHX_ const GV* gv)
abb2c242 1061 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1062#define PERL_ARGS_ASSERT_DUMP_SUB \
1063 assert(gv)
f54cb97a 1064
f0e3f042
CS
1065PERL_CALLCONV void Perl_dump_sub_perl(pTHX_ const GV* gv, bool justperl)
1066 __attribute__nonnull__(pTHX_1);
1067#define PERL_ARGS_ASSERT_DUMP_SUB_PERL \
1068 assert(gv)
1069
e8a67806
NC
1070PERL_CALLCONV void Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args)
1071 __attribute__nonnull__(pTHX_2)
1072 __attribute__nonnull__(pTHX_3);
1073#define PERL_ARGS_ASSERT_DUMP_VINDENT \
1074 assert(file); assert(pat)
1075
1076PERL_CALLCONV void Perl_emulate_cop_io(pTHX_ const COP *const c, SV *const sv)
1077 __attribute__nonnull__(pTHX_1)
1078 __attribute__nonnull__(pTHX_2);
1079#define PERL_ARGS_ASSERT_EMULATE_COP_IO \
1080 assert(c); assert(sv)
1081
1082PERL_CALLCONV SV* Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error)
1083 __attribute__nonnull__(pTHX_1);
1084#define PERL_ARGS_ASSERT_EVAL_PV \
1085 assert(p)
1086
1087PERL_CALLCONV I32 Perl_eval_sv(pTHX_ SV* sv, I32 flags)
1088 __attribute__nonnull__(pTHX_1);
1089#define PERL_ARGS_ASSERT_EVAL_SV \
1090 assert(sv)
1091
255164ba
DM
1092PERL_CALLCONV void Perl_fbm_compile(pTHX_ SV* sv, U32 flags)
1093 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1094#define PERL_ARGS_ASSERT_FBM_COMPILE \
1095 assert(sv)
255164ba 1096
9f6cc744 1097PERL_CALLCONV char* Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlestr, U32 flags)
255164ba
DM
1098 __attribute__warn_unused_result__
1099 __attribute__nonnull__(pTHX_1)
1100 __attribute__nonnull__(pTHX_2)
1101 __attribute__nonnull__(pTHX_3);
7918f24d
NC
1102#define PERL_ARGS_ASSERT_FBM_INSTR \
1103 assert(big); assert(bigend); assert(littlestr)
255164ba 1104
3fff3427 1105PERL_CALLCONV bool Perl_feature_is_enabled(pTHX_ const char *const name, STRLEN namelen)
26ea9e12
NC
1106 __attribute__nonnull__(pTHX_1);
1107#define PERL_ARGS_ASSERT_FEATURE_IS_ENABLED \
1108 assert(name)
1109
e8a67806
NC
1110PERL_CALLCONV SV* Perl_filter_add(pTHX_ filter_t funcp, SV* datasv);
1111PERL_CALLCONV void Perl_filter_del(pTHX_ filter_t funcp)
1112 __attribute__nonnull__(pTHX_1);
1113#define PERL_ARGS_ASSERT_FILTER_DEL \
1114 assert(funcp)
1115
1116PERL_CALLCONV I32 Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen)
1117 __attribute__warn_unused_result__
1118 __attribute__nonnull__(pTHX_2);
1119#define PERL_ARGS_ASSERT_FILTER_READ \
1120 assert(buf_sv)
1121
d164302a
GG
1122PERL_CALLCONV void Perl_finalize_optree(pTHX_ OP* o)
1123 __attribute__nonnull__(pTHX_1);
1124#define PERL_ARGS_ASSERT_FINALIZE_OPTREE \
1125 assert(o)
1126
9a5e6f3c 1127PERL_CALLCONV CV * Perl_find_lexical_cv(pTHX_ PADOFFSET off);
e8a67806
NC
1128PERL_CALLCONV CV* Perl_find_runcv(pTHX_ U32 *db_seqp)
1129 __attribute__warn_unused_result__;
1130
db4cf31d 1131PERL_CALLCONV CV* Perl_find_runcv_where(pTHX_ U8 cond, IV arg, U32 *db_seqp)
70794f7b
FC
1132 __attribute__warn_unused_result__;
1133
e8a67806 1134PERL_CALLCONV SV* Perl_find_rundefsv(pTHX);
c086f97a
FC
1135PERL_CALLCONV SV* Perl_find_rundefsv2(pTHX_ CV *cv, U32 seq)
1136 __attribute__nonnull__(pTHX_1);
1137#define PERL_ARGS_ASSERT_FIND_RUNDEFSV2 \
1138 assert(cv)
1139
e8a67806
NC
1140PERL_CALLCONV PADOFFSET Perl_find_rundefsvoffset(pTHX)
1141 __attribute__deprecated__;
1142
fb9bf107
NC
1143PERL_CALLCONV char* Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char *const *const search_ext, I32 flags)
1144 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1145#define PERL_ARGS_ASSERT_FIND_SCRIPT \
1146 assert(scriptname)
fb9bf107 1147
e8a67806
NC
1148PERL_CALLCONV I32 Perl_foldEQ(const char* a, const char* b, I32 len)
1149 __attribute__pure__
1150 __attribute__nonnull__(1)
1151 __attribute__nonnull__(2);
1152#define PERL_ARGS_ASSERT_FOLDEQ \
1153 assert(a); assert(b)
1154
1b9f127b
KW
1155PERL_CALLCONV I32 Perl_foldEQ_latin1(const char* a, const char* b, I32 len)
1156 __attribute__pure__
1157 __attribute__nonnull__(1)
1158 __attribute__nonnull__(2);
1159#define PERL_ARGS_ASSERT_FOLDEQ_LATIN1 \
1160 assert(a); assert(b)
1161
e8a67806
NC
1162PERL_CALLCONV I32 Perl_foldEQ_locale(const char* a, const char* b, I32 len)
1163 __attribute__pure__
1164 __attribute__nonnull__(1)
1165 __attribute__nonnull__(2);
1166#define PERL_ARGS_ASSERT_FOLDEQ_LOCALE \
1167 assert(a); assert(b)
1168
eda9cac1
KW
1169/* PERL_CALLCONV I32 foldEQ_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2)
1170 __attribute__nonnull__(pTHX_1)
1171 __attribute__nonnull__(pTHX_5); */
1172
1173PERL_CALLCONV I32 Perl_foldEQ_utf8_flags(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2, U32 flags)
e8a67806
NC
1174 __attribute__nonnull__(pTHX_1)
1175 __attribute__nonnull__(pTHX_5);
eda9cac1 1176#define PERL_ARGS_ASSERT_FOLDEQ_UTF8_FLAGS \
e8a67806 1177 assert(s1); assert(s2)
f54cb97a 1178
894356b3 1179PERL_CALLCONV char* Perl_form(pTHX_ const char* pat, ...)
aec46f14
AL
1180 __attribute__format__(__printf__,pTHX_1,pTHX_2)
1181 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1182#define PERL_ARGS_ASSERT_FORM \
1183 assert(pat)
aec46f14 1184
e8a67806
NC
1185PERL_CALLCONV void Perl_free_tied_hv_pool(pTHX);
1186PERL_CALLCONV void Perl_free_tmps(pTHX);
1187PERL_CALLCONV AV* Perl_get_av(pTHX_ const char *name, I32 flags)
aec46f14 1188 __attribute__nonnull__(pTHX_1);
e8a67806
NC
1189#define PERL_ARGS_ASSERT_GET_AV \
1190 assert(name)
f54cb97a 1191
e8a67806
NC
1192PERL_CALLCONV void* Perl_get_context(void)
1193 __attribute__warn_unused_result__;
1194
1195PERL_CALLCONV CV* Perl_get_cv(pTHX_ const char* name, I32 flags)
1196 __attribute__nonnull__(pTHX_1);
1197#define PERL_ARGS_ASSERT_GET_CV \
1198 assert(name)
1199
1200PERL_CALLCONV CV* Perl_get_cvn_flags(pTHX_ const char* name, STRLEN len, I32 flags)
1201 __attribute__nonnull__(pTHX_1);
1202#define PERL_ARGS_ASSERT_GET_CVN_FLAGS \
1203 assert(name)
8772537c 1204
005a8a35
NC
1205PERL_CALLCONV void Perl_get_db_sub(pTHX_ SV **svp, CV *cv)
1206 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1207#define PERL_ARGS_ASSERT_GET_DB_SUB \
1208 assert(cv)
005a8a35 1209
a2098e20 1210PERL_CALLCONV void Perl_get_hash_seed(pTHX_ unsigned char * const seed_buffer)
7dc86639
YO
1211 __attribute__nonnull__(pTHX_1);
1212#define PERL_ARGS_ASSERT_GET_HASH_SEED \
1213 assert(seed_buffer)
a28509cc 1214
e8a67806 1215PERL_CALLCONV HV* Perl_get_hv(pTHX_ const char *name, I32 flags)
46c461b5 1216 __attribute__nonnull__(pTHX_1);
e8a67806
NC
1217#define PERL_ARGS_ASSERT_GET_HV \
1218 assert(name)
46c461b5 1219
e8a67806
NC
1220PERL_CALLCONV const char* Perl_get_no_modify(pTHX)
1221 __attribute__warn_unused_result__
1222 __attribute__pure__;
1223
1224PERL_CALLCONV char** Perl_get_op_descs(pTHX)
1225 __attribute__warn_unused_result__
1226 __attribute__pure__;
1227
1228PERL_CALLCONV char** Perl_get_op_names(pTHX)
1229 __attribute__warn_unused_result__
1230 __attribute__pure__;
1231
1232PERL_CALLCONV U32* Perl_get_opargs(pTHX)
1233 __attribute__warn_unused_result__
1234 __attribute__pure__;
1235
1236PERL_CALLCONV PPADDR_t* Perl_get_ppaddr(pTHX)
1237 __attribute__warn_unused_result__
1238 __attribute__pure__;
1239
1240PERL_CALLCONV REGEXP * Perl_get_re_arg(pTHX_ SV *sv);
1241PERL_CALLCONV SV* Perl_get_sv(pTHX_ const char *name, I32 flags)
1242 __attribute__nonnull__(pTHX_1);
1243#define PERL_ARGS_ASSERT_GET_SV \
1244 assert(name)
1245
1246PERL_CALLCONV MGVTBL* Perl_get_vtbl(pTHX_ int vtbl_id)
1247 __attribute__warn_unused_result__;
1248
1249PERL_CALLCONV int Perl_getcwd_sv(pTHX_ SV* sv)
1250 __attribute__nonnull__(pTHX_1);
1251#define PERL_ARGS_ASSERT_GETCWD_SV \
1252 assert(sv)
1253
1254PERL_CALLCONV void Perl_gp_free(pTHX_ GV* gv);
1255PERL_CALLCONV GP* Perl_gp_ref(pTHX_ GP* gp);
1256PERL_CALLCONV UV Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
1257 __attribute__nonnull__(pTHX_1)
1258 __attribute__nonnull__(pTHX_2)
1259 __attribute__nonnull__(pTHX_3);
1260#define PERL_ARGS_ASSERT_GROK_BIN \
1261 assert(start); assert(len_p); assert(flags)
1262
e8a67806
NC
1263PERL_CALLCONV UV Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
1264 __attribute__nonnull__(pTHX_1)
1265 __attribute__nonnull__(pTHX_2)
1266 __attribute__nonnull__(pTHX_3);
1267#define PERL_ARGS_ASSERT_GROK_HEX \
1268 assert(start); assert(len_p); assert(flags)
1269
1270PERL_CALLCONV int Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep)
1271 __attribute__nonnull__(pTHX_1);
1272#define PERL_ARGS_ASSERT_GROK_NUMBER \
1273 assert(pv)
1274
1275PERL_CALLCONV bool Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send)
1276 __attribute__warn_unused_result__
1277 __attribute__nonnull__(pTHX_1)
1278 __attribute__nonnull__(pTHX_2);
1279#define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX \
1280 assert(sp); assert(send)
1281
1282PERL_CALLCONV UV Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result)
1283 __attribute__nonnull__(pTHX_1)
1284 __attribute__nonnull__(pTHX_2)
1285 __attribute__nonnull__(pTHX_3);
1286#define PERL_ARGS_ASSERT_GROK_OCT \
1287 assert(start); assert(len_p); assert(flags)
1288
1289/* PERL_CALLCONV GV* Perl_gv_AVadd(pTHX_ GV *gv); */
1290/* PERL_CALLCONV GV* Perl_gv_HVadd(pTHX_ GV *gv); */
1291/* PERL_CALLCONV GV* Perl_gv_IOadd(pTHX_ GV* gv); */
1292PERL_CALLCONV GV* Perl_gv_add_by_type(pTHX_ GV *gv, svtype type);
aa1e761e
FC
1293/* PERL_CALLCONV GV* gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method)
1294 __attribute__warn_unused_result__
1295 __attribute__nonnull__(pTHX_2); */
1296
0eeb01b9 1297PERL_CALLCONV GV* Perl_gv_autoload_pv(pTHX_ HV* stash, const char* namepv, U32 flags)
e8a67806
NC
1298 __attribute__warn_unused_result__
1299 __attribute__nonnull__(pTHX_2);
0fe84f7c 1300#define PERL_ARGS_ASSERT_GV_AUTOLOAD_PV \
5fba3c91
BF
1301 assert(namepv)
1302
0eeb01b9 1303PERL_CALLCONV GV* Perl_gv_autoload_pvn(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags)
5fba3c91
BF
1304 __attribute__warn_unused_result__
1305 __attribute__nonnull__(pTHX_2);
0fe84f7c 1306#define PERL_ARGS_ASSERT_GV_AUTOLOAD_PVN \
e8a67806
NC
1307 assert(name)
1308
0eeb01b9 1309PERL_CALLCONV GV* Perl_gv_autoload_sv(pTHX_ HV* stash, SV* namesv, U32 flags)
5fba3c91
BF
1310 __attribute__warn_unused_result__
1311 __attribute__nonnull__(pTHX_2);
0fe84f7c 1312#define PERL_ARGS_ASSERT_GV_AUTOLOAD_SV \
5fba3c91
BF
1313 assert(namesv)
1314
51da40ed 1315PERL_CALLCONV void Perl_gv_check(pTHX_ HV* stash)
e8a67806
NC
1316 __attribute__nonnull__(pTHX_1);
1317#define PERL_ARGS_ASSERT_GV_CHECK \
1318 assert(stash)
1319
1320PERL_CALLCONV SV* Perl_gv_const_sv(pTHX_ GV* gv)
1321 __attribute__warn_unused_result__
1322 __attribute__nonnull__(pTHX_1);
1323#define PERL_ARGS_ASSERT_GV_CONST_SV \
1324 assert(gv)
1325
1326PERL_CALLCONV void Perl_gv_dump(pTHX_ GV* gv)
1327 __attribute__nonnull__(pTHX_1);
1328#define PERL_ARGS_ASSERT_GV_DUMP \
1329 assert(gv)
1330
1331PERL_CALLCONV void Perl_gv_efullname(pTHX_ SV* sv, const GV* gv)
1332 __attribute__nonnull__(pTHX_1)
1333 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1334#define PERL_ARGS_ASSERT_GV_EFULLNAME \
1335 assert(sv); assert(gv)
46c461b5
AL
1336
1337/* PERL_CALLCONV void Perl_gv_efullname3(pTHX_ SV* sv, const GV* gv, const char* prefix)
1338 __attribute__nonnull__(pTHX_1)
1339 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
1340#define PERL_ARGS_ASSERT_GV_EFULLNAME3 \
1341 assert(sv); assert(gv)
46c461b5
AL
1342
1343PERL_CALLCONV void Perl_gv_efullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain)
1344 __attribute__nonnull__(pTHX_1)
1345 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1346#define PERL_ARGS_ASSERT_GV_EFULLNAME4 \
1347 assert(sv); assert(gv)
46c461b5 1348
53c1dcc0
AL
1349PERL_CALLCONV GV* Perl_gv_fetchfile(pTHX_ const char* name)
1350 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1351#define PERL_ARGS_ASSERT_GV_FETCHFILE \
1352 assert(name)
53c1dcc0 1353
d9095cec
NC
1354PERL_CALLCONV GV* Perl_gv_fetchfile_flags(pTHX_ const char *const name, const STRLEN len, const U32 flags)
1355 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1356#define PERL_ARGS_ASSERT_GV_FETCHFILE_FLAGS \
1357 assert(name)
d9095cec 1358
6c53d59b 1359/* PERL_CALLCONV GV* gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level)
460e5730
FC
1360 __attribute__nonnull__(pTHX_2); */
1361
1362/* PERL_CALLCONV GV* gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level)
6c53d59b
FC
1363 __attribute__nonnull__(pTHX_2); */
1364
d21989ed 1365PERL_CALLCONV GV* Perl_gv_fetchmeth_pv(pTHX_ HV* stash, const char* name, I32 level, U32 flags)
fb9bf107 1366 __attribute__nonnull__(pTHX_2);
d21989ed 1367#define PERL_ARGS_ASSERT_GV_FETCHMETH_PV \
7918f24d 1368 assert(name)
fb9bf107 1369
d21989ed 1370PERL_CALLCONV GV* Perl_gv_fetchmeth_pv_autoload(pTHX_ HV* stash, const char* name, I32 level, U32 flags)
fb9bf107 1371 __attribute__nonnull__(pTHX_2);
d21989ed 1372#define PERL_ARGS_ASSERT_GV_FETCHMETH_PV_AUTOLOAD \
7918f24d 1373 assert(name)
fb9bf107 1374
e6919483
BF
1375PERL_CALLCONV GV* Perl_gv_fetchmeth_pvn(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags)
1376 __attribute__nonnull__(pTHX_2);
1377#define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN \
1378 assert(name)
1379
d21989ed
BF
1380PERL_CALLCONV GV* Perl_gv_fetchmeth_pvn_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags)
1381 __attribute__nonnull__(pTHX_2);
1382#define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN_AUTOLOAD \
1383 assert(name)
1384
e6919483
BF
1385PERL_CALLCONV GV* Perl_gv_fetchmeth_sv(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags)
1386 __attribute__nonnull__(pTHX_2);
1387#define PERL_ARGS_ASSERT_GV_FETCHMETH_SV \
1388 assert(namesv)
1389
d21989ed
BF
1390PERL_CALLCONV GV* Perl_gv_fetchmeth_sv_autoload(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags)
1391 __attribute__nonnull__(pTHX_2);
1392#define PERL_ARGS_ASSERT_GV_FETCHMETH_SV_AUTOLOAD \
1393 assert(namesv)
1394
887986eb 1395/* PERL_CALLCONV GV* Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name)
eff494dd 1396 __attribute__nonnull__(pTHX_1)
887986eb 1397 __attribute__nonnull__(pTHX_2); */
7918f24d 1398#define PERL_ARGS_ASSERT_GV_FETCHMETHOD \
eff494dd 1399 assert(stash); assert(name)
fb9bf107
NC
1400
1401PERL_CALLCONV GV* Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload)
eff494dd 1402 __attribute__nonnull__(pTHX_1)
fb9bf107 1403 __attribute__nonnull__(pTHX_2);
7918f24d 1404#define PERL_ARGS_ASSERT_GV_FETCHMETHOD_AUTOLOAD \
eff494dd 1405 assert(stash); assert(name)
fb9bf107 1406
44130a26 1407PERL_CALLCONV GV* Perl_gv_fetchmethod_pv_flags(pTHX_ HV* stash, const char* name, U32 flags)
eff494dd 1408 __attribute__nonnull__(pTHX_1)
256d1bb2 1409 __attribute__nonnull__(pTHX_2);
44130a26 1410#define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PV_FLAGS \
eff494dd 1411 assert(stash); assert(name)
256d1bb2 1412
c60dbbc3 1413PERL_CALLCONV GV* Perl_gv_fetchmethod_pvn_flags(pTHX_ HV* stash, const char* name, const STRLEN len, U32 flags)
44130a26
BF
1414 __attribute__nonnull__(pTHX_1)
1415 __attribute__nonnull__(pTHX_2);
1416#define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PVN_FLAGS \
1417 assert(stash); assert(name)
1418
1419PERL_CALLCONV GV* Perl_gv_fetchmethod_sv_flags(pTHX_ HV* stash, SV* namesv, U32 flags)
1420 __attribute__nonnull__(pTHX_1)
1421 __attribute__nonnull__(pTHX_2);
1422#define PERL_ARGS_ASSERT_GV_FETCHMETHOD_SV_FLAGS \
1423 assert(stash); assert(namesv)
1424
fe9845cc 1425PERL_CALLCONV GV* Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 add, const svtype sv_type)
9a957fbc 1426 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1427#define PERL_ARGS_ASSERT_GV_FETCHPV \
1428 assert(nambeg)
9a957fbc 1429
e8a67806
NC
1430PERL_CALLCONV GV* Perl_gv_fetchpvn_flags(pTHX_ const char* name, STRLEN len, I32 flags, const svtype sv_type)
1431 __attribute__nonnull__(pTHX_1);
1432#define PERL_ARGS_ASSERT_GV_FETCHPVN_FLAGS \
1433 assert(name)
1434
1435PERL_CALLCONV GV* Perl_gv_fetchsv(pTHX_ SV *name, I32 flags, const svtype sv_type)
1436 __attribute__nonnull__(pTHX_1);
1437#define PERL_ARGS_ASSERT_GV_FETCHSV \
1438 assert(name)
1439
9a957fbc
AL
1440PERL_CALLCONV void Perl_gv_fullname(pTHX_ SV* sv, const GV* gv)
1441 __attribute__nonnull__(pTHX_1)
1442 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1443#define PERL_ARGS_ASSERT_GV_FULLNAME \
1444 assert(sv); assert(gv)
9a957fbc
AL
1445
1446/* PERL_CALLCONV void Perl_gv_fullname3(pTHX_ SV* sv, const GV* gv, const char* prefix)
1447 __attribute__nonnull__(pTHX_1)
1448 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
1449#define PERL_ARGS_ASSERT_GV_FULLNAME3 \
1450 assert(sv); assert(gv)
9a957fbc
AL
1451
1452PERL_CALLCONV void Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain)
1453 __attribute__nonnull__(pTHX_1)
1454 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1455#define PERL_ARGS_ASSERT_GV_FULLNAME4 \
1456 assert(sv); assert(gv)
9a957fbc 1457
e8a67806
NC
1458PERL_CALLCONV CV* Perl_gv_handler(pTHX_ HV* stash, I32 id)
1459 __attribute__warn_unused_result__;
803f2748 1460
e1104062
FC
1461/* PERL_CALLCONV void gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi)
1462 __attribute__nonnull__(pTHX_1)
1463 __attribute__nonnull__(pTHX_3); */
1464
04ec7e59 1465PERL_CALLCONV void Perl_gv_init_pv(pTHX_ GV* gv, HV* stash, const char* name, U32 flags)
53c1dcc0 1466 __attribute__nonnull__(pTHX_1)
53c1dcc0 1467 __attribute__nonnull__(pTHX_3);
e6066781 1468#define PERL_ARGS_ASSERT_GV_INIT_PV \
7918f24d 1469 assert(gv); assert(name)
53c1dcc0 1470
04ec7e59 1471PERL_CALLCONV void Perl_gv_init_pvn(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, U32 flags)
e6066781
BF
1472 __attribute__nonnull__(pTHX_1)
1473 __attribute__nonnull__(pTHX_3);
1474#define PERL_ARGS_ASSERT_GV_INIT_PVN \
1475 assert(gv); assert(name)
1476
04ec7e59 1477PERL_CALLCONV void Perl_gv_init_sv(pTHX_ GV* gv, HV* stash, SV* namesv, U32 flags)
e6066781
BF
1478 __attribute__nonnull__(pTHX_1)
1479 __attribute__nonnull__(pTHX_3);
1480#define PERL_ARGS_ASSERT_GV_INIT_SV \
1481 assert(gv); assert(namesv)
1482
f5c1e807 1483PERL_CALLCONV void Perl_gv_name_set(pTHX_ GV* gv, const char *name, U32 len, U32 flags)
9f616d01
MHM
1484 __attribute__nonnull__(pTHX_1)
1485 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1486#define PERL_ARGS_ASSERT_GV_NAME_SET \
1487 assert(gv); assert(name)
f5c1e807 1488
9e3fb20c
FC
1489PERL_CALLCONV GV * Perl_gv_override(pTHX_ const char * const name, const STRLEN len)
1490 __attribute__nonnull__(pTHX_1);
1491#define PERL_ARGS_ASSERT_GV_OVERRIDE \
1492 assert(name)
1493
da51bb9b 1494PERL_CALLCONV HV* Perl_gv_stashpv(pTHX_ const char* name, I32 flags)
aa924a5a 1495 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1496#define PERL_ARGS_ASSERT_GV_STASHPV \
1497 assert(name)
aa924a5a 1498
da51bb9b 1499PERL_CALLCONV HV* Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 flags)
aa924a5a 1500 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1501#define PERL_ARGS_ASSERT_GV_STASHPVN \
1502 assert(name)
aa924a5a 1503
8798655d
NC
1504PERL_CALLCONV HV* Perl_gv_stashsv(pTHX_ SV* sv, I32 flags)
1505 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1506#define PERL_ARGS_ASSERT_GV_STASHSV \
1507 assert(sv)
8798655d 1508
e8a67806
NC
1509PERL_CALLCONV void Perl_gv_try_downgrade(pTHX_ GV* gv)
1510 __attribute__nonnull__(pTHX_1);
1511#define PERL_ARGS_ASSERT_GV_TRY_DOWNGRADE \
1512 assert(gv)
1513
1514PERL_CALLCONV AV** Perl_hv_backreferences_p(pTHX_ HV *hv)
1515 __attribute__nonnull__(pTHX_1);
1516#define PERL_ARGS_ASSERT_HV_BACKREFERENCES_P \
1517 assert(hv)
1518
4048f010 1519PERL_CALLCONV void Perl_hv_clear(pTHX_ HV *hv);
e8a67806
NC
1520PERL_CALLCONV void Perl_hv_clear_placeholders(pTHX_ HV *hv)
1521 __attribute__nonnull__(pTHX_1);
1522#define PERL_ARGS_ASSERT_HV_CLEAR_PLACEHOLDERS \
1523 assert(hv)
1524
1525PERL_CALLCONV void* Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char* key, STRLEN klen, int flags, int action, SV *val, U32 hash);
1526PERL_CALLCONV void* Perl_hv_common_key_len(pTHX_ HV *hv, const char *key, I32 klen_i32, const int action, SV *val, const U32 hash)
1527 __attribute__nonnull__(pTHX_2);
1528#define PERL_ARGS_ASSERT_HV_COMMON_KEY_LEN \
1529 assert(key)
1530
defdfed5
Z
1531PERL_CALLCONV HV * Perl_hv_copy_hints_hv(pTHX_ HV *const ohv)
1532 __attribute__warn_unused_result__;
1533
4048f010 1534PERL_CALLCONV void Perl_hv_delayfree_ent(pTHX_ HV *hv, HE *entry)
aa924a5a 1535 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1536#define PERL_ARGS_ASSERT_HV_DELAYFREE_ENT \
1537 assert(hv)
aa924a5a 1538
4048f010 1539/* PERL_CALLCONV SV* Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen, I32 flags)
a038e571 1540 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
1541#define PERL_ARGS_ASSERT_HV_DELETE \
1542 assert(key)
aa924a5a 1543
4048f010 1544/* PERL_CALLCONV SV* Perl_hv_delete_ent(pTHX_ HV *hv, SV *keysv, I32 flags, U32 hash)
4c2df08c 1545 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
1546#define PERL_ARGS_ASSERT_HV_DELETE_ENT \
1547 assert(keysv)
aa924a5a 1548
e8a67806
NC
1549PERL_CALLCONV HE** Perl_hv_eiter_p(pTHX_ HV *hv)
1550 __attribute__warn_unused_result__
1551 __attribute__nonnull__(pTHX_1);
1552#define PERL_ARGS_ASSERT_HV_EITER_P \
1553 assert(hv)
1554
1555PERL_CALLCONV void Perl_hv_eiter_set(pTHX_ HV *hv, HE *eiter)
1556 __attribute__nonnull__(pTHX_1);
1557#define PERL_ARGS_ASSERT_HV_EITER_SET \
1558 assert(hv)
1559
27a1175b 1560PERL_CALLCONV void Perl_hv_ename_add(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
78b79c77
FC
1561 __attribute__nonnull__(pTHX_1)
1562 __attribute__nonnull__(pTHX_2);
1563#define PERL_ARGS_ASSERT_HV_ENAME_ADD \
1564 assert(hv); assert(name)
1565
27a1175b 1566PERL_CALLCONV void Perl_hv_ename_delete(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
78b79c77
FC
1567 __attribute__nonnull__(pTHX_1)
1568 __attribute__nonnull__(pTHX_2);
1569#define PERL_ARGS_ASSERT_HV_ENAME_DELETE \
1570 assert(hv); assert(name)
1571
4048f010 1572/* PERL_CALLCONV bool Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen)
aa924a5a 1573 __attribute__warn_unused_result__
a038e571 1574 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
1575#define PERL_ARGS_ASSERT_HV_EXISTS \
1576 assert(key)
901017d6 1577
4048f010 1578/* PERL_CALLCONV bool Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash)
aa924a5a 1579 __attribute__warn_unused_result__
4c2df08c 1580 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
1581#define PERL_ARGS_ASSERT_HV_EXISTS_ENT \
1582 assert(keysv)
aa924a5a 1583
4048f010 1584/* PERL_CALLCONV SV** Perl_hv_fetch(pTHX_ HV *hv, const char *key, I32 klen, I32 lval)
a038e571 1585 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
1586#define PERL_ARGS_ASSERT_HV_FETCH \
1587 assert(key)
901017d6 1588
4048f010 1589/* PERL_CALLCONV HE* Perl_hv_fetch_ent(pTHX_ HV *hv, SV *keysv, I32 lval, U32 hash)
4c2df08c 1590 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
1591#define PERL_ARGS_ASSERT_HV_FETCH_ENT \
1592 assert(keysv)
aa924a5a 1593
9faf471a 1594PERL_CALLCONV STRLEN Perl_hv_fill(pTHX_ HV *const hv)
4d0fbddd
NC
1595 __attribute__nonnull__(pTHX_1);
1596#define PERL_ARGS_ASSERT_HV_FILL \
1597 assert(hv)
1598
c77ce6f1 1599PERL_CALLCONV void Perl_hv_free_ent(pTHX_ HV *hv, HE *entry)
abb2c242 1600 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1601#define PERL_ARGS_ASSERT_HV_FREE_ENT \
1602 assert(hv)
a3b680e6 1603
4048f010 1604PERL_CALLCONV I32 Perl_hv_iterinit(pTHX_ HV *hv)
abb2c242 1605 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1606#define PERL_ARGS_ASSERT_HV_ITERINIT \
1607 assert(hv)
a3b680e6
AL
1608
1609PERL_CALLCONV char* Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen)
abb2c242
JH
1610 __attribute__warn_unused_result__
1611 __attribute__nonnull__(pTHX_1)
1612 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1613#define PERL_ARGS_ASSERT_HV_ITERKEY \
1614 assert(entry); assert(retlen)
a3b680e6
AL
1615
1616PERL_CALLCONV SV* Perl_hv_iterkeysv(pTHX_ HE* entry)
abb2c242
JH
1617 __attribute__warn_unused_result__
1618 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1619#define PERL_ARGS_ASSERT_HV_ITERKEYSV \
1620 assert(entry)
a3b680e6 1621
4048f010 1622/* PERL_CALLCONV HE* Perl_hv_iternext(pTHX_ HV *hv)
abb2c242 1623 __attribute__warn_unused_result__
7a7b9979 1624 __attribute__nonnull__(pTHX_1); */
7918f24d
NC
1625#define PERL_ARGS_ASSERT_HV_ITERNEXT \
1626 assert(hv)
a3b680e6 1627
e8a67806
NC
1628PERL_CALLCONV HE* Perl_hv_iternext_flags(pTHX_ HV *hv, I32 flags)
1629 __attribute__warn_unused_result__
1630 __attribute__nonnull__(pTHX_1);
1631#define PERL_ARGS_ASSERT_HV_ITERNEXT_FLAGS \
1632 assert(hv)
1633
4048f010 1634PERL_CALLCONV SV* Perl_hv_iternextsv(pTHX_ HV *hv, char **key, I32 *retlen)
abb2c242
JH
1635 __attribute__warn_unused_result__
1636 __attribute__nonnull__(pTHX_1)
1637 __attribute__nonnull__(pTHX_2)
1638 __attribute__nonnull__(pTHX_3);
7918f24d
NC
1639#define PERL_ARGS_ASSERT_HV_ITERNEXTSV \
1640 assert(hv); assert(key); assert(retlen)
a3b680e6 1641
4048f010 1642PERL_CALLCONV SV* Perl_hv_iterval(pTHX_ HV *hv, HE *entry)
abb2c242
JH
1643 __attribute__warn_unused_result__
1644 __attribute__nonnull__(pTHX_1)
1645 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1646#define PERL_ARGS_ASSERT_HV_ITERVAL \
1647 assert(hv); assert(entry)
a3b680e6 1648
4048f010 1649PERL_CALLCONV void Perl_hv_ksplit(pTHX_ HV *hv, IV newmax)
abb2c242 1650 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1651#define PERL_ARGS_ASSERT_HV_KSPLIT \
1652 assert(hv)
a3b680e6 1653
4048f010 1654/* PERL_CALLCONV void Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how)
bc5cdc23 1655 __attribute__nonnull__(pTHX_1); */
7918f24d
NC
1656#define PERL_ARGS_ASSERT_HV_MAGIC \
1657 assert(hv)
fb9bf107 1658
e8a67806
NC
1659PERL_CALLCONV void Perl_hv_name_set(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
1660 __attribute__nonnull__(pTHX_1);
1661#define PERL_ARGS_ASSERT_HV_NAME_SET \
1662 assert(hv)
1663
1664PERL_CALLCONV I32 Perl_hv_placeholders_get(pTHX_ const HV *hv)
1665 __attribute__warn_unused_result__
1666 __attribute__nonnull__(pTHX_1);
1667#define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_GET \
1668 assert(hv)
1669
6174b39a 1670PERL_CALLCONV SSize_t* Perl_hv_placeholders_p(pTHX_ HV *hv)
e8a67806
NC
1671 __attribute__warn_unused_result__
1672 __attribute__nonnull__(pTHX_1);
1673#define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_P \
1674 assert(hv)
1675
1676PERL_CALLCONV void Perl_hv_placeholders_set(pTHX_ HV *hv, I32 ph)
1677 __attribute__nonnull__(pTHX_1);
1678#define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_SET \
1679 assert(hv)
1680
6a5b4183
YO
1681PERL_CALLCONV void Perl_hv_rand_set(pTHX_ HV *hv, U32 new_xhv_rand)
1682 __attribute__nonnull__(pTHX_1);
1683#define PERL_ARGS_ASSERT_HV_RAND_SET \
1684 assert(hv)
1685
e8a67806
NC
1686PERL_CALLCONV I32* Perl_hv_riter_p(pTHX_ HV *hv)
1687 __attribute__warn_unused_result__
1688 __attribute__nonnull__(pTHX_1);
1689#define PERL_ARGS_ASSERT_HV_RITER_P \
1690 assert(hv)
1691
1692PERL_CALLCONV void Perl_hv_riter_set(pTHX_ HV *hv, I32 riter)
1693 __attribute__nonnull__(pTHX_1);
1694#define PERL_ARGS_ASSERT_HV_RITER_SET \
1695 assert(hv)
1696
1697PERL_CALLCONV SV* Perl_hv_scalar(pTHX_ HV *hv)
1698 __attribute__warn_unused_result__
1699 __attribute__nonnull__(pTHX_1);
1700#define PERL_ARGS_ASSERT_HV_SCALAR \
1701 assert(hv)
012da8e5 1702
4048f010
NC
1703/* PERL_CALLCONV SV** Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash); */
1704/* PERL_CALLCONV HE* Perl_hv_store_ent(pTHX_ HV *hv, SV *key, SV *val, U32 hash); */
1705/* PERL_CALLCONV SV** Perl_hv_store_flags(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash, int flags); */
8581adba
FC
1706/* PERL_CALLCONV void hv_undef(pTHX_ HV *hv); */
1707PERL_CALLCONV void Perl_hv_undef_flags(pTHX_ HV *hv, U32 flags);
e6226b18
KW
1708/* PERL_CALLCONV I32 ibcmp(pTHX_ const char* a, const char* b, I32 len)
1709 __attribute__nonnull__(pTHX_1)
1710 __attribute__nonnull__(pTHX_2); */
1711
e6226b18
KW
1712/* PERL_CALLCONV I32 ibcmp_locale(pTHX_ const char* a, const char* b, I32 len)
1713 __attribute__nonnull__(pTHX_1)
1714 __attribute__nonnull__(pTHX_2); */
1715
e6226b18
KW
1716/* PERL_CALLCONV I32 ibcmp_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2)
1717 __attribute__nonnull__(pTHX_1)
1718 __attribute__nonnull__(pTHX_5); */
1719
4373e329 1720PERL_CALLCONV void Perl_init_argv_symbols(pTHX_ int argc, char **argv)
abb2c242 1721 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1722#define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS \
1723 assert(argv)
f54cb97a 1724
0d96b528 1725PERL_CALLCONV void Perl_init_constants(pTHX);
8af6f985 1726PERL_CALLCONV void Perl_init_dbargs(pTHX);
1d7c1841 1727PERL_CALLCONV void Perl_init_debugger(pTHX);
e8a67806
NC
1728PERL_CALLCONV int Perl_init_i18nl10n(pTHX_ int printwarn);
1729PERL_CALLCONV int Perl_init_i18nl14n(pTHX_ int printwarn);
1d7c1841 1730PERL_CALLCONV void Perl_init_stacks(pTHX);
bfce84ec
AL
1731PERL_CALLCONV void Perl_init_tm(pTHX_ struct tm *ptm)
1732 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1733#define PERL_ARGS_ASSERT_INIT_TM \
1734 assert(ptm)
bfce84ec 1735
04c9e624 1736PERL_CALLCONV char* Perl_instr(const char* big, const char* little)
b464bac0 1737 __attribute__warn_unused_result__
abb2c242 1738 __attribute__pure__
04c9e624
VP
1739 __attribute__nonnull__(1)
1740 __attribute__nonnull__(2);
7918f24d
NC
1741#define PERL_ARGS_ASSERT_INSTR \
1742 assert(big); assert(little)
f54cb97a 1743
e8a67806
NC
1744PERL_CALLCONV U32 Perl_intro_my(pTHX);
1745PERL_CALLCONV OP* Perl_invert(pTHX_ OP* cmd)
1746 __attribute__warn_unused_result__;
1747
b464bac0 1748PERL_CALLCONV bool Perl_io_close(pTHX_ IO* io, bool not_implicit)
b464bac0 1749 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1750#define PERL_ARGS_ASSERT_IO_CLOSE \
1751 assert(io)
b464bac0 1752
a8a2ceaa
KW
1753PERL_STATIC_INLINE bool S_isALNUM_lazy(pTHX_ const char* p)
1754 __attribute__deprecated__
1755 __attribute__warn_unused_result__
1756 __attribute__pure__
1757 __attribute__nonnull__(pTHX_1);
1758#define PERL_ARGS_ASSERT_ISALNUM_LAZY \
1759 assert(p)
1760
1761PERL_STATIC_INLINE bool S_isIDFIRST_lazy(pTHX_ const char* p)
1762 __attribute__deprecated__
1763 __attribute__warn_unused_result__
1764 __attribute__pure__
1765 __attribute__nonnull__(pTHX_1);
1766#define PERL_ARGS_ASSERT_ISIDFIRST_LAZY \
1767 assert(p)
1768
e8a67806
NC
1769PERL_CALLCONV bool Perl_is_ascii_string(const U8 *s, STRLEN len)
1770 __attribute__nonnull__(1);
1771#define PERL_ARGS_ASSERT_IS_ASCII_STRING \
1772 assert(s)
f54cb97a 1773
e8a67806
NC
1774PERL_CALLCONV I32 Perl_is_lvalue_sub(pTHX)
1775 __attribute__warn_unused_result__;
f54cb97a 1776
41188aa0 1777PERL_STATIC_INLINE bool S_is_safe_syscall(pTHX_ const char *pv, STRLEN len, const char *what, const char *op_name)
c8028aa6
TC
1778 __attribute__warn_unused_result__
1779 __attribute__nonnull__(pTHX_1)
41188aa0
TC
1780 __attribute__nonnull__(pTHX_3)
1781 __attribute__nonnull__(pTHX_4);
c8028aa6
TC
1782#define PERL_ARGS_ASSERT_IS_SAFE_SYSCALL \
1783 assert(pv); assert(what); assert(op_name)
1784
e8a67806 1785PERL_CALLCONV bool Perl_is_uni_alnum(pTHX_ UV c)
143aeb96 1786 __attribute__deprecated__
abb2c242
JH
1787 __attribute__warn_unused_result__
1788 __attribute__pure__;
f54cb97a 1789
e8a67806 1790PERL_CALLCONV bool Perl_is_uni_alnum_lc(pTHX_ UV c)
143aeb96 1791 __attribute__deprecated__
abb2c242
JH
1792 __attribute__warn_unused_result__
1793 __attribute__pure__;
f54cb97a 1794
5092f92a 1795PERL_CALLCONV bool Perl_is_uni_alnumc(pTHX_ UV c)
143aeb96 1796 __attribute__deprecated__
5092f92a
KW
1797 __attribute__warn_unused_result__
1798 __attribute__pure__;
1799
1800PERL_CALLCONV bool Perl_is_uni_alnumc_lc(pTHX_ UV c)
143aeb96 1801 __attribute__deprecated__
5092f92a
KW
1802 __attribute__warn_unused_result__
1803 __attribute__pure__;
1804
e8a67806 1805PERL_CALLCONV bool Perl_is_uni_alpha(pTHX_ UV c)
143aeb96 1806 __attribute__deprecated__
abb2c242
JH
1807 __attribute__warn_unused_result__
1808 __attribute__pure__;
f54cb97a 1809
e8a67806 1810PERL_CALLCONV bool Perl_is_uni_alpha_lc(pTHX_ UV c)
143aeb96 1811 __attribute__deprecated__
abb2c242
JH
1812 __attribute__warn_unused_result__
1813 __attribute__pure__;
f54cb97a
AL
1814
1815PERL_CALLCONV bool Perl_is_uni_ascii(pTHX_ UV c)
61b19385 1816 __attribute__deprecated__
abb2c242
JH
1817 __attribute__warn_unused_result__
1818 __attribute__pure__;
f54cb97a 1819
e8a67806 1820PERL_CALLCONV bool Perl_is_uni_ascii_lc(pTHX_ UV c)
61b19385 1821 __attribute__deprecated__
abb2c242
JH
1822 __attribute__warn_unused_result__
1823 __attribute__pure__;
f54cb97a 1824
bdd8600f 1825PERL_CALLCONV bool Perl_is_uni_blank(pTHX_ UV c)
61b19385 1826 __attribute__deprecated__
bdd8600f
KW
1827 __attribute__warn_unused_result__
1828 __attribute__pure__;
1829
9e3e825e 1830PERL_CALLCONV bool Perl_is_uni_blank_lc(pTHX_ UV c)
61b19385 1831 __attribute__deprecated__
9e3e825e
KW
1832 __attribute__warn_unused_result__
1833 __attribute__pure__;
1834
f54cb97a 1835PERL_CALLCONV bool Perl_is_uni_cntrl(pTHX_ UV c)
61b19385 1836 __attribute__deprecated__
abb2c242
JH
1837 __attribute__warn_unused_result__
1838 __attribute__pure__;
f54cb97a 1839
e8a67806 1840PERL_CALLCONV bool Perl_is_uni_cntrl_lc(pTHX_ UV c)
61b19385 1841 __attribute__deprecated__
abb2c242
JH
1842 __attribute__warn_unused_result__
1843 __attribute__pure__;
f54cb97a
AL
1844
1845PERL_CALLCONV bool Perl_is_uni_digit(pTHX_ UV c)
143aeb96 1846 __attribute__deprecated__
abb2c242
JH
1847 __attribute__warn_unused_result__
1848 __attribute__pure__;
f54cb97a 1849
e8a67806 1850PERL_CALLCONV bool Perl_is_uni_digit_lc(pTHX_ UV c)
143aeb96 1851 __attribute__deprecated__
abb2c242
JH
1852 __attribute__warn_unused_result__
1853 __attribute__pure__;
f54cb97a 1854
e8a67806 1855PERL_CALLCONV bool Perl_is_uni_graph(pTHX_ UV c)
143aeb96 1856 __attribute__deprecated__
abb2c242
JH
1857 __attribute__warn_unused_result__
1858 __attribute__pure__;
f54cb97a 1859
e8a67806 1860PERL_CALLCONV bool Perl_is_uni_graph_lc(pTHX_ UV c)
143aeb96 1861 __attribute__deprecated__
abb2c242
JH
1862 __attribute__warn_unused_result__
1863 __attribute__pure__;
f54cb97a 1864
e8a67806 1865PERL_CALLCONV bool Perl_is_uni_idfirst(pTHX_ UV c)
143aeb96 1866 __attribute__deprecated__
abb2c242
JH
1867 __attribute__warn_unused_result__
1868 __attribute__pure__;
f54cb97a 1869
e8a67806 1870PERL_CALLCONV bool Perl_is_uni_idfirst_lc(pTHX_ UV c)
61b19385 1871 __attribute__deprecated__
abb2c242
JH
1872 __attribute__warn_unused_result__
1873 __attribute__pure__;
f54cb97a 1874
e8a67806 1875PERL_CALLCONV bool Perl_is_uni_lower(pTHX_ UV c)
143aeb96 1876 __attribute__deprecated__
abb2c242
JH
1877 __attribute__warn_unused_result__
1878 __attribute__pure__;
f54cb97a 1879
e8a67806 1880PERL_CALLCONV bool Perl_is_uni_lower_lc(pTHX_ UV c)
143aeb96 1881 __attribute__deprecated__
abb2c242
JH
1882 __attribute__warn_unused_result__
1883 __attribute__pure__;
f54cb97a 1884
e8a67806 1885PERL_CALLCONV bool Perl_is_uni_print(pTHX_ UV c)
143aeb96 1886 __attribute__deprecated__
abb2c242
JH
1887 __attribute__warn_unused_result__
1888 __attribute__pure__;
f54cb97a 1889
e8a67806 1890PERL_CALLCONV bool Perl_is_uni_print_lc(pTHX_ UV c)
143aeb96 1891 __attribute__deprecated__
abb2c242
JH
1892 __attribute__warn_unused_result__
1893 __attribute__pure__;
f54cb97a 1894
e8a67806 1895PERL_CALLCONV bool Perl_is_uni_punct(pTHX_ UV c)
143aeb96 1896 __attribute__deprecated__
abb2c242
JH
1897 __attribute__warn_unused_result__
1898 __attribute__pure__;
f54cb97a 1899
e8a67806 1900PERL_CALLCONV bool Perl_is_uni_punct_lc(pTHX_ UV c)
143aeb96 1901 __attribute__deprecated__
abb2c242
JH
1902 __attribute__warn_unused_result__
1903 __attribute__pure__;
f54cb97a 1904
e8a67806 1905PERL_CALLCONV bool Perl_is_uni_space(pTHX_ UV c)
61b19385 1906 __attribute__deprecated__
abb2c242
JH
1907 __attribute__warn_unused_result__
1908 __attribute__pure__;
f54cb97a 1909
e8a67806 1910PERL_CALLCONV bool Perl_is_uni_space_lc(pTHX_ UV c)
61b19385 1911 __attribute__deprecated__
abb2c242
JH
1912 __attribute__warn_unused_result__
1913 __attribute__pure__;
f54cb97a 1914
e8a67806 1915PERL_CALLCONV bool Perl_is_uni_upper(pTHX_ UV c)
143aeb96 1916 __attribute__deprecated__
abb2c242
JH
1917 __attribute__warn_unused_result__
1918 __attribute__pure__;
f54cb97a 1919
e8a67806 1920PERL_CALLCONV bool Perl_is_uni_upper_lc(pTHX_ UV c)
143aeb96 1921 __attribute__deprecated__
abb2c242
JH
1922 __attribute__warn_unused_result__
1923 __attribute__pure__;
f54cb97a 1924
e8a67806 1925PERL_CALLCONV bool Perl_is_uni_xdigit(pTHX_ UV c)
61b19385 1926 __attribute__deprecated__
abb2c242
JH
1927 __attribute__warn_unused_result__
1928 __attribute__pure__;
f54cb97a
AL
1929
1930PERL_CALLCONV bool Perl_is_uni_xdigit_lc(pTHX_ UV c)
61b19385 1931 __attribute__deprecated__
abb2c242
JH
1932 __attribute__warn_unused_result__
1933 __attribute__pure__;
f54cb97a 1934
e8a67806 1935PERL_CALLCONV bool Perl_is_utf8_alnum(pTHX_ const U8 *p)
143aeb96 1936 __attribute__deprecated__
d1eb3177
YO
1937 __attribute__warn_unused_result__
1938 __attribute__nonnull__(pTHX_1);
e8a67806 1939#define PERL_ARGS_ASSERT_IS_UTF8_ALNUM \
d1eb3177
YO
1940 assert(p)
1941
5092f92a 1942PERL_CALLCONV bool Perl_is_utf8_alnumc(pTHX_ const U8 *p)
143aeb96 1943 __attribute__deprecated__
5092f92a
KW
1944 __attribute__warn_unused_result__
1945 __attribute__nonnull__(pTHX_1);
1946#define PERL_ARGS_ASSERT_IS_UTF8_ALNUMC \
1947 assert(p)
1948
e8a67806 1949PERL_CALLCONV bool Perl_is_utf8_alpha(pTHX_ const U8 *p)
143aeb96 1950 __attribute__deprecated__
1df70142 1951 __attribute__warn_unused_result__
abb2c242 1952 __attribute__nonnull__(pTHX_1);
e8a67806 1953#define PERL_ARGS_ASSERT_IS_UTF8_ALPHA \
7918f24d 1954 assert(p)
f54cb97a 1955
e8a67806 1956PERL_CALLCONV bool Perl_is_utf8_ascii(pTHX_ const U8 *p)
61b19385 1957 __attribute__deprecated__
1df70142 1958 __attribute__warn_unused_result__
abb2c242 1959 __attribute__nonnull__(pTHX_1);
e8a67806 1960#define PERL_ARGS_ASSERT_IS_UTF8_ASCII \
7918f24d 1961 assert(p)
f54cb97a 1962
bdd8600f 1963PERL_CALLCONV bool Perl_is_utf8_blank(pTHX_ const U8 *p)
61b19385 1964 __attribute__deprecated__
bdd8600f
KW
1965 __attribute__warn_unused_result__
1966 __attribute__nonnull__(pTHX_1);
1967#define PERL_ARGS_ASSERT_IS_UTF8_BLANK \
1968 assert(p)
1969
e8a67806 1970PERL_CALLCONV STRLEN Perl_is_utf8_char(const U8 *s)
76848387 1971 __attribute__deprecated__
e8a67806
NC
1972 __attribute__nonnull__(1);
1973#define PERL_ARGS_ASSERT_IS_UTF8_CHAR \
1974 assert(s)
1975
492a624f
KW
1976PERL_CALLCONV STRLEN Perl_is_utf8_char_buf(const U8 *buf, const U8 *buf_end)
1977 __attribute__nonnull__(1)
1978 __attribute__nonnull__(2);
1979#define PERL_ARGS_ASSERT_IS_UTF8_CHAR_BUF \
1980 assert(buf); assert(buf_end)
1981
e8a67806 1982PERL_CALLCONV bool Perl_is_utf8_cntrl(pTHX_ const U8 *p)
61b19385 1983 __attribute__deprecated__
1df70142 1984 __attribute__warn_unused_result__
abb2c242 1985 __attribute__nonnull__(pTHX_1);
e8a67806 1986#define PERL_ARGS_ASSERT_IS_UTF8_CNTRL \
7918f24d 1987 assert(p)
f54cb97a 1988
e8a67806 1989PERL_CALLCONV bool Perl_is_utf8_digit(pTHX_ const U8 *p)
143aeb96 1990 __attribute__deprecated__
1df70142 1991 __attribute__warn_unused_result__
abb2c242 1992 __attribute__nonnull__(pTHX_1);
e8a67806 1993#define PERL_ARGS_ASSERT_IS_UTF8_DIGIT \
7918f24d 1994 assert(p)
f54cb97a 1995
e8a67806 1996PERL_CALLCONV bool Perl_is_utf8_graph(pTHX_ const U8 *p)
143aeb96 1997 __attribute__deprecated__
1df70142 1998 __attribute__warn_unused_result__
abb2c242 1999 __attribute__nonnull__(pTHX_1);
e8a67806 2000#define PERL_ARGS_ASSERT_IS_UTF8_GRAPH \
7918f24d 2001 assert(p)
f54cb97a 2002
e8a67806 2003PERL_CALLCONV bool Perl_is_utf8_idcont(pTHX_ const U8 *p)
61b19385 2004 __attribute__deprecated__
1df70142 2005 __attribute__warn_unused_result__
abb2c242 2006 __attribute__nonnull__(pTHX_1);
e8a67806 2007#define PERL_ARGS_ASSERT_IS_UTF8_IDCONT \
7918f24d 2008 assert(p)
f54cb97a 2009
e8a67806 2010PERL_CALLCONV bool Perl_is_utf8_idfirst(pTHX_ const U8 *p)
61b19385 2011 __attribute__deprecated__
1df70142 2012 __attribute__warn_unused_result__
abb2c242 2013 __attribute__nonnull__(pTHX_1);
e8a67806 2014#define PERL_ARGS_ASSERT_IS_UTF8_IDFIRST \
7918f24d 2015 assert(p)
f54cb97a 2016
e8a67806 2017PERL_CALLCONV bool Perl_is_utf8_lower(pTHX_ const U8 *p)
143aeb96 2018 __attribute__deprecated__
37e2e78e
KW
2019 __attribute__warn_unused_result__
2020 __attribute__nonnull__(pTHX_1);
e8a67806 2021#define PERL_ARGS_ASSERT_IS_UTF8_LOWER \
37e2e78e
KW
2022 assert(p)
2023
e8a67806 2024PERL_CALLCONV bool Perl_is_utf8_mark(pTHX_ const U8 *p)
143aeb96 2025 __attribute__deprecated__
37e2e78e
KW
2026 __attribute__warn_unused_result__
2027 __attribute__nonnull__(pTHX_1);
e8a67806 2028#define PERL_ARGS_ASSERT_IS_UTF8_MARK \
37e2e78e
KW
2029 assert(p)
2030
e8a67806 2031PERL_CALLCONV bool Perl_is_utf8_perl_space(pTHX_ const U8 *p)
61b19385 2032 __attribute__deprecated__
37e2e78e
KW
2033 __attribute__warn_unused_result__
2034 __attribute__nonnull__(pTHX_1);
e8a67806 2035#define PERL_ARGS_ASSERT_IS_UTF8_PERL_SPACE \
37e2e78e
KW
2036 assert(p)
2037
e8a67806 2038PERL_CALLCONV bool Perl_is_utf8_perl_word(pTHX_ const U8 *p)
61b19385 2039 __attribute__deprecated__
37e2e78e
KW
2040 __attribute__warn_unused_result__
2041 __attribute__nonnull__(pTHX_1);
e8a67806 2042#define PERL_ARGS_ASSERT_IS_UTF8_PERL_WORD \
37e2e78e
KW
2043 assert(p)
2044
e8a67806 2045PERL_CALLCONV bool Perl_is_utf8_posix_digit(pTHX_ const U8 *p)
61b19385 2046 __attribute__deprecated__
37e2e78e
KW
2047 __attribute__warn_unused_result__
2048 __attribute__nonnull__(pTHX_1);
e8a67806 2049#define PERL_ARGS_ASSERT_IS_UTF8_POSIX_DIGIT \
37e2e78e
KW
2050 assert(p)
2051
e8a67806 2052PERL_CALLCONV bool Perl_is_utf8_print(pTHX_ const U8 *p)
143aeb96 2053 __attribute__deprecated__
37e2e78e
KW
2054 __attribute__warn_unused_result__
2055 __attribute__nonnull__(pTHX_1);
e8a67806 2056#define PERL_ARGS_ASSERT_IS_UTF8_PRINT \
37e2e78e
KW
2057 assert(p)
2058
e8a67806 2059PERL_CALLCONV bool Perl_is_utf8_punct(pTHX_ const U8 *p)
143aeb96 2060 __attribute__deprecated__
37e2e78e
KW
2061 __attribute__warn_unused_result__
2062 __attribute__nonnull__(pTHX_1);
e8a67806 2063#define PERL_ARGS_ASSERT_IS_UTF8_PUNCT \
37e2e78e
KW
2064 assert(p)
2065
e8a67806 2066PERL_CALLCONV bool Perl_is_utf8_space(pTHX_ const U8 *p)
61b19385 2067 __attribute__deprecated__
37e2e78e
KW
2068 __attribute__warn_unused_result__
2069 __attribute__nonnull__(pTHX_1);
e8a67806 2070#define PERL_ARGS_ASSERT_IS_UTF8_SPACE \
37e2e78e
KW
2071 assert(p)
2072
e8a67806
NC
2073PERL_CALLCONV bool Perl_is_utf8_string(const U8 *s, STRLEN len)
2074 __attribute__nonnull__(1);
2075#define PERL_ARGS_ASSERT_IS_UTF8_STRING \
2076 assert(s)
2077
8fb1bf58 2078/* PERL_CALLCONV bool Perl_is_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep)
e8a67806
NC
2079 __attribute__nonnull__(1); */
2080#define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC \
2081 assert(s)
2082
2083PERL_CALLCONV bool Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el)
2084 __attribute__nonnull__(1);
2085#define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN \
2086 assert(s)
2087
2088PERL_CALLCONV bool Perl_is_utf8_upper(pTHX_ const U8 *p)
143aeb96 2089 __attribute__deprecated__
37e2e78e
KW
2090 __attribute__warn_unused_result__
2091 __attribute__nonnull__(pTHX_1);
e8a67806 2092#define PERL_ARGS_ASSERT_IS_UTF8_UPPER \
37e2e78e
KW
2093 assert(p)
2094
e8a67806 2095PERL_CALLCONV bool Perl_is_utf8_xdigit(pTHX_ const U8 *p)
61b19385 2096 __attribute__deprecated__
37e2e78e
KW
2097 __attribute__warn_unused_result__
2098 __attribute__nonnull__(pTHX_1);
e8a67806 2099#define PERL_ARGS_ASSERT_IS_UTF8_XDIGIT \
37e2e78e
KW
2100 assert(p)
2101
c11ff943 2102PERL_CALLCONV bool Perl_is_utf8_xidcont(pTHX_ const U8 *p)
61b19385 2103 __attribute__deprecated__
c11ff943
KW
2104 __attribute__warn_unused_result__
2105 __attribute__nonnull__(pTHX_1);
2106#define PERL_ARGS_ASSERT_IS_UTF8_XIDCONT \
2107 assert(p)
2108
2109PERL_CALLCONV bool Perl_is_utf8_xidfirst(pTHX_ const U8 *p)
61b19385 2110 __attribute__deprecated__
c11ff943
KW
2111 __attribute__warn_unused_result__
2112 __attribute__nonnull__(pTHX_1);
2113#define PERL_ARGS_ASSERT_IS_UTF8_XIDFIRST \
2114 assert(p)
2115
4048f010 2116PERL_CALLCONV OP* Perl_jmaybe(pTHX_ OP *o)
abb2c242 2117 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2118#define PERL_ARGS_ASSERT_JMAYBE \
2119 assert(o)
f54cb97a 2120
4048f010 2121PERL_CALLCONV I32 Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
abb2c242
JH
2122 __attribute__pure__
2123 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2124#define PERL_ARGS_ASSERT_KEYWORD \
2125 assert(name)
f54cb97a 2126
e8a67806
NC
2127PERL_CALLCONV int Perl_keyword_plugin_standard(pTHX_ char* keyword_ptr, STRLEN keyword_len, OP** op_ptr)
2128 __attribute__nonnull__(pTHX_1)
2129 __attribute__nonnull__(pTHX_3);
2130#define PERL_ARGS_ASSERT_KEYWORD_PLUGIN_STANDARD \
2131 assert(keyword_ptr); assert(op_ptr)
867fa1e2 2132
e8a67806
NC
2133PERL_CALLCONV void Perl_leave_scope(pTHX_ I32 base);
2134PERL_CALLCONV bool Perl_lex_bufutf8(pTHX);
2135PERL_CALLCONV void Perl_lex_discard_to(pTHX_ char* ptr)
2f9e2db0 2136 __attribute__nonnull__(pTHX_1);
e8a67806
NC
2137#define PERL_ARGS_ASSERT_LEX_DISCARD_TO \
2138 assert(ptr)
2f9e2db0 2139
f0e67a1d 2140PERL_CALLCONV char* Perl_lex_grow_linestr(pTHX_ STRLEN len);
e8a67806
NC
2141PERL_CALLCONV bool Perl_lex_next_chunk(pTHX_ U32 flags);
2142PERL_CALLCONV I32 Perl_lex_peek_unichar(pTHX_ U32 flags);
2143PERL_CALLCONV void Perl_lex_read_space(pTHX_ U32 flags);
2144PERL_CALLCONV void Perl_lex_read_to(pTHX_ char* ptr)
f0e67a1d 2145 __attribute__nonnull__(pTHX_1);
e8a67806
NC
2146#define PERL_ARGS_ASSERT_LEX_READ_TO \
2147 assert(ptr)
f0e67a1d 2148
e8a67806 2149PERL_CALLCONV I32 Perl_lex_read_unichar(pTHX_ U32 flags);
8eaa0acf 2150PERL_CALLCONV void Perl_lex_start(pTHX_ SV* line, PerlIO *rsfp, U32 flags);
9dcc53ea
Z
2151PERL_CALLCONV void Perl_lex_stuff_pv(pTHX_ const char* pv, U32 flags)
2152 __attribute__nonnull__(pTHX_1);
2153#define PERL_ARGS_ASSERT_LEX_STUFF_PV \
2154 assert(pv)
2155
e8a67806
NC
2156PERL_CALLCONV void Perl_lex_stuff_pvn(pTHX_ const char* pv, STRLEN len, U32 flags)
2157 __attribute__nonnull__(pTHX_1);
2158#define PERL_ARGS_ASSERT_LEX_STUFF_PVN \
2159 assert(pv)
2160
f0e67a1d
Z
2161PERL_CALLCONV void Perl_lex_stuff_sv(pTHX_ SV* sv, U32 flags)
2162 __attribute__nonnull__(pTHX_1);
2163#define PERL_ARGS_ASSERT_LEX_STUFF_SV \
2164 assert(sv)
2165
2166PERL_CALLCONV void Perl_lex_unstuff(pTHX_ char* ptr)
2167 __attribute__nonnull__(pTHX_1);
2168#define PERL_ARGS_ASSERT_LEX_UNSTUFF \
2169 assert(ptr)
2170
1d7c1841 2171PERL_CALLCONV OP* Perl_list(pTHX_ OP* o);
aec46f14
AL
2172PERL_CALLCONV void Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...)
2173 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2174#define PERL_ARGS_ASSERT_LOAD_MODULE \
2175 assert(name)
aec46f14 2176
4048f010 2177PERL_CALLCONV OP* Perl_localize(pTHX_ OP *o, I32 lex)
bfce84ec 2178 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2179#define PERL_ARGS_ASSERT_LOCALIZE \
2180 assert(o)
bfce84ec 2181
aad570aa 2182PERL_CALLCONV I32 Perl_looks_like_number(pTHX_ SV *const sv)
abb2c242
JH
2183 __attribute__warn_unused_result__
2184 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2185#define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER \
2186 assert(sv)
f54cb97a 2187
e8a67806 2188PERL_CALLCONV int Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
2189 __attribute__nonnull__(pTHX_1)
2190 __attribute__nonnull__(pTHX_2);
e8a67806
NC
2191#define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV \
2192 assert(sv); assert(mg)
bfce84ec 2193
83f29afa
VP
2194PERL_CALLCONV int Perl_magic_cleararylen_p(pTHX_ SV* sv, MAGIC* mg)
2195 __attribute__nonnull__(pTHX_1)
2196 __attribute__nonnull__(pTHX_2);
2197#define PERL_ARGS_ASSERT_MAGIC_CLEARARYLEN_P \
2198 assert(sv); assert(mg)
2199
bfce84ec
AL
2200PERL_CALLCONV int Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg)
2201 __attribute__nonnull__(pTHX_1)
2202 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2203#define PERL_ARGS_ASSERT_MAGIC_CLEARENV \
2204 assert(sv); assert(mg)
bfce84ec 2205
b3ca2e83
NC
2206PERL_CALLCONV int Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg)
2207 __attribute__nonnull__(pTHX_1)
2208 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2209#define PERL_ARGS_ASSERT_MAGIC_CLEARHINT \
2210 assert(sv); assert(mg)
b3ca2e83 2211
f747ebd6
Z
2212PERL_CALLCONV int Perl_magic_clearhints(pTHX_ SV* sv, MAGIC* mg)
2213 __attribute__nonnull__(pTHX_1)
2214 __attribute__nonnull__(pTHX_2);
2215#define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS \
2216 assert(sv); assert(mg)
2217
52b45067 2218PERL_CALLCONV int Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg)
52b45067 2219 __attribute__nonnull__(pTHX_2);
7918f24d 2220#define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
0e446081 2221 assert(mg)
52b45067 2222
bfce84ec
AL
2223PERL_CALLCONV int Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg)
2224 __attribute__nonnull__(pTHX_1)
2225 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2226#define PERL_ARGS_ASSERT_MAGIC_CLEARPACK \
2227 assert(sv); assert(mg)
bfce84ec
AL
2228
2229PERL_CALLCONV int Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg)
2230 __attribute__nonnull__(pTHX_1)
2231 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2232#define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \
2233 assert(sv); assert(mg)
bfce84ec 2234
09fb282d
FC
2235PERL_CALLCONV int Perl_magic_copycallchecker(pTHX_ SV* sv, MAGIC *mg, SV *nsv, const char *name, I32 namlen)
2236 __attribute__nonnull__(pTHX_1)
2237 __attribute__nonnull__(pTHX_2)
2238 __attribute__nonnull__(pTHX_3);
2239#define PERL_ARGS_ASSERT_MAGIC_COPYCALLCHECKER \
2240 assert(sv); assert(mg); assert(nsv)
2241
e8a67806 2242PERL_CALLCONV void Perl_magic_dump(pTHX_ const MAGIC *mg);
1146e912 2243PERL_CALLCONV int Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg)
bfce84ec
AL
2244 __attribute__nonnull__(pTHX_1)
2245 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2246#define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK \
2247 assert(sv); assert(mg)
bfce84ec 2248
e8a67806
NC
2249PERL_CALLCONV int Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg)
2250 __attribute__nonnull__(pTHX_1)
2251 __attribute__nonnull__(pTHX_2);
2252#define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P \
2253 assert(sv); assert(mg)
2254
bfce84ec
AL
2255PERL_CALLCONV int Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg)
2256 __attribute__nonnull__(pTHX_1)
2257 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2258#define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD \
2259 assert(sv); assert(mg)
bfce84ec
AL
2260
2261PERL_CALLCONV int Perl_magic_get(pTHX_ SV* sv, MAGIC* mg)
2262 __attribute__nonnull__(pTHX_1)
2263 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2264#define PERL_ARGS_ASSERT_MAGIC_GET \
2265 assert(sv); assert(mg)
901017d6 2266
8772537c
AL
2267PERL_CALLCONV int Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg)
2268 __attribute__nonnull__(pTHX_1)
2269 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2270#define PERL_ARGS_ASSERT_MAGIC_GETARYLEN \
2271 assert(sv); assert(mg)
8772537c 2272
bfce84ec
AL
2273PERL_CALLCONV int Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg)
2274 __attribute__nonnull__(pTHX_1)
2275 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2276#define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM \
2277 assert(sv); assert(mg)
bfce84ec 2278
bfce84ec
AL
2279PERL_CALLCONV int Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg)
2280 __attribute__nonnull__(pTHX_1)
2281 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2282#define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \
2283 assert(sv); assert(mg)
bfce84ec
AL
2284
2285PERL_CALLCONV int Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg)
2286 __attribute__nonnull__(pTHX_1)
2287 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2288#define PERL_ARGS_ASSERT_MAGIC_GETPACK \
2289 assert(sv); assert(mg)
bfce84ec
AL
2290
2291PERL_CALLCONV int Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg)
2292 __attribute__nonnull__(pTHX_1)
2293 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2294#define PERL_ARGS_ASSERT_MAGIC_GETPOS \
2295 assert(sv); assert(mg)
bfce84ec
AL
2296
2297PERL_CALLCONV int Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg)
2298 __attribute__nonnull__(pTHX_1)
2299 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2300#define PERL_ARGS_ASSERT_MAGIC_GETSIG \
2301 assert(sv); assert(mg)
bfce84ec
AL
2302
2303PERL_CALLCONV int Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg)
2304 __attribute__nonnull__(pTHX_1)
2305 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2306#define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR \
2307 assert(sv); assert(mg)
bfce84ec
AL
2308
2309PERL_CALLCONV int Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg)
2310 __attribute__nonnull__(pTHX_1)
2311 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2312#define PERL_ARGS_ASSERT_MAGIC_GETTAINT \
2313 assert(sv); assert(mg)
bfce84ec
AL
2314
2315PERL_CALLCONV int Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg)
2316 __attribute__nonnull__(pTHX_1)
2317 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2318#define PERL_ARGS_ASSERT_MAGIC_GETUVAR \
2319 assert(sv); assert(mg)
bfce84ec
AL
2320
2321PERL_CALLCONV int Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg)
2322 __attribute__nonnull__(pTHX_1)
2323 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2324#define PERL_ARGS_ASSERT_MAGIC_GETVEC \
2325 assert(sv); assert(mg)
bfce84ec 2326
e8a67806
NC
2327PERL_CALLCONV int Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg)
2328 __attribute__nonnull__(pTHX_1)
2329 __attribute__nonnull__(pTHX_2);
2330#define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS \
2331 assert(sv); assert(mg)
2332
36925d9e 2333PERL_CALLCONV SV* Perl_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, U32 argc, ...)
e8a67806
NC
2334 __attribute__nonnull__(pTHX_1)
2335 __attribute__nonnull__(pTHX_2)
2336 __attribute__nonnull__(pTHX_3);
2337#define PERL_ARGS_ASSERT_MAGIC_METHCALL \
2338 assert(sv); assert(mg); assert(meth)
2339
4048f010 2340PERL_CALLCONV int Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key)
bfce84ec
AL
2341 __attribute__nonnull__(pTHX_1)
2342 __attribute__nonnull__(pTHX_2)
2343 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2344#define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \
2345 assert(sv); assert(mg); assert(key)
bfce84ec
AL
2346
2347PERL_CALLCONV U32 Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg)
2348 __attribute__nonnull__(pTHX_1)
2349 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2350#define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT \
2351 assert(sv); assert(mg)
bfce84ec
AL
2352
2353PERL_CALLCONV int Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg)
2354 __attribute__nonnull__(pTHX_1)
2355 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2356#define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET \
2357 assert(sv); assert(mg)
bfce84ec 2358
e8a67806
NC
2359PERL_CALLCONV SV* Perl_magic_scalarpack(pTHX_ HV *hv, MAGIC *mg)
2360 __attribute__nonnull__(pTHX_1)
2361 __attribute__nonnull__(pTHX_2);
2362#define PERL_ARGS_ASSERT_MAGIC_SCALARPACK \
2363 assert(hv); assert(mg)
2364
bfce84ec
AL
2365PERL_CALLCONV int Perl_magic_set(pTHX_ SV* sv, MAGIC* mg)
2366 __attribute__nonnull__(pTHX_1)
2367 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2368#define PERL_ARGS_ASSERT_MAGIC_SET \
2369 assert(sv); assert(mg)
bfce84ec 2370
e8a67806 2371PERL_CALLCONV int Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
2372 __attribute__nonnull__(pTHX_1)
2373 __attribute__nonnull__(pTHX_2);
e8a67806 2374#define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV \
7918f24d 2375 assert(sv); assert(mg)
bfce84ec 2376
e8a67806 2377PERL_CALLCONV int Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
2378 __attribute__nonnull__(pTHX_1)
2379 __attribute__nonnull__(pTHX_2);
e8a67806 2380#define PERL_ARGS_ASSERT_MAGIC_SETARYLEN \
7918f24d 2381 assert(sv); assert(mg)
bfce84ec 2382
488344d2 2383PERL_CALLCONV int Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
2384 __attribute__nonnull__(pTHX_1)
2385 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2386#define PERL_ARGS_ASSERT_MAGIC_SETDBLINE \
2387 assert(sv); assert(mg)
bfce84ec 2388
488344d2 2389PERL_CALLCONV int Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
2390 __attribute__nonnull__(pTHX_1)
2391 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2392#define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM \
2393 assert(sv); assert(mg)
bfce84ec 2394
488344d2 2395PERL_CALLCONV int Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
2396 __attribute__nonnull__(pTHX_1)
2397 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2398#define PERL_ARGS_ASSERT_MAGIC_SETENV \
2399 assert(sv); assert(mg)
bfce84ec 2400
b3ca2e83
NC
2401PERL_CALLCONV int Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg)
2402 __attribute__nonnull__(pTHX_1)
2403 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2404#define PERL_ARGS_ASSERT_MAGIC_SETHINT \
2405 assert(sv); assert(mg)
b3ca2e83 2406
bfce84ec
AL
2407PERL_CALLCONV int Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg)
2408 __attribute__nonnull__(pTHX_1)
2409 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2410#define PERL_ARGS_ASSERT_MAGIC_SETISA \
2411 assert(sv); assert(mg)
bfce84ec 2412
bfce84ec
AL
2413PERL_CALLCONV int Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg)
2414 __attribute__nonnull__(pTHX_1)
2415 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2416#define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \
2417 assert(sv); assert(mg)
bfce84ec
AL
2418
2419PERL_CALLCONV int Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg)
2420 __attribute__nonnull__(pTHX_1)
2421 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2422#define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \
2423 assert(sv); assert(mg)
bfce84ec
AL
2424
2425PERL_CALLCONV int Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg)
2426 __attribute__nonnull__(pTHX_1)
2427 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2428#define PERL_ARGS_ASSERT_MAGIC_SETPACK \
2429 assert(sv); assert(mg)
bfce84ec
AL
2430
2431PERL_CALLCONV int Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg)
2432 __attribute__nonnull__(pTHX_1)
2433 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2434#define PERL_ARGS_ASSERT_MAGIC_SETPOS \
2435 assert(sv); assert(mg)
bfce84ec
AL
2436
2437PERL_CALLCONV int Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg)
2438 __attribute__nonnull__(pTHX_1)
2439 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2440#define PERL_ARGS_ASSERT_MAGIC_SETREGEXP \
2441 assert(sv); assert(mg)
bfce84ec
AL
2442
2443PERL_CALLCONV int Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg)
bfce84ec 2444 __attribute__nonnull__(pTHX_2);
7918f24d 2445#define PERL_ARGS_ASSERT_MAGIC_SETSIG \
38a124f0 2446 assert(mg)
bfce84ec
AL
2447
2448PERL_CALLCONV int Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg)
2449 __attribute__nonnull__(pTHX_1)
2450 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2451#define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR \
2452 assert(sv); assert(mg)
bfce84ec
AL
2453
2454PERL_CALLCONV int Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg)
2455 __attribute__nonnull__(pTHX_1)
2456 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2457#define PERL_ARGS_ASSERT_MAGIC_SETTAINT \
2458 assert(sv); assert(mg)
bfce84ec 2459
e8a67806 2460PERL_CALLCONV int Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
2461 __attribute__nonnull__(pTHX_1)
2462 __attribute__nonnull__(pTHX_2);
e8a67806 2463#define PERL_ARGS_ASSERT_MAGIC_SETUTF8 \
7918f24d 2464 assert(sv); assert(mg)
bfce84ec 2465
e8a67806 2466PERL_CALLCONV int Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
2467 __attribute__nonnull__(pTHX_1)
2468 __attribute__nonnull__(pTHX_2);
e8a67806 2469#define PERL_ARGS_ASSERT_MAGIC_SETUVAR \
7918f24d 2470 assert(sv); assert(mg)
bfce84ec 2471
e8a67806 2472PERL_CALLCONV int Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
2473 __attribute__nonnull__(pTHX_1)
2474 __attribute__nonnull__(pTHX_2);
e8a67806 2475#define PERL_ARGS_ASSERT_MAGIC_SETVEC \
7918f24d 2476 assert(sv); assert(mg)
bfce84ec
AL
2477
2478PERL_CALLCONV U32 Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg)
2479 __attribute__nonnull__(pTHX_1)
2480 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2481#define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \
2482 assert(sv); assert(mg)
bfce84ec
AL
2483
2484PERL_CALLCONV int Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg)
2485 __attribute__nonnull__(pTHX_1)
2486 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2487#define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \
2488 assert(sv); assert(mg)
bfce84ec 2489
e8a67806
NC
2490PERL_CALLCONV Malloc_t Perl_malloc(MEM_SIZE nbytes)
2491 __attribute__malloc__
2492 __attribute__warn_unused_result__;
efaf3674 2493
1d7c1841 2494PERL_CALLCONV void Perl_markstack_grow(pTHX);
894356b3 2495PERL_CALLCONV SV* Perl_mess(pTHX_ const char* pat, ...)
aec46f14
AL
2496 __attribute__format__(__printf__,pTHX_1,pTHX_2)
2497 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2498#define PERL_ARGS_ASSERT_MESS \
2499 assert(pat)
aec46f14 2500
c5df3096
Z
2501PERL_CALLCONV SV* Perl_mess_sv(pTHX_ SV* basemsg, bool consume)
2502 __attribute__nonnull__(pTHX_1);
2503#define PERL_ARGS_ASSERT_MESS_SV \
2504 assert(basemsg)
2505
e8a67806 2506PERL_CALLCONV Free_t Perl_mfree(Malloc_t where);
9a957fbc
AL
2507PERL_CALLCONV int Perl_mg_clear(pTHX_ SV* sv)
2508 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2509#define PERL_ARGS_ASSERT_MG_CLEAR \
2510 assert(sv)
9a957fbc 2511
4048f010 2512PERL_CALLCONV int Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen)
9a957fbc
AL
2513 __attribute__nonnull__(pTHX_1)
2514 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2515#define PERL_ARGS_ASSERT_MG_COPY \
2516 assert(sv); assert(nsv)
9a957fbc 2517
255164ba
DM
2518PERL_CALLCONV MAGIC* Perl_mg_find(pTHX_ const SV* sv, int type)
2519 __attribute__warn_unused_result__;
2520
96c2a8ff
FC
2521PERL_CALLCONV MAGIC* Perl_mg_find_mglob(pTHX_ SV* sv)
2522 __attribute__warn_unused_result__
2523 __attribute__nonnull__(pTHX_1);
2524#define PERL_ARGS_ASSERT_MG_FIND_MGLOB \
2525 assert(sv)
2526
39de7f53
FR
2527PERL_CALLCONV MAGIC* Perl_mg_findext(pTHX_ const SV* sv, int type, const MGVTBL *vtbl)
2528 __attribute__warn_unused_result__;
2529
9a957fbc
AL
2530PERL_CALLCONV int Perl_mg_free(pTHX_ SV* sv)
2531 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2532#define PERL_ARGS_ASSERT_MG_FREE \
2533 assert(sv)
9a957fbc 2534
d9088386
Z
2535PERL_CALLCONV void Perl_mg_free_type(pTHX_ SV* sv, int how)
2536 __attribute__nonnull__(pTHX_1);
2537#define PERL_ARGS_ASSERT_MG_FREE_TYPE \
2538 assert(sv)
2539
9a957fbc
AL
2540PERL_CALLCONV int Perl_mg_get(pTHX_ SV* sv)
2541 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2542#define PERL_ARGS_ASSERT_MG_GET \
2543 assert(sv)
9a957fbc
AL
2544
2545PERL_CALLCONV U32 Perl_mg_length(pTHX_ SV* sv)
bd8446cf 2546 __attribute__deprecated__
9a957fbc 2547 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2548#define PERL_ARGS_ASSERT_MG_LENGTH \
2549 assert(sv)
9a957fbc 2550
e8a67806
NC
2551PERL_CALLCONV void Perl_mg_localize(pTHX_ SV* sv, SV* nsv, bool setmagic)
2552 __attribute__nonnull__(pTHX_1)
2553 __attribute__nonnull__(pTHX_2);
2554#define PERL_ARGS_ASSERT_MG_LOCALIZE \
2555 assert(sv); assert(nsv)
2556
9a957fbc
AL
2557PERL_CALLCONV void Perl_mg_magical(pTHX_ SV* sv)
2558 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2559#define PERL_ARGS_ASSERT_MG_MAGICAL \
2560 assert(sv)
9a957fbc
AL
2561
2562PERL_CALLCONV int Perl_mg_set(pTHX_ SV* sv)
2563 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2564#define PERL_ARGS_ASSERT_MG_SET \
2565 assert(sv)
9a957fbc
AL
2566
2567PERL_CALLCONV I32 Perl_mg_size(pTHX_ SV* sv)
2568 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2569#define PERL_ARGS_ASSERT_MG_SIZE \
2570 assert(sv)
9a957fbc 2571
9f6cc744 2572PERL_CALLCONV void Perl_mini_mktime(pTHX_ struct tm *ptm)
9a957fbc 2573 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2574#define PERL_ARGS_ASSERT_MINI_MKTIME \
2575 assert(ptm)
9a957fbc 2576
a79b25b7 2577PERL_CALLCONV int Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len);
e8a67806 2578PERL_CALLCONV void * Perl_more_bodies(pTHX_ const svtype sv_type, const size_t body_size, const size_t arena_size);
c7030b81 2579PERL_CALLCONV const char* Perl_moreswitches(pTHX_ const char* s)
bfce84ec 2580 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2581#define PERL_ARGS_ASSERT_MORESWITCHES \
2582 assert(s)
bfce84ec 2583
e8a67806 2584PERL_CALLCONV const struct mro_alg * Perl_mro_get_from_name(pTHX_ SV *name)
abb2c242 2585 __attribute__nonnull__(pTHX_1);
e8a67806
NC
2586#define PERL_ARGS_ASSERT_MRO_GET_FROM_NAME \
2587 assert(name)
f54cb97a 2588
e8a67806
NC
2589PERL_CALLCONV AV* Perl_mro_get_linear_isa(pTHX_ HV* stash)
2590 __attribute__nonnull__(pTHX_1);
2591#define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA \
2592 assert(stash)
f54cb97a 2593
e8a67806
NC
2594PERL_CALLCONV SV* Perl_mro_get_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which)
2595 __attribute__nonnull__(pTHX_1)
2596 __attribute__nonnull__(pTHX_2);
2597#define PERL_ARGS_ASSERT_MRO_GET_PRIVATE_DATA \
2598 assert(smeta); assert(which)
f54cb97a 2599
4df35a07
FC
2600PERL_CALLCONV void Perl_mro_isa_changed_in(pTHX_ HV* stash)
2601 __attribute__nonnull__(pTHX_1);
2602#define PERL_ARGS_ASSERT_MRO_ISA_CHANGED_IN \
2603 assert(stash)
e8a67806
NC
2604
2605PERL_CALLCONV struct mro_meta* Perl_mro_meta_init(pTHX_ HV* stash)
2606 __attribute__nonnull__(pTHX_1);
2607#define PERL_ARGS_ASSERT_MRO_META_INIT \
2608 assert(stash)
2609
2610PERL_CALLCONV void Perl_mro_method_changed_in(pTHX_ HV* stash)
2611 __attribute__nonnull__(pTHX_1);
2612#define PERL_ARGS_ASSERT_MRO_METHOD_CHANGED_IN \
2613 assert(stash)
2614
afdbe55d
FC
2615PERL_CALLCONV void Perl_mro_package_moved(pTHX_ HV * const stash, HV * const oldstash, const GV * const gv, U32 flags)
2616 __attribute__nonnull__(pTHX_3);
2617#define PERL_ARGS_ASSERT_MRO_PACKAGE_MOVED \
2618 assert(gv)
2619
e8a67806
NC
2620PERL_CALLCONV void Perl_mro_register(pTHX_ const struct mro_alg *mro)
2621 __attribute__nonnull__(pTHX_1);
2622#define PERL_ARGS_ASSERT_MRO_REGISTER \
2623 assert(mro)
2624
2625PERL_CALLCONV void Perl_mro_set_mro(pTHX_ struct mro_meta *const meta, SV *const name)
2626 __attribute__nonnull__(pTHX_1)
2627 __attribute__nonnull__(pTHX_2);
2628#define PERL_ARGS_ASSERT_MRO_SET_MRO \
2629 assert(meta); assert(name)
2630
2631PERL_CALLCONV SV* Perl_mro_set_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which, SV *const data)
2632 __attribute__nonnull__(pTHX_1)
2633 __attribute__nonnull__(pTHX_2)
2634 __attribute__nonnull__(pTHX_3);
2635#define PERL_ARGS_ASSERT_MRO_SET_PRIVATE_DATA \
2636 assert(smeta); assert(which); assert(data)
2637
e8a67806
NC
2638PERL_CALLCONV NV Perl_my_atof(pTHX_ const char *s)
2639 __attribute__nonnull__(pTHX_1);
2640#define PERL_ARGS_ASSERT_MY_ATOF \
2641 assert(s)
2642
2643PERL_CALLCONV char* Perl_my_atof2(pTHX_ const char *s, NV* value)
2644 __attribute__nonnull__(pTHX_1)
2645 __attribute__nonnull__(pTHX_2);
2646#define PERL_ARGS_ASSERT_MY_ATOF2 \
2647 assert(s); assert(value)
2648
2649PERL_CALLCONV OP * Perl_my_attrs(pTHX_ OP *o, OP *attrs)
2650 __attribute__nonnull__(pTHX_1);
2651#define PERL_ARGS_ASSERT_MY_ATTRS \
2652 assert(o)
2653
2654PERL_CALLCONV void Perl_my_clearenv(pTHX);
2655PERL_CALLCONV int Perl_my_dirfd(pTHX_ DIR* dir);
12a2785c 2656PERL_CALLCONV_NO_RET void Perl_my_exit(pTHX_ U32 status)
abb2c242 2657 __attribute__noreturn__;
f54cb97a 2658
12a2785c 2659PERL_CALLCONV_NO_RET void Perl_my_failure_exit(pTHX)
abb2c242 2660 __attribute__noreturn__;
f54cb97a 2661
1d7c1841 2662PERL_CALLCONV I32 Perl_my_fflush_all(pTHX);
52e18b1f 2663PERL_CALLCONV Pid_t Perl_my_fork(void);
0d7d409d
DM
2664/* PERL_CALLCONV I32 Perl_my_lstat(pTHX); */
2665PERL_CALLCONV I32 Perl_my_lstat_flags(pTHX_ const U32 flags);
c9289b7b 2666PERL_CALLCONV PerlIO* Perl_my_popen_list(pTHX_ const char* mode, int n, SV ** args)
bfce84ec
AL
2667 __attribute__nonnull__(pTHX_1)
2668 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2669#define PERL_ARGS_ASSERT_MY_POPEN_LIST \
2670 assert(mode); assert(args)
bfce84ec 2671
e1ec3a88 2672PERL_CALLCONV void Perl_my_setenv(pTHX_ const char* nam, const char* val);
e8a67806
NC
2673PERL_CALLCONV int Perl_my_snprintf(char *buffer, const Size_t len, const char *format, ...)
2674 __attribute__format__(__printf__,3,4)
2675 __attribute__nonnull__(1)
2676 __attribute__nonnull__(3);
2677#define PERL_ARGS_ASSERT_MY_SNPRINTF \
2678 assert(buffer); assert(format)
2679
2680PERL_CALLCONV int Perl_my_socketpair(int family, int type, int protocol, int fd[2]);
0d7d409d
DM
2681/* PERL_CALLCONV I32 Perl_my_stat(pTHX); */
2682PERL_CALLCONV I32 Perl_my_stat_flags(pTHX_ const U32 flags);
bfce84ec
AL
2683PERL_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)
2684 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2685#define PERL_ARGS_ASSERT_MY_STRFTIME \
2686 assert(fmt)
bfce84ec 2687
e8a67806
NC
2688PERL_CALLCONV void Perl_my_unexec(pTHX);
2689PERL_CALLCONV int Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap)
2690 __attribute__nonnull__(1)
2691 __attribute__nonnull__(3);
2692#define PERL_ARGS_ASSERT_MY_VSNPRINTF \
2693 assert(buffer); assert(format)
f54cb97a 2694
e8a67806
NC
2695PERL_CALLCONV OP* Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block);
2696PERL_CALLCONV OP* Perl_newANONHASH(pTHX_ OP* o)
abb2c242 2697 __attribute__malloc__
e8a67806 2698 __attribute__warn_unused_result__;
f54cb97a 2699
f54cb97a 2700PERL_CALLCONV OP* Perl_newANONLIST(pTHX_ OP* o)
abb2c242
JH
2701 __attribute__malloc__
2702 __attribute__warn_unused_result__;
f54cb97a 2703
e8a67806
NC
2704PERL_CALLCONV OP* Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block);
2705PERL_CALLCONV OP* Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right)
abb2c242
JH
2706 __attribute__malloc__
2707 __attribute__warn_unused_result__;
f54cb97a 2708
e8a67806 2709PERL_CALLCONV CV* Perl_newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block);
7e68c38b 2710PERL_CALLCONV CV* Perl_newATTRSUB_flags(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block, U32 flags);
e8a67806
NC
2711/* PERL_CALLCONV AV* Perl_newAV(pTHX)
2712 __attribute__warn_unused_result__; */
2713
2714PERL_CALLCONV OP* Perl_newAVREF(pTHX_ OP* o)
2715 __attribute__malloc__
2716 __attribute__warn_unused_result__
2717 __attribute__nonnull__(pTHX_1);
2718#define PERL_ARGS_ASSERT_NEWAVREF \
2719 assert(o)
2720
2721PERL_CALLCONV OP* Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
abb2c242
JH
2722 __attribute__malloc__
2723 __attribute__warn_unused_result__;
f54cb97a 2724
aec46f14 2725PERL_CALLCONV OP* Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop)
abb2c242 2726 __attribute__malloc__
aec46f14
AL
2727 __attribute__warn_unused_result__
2728 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2729#define PERL_ARGS_ASSERT_NEWCONDOP \
2730 assert(first)
aec46f14 2731
99ab892b 2732PERL_CALLCONV CV* Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv);
9c0a6090 2733PERL_CALLCONV CV* Perl_newCONSTSUB_flags(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags, SV* sv);
e8a67806
NC
2734PERL_CALLCONV OP* Perl_newCVREF(pTHX_ I32 flags, OP* o)
2735 __attribute__malloc__
2736 __attribute__warn_unused_result__;
2737
94bf0465 2738PERL_CALLCONV OP* Perl_newFOROP(pTHX_ I32 flags, OP* sv, OP* expr, OP* block, OP* cont)
abb2c242 2739 __attribute__malloc__
aa924a5a 2740 __attribute__warn_unused_result__
94bf0465 2741 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2742#define PERL_ARGS_ASSERT_NEWFOROP \
2743 assert(expr)
f54cb97a 2744
0d863452
RH
2745PERL_CALLCONV OP* Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off)
2746 __attribute__malloc__
2747 __attribute__warn_unused_result__
2748 __attribute__nonnull__(pTHX_1)
2749 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2750#define PERL_ARGS_ASSERT_NEWGIVENOP \
2751 assert(cond); assert(block)
0d863452 2752
e8a67806
NC
2753PERL_CALLCONV GP * Perl_newGP(pTHX_ GV *const gv)
2754 __attribute__nonnull__(pTHX_1);
2755#define PERL_ARGS_ASSERT_NEWGP \
2756 assert(gv)
2757
2758PERL_CALLCONV OP* Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv)
2759 __attribute__malloc__
2760 __attribute__warn_unused_result__
2761 __attribute__nonnull__(pTHX_3);
2762#define PERL_ARGS_ASSERT_NEWGVOP \
2763 assert(gv)
2764
2765PERL_CALLCONV OP* Perl_newGVREF(pTHX_ I32 type, OP* o)
2766 __attribute__malloc__
2767 __attribute__warn_unused_result__;
2768
20980f01
FC
2769/* PERL_CALLCONV GV* newGVgen(pTHX_ const char* pack)
2770 __attribute__nonnull__(pTHX_1); */
2771
9cc50d5b 2772PERL_CALLCONV GV* Perl_newGVgen_flags(pTHX_ const char* pack, U32 flags)
e8a67806
NC
2773 __attribute__malloc__
2774 __attribute__warn_unused_result__
2775 __attribute__nonnull__(pTHX_1);
9cc50d5b 2776#define PERL_ARGS_ASSERT_NEWGVGEN_FLAGS \
e8a67806
NC
2777 assert(pack)
2778
2779/* PERL_CALLCONV HV* Perl_newHV(pTHX)
2780 __attribute__warn_unused_result__; */
2781
2782PERL_CALLCONV OP* Perl_newHVREF(pTHX_ OP* o)
2783 __attribute__malloc__
2784 __attribute__warn_unused_result__
2785 __attribute__nonnull__(pTHX_1);
2786#define PERL_ARGS_ASSERT_NEWHVREF \
2787 assert(o)
2788
2789PERL_CALLCONV HV* Perl_newHVhv(pTHX_ HV *hv)
2790 __attribute__malloc__
2791 __attribute__warn_unused_result__;
2792
2793/* PERL_CALLCONV IO* Perl_newIO(pTHX)
2794 __attribute__malloc__
2795 __attribute__warn_unused_result__; */
2796
2797PERL_CALLCONV OP* Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2798 __attribute__malloc__
2799 __attribute__warn_unused_result__;
2800
4048f010 2801PERL_CALLCONV OP* Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
abb2c242 2802 __attribute__malloc__
aa924a5a
SH
2803 __attribute__warn_unused_result__
2804 __attribute__nonnull__(pTHX_3)
2805 __attribute__nonnull__(pTHX_4);
7918f24d
NC
2806#define PERL_ARGS_ASSERT_NEWLOGOP \
2807 assert(first); assert(other)
f54cb97a
AL
2808
2809PERL_CALLCONV OP* Perl_newLOOPEX(pTHX_ I32 type, OP* label)
abb2c242 2810 __attribute__malloc__
aa924a5a
SH
2811 __attribute__warn_unused_result__
2812 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2813#define PERL_ARGS_ASSERT_NEWLOOPEX \
2814 assert(label)
f54cb97a
AL
2815
2816PERL_CALLCONV OP* Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block)
abb2c242
JH
2817 __attribute__malloc__
2818 __attribute__warn_unused_result__;
f54cb97a 2819
50278755
FC
2820PERL_CALLCONV CV * Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block)
2821 __attribute__nonnull__(pTHX_2);
2822#define PERL_ARGS_ASSERT_NEWMYSUB \
2823 assert(o)
2824
4373e329 2825PERL_CALLCONV OP* Perl_newNULLLIST(pTHX)
abb2c242
JH
2826 __attribute__malloc__
2827 __attribute__warn_unused_result__;
f54cb97a
AL
2828
2829PERL_CALLCONV OP* Perl_newOP(pTHX_ I32 optype, I32 flags)
abb2c242
JH
2830 __attribute__malloc__
2831 __attribute__warn_unused_result__;
f54cb97a 2832
e8a67806
NC
2833PERL_CALLCONV OP* Perl_newPMOP(pTHX_ I32 type, I32 flags)
2834 __attribute__malloc__
2835 __attribute__warn_unused_result__;
2836
f54cb97a 2837PERL_CALLCONV void Perl_newPROG(pTHX_ OP* o)
abb2c242 2838 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2839#define PERL_ARGS_ASSERT_NEWPROG \
2840 assert(o)
f54cb97a 2841
e8a67806
NC
2842PERL_CALLCONV OP* Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv)
2843 __attribute__malloc__
2844 __attribute__warn_unused_result__;
2845
f54cb97a 2846PERL_CALLCONV OP* Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right)
abb2c242 2847 __attribute__malloc__
aa924a5a
SH
2848 __attribute__warn_unused_result__
2849 __attribute__nonnull__(pTHX_2)
2850 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2851#define PERL_ARGS_ASSERT_NEWRANGE \
2852 assert(left); assert(right)
f54cb97a 2853
e8a67806
NC
2854PERL_CALLCONV SV* Perl_newRV(pTHX_ SV *const sv)
2855 __attribute__malloc__
2856 __attribute__warn_unused_result__
2857 __attribute__nonnull__(pTHX_1);
2858#define PERL_ARGS_ASSERT_NEWRV \
2859 assert(sv)
2860
2861PERL_CALLCONV SV* Perl_newRV_noinc(pTHX_ SV *const sv)
2862 __attribute__malloc__
2863 __attribute__warn_unused_result__
2864 __attribute__nonnull__(pTHX_1);
2865#define PERL_ARGS_ASSERT_NEWRV_NOINC \
2866 assert(sv)
2867
f54cb97a 2868PERL_CALLCONV OP* Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop)
abb2c242
JH
2869 __attribute__malloc__
2870 __attribute__warn_unused_result__;
f54cb97a
AL
2871
2872PERL_CALLCONV OP* Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o)
abb2c242
JH
2873 __attribute__malloc__
2874 __attribute__warn_unused_result__;
f54cb97a 2875
186a5ba8
FC
2876PERL_CALLCONV CV* Perl_newSTUB(pTHX_ GV *gv, bool fake)
2877 __attribute__nonnull__(pTHX_1);
2878#define PERL_ARGS_ASSERT_NEWSTUB \
2879 assert(gv)
2880
7bff8c33 2881/* PERL_CALLCONV CV* Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block); */
e8a67806
NC
2882PERL_CALLCONV SV* Perl_newSV(pTHX_ const STRLEN len)
2883 __attribute__malloc__
2884 __attribute__warn_unused_result__;
77004dee 2885
e8a67806
NC
2886PERL_CALLCONV OP* Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv)
2887 __attribute__malloc__
2888 __attribute__warn_unused_result__
abb2c242 2889 __attribute__nonnull__(pTHX_3);
e8a67806
NC
2890#define PERL_ARGS_ASSERT_NEWSVOP \
2891 assert(sv)
f54cb97a 2892
e8a67806 2893PERL_CALLCONV OP* Perl_newSVREF(pTHX_ OP* o)
abb2c242
JH
2894 __attribute__malloc__
2895 __attribute__warn_unused_result__
2896 __attribute__nonnull__(pTHX_1);
e8a67806 2897#define PERL_ARGS_ASSERT_NEWSVREF \
7918f24d 2898 assert(o)
f54cb97a 2899
e8a67806 2900PERL_CALLCONV SV* Perl_newSV_type(pTHX_ const svtype type)
abb2c242
JH
2901 __attribute__malloc__
2902 __attribute__warn_unused_result__;
f54cb97a 2903
199f858d
FC
2904PERL_CALLCONV SV* Perl_newSVavdefelem(pTHX_ AV *av, SSize_t ix, bool extendible)
2905 __attribute__malloc__
2906 __attribute__warn_unused_result__
2907 __attribute__nonnull__(pTHX_1);
2908#define PERL_ARGS_ASSERT_NEWSVAVDEFELEM \
2909 assert(av)
2910
e8a67806 2911PERL_CALLCONV SV* Perl_newSVhek(pTHX_ const HEK *const hek)
abb2c242
JH
2912 __attribute__malloc__
2913 __attribute__warn_unused_result__;
f54cb97a 2914
e8a67806 2915PERL_CALLCONV SV* Perl_newSViv(pTHX_ const IV i)
abb2c242 2916 __attribute__malloc__
e8a67806 2917 __attribute__warn_unused_result__;
f54cb97a 2918
e8a67806 2919PERL_CALLCONV SV* Perl_newSVnv(pTHX_ const NV n)
abb2c242
JH
2920 __attribute__malloc__
2921 __attribute__warn_unused_result__;
f54cb97a 2922
e8a67806 2923PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
abb2c242
JH
2924 __attribute__malloc__
2925 __attribute__warn_unused_result__;
f54cb97a 2926
e8a67806 2927PERL_CALLCONV SV* Perl_newSVpv_share(pTHX_ const char* s, U32 hash)
abb2c242
JH
2928 __attribute__malloc__
2929 __attribute__warn_unused_result__;
f54cb97a 2930
e8a67806 2931PERL_CALLCONV SV* Perl_newSVpvf(pTHX_ const char *const pat, ...)
abb2c242
JH
2932 __attribute__malloc__
2933 __attribute__warn_unused_result__
e8a67806 2934 __attribute__format__(__printf__,pTHX_1,pTHX_2)
abb2c242 2935 __attribute__nonnull__(pTHX_1);
e8a67806
NC
2936#define PERL_ARGS_ASSERT_NEWSVPVF \
2937 assert(pat)
f54cb97a 2938
23f13727 2939PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char *const s, const STRLEN len)
abb2c242
JH
2940 __attribute__malloc__
2941 __attribute__warn_unused_result__;
f54cb97a 2942
23f13727 2943PERL_CALLCONV SV* Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)
740cce10
NC
2944 __attribute__malloc__
2945 __attribute__warn_unused_result__;
2946
f54cb97a 2947PERL_CALLCONV SV* Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash)
abb2c242
JH
2948 __attribute__malloc__
2949 __attribute__warn_unused_result__;
f54cb97a 2950
12964ddd 2951PERL_CALLCONV SV* Perl_newSVrv(pTHX_ SV *const rv, const char *const classname)
1b6737cc 2952 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2953#define PERL_ARGS_ASSERT_NEWSVRV \
2954 assert(rv)
f54cb97a 2955
23f13727 2956PERL_CALLCONV SV* Perl_newSVsv(pTHX_ SV *const old)
abb2c242
JH
2957 __attribute__malloc__
2958 __attribute__warn_unused_result__;
f54cb97a 2959
e8a67806 2960PERL_CALLCONV SV* Perl_newSVuv(pTHX_ const UV u)
b9f83d2f
NC
2961 __attribute__malloc__
2962 __attribute__warn_unused_result__;
2963
f54cb97a 2964PERL_CALLCONV OP* Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first)
abb2c242
JH
2965 __attribute__malloc__
2966 __attribute__warn_unused_result__;
f54cb97a 2967
0d863452
RH
2968PERL_CALLCONV OP* Perl_newWHENOP(pTHX_ OP* cond, OP* block)
2969 __attribute__malloc__
2970 __attribute__warn_unused_result__
2971 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2972#define PERL_ARGS_ASSERT_NEWWHENOP \
2973 assert(block)
0d863452 2974
94bf0465 2975PERL_CALLCONV OP* Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, OP* expr, OP* block, OP* cont, I32 has_my)
abb2c242
JH
2976 __attribute__malloc__
2977 __attribute__warn_unused_result__;
f54cb97a 2978
e8a67806 2979PERL_CALLCONV CV* Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename)
65b06e02
DM
2980 __attribute__nonnull__(pTHX_2)
2981 __attribute__nonnull__(pTHX_3);
e8a67806
NC
2982#define PERL_ARGS_ASSERT_NEWXS \
2983 assert(subaddr); assert(filename)
f54cb97a 2984
e8a67806
NC
2985PERL_CALLCONV CV * Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags)
2986 __attribute__nonnull__(pTHX_2)
2987 __attribute__nonnull__(pTHX_3);
2988#define PERL_ARGS_ASSERT_NEWXS_FLAGS \
2989 assert(subaddr); assert(filename)
f54cb97a 2990
8f82b567 2991PERL_CALLCONV CV * Perl_newXS_len_flags(pTHX_ const char *name, STRLEN len, XSUBADDR_t subaddr, const char *const filename, const char *const proto, SV **const_svp, U32 flags)
032a0447
FC
2992 __attribute__nonnull__(pTHX_3)
2993 __attribute__nonnull__(pTHX_4);
2994#define PERL_ARGS_ASSERT_NEWXS_LEN_FLAGS \
2995 assert(subaddr); assert(filename)
2996
e8a67806
NC
2997PERL_CALLCONV void Perl_new_collate(pTHX_ const char* newcoll);
2998PERL_CALLCONV void Perl_new_ctype(pTHX_ const char* newctype)
91152fc1 2999 __attribute__nonnull__(pTHX_1);
e8a67806
NC
3000#define PERL_ARGS_ASSERT_NEW_CTYPE \
3001 assert(newctype)
3002
3003PERL_CALLCONV void Perl_new_numeric(pTHX_ const char* newcoll);
3004PERL_CALLCONV PERL_SI* Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
3005 __attribute__malloc__
3006 __attribute__warn_unused_result__;
91152fc1 3007
2d03de9c
AL
3008PERL_CALLCONV SV* Perl_new_version(pTHX_ SV *ver)
3009 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3010#define PERL_ARGS_ASSERT_NEW_VERSION \
3011 assert(ver)
2d03de9c 3012
e8a67806
NC
3013PERL_CALLCONV STRLEN * Perl_new_warnings_bitfield(pTHX_ STRLEN *buffer, const char *const bits, STRLEN size)
3014 __attribute__malloc__
3015 __attribute__warn_unused_result__
abb2c242 3016 __attribute__nonnull__(pTHX_2);
e8a67806
NC
3017#define PERL_ARGS_ASSERT_NEW_WARNINGS_BITFIELD \
3018 assert(bits)
f54cb97a 3019
2d03de9c
AL
3020PERL_CALLCONV PerlIO* Perl_nextargv(pTHX_ GV* gv)
3021 __attribute__nonnull__(pTHX_1);
7918f24d
NC
3022#define PERL_ARGS_ASSERT_NEXTARGV \
3023 assert(gv)
2d03de9c 3024
04c9e624 3025PERL_CALLCONV char* Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend)
2d03de9c 3026 __attribute__pure__
04c9e624
VP
3027 __attribute__nonnull__(1)
3028 __attribute__nonnull__(2)
3029 __attribute__nonnull__(3)
3030 __attribute__nonnull__(4);
7918f24d
NC
3031#define PERL_ARGS_ASSERT_NINSTR \
3032 assert(big); assert(bigend); assert(little); assert(lend)
f54cb97a 3033
e8a67806
NC
3034PERL_CALLCONV int Perl_nothreadhook(pTHX);
3035PERL_CALLCONV OP* Perl_oopsAV(pTHX_ OP* o)
3036 __attribute__warn_unused_result__
eb8433b7 3037 __attribute__nonnull__(pTHX_1);
e8a67806 3038#define PERL_ARGS_ASSERT_OOPSAV \
7918f24d 3039 assert(o)
eb8433b7 3040
e8a67806
NC
3041PERL_CALLCONV OP* Perl_oopsHV(pTHX_ OP* o)
3042 __attribute__warn_unused_result__
2d03de9c 3043 __attribute__nonnull__(pTHX_1);
e8a67806 3044#define PERL_ARGS_ASSERT_OOPSHV \
7918f24d 3045 assert(o)
f54cb97a 3046
2fcb4757
Z
3047PERL_CALLCONV OP* Perl_op_append_elem(pTHX_ I32 optype, OP* first, OP* last);
3048PERL_CALLCONV OP* Perl_op_append_list(pTHX_ I32 optype, OP* first, OP* last);
e8a67806
NC
3049PERL_CALLCONV void Perl_op_clear(pTHX_ OP* o)
3050 __attribute__nonnull__(pTHX_1);
3051#define PERL_ARGS_ASSERT_OP_CLEAR \
3052 assert(o)
3053
137da2b0 3054PERL_CALLCONV SV* Perl_op_const_sv(pTHX_ const OP* o)
e8a67806
NC
3055 __attribute__warn_unused_result__;
3056
d9088386
Z
3057PERL_CALLCONV OP* Perl_op_contextualize(pTHX_ OP* o, I32 context)
3058 __attribute__nonnull__(pTHX_1);
3059#define PERL_ARGS_ASSERT_OP_CONTEXTUALIZE \
3060 assert(o)
3061
e8a67806
NC
3062PERL_CALLCONV void Perl_op_dump(pTHX_ const OP *o)
3063 __attribute__nonnull__(pTHX_1);
3064#define PERL_ARGS_ASSERT_OP_DUMP \
3065 assert(o)
3066
3067PERL_CALLCONV void Perl_op_free(pTHX_ OP* arg);
5983a79d
BM
3068PERL_CALLCONV OP* Perl_op_linklist(pTHX_ OP *o)
3069 __attribute__nonnull__(pTHX_1);
3070#define PERL_ARGS_ASSERT_OP_LINKLIST \
3071 assert(o)
3072
d3d7d28f
FC
3073/* PERL_CALLCONV OP* op_lvalue(pTHX_ OP* o, I32 type); */
3074PERL_CALLCONV OP* Perl_op_lvalue_flags(pTHX_ OP* o, I32 type, U32 flags);
e8a67806
NC
3075PERL_CALLCONV void Perl_op_null(pTHX_ OP* o)
3076 __attribute__nonnull__(pTHX_1);
3077#define PERL_ARGS_ASSERT_OP_NULL \
3078 assert(o)
3079
2fcb4757 3080PERL_CALLCONV OP* Perl_op_prepend_elem(pTHX_ I32 optype, OP* first, OP* last);
e8a67806
NC
3081PERL_CALLCONV void Perl_op_refcnt_lock(pTHX);
3082PERL_CALLCONV void Perl_op_refcnt_unlock(pTHX);
3ad73efd 3083PERL_CALLCONV OP* Perl_op_scope(pTHX_ OP* o);
705fe0e5 3084PERL_CALLCONV OP* Perl_op_unscope(pTHX_ OP* o);
e8a67806
NC
3085PERL_CALLCONV void Perl_pack_cat(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist, SV ***next_in_list, U32 flags)
3086 __attribute__nonnull__(pTHX_1)
3087 __attribute__nonnull__(pTHX_2)
3088 __attribute__nonnull__(pTHX_3)
3089 __attribute__nonnull__(pTHX_4)
3090 __attribute__nonnull__(pTHX_5)
3091 __attribute__nonnull__(pTHX_6);
3092#define PERL_ARGS_ASSERT_PACK_CAT \
3093 assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist); assert(next_in_list)
3094
6fa4d285
DG
3095PERL_CALLCONV void Perl_package_version(pTHX_ OP* v)
3096 __attribute__nonnull__(pTHX_1);
3097#define PERL_ARGS_ASSERT_PACKAGE_VERSION \
3098 assert(v)
3099
e8a67806
NC
3100PERL_CALLCONV void Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist)
3101 __attribute__nonnull__(pTHX_1)
3102 __attribute__nonnull__(pTHX_2)
3103 __attribute__nonnull__(pTHX_3)
3104 __attribute__nonnull__(pTHX_4)
3105 __attribute__nonnull__(pTHX_5);
3106#define PERL_ARGS_ASSERT_PACKLIST \
3107 assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist)
3108
cc76b5cc 3109PERL_CALLCONV PADOFFSET Perl_pad_add_anon(pTHX_ CV* func, I32 optype)
abb2c242 3110 __attribute__nonnull__(pTHX_1);
e8a67806 3111#define PERL_ARGS_ASSERT_PAD_ADD_ANON \
cc76b5cc 3112 assert(func)
e8a67806 3113
cc76b5cc 3114PERL_CALLCONV PADOFFSET Perl_pad_add_name_pv(pTHX_ const char *name, const U32 flags, HV *typestash, HV *ourstash)
e8a67806 3115 __attribute__nonnull__(pTHX_1);
cc76b5cc
Z
3116#define PERL_ARGS_ASSERT_PAD_ADD_NAME_PV \
3117 assert(name)
3118
0e1b3a4b 3119PERL_CALLCONV PADOFFSET Perl_pad_add_name_pvn(pTHX_ const char *namepv, STRLEN namelen, U32 flags, HV *typestash, HV *ourstash)
cc76b5cc
Z
3120 __attribute__nonnull__(pTHX_1);
3121#define PERL_ARGS_ASSERT_PAD_ADD_NAME_PVN \
3122 assert(namepv)
3123
0e1b3a4b 3124PERL_CALLCONV PADOFFSET Perl_pad_add_name_sv(pTHX_ SV *name, U32 flags, HV *typestash, HV *ourstash)
cc76b5cc
Z
3125 __attribute__nonnull__(pTHX_1);
3126#define PERL_ARGS_ASSERT_PAD_ADD_NAME_SV \
7918f24d 3127 assert(name)
f54cb97a 3128
e8a67806
NC
3129PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
3130PERL_CALLCONV void Perl_pad_block_start(pTHX_ int full);
3131PERL_CALLCONV HV* Perl_pad_compname_type(pTHX_ const PADOFFSET po)
3132 __attribute__warn_unused_result__;
3133
cc76b5cc 3134PERL_CALLCONV PADOFFSET Perl_pad_findmy_pv(pTHX_ const char* name, U32 flags)
cc76b5cc
Z
3135 __attribute__nonnull__(pTHX_1);
3136#define PERL_ARGS_ASSERT_PAD_FINDMY_PV \
3137 assert(name)
3138
3139PERL_CALLCONV PADOFFSET Perl_pad_findmy_pvn(pTHX_ const char* namepv, STRLEN namelen, U32 flags)
cc76b5cc
Z
3140 __attribute__nonnull__(pTHX_1);
3141#define PERL_ARGS_ASSERT_PAD_FINDMY_PVN \
3142 assert(namepv)
3143
3144PERL_CALLCONV PADOFFSET Perl_pad_findmy_sv(pTHX_ SV* name, U32 flags)
abb2c242 3145 __attribute__nonnull__(pTHX_1);
cc76b5cc 3146#define PERL_ARGS_ASSERT_PAD_FINDMY_SV \
7918f24d 3147 assert(name)
f54cb97a 3148
e8a67806 3149PERL_CALLCONV void Perl_pad_fixup_inner_anons(pTHX_ PADLIST *padlist, CV *old_cv, CV *new_cv)
abb2c242 3150 __attribute__nonnull__(pTHX_1)
e8a67806 3151 __attribute__nonnull__(pTHX_2)
abb2c242 3152 __attribute__nonnull__(pTHX_3);
e8a67806
NC
3153#define PERL_ARGS_ASSERT_PAD_FIXUP_INNER_ANONS \
3154 assert(padlist); assert(old_cv); assert(new_cv)
f54cb97a 3155
e8a67806 3156PERL_CALLCONV void Perl_pad_free(pTHX_ PADOFFSET po);
6d5c2147 3157PERL_CALLCONV OP * Perl_pad_leavemy(pTHX);
e8a67806
NC
3158PERL_CALLCONV PADLIST* Perl_pad_new(pTHX_ int flags)
3159 __attribute__malloc__
3160 __attribute__warn_unused_result__;
f54cb97a 3161
e8a67806 3162PERL_CALLCONV void Perl_pad_push(pTHX_ PADLIST *padlist, int depth)
abb2c242 3163 __attribute__nonnull__(pTHX_1);
e8a67806
NC
3164#define PERL_ARGS_ASSERT_PAD_PUSH \
3165 assert(padlist)
f54cb97a 3166
e8a67806
NC
3167PERL_CALLCONV void Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust);
3168PERL_CALLCONV void Perl_pad_tidy(pTHX_ padtidy_type type);
7261499d
FC
3169PERL_CALLCONV PAD ** Perl_padlist_store(pTHX_ PADLIST *padlist, I32 key, PAD *val)
3170 __attribute__nonnull__(pTHX_1);
3171#define PERL_ARGS_ASSERT_PADLIST_STORE \
3172 assert(padlist)
3173
78cdf107 3174PERL_CALLCONV OP* Perl_parse_arithexpr(pTHX_ U32 flags);
8359b381 3175PERL_CALLCONV OP* Perl_parse_barestmt(pTHX_ U32 flags);
e53d8f76 3176PERL_CALLCONV OP* Perl_parse_block(pTHX_ U32 flags);
78cdf107 3177PERL_CALLCONV OP* Perl_parse_fullexpr(pTHX_ U32 flags);
e8a67806 3178PERL_CALLCONV OP* Perl_parse_fullstmt(pTHX_ U32 flags);
361d9b55 3179PERL_CALLCONV SV* Perl_parse_label(pTHX_ U32 flags);
78cdf107 3180PERL_CALLCONV OP* Perl_parse_listexpr(pTHX_ U32 flags);
07ffcb73 3181PERL_CALLCONV OP* Perl_parse_stmtseq(pTHX_ U32 flags);
78cdf107 3182PERL_CALLCONV OP* Perl_parse_termexpr(pTHX_ U32 flags);
e8a67806 3183PERL_CALLCONV U32 Perl_parse_unicode_opts(pTHX_ const char **popt)
255164ba 3184 __attribute__nonnull__(pTHX_1);
e8a67806
NC
3185#define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS \
3186 assert(popt)
255164ba 3187
e8a67806 3188PERL_CALLCONV void Perl_parser_free(pTHX_ const yy_parser *parser)
780a5241 3189 __attribute__nonnull__(pTHX_1);
e8a67806
NC
3190#define PERL_ARGS_ASSERT_PARSER_FREE \
3191 assert(parser)
780a5241 3192
e8a67806
NC
3193PERL_CALLCONV void Perl_peep(pTHX_ OP* o);
3194PERL_CALLCONV PerlInterpreter* perl_alloc(void);
3195PERL_CALLCONV void perl_construct(PerlInterpreter *my_perl)
3196 __attribute__nonnull__(1);
3197#define PERL_ARGS_ASSERT_PERL_CONSTRUCT \
3198 assert(my_perl)
f54cb97a 3199
e8a67806
NC
3200PERL_CALLCONV int perl_destruct(PerlInterpreter *my_perl)
3201 __attribute__nonnull__(1);
3202#define PERL_ARGS_ASSERT_PERL_DESTRUCT \
3203 assert(my_perl)
f54cb97a 3204
e8a67806
NC
3205PERL_CALLCONV void perl_free(PerlInterpreter *my_perl)
3206 __attribute__nonnull__(1);
3207#define PERL_ARGS_ASSERT_PERL_FREE \
3208 assert(my_perl)
f54cb97a 3209
e8a67806
NC
3210PERL_CALLCONV int perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char** argv, char** env)
3211 __attribute__nonnull__(1);
3212#define PERL_ARGS_ASSERT_PERL_PARSE \
3213 assert(my_perl)
2d03de9c 3214
e8a67806
NC
3215PERL_CALLCONV int perl_run(PerlInterpreter *my_perl)
3216 __attribute__nonnull__(1);
3217#define PERL_ARGS_ASSERT_PERL_RUN \
3218 assert(my_perl)
2d03de9c 3219
e8a67806 3220PERL_CALLCONV void Perl_pmop_dump(pTHX_ PMOP* pm);
d63c20f2 3221PERL_CALLCONV OP* Perl_pmruntime(pTHX_ OP *o, OP *expr, bool isreg, I32 floor)
abb2c242
JH
3222 __attribute__nonnull__(pTHX_1)
3223 __attribute__nonnull__(pTHX_2);
7918f24d
NC
3224#define PERL_ARGS_ASSERT_PMRUNTIME \
3225 assert(o); assert(expr)
f54cb97a 3226
1d7c1841 3227PERL_CALLCONV void Perl_pop_scope(pTHX);
74e8ce34
NC
3228PERL_CALLCONV void Perl_populate_isa(pTHX_ const char *name, STRLEN len, ...)
3229 __attribute__nonnull__(pTHX_1);
3230#define PERL_ARGS_ASSERT_POPULATE_ISA \
3231 assert(name)
3232
e8a67806
NC
3233PERL_CALLCONV REGEXP* Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags)
3234 __attribute__nonnull__(pTHX_1);
3235#define PERL_ARGS_ASSERT_PREGCOMP \
3236 assert(pattern)
3237
ea3daa5d 3238PERL_CALLCONV I32 Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, SSize_t minend, SV* screamer, U32 nosave)
e8a67806
NC
3239 __attribute__nonnull__(pTHX_1)
3240 __attribute__nonnull__(pTHX_2)
3241 __attribute__nonnull__(pTHX_3)
3242 __attribute__nonnull__(pTHX_4)
3243 __attribute__nonnull__(pTHX_6);
3244#define PERL_ARGS_ASSERT_PREGEXEC \
3245 assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
3246
3247PERL_CALLCONV void Perl_pregfree(pTHX_ REGEXP* r);
3248PERL_CALLCONV void Perl_pregfree2(pTHX_ REGEXP *rx)
3249 __attribute__nonnull__(pTHX_1);
3250#define PERL_ARGS_ASSERT_PREGFREE2 \
3251 assert(rx)
3252
e8a67806
NC
3253PERL_CALLCONV const char* Perl_prescan_version(pTHX_ const char *s, bool strict, const char** errstr, bool *sqv, int *ssaw_decimal, int *swidth, bool *salpha)
3254 __attribute__nonnull__(pTHX_1);
3255#define PERL_ARGS_ASSERT_PRESCAN_VERSION \
3256 assert(s)
3257
3258PERL_CALLCONV void Perl_ptr_table_clear(pTHX_ PTR_TBL_t *const tbl)
3259 __attribute__deprecated__;
3260
3261PERL_CALLCONV void* Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *const tbl, const void *const sv)
3262 __attribute__warn_unused_result__
3263 __attribute__nonnull__(pTHX_1);
3264#define PERL_ARGS_ASSERT_PTR_TABLE_FETCH \
3265 assert(tbl)
3266
3267PERL_CALLCONV void Perl_ptr_table_free(pTHX_ PTR_TBL_t *const tbl);
3268PERL_CALLCONV PTR_TBL_t* Perl_ptr_table_new(pTHX)
3269 __attribute__malloc__
3270 __attribute__warn_unused_result__;
3271
3272PERL_CALLCONV void Perl_ptr_table_split(pTHX_ PTR_TBL_t *const tbl)
3273 __attribute__nonnull__(pTHX_1);
3274#define PERL_ARGS_ASSERT_PTR_TABLE_SPLIT \
3275 assert(tbl)
3276
3277PERL_CALLCONV void Perl_ptr_table_store(pTHX_ PTR_TBL_t *const tbl, const void *const oldsv, void *const newsv)
3278 __attribute__nonnull__(pTHX_1)
3279 __attribute__nonnull__(pTHX_3);
3280#define PERL_ARGS_ASSERT_PTR_TABLE_STORE \
3281 assert(tbl); assert(newsv)
3282
3283PERL_CALLCONV void Perl_push_scope(pTHX);
3284PERL_CALLCONV char* Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim)
3285 __attribute__nonnull__(pTHX_1)
3286 __attribute__nonnull__(pTHX_2);
3287#define PERL_ARGS_ASSERT_PV_DISPLAY \
3288 assert(dsv); assert(pv)
3289
3290PERL_CALLCONV char* Perl_pv_escape(pTHX_ SV *dsv, char const * const str, const STRLEN count, const STRLEN max, STRLEN * const escaped, const U32 flags)
3291 __attribute__nonnull__(pTHX_1)
3292 __attribute__nonnull__(pTHX_2);
3293#define PERL_ARGS_ASSERT_PV_ESCAPE \
3294 assert(dsv); assert(str)
3295
3296PERL_CALLCONV char* Perl_pv_pretty(pTHX_ SV *dsv, char const * const str, const STRLEN count, const STRLEN max, char const * const start_color, char const * const end_color, const U32 flags)
3297 __attribute__nonnull__(pTHX_1)
3298 __attribute__nonnull__(pTHX_2);
3299#define PERL_ARGS_ASSERT_PV_PRETTY \
3300 assert(dsv); assert(str)
3301
3302PERL_CALLCONV char* Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags)
3303 __attribute__nonnull__(pTHX_1)
3304 __attribute__nonnull__(pTHX_2);
3305#define PERL_ARGS_ASSERT_PV_UNI_DISPLAY \
3306 assert(dsv); assert(spv)
3307
3308PERL_CALLCONV void Perl_qerror(pTHX_ SV* err)
3309 __attribute__nonnull__(pTHX_1);
3310#define PERL_ARGS_ASSERT_QERROR \
3311 assert(err)
3312
37acfcba 3313PERL_CALLCONV REGEXP* Perl_re_compile(pTHX_ SV * const pattern, U32 orig_rx_flags)
e8a67806
NC
3314 __attribute__nonnull__(pTHX_1);
3315#define PERL_ARGS_ASSERT_RE_COMPILE \
3316 assert(pattern)
3317
52a21eb3 3318PERL_CALLCONV char* Perl_re_intuit_start(pTHX_ REGEXP * const rx, SV* sv, const char* const strbeg, char* strpos, char* strend, const U32 flags, re_scream_pos_data *data)
e8a67806
NC
3319 __attribute__nonnull__(pTHX_1)
3320 __attribute__nonnull__(pTHX_3)
52a21eb3
DM
3321 __attribute__nonnull__(pTHX_4)
3322 __attribute__nonnull__(pTHX_5);
e8a67806 3323#define PERL_ARGS_ASSERT_RE_INTUIT_START \
52a21eb3 3324 assert(rx); assert(strbeg); assert(strpos); assert(strend)
e8a67806
NC
3325
3326PERL_CALLCONV SV* Perl_re_intuit_string(pTHX_ REGEXP *const r)
3327 __attribute__nonnull__(pTHX_1);
3328#define PERL_ARGS_ASSERT_RE_INTUIT_STRING \
3329 assert(r)
3330
1067df30 3331PERL_CALLCONV REGEXP* Perl_re_op_compile(pTHX_ SV ** const patternp, int pat_count, OP *expr, const regexp_engine* eng, REGEXP *old_re, bool *is_bare_re, U32 rx_flags, U32 pm_flags)
3c13cae6
DM
3332 __attribute__nonnull__(pTHX_4);
3333#define PERL_ARGS_ASSERT_RE_OP_COMPILE \
3334 assert(eng)
3335
e8a67806
NC
3336PERL_CALLCONV Malloc_t Perl_realloc(Malloc_t where, MEM_SIZE nbytes)
3337 __attribute__malloc__
3338 __attribute__warn_unused_result__;
3339
f59c1a32
CB
3340PERL_CALLCONV void Perl_reentrant_free(pTHX);
3341PERL_CALLCONV void Perl_reentrant_init(pTHX);
3342PERL_CALLCONV void* Perl_reentrant_retry(const char *f, ...)
3343 __attribute__nonnull__(1);
3344#define PERL_ARGS_ASSERT_REENTRANT_RETRY \
3345 assert(f)
3346
3347PERL_CALLCONV void Perl_reentrant_size(pTHX);
e8a67806 3348/* PERL_CALLCONV OP* Perl_ref(pTHX_ OP* o, I32 type); */
20439bc7
Z
3349PERL_CALLCONV HV * Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c, U32 flags);
3350PERL_CALLCONV SV * Perl_refcounted_he_fetch_pv(pTHX_ const struct refcounted_he *chain, const char *key, U32 hash, U32 flags)
3351 __attribute__nonnull__(pTHX_2);
3352#define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PV \
3353 assert(key)
3354
3355PERL_CALLCONV SV * Perl_refcounted_he_fetch_pvn(pTHX_ const struct refcounted_he *chain, const char *keypv, STRLEN keylen, U32 hash, U32 flags)
3356 __attribute__nonnull__(pTHX_2);
3357#define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PVN \
3358 assert(keypv)
3359
3360PERL_CALLCONV SV * Perl_refcounted_he_fetch_sv(pTHX_ const struct refcounted_he *chain, SV *key, U32 hash, U32 flags)
3361 __attribute__nonnull__(pTHX_2);
3362#define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_SV \
3363 assert(key)
3364
e8a67806 3365PERL_CALLCONV void Perl_refcounted_he_free(pTHX_ struct refcounted_he *he);
20439bc7
Z
3366PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_inc(pTHX_ struct refcounted_he *he);
3367PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_new_pv(pTHX_ struct refcounted_he *parent, const char *key, U32 hash, SV *value, U32 flags)
3368 __attribute__nonnull__(pTHX_2);
3369#define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PV \
3370 assert(key)
3371
3372PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_new_pvn(pTHX_ struct refcounted_he *parent, const char *keypv, STRLEN keylen, U32 hash, SV *value, U32 flags)
3373 __attribute__nonnull__(pTHX_2);
3374#define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PVN \
3375 assert(keypv)
3376
3377PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_new_sv(pTHX_ struct refcounted_he *parent, SV *key, U32 hash, SV *value, U32 flags)
3378 __attribute__nonnull__(pTHX_2);
3379#define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_SV \
3380 assert(key)
3381
e8a67806
NC
3382PERL_CALLCONV SV* Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags)
3383 __attribute__nonnull__(pTHX_1);
3384#define PERL_ARGS_ASSERT_REG_NAMED_BUFF \
3385 assert(rx)
3386
3387PERL_CALLCONV SV* Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags)
3388 __attribute__nonnull__(pTHX_1);
3389#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL \
3390 assert(rx)
3391
3392PERL_CALLCONV bool Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags)
3393 __attribute__nonnull__(pTHX_1)
3394 __attribute__nonnull__(pTHX_2);
3395#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS \
3396 assert(rx); assert(key)
3397
3398PERL_CALLCONV SV* Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags)
3399 __attribute__nonnull__(pTHX_1)
3400 __attribute__nonnull__(pTHX_2);
3401#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH \
3402 assert(rx); assert(namesv)
3403
3404PERL_CALLCONV SV* Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags)
3405 __attribute__nonnull__(pTHX_1);
3406#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY \
3407 assert(rx)
3408
3409PERL_CALLCONV SV* Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags)
3410 __attribute__nonnull__(pTHX_1);
3411#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER \
3412 assert(rx)
3413
3414PERL_CALLCONV SV* Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags)
3415 __attribute__nonnull__(pTHX_1);
3416#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
3417 assert(rx)
3418
3419PERL_CALLCONV SV* Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags)
3420 __attribute__nonnull__(pTHX_1);
3421#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR \
3422 assert(rx)
3423
3424PERL_CALLCONV void Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const rx, const I32 paren, SV * const sv)
3425 __attribute__nonnull__(pTHX_1);
3426#define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH \
3427 assert(rx)
3428
3429PERL_CALLCONV I32 Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren)
3430 __attribute__nonnull__(pTHX_1)
3431 __attribute__nonnull__(pTHX_2);
3432#define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH \
3433 assert(rx); assert(sv)
3434
3435PERL_CALLCONV void Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value)
3436 __attribute__nonnull__(pTHX_1);
3437#define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE \
3438 assert(rx)
3439
3440PERL_CALLCONV SV* Perl_reg_qr_package(pTHX_ REGEXP * const rx)
3441 __attribute__nonnull__(pTHX_1);
3442#define PERL_ARGS_ASSERT_REG_QR_PACKAGE \
3443 assert(rx)
3444
3445PERL_CALLCONV REGEXP* Perl_reg_temp_copy(pTHX_ REGEXP* ret_x, REGEXP* rx)
3446 __attribute__nonnull__(pTHX_2);
3447#define PERL_ARGS_ASSERT_REG_TEMP_COPY \
3448 assert(rx)
3449
3450PERL_CALLCONV SV* Perl_regclass_swash(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **altsvp)
3451 __attribute__nonnull__(pTHX_2);
3452#define PERL_ARGS_ASSERT_REGCLASS_SWASH \
3453 assert(node)
3454
3455PERL_CALLCONV void Perl_regdump(pTHX_ const regexp* r)
3456 __attribute__nonnull__(pTHX_1);
3457#define PERL_ARGS_ASSERT_REGDUMP \
3458 assert(r)
3459
ea3daa5d 3460PERL_CALLCONV I32 Perl_regexec_flags(pTHX_ REGEXP *const rx, char *stringarg, char *strend, char *strbeg, SSize_t minend, SV *sv, void *data, U32 flags)
e8a67806
NC
3461 __attribute__nonnull__(pTHX_1)
3462 __attribute__nonnull__(pTHX_2)
3463 __attribute__nonnull__(pTHX_3)
3464 __attribute__nonnull__(pTHX_4)
3465 __attribute__nonnull__(pTHX_6);
3466#define PERL_ARGS_ASSERT_REGEXEC_FLAGS \
3467 assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv)
3468
3469PERL_CALLCONV void Perl_regfree_internal(pTHX_ REGEXP *const rx)
3470 __attribute__nonnull__(pTHX_1);
3471#define PERL_ARGS_ASSERT_REGFREE_INTERNAL \
3472 assert(rx)
3473
3474PERL_CALLCONV void Perl_reginitcolors(pTHX);
3475PERL_CALLCONV regnode* Perl_regnext(pTHX_ regnode* p)
3476 __attribute__warn_unused_result__;
3477
3478PERL_CALLCONV void Perl_regprop(pTHX_ const regexp *prog, SV* sv, const regnode* o)
3479 __attribute__nonnull__(pTHX_2)
3480 __attribute__nonnull__(pTHX_3);
3481#define PERL_ARGS_ASSERT_REGPROP \
3482 assert(sv); assert(o)
3483
26e1303d 3484PERL_CALLCONV void Perl_repeatcpy(char* to, const char* from, I32 len, IV count)
e8a67806
NC
3485 __attribute__nonnull__(1)
3486 __attribute__nonnull__(2);
3487#define PERL_ARGS_ASSERT_REPEATCPY \
3488 assert(to); assert(from)
3489
831e4cc3 3490PERL_CALLCONV void Perl_report_evil_fh(pTHX_ const GV *gv);
e8a67806 3491PERL_CALLCONV void Perl_report_uninit(pTHX_ const SV *uninit_sv);
a5390457 3492PERL_CALLCONV void Perl_report_wrongway_fh(pTHX_ const GV *gv, const char have);
e8a67806
NC
3493PERL_CALLCONV void Perl_require_pv(pTHX_ const char* pv)
3494 __attribute__nonnull__(pTHX_1);
3495#define PERL_ARGS_ASSERT_REQUIRE_PV \
3496 assert(pv)
3497
3498PERL_CALLCONV char* Perl_rninstr(const char* big, const char* bigend, const char* little, const char* lend)
3499 __attribute__pure__
3500 __attribute__nonnull__(1)
3501 __attribute__nonnull__(2)
3502 __attribute__nonnull__(3)
3503 __attribute__nonnull__(4);
3504#define PERL_ARGS_ASSERT_RNINSTR \
3505 assert(big); assert(bigend); assert(little); assert(lend)
3506
3507PERL_CALLCONV void Perl_rpeep(pTHX_ OP* o);
3508PERL_CALLCONV Sighandler_t Perl_rsignal(pTHX_ int i, Sighandler_t t);
3509PERL_CALLCONV int Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t);
3510PERL_CALLCONV int Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* save)
3511 __attribute__nonnull__(pTHX_3);
3512#define PERL_ARGS_ASSERT_RSIGNAL_SAVE \
3513 assert(save)
3514
3515PERL_CALLCONV Sighandler_t Perl_rsignal_state(pTHX_ int i);
3516PERL_CALLCONV int Perl_runops_debug(pTHX);
3517PERL_CALLCONV int Perl_runops_standard(pTHX);
d9088386
Z
3518PERL_CALLCONV CV* Perl_rv2cv_op_cv(pTHX_ OP *cvop, U32 flags)
3519 __attribute__nonnull__(pTHX_1);
3520#define PERL_ARGS_ASSERT_RV2CV_OP_CV \
3521 assert(cvop)
3522
e8a67806
NC
3523PERL_CALLCONV void Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx)
3524 __attribute__nonnull__(pTHX_1)
3525 __attribute__nonnull__(pTHX_2);
3526#define PERL_ARGS_ASSERT_RXRES_SAVE \
3527 assert(rsp); assert(rx)
3528
3529PERL_CALLCONV Malloc_t Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size)
3530 __attribute__malloc__
3531 __attribute__warn_unused_result__;
3532
3533PERL_CALLCONV Free_t Perl_safesysfree(Malloc_t where);
3534PERL_CALLCONV Malloc_t Perl_safesysmalloc(MEM_SIZE nbytes)
3535 __attribute__malloc__
3536 __attribute__warn_unused_result__;
3537
3538PERL_CALLCONV Malloc_t Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes)
3539 __attribute__malloc__
3540 __attribute__warn_unused_result__;
3541
3542PERL_CALLCONV void Perl_save_I16(pTHX_ I16* intp)
3543 __attribute__nonnull__(pTHX_1);
3544#define PERL_ARGS_ASSERT_SAVE_I16 \
3545 assert(intp)
3546
3547PERL_CALLCONV void Perl_save_I32(pTHX_ I32* intp)
3548 __attribute__nonnull__(pTHX_1);
3549#define PERL_ARGS_ASSERT_SAVE_I32 \
3550 assert(intp)
3551
3552PERL_CALLCONV void Perl_save_I8(pTHX_ I8* bytep)
3553 __attribute__nonnull__(pTHX_1);
3554#define PERL_ARGS_ASSERT_SAVE_I8 \
3555 assert(bytep)
3556
c70927a6 3557PERL_CALLCONV void Perl_save_adelete(pTHX_ AV *av, SSize_t key)
e8a67806
NC
3558 __attribute__nonnull__(pTHX_1);
3559#define PERL_ARGS_ASSERT_SAVE_ADELETE \
3560 assert(av)
3561
c70927a6 3562/* PERL_CALLCONV void Perl_save_aelem(pTHX_ AV* av, SSize_t idx, SV **sptr)
e8a67806
NC
3563 __attribute__nonnull__(pTHX_1)
3564 __attribute__nonnull__(pTHX_3); */
3565
c70927a6 3566PERL_CALLCONV void Perl_save_aelem_flags(pTHX_ AV* av, SSize_t idx, SV **sptr, const U32 flags)
e8a67806
NC
3567 __attribute__nonnull__(pTHX_1)
3568 __attribute__nonnull__(pTHX_3);
3569#define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS \
3570 assert(av); assert(sptr)
3571
3572PERL_CALLCONV I32 Perl_save_alloc(pTHX_ I32 size, I32 pad);
3573PERL_CALLCONV void Perl_save_aptr(pTHX_ AV** aptr)
3574 __attribute__nonnull__(pTHX_1);
3575#define PERL_ARGS_ASSERT_SAVE_APTR \
3576 assert(aptr)
3577
3578PERL_CALLCONV AV* Perl_save_ary(pTHX_ GV* gv)
3579 __attribute__nonnull__(pTHX_1);
3580#define PERL_ARGS_ASSERT_SAVE_ARY \
3581 assert(gv)
3582
3583PERL_CALLCONV void Perl_save_bool(pTHX_ bool* boolp)
3584 __attribute__nonnull__(pTHX_1);
3585#define PERL_ARGS_ASSERT_SAVE_BOOL \
3586 assert(boolp)
3587
3588PERL_CALLCONV void Perl_save_clearsv(pTHX_ SV** svp)
3589 __attribute__nonnull__(pTHX_1);
3590#define PERL_ARGS_ASSERT_SAVE_CLEARSV \
3591 assert(svp)
3592
3593PERL_CALLCONV void Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen)
3594 __attribute__nonnull__(pTHX_1)
3595 __attribute__nonnull__(pTHX_2);
3596#define PERL_ARGS_ASSERT_SAVE_DELETE \
3597 assert(hv); assert(key)
3598
3599PERL_CALLCONV void Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p)
3600 __attribute__nonnull__(pTHX_2);
3601#define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR \
3602 assert(p)
3603
3604PERL_CALLCONV void Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p);
3605/* PERL_CALLCONV void Perl_save_freeop(pTHX_ OP* o); */
3606/* PERL_CALLCONV void Perl_save_freepv(pTHX_ char* pv); */
3607/* PERL_CALLCONV void Perl_save_freesv(pTHX_ SV* sv); */
3608PERL_CALLCONV void Perl_save_generic_pvref(pTHX_ char** str)
3609 __attribute__nonnull__(pTHX_1);
3610#define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF \
3611 assert(str)
3612
3613PERL_CALLCONV void Perl_save_generic_svr