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