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