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