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