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