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