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