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