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