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