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