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