This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add Perl_op_class(o) API function
[perl5.git] / proto.h
CommitLineData
78102347 1/* -*- buffer-read-only: t -*-
37442d52 2 *
f5e3445d
RGS
3 * proto.h
4 *
78102347
NC
5 * Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
6 * 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by Larry Wall and others
f5e3445d
RGS
7 *
8 * You may distribute under the terms of either the GNU General Public
9 * License or the Artistic License, as specified in the README file.
10 *
11 * !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
d7cb65f2 12 * This file is built by regen/embed.pl from data in embed.fnc,
78102347 13 * regen/embed.pl, regen/opcodes, intrpvar.h and perlvars.h.
f5e3445d
RGS
14 * Any changes made here will be lost!
15 *
16 * Edit those files and run 'make regen_headers' to effect changes.
17 */
1d7c1841 18
1d7c1841 19START_EXTERN_C
3f1866a8 20#ifndef NO_MATHOMS
3d81eea6
KW
21PERL_CALLCONV UV ASCII_TO_NEED(const UV enc, const UV ch)
22 __attribute__deprecated__
23 __attribute__warn_unused_result__
24 __attribute__pure__;
3f1866a8 25#endif
3d81eea6 26
6ba07ce1 27PERL_CALLCONV int Perl_Gv_AMupdate(pTHX_ HV* stash, bool destructing);
e8a67806
NC
28#define PERL_ARGS_ASSERT_GV_AMUPDATE \
29 assert(stash)
3f1866a8 30#ifndef NO_MATHOMS
3d81eea6
KW
31PERL_CALLCONV UV NATIVE_TO_NEED(const UV enc, const UV ch)
32 __attribute__deprecated__
33 __attribute__warn_unused_result__
34 __attribute__pure__;
3f1866a8 35#endif
3d81eea6 36
e8a67806 37PERL_CALLCONV const char * Perl_PerlIO_context_layers(pTHX_ const char *mode);
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)
9cbfb8ab
KW
44PERL_CALLCONV void Perl__force_out_malformed_utf8_message(pTHX_ const U8 *const p, const U8 * const e, const U32 flags, const bool die_here);
45#define PERL_ARGS_ASSERT__FORCE_OUT_MALFORMED_UTF8_MESSAGE \
46 assert(p); assert(e)
d6ded950 47PERL_CALLCONV bool Perl__is_in_locale_category(pTHX_ const bool compiling, const int category);
922e8cb4
KW
48PERL_CALLCONV bool Perl__is_uni_FOO(pTHX_ const U8 classnum, const UV c)
49 __attribute__warn_unused_result__;
50
eba68aa0
KW
51PERL_CALLCONV bool Perl__is_uni_perl_idcont(pTHX_ UV c)
52 __attribute__warn_unused_result__;
53
f91dcd13
KW
54PERL_CALLCONV bool Perl__is_uni_perl_idstart(pTHX_ UV c)
55 __attribute__warn_unused_result__;
56
34aeb2e9 57PERL_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 58 __attribute__warn_unused_result__;
922e8cb4 59#define PERL_ARGS_ASSERT__IS_UTF8_FOO \
34aeb2e9 60 assert(p); assert(name); assert(alternative); assert(file)
922e8cb4 61
da8c1a98
KW
62PERL_CALLCONV bool Perl__is_utf8_FOO_with_len(pTHX_ const U8 classnum, const U8 *p, const U8 * const e)
63 __attribute__warn_unused_result__;
64#define PERL_ARGS_ASSERT__IS_UTF8_FOO_WITH_LEN \
65 assert(p); assert(e)
66
f2645549 67PERL_CALLCONV bool Perl__is_utf8_idcont(pTHX_ const U8 *p)
6ba07ce1 68 __attribute__warn_unused_result__;
f2645549
KW
69#define PERL_ARGS_ASSERT__IS_UTF8_IDCONT \
70 assert(p)
71
72PERL_CALLCONV bool Perl__is_utf8_idstart(pTHX_ const U8 *p)
6ba07ce1 73 __attribute__warn_unused_result__;
f2645549
KW
74#define PERL_ARGS_ASSERT__IS_UTF8_IDSTART \
75 assert(p)
76
7dbf68d2 77PERL_CALLCONV bool Perl__is_utf8_mark(pTHX_ const U8 *p)
6ba07ce1 78 __attribute__warn_unused_result__;
7dbf68d2
KW
79#define PERL_ARGS_ASSERT__IS_UTF8_MARK \
80 assert(p)
81
da8c1a98
KW
82PERL_CALLCONV bool Perl__is_utf8_perl_idcont_with_len(pTHX_ const U8 *p, const U8 * const e)
83 __attribute__warn_unused_result__;
84#define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDCONT_WITH_LEN \
85 assert(p); assert(e)
86
da8c1a98
KW
87PERL_CALLCONV bool Perl__is_utf8_perl_idstart_with_len(pTHX_ const U8 *p, const U8 * const e)
88 __attribute__warn_unused_result__;
89#define PERL_ARGS_ASSERT__IS_UTF8_PERL_IDSTART_WITH_LEN \
90 assert(p); assert(e)
91
f2645549 92PERL_CALLCONV bool Perl__is_utf8_xidcont(pTHX_ const U8 *p)
6ba07ce1 93 __attribute__warn_unused_result__;
f2645549
KW
94#define PERL_ARGS_ASSERT__IS_UTF8_XIDCONT \
95 assert(p)
96
97PERL_CALLCONV bool Perl__is_utf8_xidstart(pTHX_ const U8 *p)
6ba07ce1 98 __attribute__warn_unused_result__;
f2645549
KW
99#define PERL_ARGS_ASSERT__IS_UTF8_XIDSTART \
100 assert(p)
101
6ba07ce1 102PERL_CALLCONV UV Perl__to_uni_fold_flags(pTHX_ UV c, U8 *p, STRLEN *lenp, U8 flags);
36bb2ab6
KW
103#define PERL_ARGS_ASSERT__TO_UNI_FOLD_FLAGS \
104 assert(p); assert(lenp)
607313a1 105PERL_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 106#define PERL_ARGS_ASSERT__TO_UTF8_FOLD_FLAGS \
607313a1
KW
107 assert(p); assert(ustrp); assert(file)
108PERL_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 109#define PERL_ARGS_ASSERT__TO_UTF8_LOWER_FLAGS \
607313a1
KW
110 assert(p); assert(ustrp); assert(file)
111PERL_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 112#define PERL_ARGS_ASSERT__TO_UTF8_TITLE_FLAGS \
607313a1
KW
113 assert(p); assert(ustrp); assert(file)
114PERL_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 115#define PERL_ARGS_ASSERT__TO_UTF8_UPPER_FLAGS \
607313a1 116 assert(p); assert(ustrp); assert(file)
2726666d 117PERL_CALLCONV void Perl__warn_problematic_locale(void);
6cb4123e 118PERL_CALLCONV LOGOP* Perl_alloc_LOGOP(pTHX_ I32 type, OP *first, OP *other);
6ba07ce1 119PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name, const STRLEN len, const U32 flags);
e8a67806
NC
120#define PERL_ARGS_ASSERT_ALLOCMY \
121 assert(name)
6ba07ce1 122PERL_CALLCONV SV* Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir);
7918f24d
NC
123#define PERL_ARGS_ASSERT_AMAGIC_CALL \
124 assert(left); assert(right)
6ba07ce1 125PERL_CALLCONV SV * Perl_amagic_deref_call(pTHX_ SV *ref, int method);
25a9ffce
NC
126#define PERL_ARGS_ASSERT_AMAGIC_DEREF_CALL \
127 assert(ref)
8d569291 128PERL_CALLCONV bool Perl_amagic_is_enabled(pTHX_ int method);
6ba07ce1 129PERL_CALLCONV I32 Perl_apply(pTHX_ I32 type, SV** mark, SV** sp);
7918f24d
NC
130#define PERL_ARGS_ASSERT_APPLY \
131 assert(mark); assert(sp)
6ba07ce1 132PERL_CALLCONV void Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len);
7918f24d
NC
133#define PERL_ARGS_ASSERT_APPLY_ATTRS_STRING \
134 assert(stashpv); assert(cv); assert(attrstr)
e8a67806
NC
135PERL_CALLCONV void Perl_atfork_lock(void);
136PERL_CALLCONV void Perl_atfork_unlock(void);
6ba07ce1 137PERL_CALLCONV SV** Perl_av_arylen_p(pTHX_ AV *av);
e8a67806
NC
138#define PERL_ARGS_ASSERT_AV_ARYLEN_P \
139 assert(av)
6ba07ce1 140PERL_CALLCONV void Perl_av_clear(pTHX_ AV *av);
7918f24d
NC
141#define PERL_ARGS_ASSERT_AV_CLEAR \
142 assert(av)
6ba07ce1 143PERL_CALLCONV void Perl_av_create_and_push(pTHX_ AV **const avp, SV *const val);
e8a67806
NC
144#define PERL_ARGS_ASSERT_AV_CREATE_AND_PUSH \
145 assert(avp); assert(val)
6ba07ce1 146PERL_CALLCONV SV** Perl_av_create_and_unshift_one(pTHX_ AV **const avp, SV *const val);
e8a67806
NC
147#define PERL_ARGS_ASSERT_AV_CREATE_AND_UNSHIFT_ONE \
148 assert(avp); assert(val)
6ba07ce1 149PERL_CALLCONV SV* Perl_av_delete(pTHX_ AV *av, SSize_t key, I32 flags);
7918f24d
NC
150#define PERL_ARGS_ASSERT_AV_DELETE \
151 assert(av)
c70927a6 152PERL_CALLCONV bool Perl_av_exists(pTHX_ AV *av, SSize_t key)
6ba07ce1 153 __attribute__warn_unused_result__;
7918f24d
NC
154#define PERL_ARGS_ASSERT_AV_EXISTS \
155 assert(av)
a3b680e6 156
6ba07ce1 157PERL_CALLCONV void Perl_av_extend(pTHX_ AV *av, SSize_t key);
7918f24d
NC
158#define PERL_ARGS_ASSERT_AV_EXTEND \
159 assert(av)
6ba07ce1 160PERL_CALLCONV void Perl_av_extend_guts(pTHX_ AV *av, SSize_t key, SSize_t *maxp, SV ***allocp, SV ***arrayp);
7261499d
FC
161#define PERL_ARGS_ASSERT_AV_EXTEND_GUTS \
162 assert(maxp); assert(allocp); assert(arrayp)
c70927a6 163PERL_CALLCONV SV** Perl_av_fetch(pTHX_ AV *av, SSize_t key, I32 lval)
6ba07ce1 164 __attribute__warn_unused_result__;
7918f24d
NC
165#define PERL_ARGS_ASSERT_AV_FETCH \
166 assert(av)
a3b680e6 167
6ba07ce1 168PERL_CALLCONV void Perl_av_fill(pTHX_ AV *av, SSize_t fill);
7918f24d
NC
169#define PERL_ARGS_ASSERT_AV_FILL \
170 assert(av)
6ba07ce1 171PERL_CALLCONV IV* Perl_av_iter_p(pTHX_ AV *av);
e8a67806
NC
172#define PERL_ARGS_ASSERT_AV_ITER_P \
173 assert(av)
c70927a6 174PERL_CALLCONV SSize_t Perl_av_len(pTHX_ AV *av)
6ba07ce1 175 __attribute__warn_unused_result__;
7918f24d
NC
176#define PERL_ARGS_ASSERT_AV_LEN \
177 assert(av)
a3b680e6 178
c70927a6 179PERL_CALLCONV AV* Perl_av_make(pTHX_ SSize_t size, SV **strp)
6ba07ce1 180 __attribute__warn_unused_result__;
7918f24d
NC
181#define PERL_ARGS_ASSERT_AV_MAKE \
182 assert(strp)
a3b680e6 183
6ba07ce1 184PERL_CALLCONV SV* Perl_av_pop(pTHX_ AV *av);
7918f24d
NC
185#define PERL_ARGS_ASSERT_AV_POP \
186 assert(av)
6ba07ce1 187PERL_CALLCONV void Perl_av_push(pTHX_ AV *av, SV *val);
7918f24d 188#define PERL_ARGS_ASSERT_AV_PUSH \
06942096 189 assert(av); assert(val)
6ba07ce1 190PERL_CALLCONV void Perl_av_reify(pTHX_ AV *av);
7918f24d
NC
191#define PERL_ARGS_ASSERT_AV_REIFY \
192 assert(av)
4048f010 193PERL_CALLCONV SV* Perl_av_shift(pTHX_ AV *av)
6ba07ce1 194 __attribute__warn_unused_result__;
7918f24d
NC
195#define PERL_ARGS_ASSERT_AV_SHIFT \
196 assert(av)
7a5b473e 197
6ba07ce1 198PERL_CALLCONV SV** Perl_av_store(pTHX_ AV *av, SSize_t key, SV *val);
7918f24d
NC
199#define PERL_ARGS_ASSERT_AV_STORE \
200 assert(av)
c70927a6 201/* PERL_CALLCONV SSize_t Perl_av_tindex(pTHX_ AV *av)
6ba07ce1 202 __attribute__warn_unused_result__; */
12719193 203
6ba07ce1 204PERL_CALLCONV void Perl_av_undef(pTHX_ AV *av);
7918f24d
NC
205#define PERL_ARGS_ASSERT_AV_UNDEF \
206 assert(av)
6ba07ce1 207PERL_CALLCONV void Perl_av_unshift(pTHX_ AV *av, SSize_t num);
7918f24d
NC
208#define PERL_ARGS_ASSERT_AV_UNSHIFT \
209 assert(av)
4048f010 210PERL_CALLCONV OP* Perl_bind_match(pTHX_ I32 type, OP *left, OP *right)
6ba07ce1 211 __attribute__warn_unused_result__;
7918f24d
NC
212#define PERL_ARGS_ASSERT_BIND_MATCH \
213 assert(left); assert(right)
a3b680e6
AL
214
215PERL_CALLCONV OP* Perl_block_end(pTHX_ I32 floor, OP* seq)
6472dca1 216 __attribute__warn_unused_result__;
a3b680e6 217
1c23e2bd 218PERL_CALLCONV U8 Perl_block_gimme(pTHX)
abb2c242 219 __attribute__warn_unused_result__;
a3b680e6
AL
220
221PERL_CALLCONV int Perl_block_start(pTHX_ int full)
abb2c242 222 __attribute__warn_unused_result__;
a3b680e6 223
6ba07ce1 224PERL_CALLCONV void Perl_blockhook_register(pTHX_ BHK *hk);
bb6c22e7
BM
225#define PERL_ARGS_ASSERT_BLOCKHOOK_REGISTER \
226 assert(hk)
36ed5425 227PERL_CALLCONV void Perl_boot_core_PerlIO(pTHX);
e8a67806
NC
228PERL_CALLCONV void Perl_boot_core_UNIVERSAL(pTHX);
229PERL_CALLCONV void Perl_boot_core_mro(pTHX);
6ba07ce1 230PERL_CALLCONV int Perl_bytes_cmp_utf8(pTHX_ const U8 *b, STRLEN blen, const U8 *u, STRLEN ulen);
fed3ba5d
NC
231#define PERL_ARGS_ASSERT_BYTES_CMP_UTF8 \
232 assert(b); assert(u)
6ba07ce1 233PERL_CALLCONV U8* Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *len, bool *is_utf8);
e8a67806
NC
234#define PERL_ARGS_ASSERT_BYTES_FROM_UTF8 \
235 assert(s); assert(len)
6ba07ce1 236PERL_CALLCONV U8* Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *len);
e8a67806
NC
237#define PERL_ARGS_ASSERT_BYTES_TO_UTF8 \
238 assert(s); assert(len)
6ba07ce1 239PERL_CALLCONV I32 Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv);
e8a67806
NC
240#define PERL_ARGS_ASSERT_CALL_ARGV \
241 assert(sub_name); assert(argv)
e8a67806 242PERL_CALLCONV void Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr);
6ba07ce1 243PERL_CALLCONV void Perl_call_list(pTHX_ I32 oldscope, AV *paramList);
7918f24d
NC
244#define PERL_ARGS_ASSERT_CALL_LIST \
245 assert(paramList)
6ba07ce1 246PERL_CALLCONV I32 Perl_call_method(pTHX_ const char* methname, I32 flags);
e8a67806
NC
247#define PERL_ARGS_ASSERT_CALL_METHOD \
248 assert(methname)
6ba07ce1 249PERL_CALLCONV I32 Perl_call_pv(pTHX_ const char* sub_name, I32 flags);
e8a67806
NC
250#define PERL_ARGS_ASSERT_CALL_PV \
251 assert(sub_name)
6ba07ce1 252PERL_CALLCONV I32 Perl_call_sv(pTHX_ SV* sv, VOL I32 flags);
e8a67806
NC
253#define PERL_ARGS_ASSERT_CALL_SV \
254 assert(sv)
2fefa6c7 255PERL_CALLCONV const PERL_CONTEXT * Perl_caller_cx(pTHX_ I32 level, const PERL_CONTEXT **dbcxp);
e8a67806
NC
256PERL_CALLCONV Malloc_t Perl_calloc(MEM_SIZE elements, MEM_SIZE size)
257 __attribute__malloc__
258 __attribute__warn_unused_result__;
259
ae1951c1 260PERL_CALLCONV bool Perl_cando(pTHX_ Mode_t mode, bool effective, const Stat_t* statbufp)
6ba07ce1 261 __attribute__warn_unused_result__;
7918f24d
NC
262#define PERL_ARGS_ASSERT_CANDO \
263 assert(statbufp)
f54cb97a 264
ddeaf645 265PERL_CALLCONV I32 Perl_cast_i32(NV f)
53c1dcc0
AL
266 __attribute__warn_unused_result__;
267
ddeaf645 268PERL_CALLCONV IV Perl_cast_iv(NV f)
53c1dcc0
AL
269 __attribute__warn_unused_result__;
270
ddeaf645 271PERL_CALLCONV U32 Perl_cast_ulong(NV f)
53c1dcc0
AL
272 __attribute__warn_unused_result__;
273
ddeaf645 274PERL_CALLCONV UV Perl_cast_uv(NV f)
53c1dcc0
AL
275 __attribute__warn_unused_result__;
276
6ba07ce1 277PERL_CALLCONV bool Perl_check_utf8_print(pTHX_ const U8 *s, const STRLEN len);
0876b9a0
KW
278#define PERL_ARGS_ASSERT_CHECK_UTF8_PRINT \
279 assert(s)
e8a67806 280PERL_CALLCONV OP * Perl_ck_anoncode(pTHX_ OP *o)
6ba07ce1 281 __attribute__warn_unused_result__;
e8a67806
NC
282#define PERL_ARGS_ASSERT_CK_ANONCODE \
283 assert(o)
2fefa6c7 284
9ce1fb7d 285PERL_CALLCONV OP * Perl_ck_backtick(pTHX_ OP *o)
6ba07ce1 286 __attribute__warn_unused_result__;
9ce1fb7d
FC
287#define PERL_ARGS_ASSERT_CK_BACKTICK \
288 assert(o)
289
e8a67806 290PERL_CALLCONV OP * Perl_ck_bitop(pTHX_ OP *o)
6ba07ce1 291 __attribute__warn_unused_result__;
e8a67806
NC
292#define PERL_ARGS_ASSERT_CK_BITOP \
293 assert(o)
2fefa6c7 294
89474f50 295PERL_CALLCONV OP * Perl_ck_cmp(pTHX_ OP *o)
6ba07ce1 296 __attribute__warn_unused_result__;
89474f50
FC
297#define PERL_ARGS_ASSERT_CK_CMP \
298 assert(o)
299
e8a67806 300PERL_CALLCONV OP * Perl_ck_concat(pTHX_ OP *o)
6ba07ce1 301 __attribute__warn_unused_result__;
e8a67806
NC
302#define PERL_ARGS_ASSERT_CK_CONCAT \
303 assert(o)
9dcc53ea 304
e8a67806 305PERL_CALLCONV OP * Perl_ck_defined(pTHX_ OP *o)
6ba07ce1 306 __attribute__warn_unused_result__;
e8a67806
NC
307#define PERL_ARGS_ASSERT_CK_DEFINED \
308 assert(o)
f54cb97a 309
e8a67806 310PERL_CALLCONV OP * Perl_ck_delete(pTHX_ OP *o)
6ba07ce1 311 __attribute__warn_unused_result__;
e8a67806
NC
312#define PERL_ARGS_ASSERT_CK_DELETE \
313 assert(o)
f54cb97a 314
e8a67806 315PERL_CALLCONV OP * Perl_ck_each(pTHX_ OP *o)
6ba07ce1 316 __attribute__warn_unused_result__;
e8a67806
NC
317#define PERL_ARGS_ASSERT_CK_EACH \
318 assert(o)
f54cb97a 319
6ba07ce1 320PERL_CALLCONV OP* Perl_ck_entersub_args_core(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
4aaa4757
FC
321#define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_CORE \
322 assert(entersubop); assert(namegv); assert(protosv)
6ba07ce1 323PERL_CALLCONV OP* Perl_ck_entersub_args_list(pTHX_ OP *entersubop);
d9088386
Z
324#define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_LIST \
325 assert(entersubop)
6ba07ce1 326PERL_CALLCONV OP* Perl_ck_entersub_args_proto(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
d9088386
Z
327#define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO \
328 assert(entersubop); assert(namegv); assert(protosv)
6ba07ce1 329PERL_CALLCONV OP* Perl_ck_entersub_args_proto_or_list(pTHX_ OP *entersubop, GV *namegv, SV *protosv);
d9088386
Z
330#define PERL_ARGS_ASSERT_CK_ENTERSUB_ARGS_PROTO_OR_LIST \
331 assert(entersubop); assert(namegv); assert(protosv)
e8a67806 332PERL_CALLCONV OP * Perl_ck_eof(pTHX_ OP *o)
6ba07ce1 333 __attribute__warn_unused_result__;
e8a67806
NC
334#define PERL_ARGS_ASSERT_CK_EOF \
335 assert(o)
cbf82dd0 336
e8a67806 337PERL_CALLCONV OP * Perl_ck_eval(pTHX_ OP *o)
6ba07ce1 338 __attribute__warn_unused_result__;
e8a67806
NC
339#define PERL_ARGS_ASSERT_CK_EVAL \
340 assert(o)
f54cb97a 341
e8a67806 342PERL_CALLCONV OP * Perl_ck_exec(pTHX_ OP *o)
6ba07ce1 343 __attribute__warn_unused_result__;
e8a67806
NC
344#define PERL_ARGS_ASSERT_CK_EXEC \
345 assert(o)
62d55b22 346
e8a67806 347PERL_CALLCONV OP * Perl_ck_exists(pTHX_ OP *o)
6ba07ce1 348 __attribute__warn_unused_result__;
e8a67806
NC
349#define PERL_ARGS_ASSERT_CK_EXISTS \
350 assert(o)
255164ba 351
e8a67806 352PERL_CALLCONV OP * Perl_ck_ftst(pTHX_ OP *o)
6ba07ce1 353 __attribute__warn_unused_result__;
e8a67806
NC
354#define PERL_ARGS_ASSERT_CK_FTST \
355 assert(o)
255164ba 356
e8a67806 357PERL_CALLCONV OP * Perl_ck_fun(pTHX_ OP *o)
6ba07ce1 358 __attribute__warn_unused_result__;
e8a67806
NC
359#define PERL_ARGS_ASSERT_CK_FUN \
360 assert(o)
255164ba 361
e8a67806 362PERL_CALLCONV OP * Perl_ck_glob(pTHX_ OP *o)
6ba07ce1 363 __attribute__warn_unused_result__;
e8a67806
NC
364#define PERL_ARGS_ASSERT_CK_GLOB \
365 assert(o)
255164ba 366
e8a67806 367PERL_CALLCONV OP * Perl_ck_grep(pTHX_ OP *o)
6ba07ce1 368 __attribute__warn_unused_result__;
e8a67806
NC
369#define PERL_ARGS_ASSERT_CK_GREP \
370 assert(o)
255164ba 371
e8a67806 372PERL_CALLCONV OP * Perl_ck_index(pTHX_ OP *o)
6ba07ce1 373 __attribute__warn_unused_result__;
e8a67806
NC
374#define PERL_ARGS_ASSERT_CK_INDEX \
375 assert(o)
f54cb97a 376
e8a67806 377PERL_CALLCONV OP * Perl_ck_join(pTHX_ OP *o)
6ba07ce1 378 __attribute__warn_unused_result__;
e8a67806
NC
379#define PERL_ARGS_ASSERT_CK_JOIN \
380 assert(o)
f54cb97a 381
e508c8a4 382PERL_CALLCONV OP * Perl_ck_length(pTHX_ OP *o)
6ba07ce1 383 __attribute__warn_unused_result__;
e508c8a4
MH
384#define PERL_ARGS_ASSERT_CK_LENGTH \
385 assert(o)
386
e8a67806 387PERL_CALLCONV OP * Perl_ck_lfun(pTHX_ OP *o)
6ba07ce1 388 __attribute__warn_unused_result__;
e8a67806
NC
389#define PERL_ARGS_ASSERT_CK_LFUN \
390 assert(o)
f54cb97a 391
e8a67806 392PERL_CALLCONV OP * Perl_ck_listiob(pTHX_ OP *o)
6ba07ce1 393 __attribute__warn_unused_result__;
e8a67806
NC
394#define PERL_ARGS_ASSERT_CK_LISTIOB \
395 assert(o)
f54cb97a 396
e8a67806 397PERL_CALLCONV OP * Perl_ck_match(pTHX_ OP *o)
6ba07ce1 398 __attribute__warn_unused_result__;
e8a67806
NC
399#define PERL_ARGS_ASSERT_CK_MATCH \
400 assert(o)
f54cb97a 401
e8a67806 402PERL_CALLCONV OP * Perl_ck_method(pTHX_ OP *o)
6ba07ce1 403 __attribute__warn_unused_result__;
e8a67806
NC
404#define PERL_ARGS_ASSERT_CK_METHOD \
405 assert(o)
a3b680e6 406
e8a67806 407PERL_CALLCONV OP * Perl_ck_null(pTHX_ OP *o)
6ba07ce1 408 __attribute__warn_unused_result__;
e8a67806
NC
409#define PERL_ARGS_ASSERT_CK_NULL \
410 assert(o)
255164ba 411
e8a67806 412PERL_CALLCONV OP * Perl_ck_open(pTHX_ OP *o)
6ba07ce1 413 __attribute__warn_unused_result__;
e8a67806
NC
414#define PERL_ARGS_ASSERT_CK_OPEN \
415 assert(o)
f54cb97a 416
eb4ec35b 417PERL_CALLCONV OP * Perl_ck_prototype(pTHX_ OP *o)
6ba07ce1 418 __attribute__warn_unused_result__;
eb4ec35b
FC
419#define PERL_ARGS_ASSERT_CK_PROTOTYPE \
420 assert(o)
421
e8a67806 422PERL_CALLCONV OP * Perl_ck_readline(pTHX_ OP *o)
6ba07ce1 423 __attribute__warn_unused_result__;
e8a67806 424#define PERL_ARGS_ASSERT_CK_READLINE \
7918f24d 425 assert(o)
f54cb97a 426
4fec8804 427PERL_CALLCONV OP * Perl_ck_refassign(pTHX_ OP *o)
6ba07ce1 428 __attribute__warn_unused_result__;
4fec8804
FC
429#define PERL_ARGS_ASSERT_CK_REFASSIGN \
430 assert(o)
431
e8a67806 432PERL_CALLCONV OP * Perl_ck_repeat(pTHX_ OP *o)
6ba07ce1 433 __attribute__warn_unused_result__;
e8a67806
NC
434#define PERL_ARGS_ASSERT_CK_REPEAT \
435 assert(o)
436
437PERL_CALLCONV OP * Perl_ck_require(pTHX_ OP *o)
6ba07ce1 438 __attribute__warn_unused_result__;
e8a67806
NC
439#define PERL_ARGS_ASSERT_CK_REQUIRE \
440 assert(o)
441
442PERL_CALLCONV OP * Perl_ck_return(pTHX_ OP *o)
6ba07ce1 443 __attribute__warn_unused_result__;
e8a67806
NC
444#define PERL_ARGS_ASSERT_CK_RETURN \
445 assert(o)
446
447PERL_CALLCONV OP * Perl_ck_rfun(pTHX_ OP *o)
6ba07ce1 448 __attribute__warn_unused_result__;
e8a67806
NC
449#define PERL_ARGS_ASSERT_CK_RFUN \
450 assert(o)
451
452PERL_CALLCONV OP * Perl_ck_rvconst(pTHX_ OP *o)
6ba07ce1 453 __attribute__warn_unused_result__;
e8a67806
NC
454#define PERL_ARGS_ASSERT_CK_RVCONST \
455 assert(o)
456
457PERL_CALLCONV OP * Perl_ck_sassign(pTHX_ OP *o)
6ba07ce1 458 __attribute__warn_unused_result__;
e8a67806
NC
459#define PERL_ARGS_ASSERT_CK_SASSIGN \
460 assert(o)
461
462PERL_CALLCONV OP * Perl_ck_select(pTHX_ OP *o)
6ba07ce1 463 __attribute__warn_unused_result__;
e8a67806
NC
464#define PERL_ARGS_ASSERT_CK_SELECT \
465 assert(o)
466
467PERL_CALLCONV OP * Perl_ck_shift(pTHX_ OP *o)
6ba07ce1 468 __attribute__warn_unused_result__;
e8a67806
NC
469#define PERL_ARGS_ASSERT_CK_SHIFT \
470 assert(o)
471
472PERL_CALLCONV OP * Perl_ck_smartmatch(pTHX_ OP *o)
6ba07ce1 473 __attribute__warn_unused_result__;
e8a67806
NC
474#define PERL_ARGS_ASSERT_CK_SMARTMATCH \
475 assert(o)
476
477PERL_CALLCONV OP * Perl_ck_sort(pTHX_ OP *o)
6ba07ce1 478 __attribute__warn_unused_result__;
e8a67806
NC
479#define PERL_ARGS_ASSERT_CK_SORT \
480 assert(o)
481
482PERL_CALLCONV OP * Perl_ck_spair(pTHX_ OP *o)
6ba07ce1 483 __attribute__warn_unused_result__;
e8a67806
NC
484#define PERL_ARGS_ASSERT_CK_SPAIR \
485 assert(o)
486
487PERL_CALLCONV OP * Perl_ck_split(pTHX_ OP *o)
6ba07ce1 488 __attribute__warn_unused_result__;
e8a67806
NC
489#define PERL_ARGS_ASSERT_CK_SPLIT \
490 assert(o)
491
73f4c4fe 492PERL_CALLCONV OP * Perl_ck_stringify(pTHX_ OP *o)
6ba07ce1 493 __attribute__warn_unused_result__;
73f4c4fe
FC
494#define PERL_ARGS_ASSERT_CK_STRINGIFY \
495 assert(o)
496
e8a67806 497PERL_CALLCONV OP * Perl_ck_subr(pTHX_ OP *o)
6ba07ce1 498 __attribute__warn_unused_result__;
e8a67806
NC
499#define PERL_ARGS_ASSERT_CK_SUBR \
500 assert(o)
501
502PERL_CALLCONV OP * Perl_ck_substr(pTHX_ OP *o)
6ba07ce1 503 __attribute__warn_unused_result__;
e8a67806
NC
504#define PERL_ARGS_ASSERT_CK_SUBSTR \
505 assert(o)
506
507PERL_CALLCONV OP * Perl_ck_svconst(pTHX_ OP *o)
6ba07ce1 508 __attribute__warn_unused_result__;
e8a67806
NC
509#define PERL_ARGS_ASSERT_CK_SVCONST \
510 assert(o)
511
8dc99089 512PERL_CALLCONV OP * Perl_ck_tell(pTHX_ OP *o)
6ba07ce1 513 __attribute__warn_unused_result__;
8dc99089
FC
514#define PERL_ARGS_ASSERT_CK_TELL \
515 assert(o)
516
e8a67806 517PERL_CALLCONV OP * Perl_ck_trunc(pTHX_ OP *o)
6ba07ce1 518 __attribute__warn_unused_result__;
e8a67806
NC
519#define PERL_ARGS_ASSERT_CK_TRUNC \
520 assert(o)
521
e8a67806 522PERL_CALLCONV void Perl_ck_warner(pTHX_ U32 err, const char* pat, ...)
6ba07ce1 523 __attribute__format__(__printf__,pTHX_2,pTHX_3);
e8a67806
NC
524#define PERL_ARGS_ASSERT_CK_WARNER \
525 assert(pat)
526
527PERL_CALLCONV void Perl_ck_warner_d(pTHX_ U32 err, const char* pat, ...)
6ba07ce1 528 __attribute__format__(__printf__,pTHX_2,pTHX_3);
e8a67806
NC
529#define PERL_ARGS_ASSERT_CK_WARNER_D \
530 assert(pat)
531
ca0c6e8c
KW
532PERL_CALLCONV bool Perl_ckwarn(pTHX_ U32 w)
533 __attribute__warn_unused_result__
534 __attribute__pure__;
535
536PERL_CALLCONV bool Perl_ckwarn_d(pTHX_ U32 w)
537 __attribute__warn_unused_result__
538 __attribute__pure__;
539
6e45d846
DM
540PERL_CALLCONV void Perl_clear_defarray(pTHX_ AV* av, bool abandon);
541#define PERL_ARGS_ASSERT_CLEAR_DEFARRAY \
542 assert(av)
6ba07ce1 543PERL_CALLCONV const COP* Perl_closest_cop(pTHX_ const COP *cop, const OP *o, const OP *curop, bool opnext);
25502127
FC
544#define PERL_ARGS_ASSERT_CLOSEST_COP \
545 assert(cop)
6ba07ce1 546PERL_CALLCONV const char * Perl_cop_fetch_label(pTHX_ COP *const cop, STRLEN *len, U32 *flags);
aebc0cbe
FC
547#define PERL_ARGS_ASSERT_COP_FETCH_LABEL \
548 assert(cop)
6ba07ce1 549PERL_CALLCONV void Perl_cop_store_label(pTHX_ COP *const cop, const char *label, STRLEN len, U32 flags);
aebc0cbe
FC
550#define PERL_ARGS_ASSERT_COP_STORE_LABEL \
551 assert(cop); assert(label)
6ba07ce1 552PERL_CALLCONV SV * Perl_core_prototype(pTHX_ SV *sv, const char *name, const int code, int * const opnum);
b8c38f0a
FC
553#define PERL_ARGS_ASSERT_CORE_PROTOTYPE \
554 assert(name)
6ba07ce1 555PERL_CALLCONV OP * Perl_coresub_op(pTHX_ SV *const coreargssv, const int code, const int opnum);
1e4b6aa1
FC
556#define PERL_ARGS_ASSERT_CORESUB_OP \
557 assert(coreargssv)
274ed8ae 558PERL_CALLCONV void Perl_create_eval_scope(pTHX_ OP *retop, U32 flags);
12a2785c 559PERL_CALLCONV_NO_RET void Perl_croak(pTHX_ const char* pat, ...)
e8a67806
NC
560 __attribute__noreturn__
561 __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
562
4fa06845
DM
563PERL_CALLCONV_NO_RET void Perl_croak_caller(const char* pat, ...)
564 __attribute__noreturn__
565 __attribute__format__null_ok__(__printf__,1,2);
566
d1decf2b
TC
567PERL_STATIC_NO_RET void S_croak_memory_wrap(void)
568 __attribute__noreturn__;
569
4cbe3a7d
DD
570PERL_CALLCONV_NO_RET void Perl_croak_no_mem(void)
571 __attribute__noreturn__;
572
cb077ed2 573PERL_CALLCONV_NO_RET void Perl_croak_no_modify(void)
e8a67806
NC
574 __attribute__noreturn__;
575
3d04513d
DD
576PERL_CALLCONV_NO_RET void Perl_croak_popstack(void)
577 __attribute__noreturn__;
578
12a2785c 579PERL_CALLCONV_NO_RET void Perl_croak_sv(pTHX_ SV *baseex)
6ba07ce1 580 __attribute__noreturn__;
e8a67806
NC
581#define PERL_ARGS_ASSERT_CROAK_SV \
582 assert(baseex)
583
cb077ed2 584PERL_CALLCONV_NO_RET void Perl_croak_xs_usage(const CV *const cv, const char *const params)
6ba07ce1 585 __attribute__noreturn__;
e8a67806
NC
586#define PERL_ARGS_ASSERT_CROAK_XS_USAGE \
587 assert(cv); assert(params)
588
3c13cae6 589PERL_CALLCONV regexp_engine const * Perl_current_re_engine(pTHX);
e8a67806 590PERL_CALLCONV const char * Perl_custom_op_desc(pTHX_ const OP *o)
6ba07ce1 591 __attribute__warn_unused_result__;
e8a67806
NC
592#define PERL_ARGS_ASSERT_CUSTOM_OP_DESC \
593 assert(o)
594
ae103e09 595PERL_CALLCONV XOPRETANY Perl_custom_op_get_field(pTHX_ const OP *o, const xop_flags_enum field)
6ba07ce1 596 __attribute__warn_unused_result__;
ae103e09
DD
597#define PERL_ARGS_ASSERT_CUSTOM_OP_GET_FIELD \
598 assert(o)
599
e8a67806 600PERL_CALLCONV const char * Perl_custom_op_name(pTHX_ const OP *o)
6ba07ce1 601 __attribute__warn_unused_result__;
e8a67806
NC
602#define PERL_ARGS_ASSERT_CUSTOM_OP_NAME \
603 assert(o)
604
6ba07ce1 605PERL_CALLCONV void Perl_custom_op_register(pTHX_ Perl_ppaddr_t ppaddr, const XOP *xop);
1830b3d9
BM
606#define PERL_ARGS_ASSERT_CUSTOM_OP_REGISTER \
607 assert(ppaddr); assert(xop)
d722d2af 608/* PERL_CALLCONV const XOP * Perl_custom_op_xop(pTHX_ const OP *o); */
6ba07ce1 609PERL_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
610#define PERL_ARGS_ASSERT_CV_CKPROTO_LEN_FLAGS \
611 assert(cv)
6ba07ce1 612PERL_CALLCONV CV* Perl_cv_clone(pTHX_ CV* proto);
e8a67806
NC
613#define PERL_ARGS_ASSERT_CV_CLONE \
614 assert(proto)
6ba07ce1 615PERL_CALLCONV CV* Perl_cv_clone_into(pTHX_ CV* proto, CV *target);
6d5c2147
FC
616#define PERL_ARGS_ASSERT_CV_CLONE_INTO \
617 assert(proto); assert(target)
ddeaf645 618PERL_CALLCONV SV* Perl_cv_const_sv(const CV *const cv)
e8a67806
NC
619 __attribute__warn_unused_result__;
620
ddeaf645 621PERL_CALLCONV SV* Perl_cv_const_sv_or_av(const CV *const cv)
f815dc14
FC
622 __attribute__warn_unused_result__;
623
de0885da 624PERL_CALLCONV void Perl_cv_forget_slab(pTHX_ CV *cv);
6ba07ce1 625PERL_CALLCONV void Perl_cv_get_call_checker(pTHX_ CV *cv, Perl_call_checker *ckfun_p, SV **ckobj_p);
d9088386
Z
626#define PERL_ARGS_ASSERT_CV_GET_CALL_CHECKER \
627 assert(cv); assert(ckfun_p); assert(ckobj_p)
6ba07ce1 628PERL_CALLCONV SV * Perl_cv_name(pTHX_ CV *cv, SV *sv, U32 flags);
c5569a55
FC
629#define PERL_ARGS_ASSERT_CV_NAME \
630 assert(cv)
6ba07ce1 631PERL_CALLCONV void Perl_cv_set_call_checker(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj);
d9088386
Z
632#define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER \
633 assert(cv); assert(ckfun); assert(ckobj)
6ba07ce1 634PERL_CALLCONV void Perl_cv_set_call_checker_flags(pTHX_ CV *cv, Perl_call_checker ckfun, SV *ckobj, U32 flags);
aa38f4b1
FC
635#define PERL_ARGS_ASSERT_CV_SET_CALL_CHECKER_FLAGS \
636 assert(cv); assert(ckfun); assert(ckobj)
6ba07ce1 637PERL_CALLCONV void Perl_cv_undef(pTHX_ CV* cv);
e8a67806
NC
638#define PERL_ARGS_ASSERT_CV_UNDEF \
639 assert(cv)
6ba07ce1 640PERL_CALLCONV void Perl_cv_undef_flags(pTHX_ CV* cv, U32 flags);
b7acb0a3
FC
641#define PERL_ARGS_ASSERT_CV_UNDEF_FLAGS \
642 assert(cv)
6ba07ce1 643PERL_CALLCONV GV * Perl_cvgv_from_hek(pTHX_ CV* cv);
ae77754a
FC
644#define PERL_ARGS_ASSERT_CVGV_FROM_HEK \
645 assert(cv)
6ba07ce1 646PERL_CALLCONV void Perl_cvgv_set(pTHX_ CV* cv, GV* gv);
e8a67806
NC
647#define PERL_ARGS_ASSERT_CVGV_SET \
648 assert(cv)
6ba07ce1 649PERL_CALLCONV void Perl_cvstash_set(pTHX_ CV* cv, HV* stash);
c68d9564
Z
650#define PERL_ARGS_ASSERT_CVSTASH_SET \
651 assert(cv)
6ba07ce1 652PERL_CALLCONV void Perl_cx_dump(pTHX_ PERL_CONTEXT* cx);
e8a67806
NC
653#define PERL_ARGS_ASSERT_CX_DUMP \
654 assert(cx)
e8a67806
NC
655PERL_CALLCONV I32 Perl_cxinc(pTHX)
656 __attribute__warn_unused_result__;
657
658PERL_CALLCONV void Perl_deb(pTHX_ const char* pat, ...)
6ba07ce1 659 __attribute__format__(__printf__,pTHX_1,pTHX_2);
e8a67806
NC
660#define PERL_ARGS_ASSERT_DEB \
661 assert(pat)
662
663PERL_CALLCONV void Perl_deb_stack_all(pTHX);
6ba07ce1 664PERL_CALLCONV I32 Perl_debop(pTHX_ const OP* o);
e8a67806
NC
665#define PERL_ARGS_ASSERT_DEBOP \
666 assert(o)
e8a67806
NC
667PERL_CALLCONV void Perl_debprofdump(pTHX);
668PERL_CALLCONV I32 Perl_debstack(pTHX);
669PERL_CALLCONV I32 Perl_debstackptrs(pTHX);
13733cde 670PERL_CALLCONV SV * Perl_defelem_target(pTHX_ SV *sv, MAGIC *mg)
6ba07ce1 671 __attribute__warn_unused_result__;
13733cde
FC
672#define PERL_ARGS_ASSERT_DEFELEM_TARGET \
673 assert(sv)
674
e8a67806 675PERL_CALLCONV void Perl_delete_eval_scope(pTHX);
6ba07ce1 676PERL_CALLCONV char* Perl_delimcpy(char* to, const char* toend, const char* from, const char* fromend, int delim, I32* retlen);
7918f24d
NC
677#define PERL_ARGS_ASSERT_DELIMCPY \
678 assert(to); assert(toend); assert(from); assert(fromend); assert(retlen)
ba0a4150
FC
679PERL_CALLCONV char* Perl_delimcpy_no_escape(char* to, const char* toend, const char* from, const char* fromend, int delim, I32* retlen);
680#define PERL_ARGS_ASSERT_DELIMCPY_NO_ESCAPE \
681 assert(to); assert(toend); assert(from); assert(fromend); assert(retlen)
e8a67806 682PERL_CALLCONV void Perl_despatch_signals(pTHX);
f8d5a522
DD
683PERL_CALLCONV_NO_RET OP* Perl_die(pTHX_ const char* pat, ...)
684 __attribute__noreturn__
685 __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
686
687PERL_CALLCONV_NO_RET OP* Perl_die_sv(pTHX_ SV *baseex)
6ba07ce1 688 __attribute__noreturn__;
f8d5a522
DD
689#define PERL_ARGS_ASSERT_DIE_SV \
690 assert(baseex)
691
12a2785c 692PERL_CALLCONV_NO_RET void Perl_die_unwind(pTHX_ SV* msv)
6ba07ce1 693 __attribute__noreturn__;
c5df3096 694#define PERL_ARGS_ASSERT_DIE_UNWIND \
62705b21 695 assert(msv)
bb4c52e0 696
3f1866a8
KW
697#ifndef NO_MATHOMS
698PERL_CALLCONV bool Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp);
7918f24d
NC
699#define PERL_ARGS_ASSERT_DO_AEXEC \
700 assert(mark); assert(sp)
3f1866a8 701#endif
738ab09f 702PERL_CALLCONV bool Perl_do_aexec5(pTHX_ SV* really, SV** mark, SV** sp, int fd, int do_report);
7918f24d
NC
703#define PERL_ARGS_ASSERT_DO_AEXEC5 \
704 assert(mark); assert(sp)
6ba07ce1 705PERL_CALLCONV int Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int mode);
7918f24d
NC
706#define PERL_ARGS_ASSERT_DO_BINMODE \
707 assert(fp)
063df69c 708PERL_CALLCONV bool Perl_do_close(pTHX_ GV* gv, bool not_implicit);
6ba07ce1 709PERL_CALLCONV void Perl_do_dump_pad(pTHX_ I32 level, PerlIO *file, PADLIST *padlist, int full);
e8a67806
NC
710#define PERL_ARGS_ASSERT_DO_DUMP_PAD \
711 assert(file)
6ba07ce1 712PERL_CALLCONV bool Perl_do_eof(pTHX_ GV* gv);
7918f24d
NC
713#define PERL_ARGS_ASSERT_DO_EOF \
714 assert(gv)
e8a67806 715PERL_CALLCONV void Perl_do_execfree(pTHX);
6ba07ce1 716PERL_CALLCONV void Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
e8a67806
NC
717#define PERL_ARGS_ASSERT_DO_GV_DUMP \
718 assert(file); assert(name)
6ba07ce1 719PERL_CALLCONV void Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv);
e8a67806
NC
720#define PERL_ARGS_ASSERT_DO_GVGV_DUMP \
721 assert(file); assert(name)
6ba07ce1 722PERL_CALLCONV void Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv);
e8a67806
NC
723#define PERL_ARGS_ASSERT_DO_HV_DUMP \
724 assert(file); assert(name)
6ba07ce1 725PERL_CALLCONV void Perl_do_join(pTHX_ SV *sv, SV *delim, SV **mark, SV **sp);
7918f24d
NC
726#define PERL_ARGS_ASSERT_DO_JOIN \
727 assert(sv); assert(delim); assert(mark); assert(sp)
6ba07ce1 728PERL_CALLCONV void Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
e8a67806 729#define PERL_ARGS_ASSERT_DO_MAGIC_DUMP \
3dc78631 730 assert(file)
33efebe6 731PERL_CALLCONV I32 Perl_do_ncmp(pTHX_ SV *const left, SV *const right)
6ba07ce1 732 __attribute__warn_unused_result__;
33efebe6
DM
733#define PERL_ARGS_ASSERT_DO_NCMP \
734 assert(left); assert(right)
735
6ba07ce1 736PERL_CALLCONV void Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o);
e8a67806
NC
737#define PERL_ARGS_ASSERT_DO_OP_DUMP \
738 assert(file)
3f1866a8
KW
739#ifndef NO_MATHOMS
740PERL_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
741#define PERL_ARGS_ASSERT_DO_OPEN \
742 assert(gv); assert(name)
3f1866a8 743#endif
6ba07ce1 744PERL_CALLCONV bool Perl_do_open6(pTHX_ GV *gv, const char *oname, STRLEN len, PerlIO *supplied_fp, SV **svp, U32 num);
4b451737
NC
745#define PERL_ARGS_ASSERT_DO_OPEN6 \
746 assert(gv); assert(oname)
6ba07ce1 747PERL_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
748#define PERL_ARGS_ASSERT_DO_OPEN9 \
749 assert(gv); assert(name); assert(svs)
6ba07ce1 750PERL_CALLCONV bool Perl_do_open_raw(pTHX_ GV *gv, const char *oname, STRLEN len, int rawmode, int rawperm);
4b451737
NC
751#define PERL_ARGS_ASSERT_DO_OPEN_RAW \
752 assert(gv); assert(oname)
6ba07ce1 753PERL_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
754#define PERL_ARGS_ASSERT_DO_OPENN \
755 assert(gv); assert(oname)
6ba07ce1 756PERL_CALLCONV void Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm);
e8a67806
NC
757#define PERL_ARGS_ASSERT_DO_PMOP_DUMP \
758 assert(file)
6ba07ce1 759PERL_CALLCONV bool Perl_do_print(pTHX_ SV* sv, PerlIO* fp);
7918f24d
NC
760#define PERL_ARGS_ASSERT_DO_PRINT \
761 assert(fp)
255164ba
DM
762PERL_CALLCONV OP* Perl_do_readline(pTHX)
763 __attribute__warn_unused_result__;
764
1d7c1841 765PERL_CALLCONV bool Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence);
6ba07ce1 766PERL_CALLCONV void Perl_do_sprintf(pTHX_ SV* sv, I32 len, SV** sarg);
7918f24d
NC
767#define PERL_ARGS_ASSERT_DO_SPRINTF \
768 assert(sv); assert(sarg)
6ba07ce1 769PERL_CALLCONV void Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
e8a67806
NC
770#define PERL_ARGS_ASSERT_DO_SV_DUMP \
771 assert(file)
6ba07ce1 772PERL_CALLCONV Off_t Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence);
7918f24d
NC
773#define PERL_ARGS_ASSERT_DO_SYSSEEK \
774 assert(gv)
255164ba 775PERL_CALLCONV Off_t Perl_do_tell(pTHX_ GV* gv)
6ba07ce1 776 __attribute__warn_unused_result__;
7918f24d
NC
777#define PERL_ARGS_ASSERT_DO_TELL \
778 assert(gv)
255164ba 779
6ba07ce1 780PERL_CALLCONV I32 Perl_do_trans(pTHX_ SV* sv);
7918f24d
NC
781#define PERL_ARGS_ASSERT_DO_TRANS \
782 assert(sv)
6ba07ce1 783PERL_CALLCONV UV Perl_do_vecget(pTHX_ SV* sv, SSize_t offset, int size);
7918f24d
NC
784#define PERL_ARGS_ASSERT_DO_VECGET \
785 assert(sv)
6ba07ce1 786PERL_CALLCONV void Perl_do_vecset(pTHX_ SV* sv);
7918f24d
NC
787#define PERL_ARGS_ASSERT_DO_VECSET \
788 assert(sv)
6ba07ce1 789PERL_CALLCONV void Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right);
7918f24d
NC
790#define PERL_ARGS_ASSERT_DO_VOP \
791 assert(sv); assert(left); assert(right)
6ba07ce1 792PERL_CALLCONV OP* Perl_dofile(pTHX_ OP* term, I32 force_builtin);
7918f24d
NC
793#define PERL_ARGS_ASSERT_DOFILE \
794 assert(term)
e8a67806
NC
795PERL_CALLCONV bool Perl_doing_taint(int argc, char** argv, char** env)
796 __attribute__warn_unused_result__;
797
6ba07ce1 798PERL_CALLCONV OP * Perl_doref(pTHX_ OP *o, I32 type, bool set_op_ref);
e8a67806
NC
799#define PERL_ARGS_ASSERT_DOREF \
800 assert(o)
e8a67806 801PERL_CALLCONV void Perl_dounwind(pTHX_ I32 cxix);
1c23e2bd 802PERL_CALLCONV U8 Perl_dowantarray(pTHX)
255164ba
DM
803 __attribute__warn_unused_result__;
804
6ba07ce1 805PERL_CALLCONV void Perl_drand48_init_r(perl_drand48_t *random_state, U32 seed);
3be8f094
TC
806#define PERL_ARGS_ASSERT_DRAND48_INIT_R \
807 assert(random_state)
6ba07ce1 808PERL_CALLCONV double Perl_drand48_r(perl_drand48_t *random_state);
3be8f094
TC
809#define PERL_ARGS_ASSERT_DRAND48_R \
810 assert(random_state)
1d7c1841 811PERL_CALLCONV void Perl_dump_all(pTHX);
f0e3f042 812PERL_CALLCONV void Perl_dump_all_perl(pTHX_ bool justperl);
1d7c1841 813PERL_CALLCONV void Perl_dump_eval(pTHX);
6ba07ce1 814PERL_CALLCONV void Perl_dump_form(pTHX_ const GV* gv);
7918f24d
NC
815#define PERL_ARGS_ASSERT_DUMP_FORM \
816 assert(gv)
e8a67806 817PERL_CALLCONV void Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...)
6ba07ce1 818 __attribute__format__(__printf__,pTHX_3,pTHX_4);
e8a67806
NC
819#define PERL_ARGS_ASSERT_DUMP_INDENT \
820 assert(file); assert(pat)
255164ba 821
6ba07ce1 822PERL_CALLCONV void Perl_dump_packsubs(pTHX_ const HV* stash);
7918f24d
NC
823#define PERL_ARGS_ASSERT_DUMP_PACKSUBS \
824 assert(stash)
6ba07ce1 825PERL_CALLCONV void Perl_dump_packsubs_perl(pTHX_ const HV* stash, bool justperl);
f0e3f042
CS
826#define PERL_ARGS_ASSERT_DUMP_PACKSUBS_PERL \
827 assert(stash)
6ba07ce1 828PERL_CALLCONV void Perl_dump_sub(pTHX_ const GV* gv);
7918f24d
NC
829#define PERL_ARGS_ASSERT_DUMP_SUB \
830 assert(gv)
6ba07ce1 831PERL_CALLCONV void Perl_dump_sub_perl(pTHX_ const GV* gv, bool justperl);
f0e3f042
CS
832#define PERL_ARGS_ASSERT_DUMP_SUB_PERL \
833 assert(gv)
6ba07ce1 834PERL_CALLCONV void Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args);
e8a67806
NC
835#define PERL_ARGS_ASSERT_DUMP_VINDENT \
836 assert(file); assert(pat)
6ba07ce1 837PERL_CALLCONV void Perl_emulate_cop_io(pTHX_ const COP *const c, SV *const sv);
e8a67806
NC
838#define PERL_ARGS_ASSERT_EMULATE_COP_IO \
839 assert(c); assert(sv)
6ba07ce1 840PERL_CALLCONV SV* Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error);
e8a67806
NC
841#define PERL_ARGS_ASSERT_EVAL_PV \
842 assert(p)
6ba07ce1 843PERL_CALLCONV I32 Perl_eval_sv(pTHX_ SV* sv, I32 flags);
e8a67806
NC
844#define PERL_ARGS_ASSERT_EVAL_SV \
845 assert(sv)
6ba07ce1 846PERL_CALLCONV void Perl_fbm_compile(pTHX_ SV* sv, U32 flags);
7918f24d
NC
847#define PERL_ARGS_ASSERT_FBM_COMPILE \
848 assert(sv)
9f6cc744 849PERL_CALLCONV char* Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlestr, U32 flags)
6ba07ce1 850 __attribute__warn_unused_result__;
7918f24d
NC
851#define PERL_ARGS_ASSERT_FBM_INSTR \
852 assert(big); assert(bigend); assert(littlestr)
255164ba 853
6ba07ce1 854PERL_CALLCONV bool Perl_feature_is_enabled(pTHX_ const char *const name, STRLEN namelen);
26ea9e12
NC
855#define PERL_ARGS_ASSERT_FEATURE_IS_ENABLED \
856 assert(name)
e8a67806 857PERL_CALLCONV SV* Perl_filter_add(pTHX_ filter_t funcp, SV* datasv);
6ba07ce1 858PERL_CALLCONV void Perl_filter_del(pTHX_ filter_t funcp);
e8a67806
NC
859#define PERL_ARGS_ASSERT_FILTER_DEL \
860 assert(funcp)
e8a67806 861PERL_CALLCONV I32 Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen)
6ba07ce1 862 __attribute__warn_unused_result__;
e8a67806
NC
863#define PERL_ARGS_ASSERT_FILTER_READ \
864 assert(buf_sv)
865
6ba07ce1 866PERL_CALLCONV void Perl_finalize_optree(pTHX_ OP* o);
d164302a
GG
867#define PERL_ARGS_ASSERT_FINALIZE_OPTREE \
868 assert(o)
9a5e6f3c 869PERL_CALLCONV CV * Perl_find_lexical_cv(pTHX_ PADOFFSET off);
e8a67806
NC
870PERL_CALLCONV CV* Perl_find_runcv(pTHX_ U32 *db_seqp)
871 __attribute__warn_unused_result__;
872
db4cf31d 873PERL_CALLCONV CV* Perl_find_runcv_where(pTHX_ U8 cond, IV arg, U32 *db_seqp)
70794f7b
FC
874 __attribute__warn_unused_result__;
875
e8a67806
NC
876PERL_CALLCONV SV* Perl_find_rundefsv(pTHX);
877PERL_CALLCONV PADOFFSET Perl_find_rundefsvoffset(pTHX)
878 __attribute__deprecated__;
879
6ba07ce1 880PERL_CALLCONV char* Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char *const *const search_ext, I32 flags);
7918f24d
NC
881#define PERL_ARGS_ASSERT_FIND_SCRIPT \
882 assert(scriptname)
e8a67806 883PERL_CALLCONV I32 Perl_foldEQ(const char* a, const char* b, I32 len)
b289a0bd 884 __attribute__warn_unused_result__
6ba07ce1 885 __attribute__pure__;
e8a67806
NC
886#define PERL_ARGS_ASSERT_FOLDEQ \
887 assert(a); assert(b)
888
1b9f127b 889PERL_CALLCONV I32 Perl_foldEQ_latin1(const char* a, const char* b, I32 len)
b289a0bd 890 __attribute__warn_unused_result__
6ba07ce1 891 __attribute__pure__;
1b9f127b
KW
892#define PERL_ARGS_ASSERT_FOLDEQ_LATIN1 \
893 assert(a); assert(b)
894
e8a67806 895PERL_CALLCONV I32 Perl_foldEQ_locale(const char* a, const char* b, I32 len)
b289a0bd 896 __attribute__warn_unused_result__
6ba07ce1 897 __attribute__pure__;
e8a67806
NC
898#define PERL_ARGS_ASSERT_FOLDEQ_LOCALE \
899 assert(a); assert(b)
900
6ba07ce1
JH
901/* PERL_CALLCONV I32 foldEQ_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
902PERL_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 903#define PERL_ARGS_ASSERT_FOLDEQ_UTF8_FLAGS \
e8a67806 904 assert(s1); assert(s2)
894356b3 905PERL_CALLCONV char* Perl_form(pTHX_ const char* pat, ...)
6ba07ce1 906 __attribute__format__(__printf__,pTHX_1,pTHX_2);
7918f24d
NC
907#define PERL_ARGS_ASSERT_FORM \
908 assert(pat)
aec46f14 909
e8a67806
NC
910PERL_CALLCONV void Perl_free_tied_hv_pool(pTHX);
911PERL_CALLCONV void Perl_free_tmps(pTHX);
6ba07ce1 912PERL_CALLCONV AV* Perl_get_av(pTHX_ const char *name, I32 flags);
e8a67806
NC
913#define PERL_ARGS_ASSERT_GET_AV \
914 assert(name)
e8a67806
NC
915PERL_CALLCONV void* Perl_get_context(void)
916 __attribute__warn_unused_result__;
917
6ba07ce1 918PERL_CALLCONV CV* Perl_get_cv(pTHX_ const char* name, I32 flags);
e8a67806
NC
919#define PERL_ARGS_ASSERT_GET_CV \
920 assert(name)
6ba07ce1 921PERL_CALLCONV CV* Perl_get_cvn_flags(pTHX_ const char* name, STRLEN len, I32 flags);
e8a67806
NC
922#define PERL_ARGS_ASSERT_GET_CVN_FLAGS \
923 assert(name)
6ba07ce1 924PERL_CALLCONV void Perl_get_db_sub(pTHX_ SV **svp, CV *cv);
7918f24d
NC
925#define PERL_ARGS_ASSERT_GET_DB_SUB \
926 assert(cv)
6ba07ce1 927PERL_CALLCONV void Perl_get_hash_seed(pTHX_ unsigned char * const seed_buffer);
7dc86639
YO
928#define PERL_ARGS_ASSERT_GET_HASH_SEED \
929 assert(seed_buffer)
6ba07ce1 930PERL_CALLCONV HV* Perl_get_hv(pTHX_ const char *name, I32 flags);
e8a67806
NC
931#define PERL_ARGS_ASSERT_GET_HV \
932 assert(name)
e8a67806
NC
933PERL_CALLCONV const char* Perl_get_no_modify(pTHX)
934 __attribute__warn_unused_result__
935 __attribute__pure__;
936
937PERL_CALLCONV char** Perl_get_op_descs(pTHX)
938 __attribute__warn_unused_result__
939 __attribute__pure__;
940
941PERL_CALLCONV char** Perl_get_op_names(pTHX)
942 __attribute__warn_unused_result__
943 __attribute__pure__;
944
945PERL_CALLCONV U32* Perl_get_opargs(pTHX)
946 __attribute__warn_unused_result__
947 __attribute__pure__;
948
949PERL_CALLCONV PPADDR_t* Perl_get_ppaddr(pTHX)
950 __attribute__warn_unused_result__
951 __attribute__pure__;
952
953PERL_CALLCONV REGEXP * Perl_get_re_arg(pTHX_ SV *sv);
6ba07ce1 954PERL_CALLCONV SV* Perl_get_sv(pTHX_ const char *name, I32 flags);
e8a67806
NC
955#define PERL_ARGS_ASSERT_GET_SV \
956 assert(name)
e8a67806
NC
957PERL_CALLCONV MGVTBL* Perl_get_vtbl(pTHX_ int vtbl_id)
958 __attribute__warn_unused_result__;
959
6ba07ce1 960PERL_CALLCONV int Perl_getcwd_sv(pTHX_ SV* sv);
e8a67806
NC
961#define PERL_ARGS_ASSERT_GETCWD_SV \
962 assert(sv)
e8a67806
NC
963PERL_CALLCONV void Perl_gp_free(pTHX_ GV* gv);
964PERL_CALLCONV GP* Perl_gp_ref(pTHX_ GP* gp);
6ba07ce1 965PERL_CALLCONV bool Perl_grok_atoUV(const char* pv, UV* valptr, const char** endptr);
22ff3130
HS
966#define PERL_ARGS_ASSERT_GROK_ATOUV \
967 assert(pv); assert(valptr)
6ba07ce1 968PERL_CALLCONV UV Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
e8a67806
NC
969#define PERL_ARGS_ASSERT_GROK_BIN \
970 assert(start); assert(len_p); assert(flags)
6ba07ce1 971PERL_CALLCONV UV Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
e8a67806
NC
972#define PERL_ARGS_ASSERT_GROK_HEX \
973 assert(start); assert(len_p); assert(flags)
6ba07ce1 974PERL_CALLCONV int Perl_grok_infnan(pTHX_ const char** sp, const char *send);
ff4eb398
JH
975#define PERL_ARGS_ASSERT_GROK_INFNAN \
976 assert(sp); assert(send)
6ba07ce1 977PERL_CALLCONV int Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep);
e8a67806
NC
978#define PERL_ARGS_ASSERT_GROK_NUMBER \
979 assert(pv)
6ba07ce1 980PERL_CALLCONV int Perl_grok_number_flags(pTHX_ const char *pv, STRLEN len, UV *valuep, U32 flags);
3f7602fa
TC
981#define PERL_ARGS_ASSERT_GROK_NUMBER_FLAGS \
982 assert(pv)
e8a67806 983PERL_CALLCONV bool Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send)
6ba07ce1 984 __attribute__warn_unused_result__;
e8a67806
NC
985#define PERL_ARGS_ASSERT_GROK_NUMERIC_RADIX \
986 assert(sp); assert(send)
987
6ba07ce1 988PERL_CALLCONV UV Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result);
e8a67806
NC
989#define PERL_ARGS_ASSERT_GROK_OCT \
990 assert(start); assert(len_p); assert(flags)
3f1866a8
KW
991#ifndef NO_MATHOMS
992PERL_CALLCONV GV* Perl_gv_AVadd(pTHX_ GV *gv);
993#endif
994#ifndef NO_MATHOMS
995PERL_CALLCONV GV* Perl_gv_HVadd(pTHX_ GV *gv);
996#endif
997#ifndef NO_MATHOMS
998PERL_CALLCONV GV* Perl_gv_IOadd(pTHX_ GV* gv);
999#endif
13c59d41 1000PERL_CALLCONV GV* Perl_gv_add_by_type(pTHX_ GV *gv, svtype type);
aa1e761e 1001/* PERL_CALLCONV GV* gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method)
6ba07ce1 1002 __attribute__warn_unused_result__; */
aa1e761e 1003
0eeb01b9 1004PERL_CALLCONV GV* Perl_gv_autoload_pv(pTHX_ HV* stash, const char* namepv, U32 flags)
6ba07ce1 1005 __attribute__warn_unused_result__;
0fe84f7c 1006#define PERL_ARGS_ASSERT_GV_AUTOLOAD_PV \
5fba3c91
BF
1007 assert(namepv)
1008
0eeb01b9 1009PERL_CALLCONV GV* Perl_gv_autoload_pvn(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags)
6ba07ce1 1010 __attribute__warn_unused_result__;
0fe84f7c 1011#define PERL_ARGS_ASSERT_GV_AUTOLOAD_PVN \
e8a67806
NC
1012 assert(name)
1013
0eeb01b9 1014PERL_CALLCONV GV* Perl_gv_autoload_sv(pTHX_ HV* stash, SV* namesv, U32 flags)
6ba07ce1 1015 __attribute__warn_unused_result__;
0fe84f7c 1016#define PERL_ARGS_ASSERT_GV_AUTOLOAD_SV \
5fba3c91
BF
1017 assert(namesv)
1018
6ba07ce1 1019PERL_CALLCONV void Perl_gv_check(pTHX_ HV* stash);
e8a67806
NC
1020#define PERL_ARGS_ASSERT_GV_CHECK \
1021 assert(stash)
e8a67806 1022PERL_CALLCONV SV* Perl_gv_const_sv(pTHX_ GV* gv)
6ba07ce1 1023 __attribute__warn_unused_result__;
e8a67806
NC
1024#define PERL_ARGS_ASSERT_GV_CONST_SV \
1025 assert(gv)
1026
3dc78631 1027PERL_CALLCONV void Perl_gv_dump(pTHX_ GV* gv);
6ba07ce1 1028PERL_CALLCONV void Perl_gv_efullname(pTHX_ SV* sv, const GV* gv);
7918f24d
NC
1029#define PERL_ARGS_ASSERT_GV_EFULLNAME \
1030 assert(sv); assert(gv)
3f1866a8
KW
1031#ifndef NO_MATHOMS
1032PERL_CALLCONV void Perl_gv_efullname3(pTHX_ SV* sv, const GV* gv, const char* prefix);
7918f24d
NC
1033#define PERL_ARGS_ASSERT_GV_EFULLNAME3 \
1034 assert(sv); assert(gv)
3f1866a8 1035#endif
6ba07ce1 1036PERL_CALLCONV void Perl_gv_efullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain);
7918f24d
NC
1037#define PERL_ARGS_ASSERT_GV_EFULLNAME4 \
1038 assert(sv); assert(gv)
6ba07ce1 1039PERL_CALLCONV GV* Perl_gv_fetchfile(pTHX_ const char* name);
7918f24d
NC
1040#define PERL_ARGS_ASSERT_GV_FETCHFILE \
1041 assert(name)
6ba07ce1 1042PERL_CALLCONV GV* Perl_gv_fetchfile_flags(pTHX_ const char *const name, const STRLEN len, const U32 flags);
7918f24d
NC
1043#define PERL_ARGS_ASSERT_GV_FETCHFILE_FLAGS \
1044 assert(name)
6ba07ce1
JH
1045/* PERL_CALLCONV GV* gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); */
1046/* PERL_CALLCONV GV* gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); */
1047PERL_CALLCONV GV* Perl_gv_fetchmeth_pv(pTHX_ HV* stash, const char* name, I32 level, U32 flags);
d21989ed 1048#define PERL_ARGS_ASSERT_GV_FETCHMETH_PV \
7918f24d 1049 assert(name)
6ba07ce1 1050PERL_CALLCONV GV* Perl_gv_fetchmeth_pv_autoload(pTHX_ HV* stash, const char* name, I32 level, U32 flags);
d21989ed 1051#define PERL_ARGS_ASSERT_GV_FETCHMETH_PV_AUTOLOAD \
7918f24d 1052 assert(name)
6ba07ce1 1053PERL_CALLCONV GV* Perl_gv_fetchmeth_pvn(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags);
e6919483
BF
1054#define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN \
1055 assert(name)
6ba07ce1 1056PERL_CALLCONV GV* Perl_gv_fetchmeth_pvn_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level, U32 flags);
d21989ed
BF
1057#define PERL_ARGS_ASSERT_GV_FETCHMETH_PVN_AUTOLOAD \
1058 assert(name)
6ba07ce1 1059PERL_CALLCONV GV* Perl_gv_fetchmeth_sv(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags);
e6919483
BF
1060#define PERL_ARGS_ASSERT_GV_FETCHMETH_SV \
1061 assert(namesv)
6ba07ce1 1062PERL_CALLCONV GV* Perl_gv_fetchmeth_sv_autoload(pTHX_ HV* stash, SV* namesv, I32 level, U32 flags);
d21989ed
BF
1063#define PERL_ARGS_ASSERT_GV_FETCHMETH_SV_AUTOLOAD \
1064 assert(namesv)
3f1866a8
KW
1065#ifndef NO_MATHOMS
1066PERL_CALLCONV GV* Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name);
7918f24d 1067#define PERL_ARGS_ASSERT_GV_FETCHMETHOD \
eff494dd 1068 assert(stash); assert(name)
3f1866a8 1069#endif
6ba07ce1 1070PERL_CALLCONV GV* Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload);
7918f24d 1071#define PERL_ARGS_ASSERT_GV_FETCHMETHOD_AUTOLOAD \
eff494dd 1072 assert(stash); assert(name)
6ba07ce1 1073PERL_CALLCONV GV* Perl_gv_fetchmethod_pv_flags(pTHX_ HV* stash, const char* name, U32 flags);
44130a26 1074#define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PV_FLAGS \
eff494dd 1075 assert(stash); assert(name)
6ba07ce1 1076PERL_CALLCONV GV* Perl_gv_fetchmethod_pvn_flags(pTHX_ HV* stash, const char* name, const STRLEN len, U32 flags);
44130a26
BF
1077#define PERL_ARGS_ASSERT_GV_FETCHMETHOD_PVN_FLAGS \
1078 assert(stash); assert(name)
6ba07ce1 1079PERL_CALLCONV GV* Perl_gv_fetchmethod_sv_flags(pTHX_ HV* stash, SV* namesv, U32 flags);
44130a26
BF
1080#define PERL_ARGS_ASSERT_GV_FETCHMETHOD_SV_FLAGS \
1081 assert(stash); assert(namesv)
6ba07ce1 1082PERL_CALLCONV GV* Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 add, const svtype sv_type);
7918f24d
NC
1083#define PERL_ARGS_ASSERT_GV_FETCHPV \
1084 assert(nambeg)
6ba07ce1 1085PERL_CALLCONV GV* Perl_gv_fetchpvn_flags(pTHX_ const char* name, STRLEN len, I32 flags, const svtype sv_type);
e8a67806
NC
1086#define PERL_ARGS_ASSERT_GV_FETCHPVN_FLAGS \
1087 assert(name)
6ba07ce1 1088PERL_CALLCONV GV* Perl_gv_fetchsv(pTHX_ SV *name, I32 flags, const svtype sv_type);
e8a67806
NC
1089#define PERL_ARGS_ASSERT_GV_FETCHSV \
1090 assert(name)
6ba07ce1 1091PERL_CALLCONV void Perl_gv_fullname(pTHX_ SV* sv, const GV* gv);
7918f24d
NC
1092#define PERL_ARGS_ASSERT_GV_FULLNAME \
1093 assert(sv); assert(gv)
3f1866a8
KW
1094#ifndef NO_MATHOMS
1095PERL_CALLCONV void Perl_gv_fullname3(pTHX_ SV* sv, const GV* gv, const char* prefix);
7918f24d
NC
1096#define PERL_ARGS_ASSERT_GV_FULLNAME3 \
1097 assert(sv); assert(gv)
3f1866a8 1098#endif
6ba07ce1 1099PERL_CALLCONV void Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain);
7918f24d
NC
1100#define PERL_ARGS_ASSERT_GV_FULLNAME4 \
1101 assert(sv); assert(gv)
e8a67806
NC
1102PERL_CALLCONV CV* Perl_gv_handler(pTHX_ HV* stash, I32 id)
1103 __attribute__warn_unused_result__;
803f2748 1104
6ba07ce1
JH
1105/* PERL_CALLCONV void gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi); */
1106PERL_CALLCONV void Perl_gv_init_pv(pTHX_ GV* gv, HV* stash, const char* name, U32 flags);
e6066781 1107#define PERL_ARGS_ASSERT_GV_INIT_PV \
7918f24d 1108 assert(gv); assert(name)
6ba07ce1 1109PERL_CALLCONV void Perl_gv_init_pvn(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, U32 flags);
e6066781
BF
1110#define PERL_ARGS_ASSERT_GV_INIT_PVN \
1111 assert(gv); assert(name)
6ba07ce1 1112PERL_CALLCONV void Perl_gv_init_sv(pTHX_ GV* gv, HV* stash, SV* namesv, U32 flags);
e6066781
BF
1113#define PERL_ARGS_ASSERT_GV_INIT_SV \
1114 assert(gv); assert(namesv)
6ba07ce1 1115PERL_CALLCONV void Perl_gv_name_set(pTHX_ GV* gv, const char *name, U32 len, U32 flags);
7918f24d
NC
1116#define PERL_ARGS_ASSERT_GV_NAME_SET \
1117 assert(gv); assert(name)
6ba07ce1 1118PERL_CALLCONV GV * Perl_gv_override(pTHX_ const char * const name, const STRLEN len);
9e3fb20c
FC
1119#define PERL_ARGS_ASSERT_GV_OVERRIDE \
1120 assert(name)
6ba07ce1 1121PERL_CALLCONV void Perl_gv_setref(pTHX_ SV *const dstr, SV *const sstr);
d8a875d9
FC
1122#define PERL_ARGS_ASSERT_GV_SETREF \
1123 assert(dstr); assert(sstr)
6ba07ce1 1124PERL_CALLCONV HV* Perl_gv_stashpv(pTHX_ const char* name, I32 flags);
7918f24d
NC
1125#define PERL_ARGS_ASSERT_GV_STASHPV \
1126 assert(name)
6ba07ce1 1127PERL_CALLCONV HV* Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 flags);
7918f24d
NC
1128#define PERL_ARGS_ASSERT_GV_STASHPVN \
1129 assert(name)
6ba07ce1 1130PERL_CALLCONV HV* Perl_gv_stashsv(pTHX_ SV* sv, I32 flags);
7918f24d
NC
1131#define PERL_ARGS_ASSERT_GV_STASHSV \
1132 assert(sv)
6ba07ce1 1133PERL_CALLCONV void Perl_gv_try_downgrade(pTHX_ GV* gv);
e8a67806
NC
1134#define PERL_ARGS_ASSERT_GV_TRY_DOWNGRADE \
1135 assert(gv)
6ba07ce1 1136PERL_CALLCONV AV** Perl_hv_backreferences_p(pTHX_ HV *hv);
e8a67806
NC
1137#define PERL_ARGS_ASSERT_HV_BACKREFERENCES_P \
1138 assert(hv)
8bf4c401 1139PERL_CALLCONV SV* Perl_hv_bucket_ratio(pTHX_ HV *hv)
8bf4c401
YO
1140 __attribute__warn_unused_result__;
1141#define PERL_ARGS_ASSERT_HV_BUCKET_RATIO \
1142 assert(hv)
1143
4048f010 1144PERL_CALLCONV void Perl_hv_clear(pTHX_ HV *hv);
6ba07ce1 1145PERL_CALLCONV void Perl_hv_clear_placeholders(pTHX_ HV *hv);
e8a67806
NC
1146#define PERL_ARGS_ASSERT_HV_CLEAR_PLACEHOLDERS \
1147 assert(hv)
e8a67806 1148PERL_CALLCONV void* Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char* key, STRLEN klen, int flags, int action, SV *val, U32 hash);
6ba07ce1 1149PERL_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
1150#define PERL_ARGS_ASSERT_HV_COMMON_KEY_LEN \
1151 assert(key)
defdfed5
Z
1152PERL_CALLCONV HV * Perl_hv_copy_hints_hv(pTHX_ HV *const ohv)
1153 __attribute__warn_unused_result__;
1154
6ba07ce1 1155PERL_CALLCONV void Perl_hv_delayfree_ent(pTHX_ HV *hv, HE *entry);
7918f24d
NC
1156#define PERL_ARGS_ASSERT_HV_DELAYFREE_ENT \
1157 assert(hv)
3f1866a8
KW
1158#ifndef NO_MATHOMS
1159PERL_CALLCONV SV* Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen, I32 flags);
7918f24d
NC
1160#define PERL_ARGS_ASSERT_HV_DELETE \
1161 assert(key)
3f1866a8
KW
1162#endif
1163#ifndef NO_MATHOMS
1164PERL_CALLCONV SV* Perl_hv_delete_ent(pTHX_ HV *hv, SV *keysv, I32 flags, U32 hash);
7918f24d
NC
1165#define PERL_ARGS_ASSERT_HV_DELETE_ENT \
1166 assert(keysv)
3f1866a8 1167#endif
e8a67806 1168PERL_CALLCONV HE** Perl_hv_eiter_p(pTHX_ HV *hv)
6ba07ce1 1169 __attribute__warn_unused_result__;
e8a67806
NC
1170#define PERL_ARGS_ASSERT_HV_EITER_P \
1171 assert(hv)
1172
6ba07ce1 1173PERL_CALLCONV void Perl_hv_eiter_set(pTHX_ HV *hv, HE *eiter);
e8a67806
NC
1174#define PERL_ARGS_ASSERT_HV_EITER_SET \
1175 assert(hv)
6ba07ce1 1176PERL_CALLCONV void Perl_hv_ename_add(pTHX_ HV *hv, const char *name, U32 len, U32 flags);
78b79c77
FC
1177#define PERL_ARGS_ASSERT_HV_ENAME_ADD \
1178 assert(hv); assert(name)
6ba07ce1 1179PERL_CALLCONV void Perl_hv_ename_delete(pTHX_ HV *hv, const char *name, U32 len, U32 flags);
78b79c77
FC
1180#define PERL_ARGS_ASSERT_HV_ENAME_DELETE \
1181 assert(hv); assert(name)
3f1866a8
KW
1182#ifndef NO_MATHOMS
1183PERL_CALLCONV bool Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen)
1184 __attribute__warn_unused_result__;
7918f24d
NC
1185#define PERL_ARGS_ASSERT_HV_EXISTS \
1186 assert(key)
3f1866a8 1187#endif
901017d6 1188
3f1866a8
KW
1189#ifndef NO_MATHOMS
1190PERL_CALLCONV bool Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash)
1191 __attribute__warn_unused_result__;
7918f24d
NC
1192#define PERL_ARGS_ASSERT_HV_EXISTS_ENT \
1193 assert(keysv)
3f1866a8 1194#endif
aa924a5a 1195
3f1866a8
KW
1196#ifndef NO_MATHOMS
1197PERL_CALLCONV SV** Perl_hv_fetch(pTHX_ HV *hv, const char *key, I32 klen, I32 lval);
7918f24d
NC
1198#define PERL_ARGS_ASSERT_HV_FETCH \
1199 assert(key)
3f1866a8
KW
1200#endif
1201#ifndef NO_MATHOMS
1202PERL_CALLCONV HE* Perl_hv_fetch_ent(pTHX_ HV *hv, SV *keysv, I32 lval, U32 hash);
7918f24d
NC
1203#define PERL_ARGS_ASSERT_HV_FETCH_ENT \
1204 assert(keysv)
3f1866a8 1205#endif
6ba07ce1 1206PERL_CALLCONV STRLEN Perl_hv_fill(pTHX_ HV *const hv);
4d0fbddd
NC
1207#define PERL_ARGS_ASSERT_HV_FILL \
1208 assert(hv)
6ba07ce1 1209PERL_CALLCONV void Perl_hv_free_ent(pTHX_ HV *hv, HE *entry);
7918f24d
NC
1210#define PERL_ARGS_ASSERT_HV_FREE_ENT \
1211 assert(hv)
6ba07ce1 1212PERL_CALLCONV I32 Perl_hv_iterinit(pTHX_ HV *hv);
7918f24d
NC
1213#define PERL_ARGS_ASSERT_HV_ITERINIT \
1214 assert(hv)
a3b680e6 1215PERL_CALLCONV char* Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen)
6ba07ce1 1216 __attribute__warn_unused_result__;
7918f24d
NC
1217#define PERL_ARGS_ASSERT_HV_ITERKEY \
1218 assert(entry); assert(retlen)
a3b680e6
AL
1219
1220PERL_CALLCONV SV* Perl_hv_iterkeysv(pTHX_ HE* entry)
6ba07ce1 1221 __attribute__warn_unused_result__;
7918f24d
NC
1222#define PERL_ARGS_ASSERT_HV_ITERKEYSV \
1223 assert(entry)
a3b680e6 1224
3f1866a8
KW
1225#ifndef NO_MATHOMS
1226PERL_CALLCONV HE* Perl_hv_iternext(pTHX_ HV *hv)
1227 __attribute__warn_unused_result__;
7918f24d
NC
1228#define PERL_ARGS_ASSERT_HV_ITERNEXT \
1229 assert(hv)
3f1866a8 1230#endif
a3b680e6 1231
e8a67806 1232PERL_CALLCONV HE* Perl_hv_iternext_flags(pTHX_ HV *hv, I32 flags)
6ba07ce1 1233 __attribute__warn_unused_result__;
e8a67806
NC
1234#define PERL_ARGS_ASSERT_HV_ITERNEXT_FLAGS \
1235 assert(hv)
1236
4048f010 1237PERL_CALLCONV SV* Perl_hv_iternextsv(pTHX_ HV *hv, char **key, I32 *retlen)
6ba07ce1 1238 __attribute__warn_unused_result__;
7918f24d
NC
1239#define PERL_ARGS_ASSERT_HV_ITERNEXTSV \
1240 assert(hv); assert(key); assert(retlen)
a3b680e6 1241
4048f010 1242PERL_CALLCONV SV* Perl_hv_iterval(pTHX_ HV *hv, HE *entry)
6ba07ce1 1243 __attribute__warn_unused_result__;
7918f24d
NC
1244#define PERL_ARGS_ASSERT_HV_ITERVAL \
1245 assert(hv); assert(entry)
a3b680e6 1246
6ba07ce1 1247PERL_CALLCONV void Perl_hv_ksplit(pTHX_ HV *hv, IV newmax);
7918f24d
NC
1248#define PERL_ARGS_ASSERT_HV_KSPLIT \
1249 assert(hv)
3f1866a8
KW
1250#ifndef NO_MATHOMS
1251PERL_CALLCONV void Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how);
7918f24d
NC
1252#define PERL_ARGS_ASSERT_HV_MAGIC \
1253 assert(hv)
3f1866a8 1254#endif
6ba07ce1 1255PERL_CALLCONV void Perl_hv_name_set(pTHX_ HV *hv, const char *name, U32 len, U32 flags);
e8a67806
NC
1256#define PERL_ARGS_ASSERT_HV_NAME_SET \
1257 assert(hv)
e8a67806 1258PERL_CALLCONV I32 Perl_hv_placeholders_get(pTHX_ const HV *hv)
6ba07ce1 1259 __attribute__warn_unused_result__;
e8a67806
NC
1260#define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_GET \
1261 assert(hv)
1262
6174b39a 1263PERL_CALLCONV SSize_t* Perl_hv_placeholders_p(pTHX_ HV *hv)
6ba07ce1 1264 __attribute__warn_unused_result__;
e8a67806
NC
1265#define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_P \
1266 assert(hv)
1267
6ba07ce1 1268PERL_CALLCONV void Perl_hv_placeholders_set(pTHX_ HV *hv, I32 ph);
e8a67806
NC
1269#define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_SET \
1270 assert(hv)
6ba07ce1 1271PERL_CALLCONV void Perl_hv_rand_set(pTHX_ HV *hv, U32 new_xhv_rand);
6a5b4183
YO
1272#define PERL_ARGS_ASSERT_HV_RAND_SET \
1273 assert(hv)
e8a67806 1274PERL_CALLCONV I32* Perl_hv_riter_p(pTHX_ HV *hv)
6ba07ce1 1275 __attribute__warn_unused_result__;
e8a67806
NC
1276#define PERL_ARGS_ASSERT_HV_RITER_P \
1277 assert(hv)
1278
6ba07ce1 1279PERL_CALLCONV void Perl_hv_riter_set(pTHX_ HV *hv, I32 riter);
e8a67806
NC
1280#define PERL_ARGS_ASSERT_HV_RITER_SET \
1281 assert(hv)
e8a67806 1282PERL_CALLCONV SV* Perl_hv_scalar(pTHX_ HV *hv)
6ba07ce1 1283 __attribute__warn_unused_result__;
e8a67806
NC
1284#define PERL_ARGS_ASSERT_HV_SCALAR \
1285 assert(hv)
012da8e5 1286
3f1866a8
KW
1287#ifndef NO_MATHOMS
1288PERL_CALLCONV SV** Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash);
1289#endif
1290#ifndef NO_MATHOMS
1291PERL_CALLCONV HE* Perl_hv_store_ent(pTHX_ HV *hv, SV *key, SV *val, U32 hash);
1292#endif
1293#ifndef NO_MATHOMS
1294PERL_CALLCONV SV** Perl_hv_store_flags(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash, int flags);
1295#endif
8581adba
FC
1296/* PERL_CALLCONV void hv_undef(pTHX_ HV *hv); */
1297PERL_CALLCONV void Perl_hv_undef_flags(pTHX_ HV *hv, U32 flags);
ca0c6e8c
KW
1298/* PERL_CALLCONV I32 ibcmp(pTHX_ const char* a, const char* b, I32 len)
1299 __attribute__warn_unused_result__
1300 __attribute__pure__; */
1301
1302/* PERL_CALLCONV I32 ibcmp_locale(pTHX_ const char* a, const char* b, I32 len)
1303 __attribute__warn_unused_result__
1304 __attribute__pure__; */
1305
6ba07ce1
JH
1306/* PERL_CALLCONV I32 ibcmp_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2); */
1307PERL_CALLCONV void Perl_init_argv_symbols(pTHX_ int argc, char **argv);
7918f24d
NC
1308#define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS \
1309 assert(argv)
0d96b528 1310PERL_CALLCONV void Perl_init_constants(pTHX);
8af6f985 1311PERL_CALLCONV void Perl_init_dbargs(pTHX);
1d7c1841 1312PERL_CALLCONV void Perl_init_debugger(pTHX);
e8a67806
NC
1313PERL_CALLCONV int Perl_init_i18nl10n(pTHX_ int printwarn);
1314PERL_CALLCONV int Perl_init_i18nl14n(pTHX_ int printwarn);
1d7c1841 1315PERL_CALLCONV void Perl_init_stacks(pTHX);
6ba07ce1 1316PERL_CALLCONV void Perl_init_tm(pTHX_ struct tm *ptm);
7918f24d
NC
1317#define PERL_ARGS_ASSERT_INIT_TM \
1318 assert(ptm)
3f1866a8
KW
1319#ifndef NO_MATHOMS
1320PERL_CALLCONV char* Perl_instr(const char* big, const char* little)
b464bac0 1321 __attribute__warn_unused_result__
3f1866a8 1322 __attribute__pure__;
7918f24d
NC
1323#define PERL_ARGS_ASSERT_INSTR \
1324 assert(big); assert(little)
3f1866a8 1325#endif
f54cb97a 1326
e8a67806
NC
1327PERL_CALLCONV U32 Perl_intro_my(pTHX);
1328PERL_CALLCONV OP* Perl_invert(pTHX_ OP* cmd)
1329 __attribute__warn_unused_result__;
1330
6ba07ce1 1331PERL_CALLCONV bool Perl_io_close(pTHX_ IO* io, GV *gv, bool not_implicit, bool warn_on_fail);
7918f24d
NC
1332#define PERL_ARGS_ASSERT_IO_CLOSE \
1333 assert(io)
f2645549 1334PERL_CALLCONV bool Perl_isALNUM_lazy(pTHX_ const char* p)
a8a2ceaa 1335 __attribute__deprecated__
a62e8919 1336 __attribute__warn_unused_result__;
a8a2ceaa
KW
1337#define PERL_ARGS_ASSERT_ISALNUM_LAZY \
1338 assert(p)
1339
f2645549 1340PERL_CALLCONV bool Perl_isIDFIRST_lazy(pTHX_ const char* p)
a8a2ceaa 1341 __attribute__deprecated__
a62e8919 1342 __attribute__warn_unused_result__;
a8a2ceaa
KW
1343#define PERL_ARGS_ASSERT_ISIDFIRST_LAZY \
1344 assert(p)
1345
a4c56e8a
KW
1346/* PERL_CALLCONV bool Perl_is_ascii_string(const U8* const s, const STRLEN len)
1347 __attribute__warn_unused_result__
1348 __attribute__pure__; */
7bbfa158 1349
9f2abfde 1350PERL_STATIC_INLINE bool S_is_c9strict_utf8_string(const U8 *s, const STRLEN len)
cfe24c19 1351 __attribute__warn_unused_result__;
9f2abfde
KW
1352#define PERL_ARGS_ASSERT_IS_C9STRICT_UTF8_STRING \
1353 assert(s)
1354
1355/* PERL_CALLCONV bool is_c9strict_utf8_string_loc(const U8 *s, const STRLEN len, const U8 **ep); */
1356PERL_STATIC_INLINE bool S_is_c9strict_utf8_string_loclen(const U8 *s, const STRLEN len, const U8 **ep, STRLEN *el);
1357#define PERL_ARGS_ASSERT_IS_C9STRICT_UTF8_STRING_LOCLEN \
1358 assert(s)
a4c56e8a
KW
1359/* PERL_CALLCONV bool Perl_is_invariant_string(const U8* const s, const STRLEN len)
1360 __attribute__warn_unused_result__
1361 __attribute__pure__; */
f54cb97a 1362
e8a67806
NC
1363PERL_CALLCONV I32 Perl_is_lvalue_sub(pTHX)
1364 __attribute__warn_unused_result__;
f54cb97a 1365
9f2abfde 1366PERL_STATIC_INLINE bool S_is_strict_utf8_string(const U8 *s, const STRLEN len)
cfe24c19 1367 __attribute__warn_unused_result__;
9f2abfde
KW
1368#define PERL_ARGS_ASSERT_IS_STRICT_UTF8_STRING \
1369 assert(s)
1370
1371/* PERL_CALLCONV bool is_strict_utf8_string_loc(const U8 *s, const STRLEN len, const U8 **ep); */
1372PERL_STATIC_INLINE bool S_is_strict_utf8_string_loclen(const U8 *s, const STRLEN len, const U8 **ep, STRLEN *el);
1373#define PERL_ARGS_ASSERT_IS_STRICT_UTF8_STRING_LOCLEN \
1374 assert(s)
e8a67806 1375PERL_CALLCONV bool Perl_is_uni_alnum(pTHX_ UV c)
143aeb96 1376 __attribute__deprecated__
a62e8919 1377 __attribute__warn_unused_result__;
f54cb97a 1378
e8a67806 1379PERL_CALLCONV bool Perl_is_uni_alnum_lc(pTHX_ UV c)
143aeb96 1380 __attribute__deprecated__
a62e8919 1381 __attribute__warn_unused_result__;
f54cb97a 1382
5092f92a 1383PERL_CALLCONV bool Perl_is_uni_alnumc(pTHX_ UV c)
143aeb96 1384 __attribute__deprecated__
a62e8919 1385 __attribute__warn_unused_result__;
5092f92a
KW
1386
1387PERL_CALLCONV bool Perl_is_uni_alnumc_lc(pTHX_ UV c)
143aeb96 1388 __attribute__deprecated__
a62e8919 1389 __attribute__warn_unused_result__;
5092f92a 1390
e8a67806 1391PERL_CALLCONV bool Perl_is_uni_alpha(pTHX_ UV c)
143aeb96 1392 __attribute__deprecated__
a62e8919 1393 __attribute__warn_unused_result__;
f54cb97a 1394
e8a67806 1395PERL_CALLCONV bool Perl_is_uni_alpha_lc(pTHX_ UV c)
143aeb96 1396 __attribute__deprecated__
a62e8919 1397 __attribute__warn_unused_result__;
f54cb97a
AL
1398
1399PERL_CALLCONV bool Perl_is_uni_ascii(pTHX_ UV c)
61b19385 1400 __attribute__deprecated__
abb2c242
JH
1401 __attribute__warn_unused_result__
1402 __attribute__pure__;
f54cb97a 1403
e8a67806 1404PERL_CALLCONV bool Perl_is_uni_ascii_lc(pTHX_ UV c)
61b19385 1405 __attribute__deprecated__
abb2c242
JH
1406 __attribute__warn_unused_result__
1407 __attribute__pure__;
f54cb97a 1408
bdd8600f 1409PERL_CALLCONV bool Perl_is_uni_blank(pTHX_ UV c)
61b19385 1410 __attribute__deprecated__
bdd8600f
KW
1411 __attribute__warn_unused_result__
1412 __attribute__pure__;
1413
9e3e825e 1414PERL_CALLCONV bool Perl_is_uni_blank_lc(pTHX_ UV c)
61b19385 1415 __attribute__deprecated__
9e3e825e
KW
1416 __attribute__warn_unused_result__
1417 __attribute__pure__;
1418
f54cb97a 1419PERL_CALLCONV bool Perl_is_uni_cntrl(pTHX_ UV c)
61b19385 1420 __attribute__deprecated__
abb2c242
JH
1421 __attribute__warn_unused_result__
1422 __attribute__pure__;
f54cb97a 1423
e8a67806 1424PERL_CALLCONV bool Perl_is_uni_cntrl_lc(pTHX_ UV c)
61b19385 1425 __attribute__deprecated__
abb2c242
JH
1426 __attribute__warn_unused_result__
1427 __attribute__pure__;
f54cb97a
AL
1428
1429PERL_CALLCONV bool Perl_is_uni_digit(pTHX_ UV c)
143aeb96 1430 __attribute__deprecated__
a62e8919 1431 __attribute__warn_unused_result__;
f54cb97a 1432
e8a67806 1433PERL_CALLCONV bool Perl_is_uni_digit_lc(pTHX_ UV c)
143aeb96 1434 __attribute__deprecated__
a62e8919 1435 __attribute__warn_unused_result__;
f54cb97a 1436
e8a67806 1437PERL_CALLCONV bool Perl_is_uni_graph(pTHX_ UV c)
143aeb96 1438 __attribute__deprecated__
a62e8919 1439 __attribute__warn_unused_result__;
f54cb97a 1440
e8a67806 1441PERL_CALLCONV bool Perl_is_uni_graph_lc(pTHX_ UV c)
143aeb96 1442 __attribute__deprecated__
a62e8919 1443 __attribute__warn_unused_result__;
f54cb97a 1444
e8a67806 1445PERL_CALLCONV bool Perl_is_uni_idfirst(pTHX_ UV c)
143aeb96 1446 __attribute__deprecated__
a62e8919 1447 __attribute__warn_unused_result__;
f54cb97a 1448
e8a67806 1449PERL_CALLCONV bool Perl_is_uni_idfirst_lc(pTHX_ UV c)
61b19385 1450 __attribute__deprecated__
a62e8919 1451 __attribute__warn_unused_result__;
f54cb97a 1452
e8a67806 1453PERL_CALLCONV bool Perl_is_uni_lower(pTHX_ UV c)
143aeb96 1454 __attribute__deprecated__
a62e8919 1455 __attribute__warn_unused_result__;
f54cb97a 1456
e8a67806 1457PERL_CALLCONV bool Perl_is_uni_lower_lc(pTHX_ UV c)
143aeb96 1458 __attribute__deprecated__
a62e8919 1459 __attribute__warn_unused_result__;
f54cb97a 1460
e8a67806 1461PERL_CALLCONV bool Perl_is_uni_print(pTHX_ UV c)
143aeb96 1462 __attribute__deprecated__
a62e8919 1463 __attribute__warn_unused_result__;
f54cb97a 1464
e8a67806 1465PERL_CALLCONV bool Perl_is_uni_print_lc(pTHX_ UV c)
143aeb96 1466 __attribute__deprecated__
a62e8919 1467 __attribute__warn_unused_result__;
f54cb97a 1468
e8a67806 1469PERL_CALLCONV bool Perl_is_uni_punct(pTHX_ UV c)
143aeb96 1470 __attribute__deprecated__
a62e8919 1471 __attribute__warn_unused_result__;
f54cb97a 1472
e8a67806 1473PERL_CALLCONV bool Perl_is_uni_punct_lc(pTHX_ UV c)
143aeb96 1474 __attribute__deprecated__
a62e8919 1475 __attribute__warn_unused_result__;
f54cb97a 1476
e8a67806 1477PERL_CALLCONV bool Perl_is_uni_space(pTHX_ UV c)
61b19385 1478 __attribute__deprecated__
abb2c242
JH
1479 __attribute__warn_unused_result__
1480 __attribute__pure__;
f54cb97a 1481
e8a67806 1482PERL_CALLCONV bool Perl_is_uni_space_lc(pTHX_ UV c)
61b19385 1483 __attribute__deprecated__
abb2c242
JH
1484 __attribute__warn_unused_result__
1485 __attribute__pure__;
f54cb97a 1486
e8a67806 1487PERL_CALLCONV bool Perl_is_uni_upper(pTHX_ UV c)
143aeb96 1488 __attribute__deprecated__
a62e8919 1489 __attribute__warn_unused_result__;
f54cb97a 1490
e8a67806 1491PERL_CALLCONV bool Perl_is_uni_upper_lc(pTHX_ UV c)
143aeb96 1492 __attribute__deprecated__
a62e8919 1493 __attribute__warn_unused_result__;
f54cb97a 1494
e8a67806 1495PERL_CALLCONV bool Perl_is_uni_xdigit(pTHX_ UV c)
61b19385 1496 __attribute__deprecated__
abb2c242
JH
1497 __attribute__warn_unused_result__
1498 __attribute__pure__;
f54cb97a
AL
1499
1500PERL_CALLCONV bool Perl_is_uni_xdigit_lc(pTHX_ UV c)
61b19385 1501 __attribute__deprecated__
abb2c242
JH
1502 __attribute__warn_unused_result__
1503 __attribute__pure__;
f54cb97a 1504
e8a67806 1505PERL_CALLCONV bool Perl_is_utf8_alnum(pTHX_ const U8 *p)
143aeb96 1506 __attribute__deprecated__
6ba07ce1 1507 __attribute__warn_unused_result__;
e8a67806 1508#define PERL_ARGS_ASSERT_IS_UTF8_ALNUM \
d1eb3177
YO
1509 assert(p)
1510
5092f92a 1511PERL_CALLCONV bool Perl_is_utf8_alnumc(pTHX_ const U8 *p)
143aeb96 1512 __attribute__deprecated__
6ba07ce1 1513 __attribute__warn_unused_result__;
5092f92a
KW
1514#define PERL_ARGS_ASSERT_IS_UTF8_ALNUMC \
1515 assert(p)
1516
e8a67806 1517PERL_CALLCONV bool Perl_is_utf8_alpha(pTHX_ const U8 *p)
143aeb96 1518 __attribute__deprecated__
6ba07ce1 1519 __attribute__warn_unused_result__;
e8a67806 1520#define PERL_ARGS_ASSERT_IS_UTF8_ALPHA \
7918f24d 1521 assert(p)
f54cb97a 1522
e8a67806 1523PERL_CALLCONV bool Perl_is_utf8_ascii(pTHX_ const U8 *p)
61b19385 1524 __attribute__deprecated__
6ba07ce1 1525 __attribute__warn_unused_result__;
e8a67806 1526#define PERL_ARGS_ASSERT_IS_UTF8_ASCII \
7918f24d 1527 assert(p)
f54cb97a 1528
bdd8600f 1529PERL_CALLCONV bool Perl_is_utf8_blank(pTHX_ const U8 *p)
61b19385 1530 __attribute__deprecated__
6ba07ce1 1531 __attribute__warn_unused_result__;
bdd8600f
KW
1532#define PERL_ARGS_ASSERT_IS_UTF8_BLANK \
1533 assert(p)
1534
e8a67806 1535PERL_CALLCONV STRLEN Perl_is_utf8_char(const U8 *s)
6ba07ce1 1536 __attribute__deprecated__;
e8a67806
NC
1537#define PERL_ARGS_ASSERT_IS_UTF8_CHAR \
1538 assert(s)
1539
3f1866a8
KW
1540#ifndef NO_MATHOMS
1541PERL_CALLCONV STRLEN Perl_is_utf8_char_buf(const U8 *buf, const U8 *buf_end);
492a624f
KW
1542#define PERL_ARGS_ASSERT_IS_UTF8_CHAR_BUF \
1543 assert(buf); assert(buf_end)
3f1866a8 1544#endif
e8a67806 1545PERL_CALLCONV bool Perl_is_utf8_cntrl(pTHX_ const U8 *p)
61b19385 1546 __attribute__deprecated__
6ba07ce1 1547 __attribute__warn_unused_result__;
e8a67806 1548#define PERL_ARGS_ASSERT_IS_UTF8_CNTRL \
7918f24d 1549 assert(p)
f54cb97a 1550
e8a67806 1551PERL_CALLCONV bool Perl_is_utf8_digit(pTHX_ const U8 *p)
143aeb96 1552 __attribute__deprecated__
6ba07ce1 1553 __attribute__warn_unused_result__;
e8a67806 1554#define PERL_ARGS_ASSERT_IS_UTF8_DIGIT \
7918f24d 1555 assert(p)
f54cb97a 1556
8bc127bf
KW
1557/* PERL_CALLCONV bool is_utf8_fixed_width_buf_flags(const U8 * const s, const STRLEN len, const U32 flags); */
1558/* PERL_CALLCONV bool is_utf8_fixed_width_buf_loc_flags(const U8 * const s, const STRLEN len, const U8 **ep, const U32 flags); */
1559PERL_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);
1560#define PERL_ARGS_ASSERT_IS_UTF8_FIXED_WIDTH_BUF_LOCLEN_FLAGS \
1561 assert(s)
e8a67806 1562PERL_CALLCONV bool Perl_is_utf8_graph(pTHX_ const U8 *p)
143aeb96 1563 __attribute__deprecated__
6ba07ce1 1564 __attribute__warn_unused_result__;
e8a67806 1565#define PERL_ARGS_ASSERT_IS_UTF8_GRAPH \
7918f24d 1566 assert(p)
f54cb97a 1567
e8a67806 1568PERL_CALLCONV bool Perl_is_utf8_idcont(pTHX_ const U8 *p)
61b19385 1569 __attribute__deprecated__
6ba07ce1 1570 __attribute__warn_unused_result__;
e8a67806 1571#define PERL_ARGS_ASSERT_IS_UTF8_IDCONT \
7918f24d 1572 assert(p)
f54cb97a 1573
e8a67806 1574PERL_CALLCONV bool Perl_is_utf8_idfirst(pTHX_ const U8 *p)
61b19385 1575 __attribute__deprecated__
6ba07ce1 1576 __attribute__warn_unused_result__;
e8a67806 1577#define PERL_ARGS_ASSERT_IS_UTF8_IDFIRST \
7918f24d 1578 assert(p)
f54cb97a 1579
1e599354 1580PERL_STATIC_INLINE bool S_is_utf8_invariant_string(const U8* const s, STRLEN const len)
cfe24c19 1581 __attribute__warn_unused_result__;
8871a094
KW
1582#define PERL_ARGS_ASSERT_IS_UTF8_INVARIANT_STRING \
1583 assert(s)
1584
e8a67806 1585PERL_CALLCONV bool Perl_is_utf8_lower(pTHX_ const U8 *p)
143aeb96 1586 __attribute__deprecated__
6ba07ce1 1587 __attribute__warn_unused_result__;
e8a67806 1588#define PERL_ARGS_ASSERT_IS_UTF8_LOWER \
37e2e78e
KW
1589 assert(p)
1590
e8a67806 1591PERL_CALLCONV bool Perl_is_utf8_mark(pTHX_ const U8 *p)
143aeb96 1592 __attribute__deprecated__
6ba07ce1 1593 __attribute__warn_unused_result__;
e8a67806 1594#define PERL_ARGS_ASSERT_IS_UTF8_MARK \
37e2e78e
KW
1595 assert(p)
1596
e8a67806 1597PERL_CALLCONV bool Perl_is_utf8_perl_space(pTHX_ const U8 *p)
61b19385 1598 __attribute__deprecated__
6ba07ce1 1599 __attribute__warn_unused_result__;
e8a67806 1600#define PERL_ARGS_ASSERT_IS_UTF8_PERL_SPACE \
37e2e78e
KW
1601 assert(p)
1602
e8a67806 1603PERL_CALLCONV bool Perl_is_utf8_perl_word(pTHX_ const U8 *p)
61b19385 1604 __attribute__deprecated__
6ba07ce1 1605 __attribute__warn_unused_result__;
e8a67806 1606#define PERL_ARGS_ASSERT_IS_UTF8_PERL_WORD \
37e2e78e
KW
1607 assert(p)
1608
e8a67806 1609PERL_CALLCONV bool Perl_is_utf8_posix_digit(pTHX_ const U8 *p)
61b19385 1610 __attribute__deprecated__
6ba07ce1 1611 __attribute__warn_unused_result__;
e8a67806 1612#define PERL_ARGS_ASSERT_IS_UTF8_POSIX_DIGIT \
37e2e78e
KW
1613 assert(p)
1614
e8a67806 1615PERL_CALLCONV bool Perl_is_utf8_print(pTHX_ const U8 *p)
143aeb96 1616 __attribute__deprecated__
6ba07ce1 1617 __attribute__warn_unused_result__;
e8a67806 1618#define PERL_ARGS_ASSERT_IS_UTF8_PRINT \
37e2e78e
KW
1619 assert(p)
1620
e8a67806 1621PERL_CALLCONV bool Perl_is_utf8_punct(pTHX_ const U8 *p)
143aeb96 1622 __attribute__deprecated__
6ba07ce1 1623 __attribute__warn_unused_result__;
e8a67806 1624#define PERL_ARGS_ASSERT_IS_UTF8_PUNCT \
37e2e78e
KW
1625 assert(p)
1626
e8a67806 1627PERL_CALLCONV bool Perl_is_utf8_space(pTHX_ const U8 *p)
61b19385 1628 __attribute__deprecated__
6ba07ce1 1629 __attribute__warn_unused_result__;
e8a67806 1630#define PERL_ARGS_ASSERT_IS_UTF8_SPACE \
37e2e78e
KW
1631 assert(p)
1632
c41b2540 1633PERL_STATIC_INLINE bool Perl_is_utf8_string(const U8 *s, const STRLEN len)
cfe24c19 1634 __attribute__warn_unused_result__;
e8a67806
NC
1635#define PERL_ARGS_ASSERT_IS_UTF8_STRING \
1636 assert(s)
35936d22 1637
9f2abfde 1638PERL_STATIC_INLINE bool S_is_utf8_string_flags(const U8 *s, const STRLEN len, const U32 flags)
cfe24c19 1639 __attribute__warn_unused_result__;
9f2abfde
KW
1640#define PERL_ARGS_ASSERT_IS_UTF8_STRING_FLAGS \
1641 assert(s)
1642
3f1866a8 1643#ifndef NO_MATHOMS
c41b2540 1644PERL_CALLCONV bool Perl_is_utf8_string_loc(const U8 *s, const STRLEN len, const U8 **ep);
e8a67806 1645#define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC \
55c5b58b 1646 assert(s); assert(ep)
3f1866a8 1647#endif
9f2abfde 1648/* PERL_CALLCONV bool is_utf8_string_loc_flags(const U8 *s, const STRLEN len, const U8 **ep, const U32 flags); */
c41b2540 1649PERL_STATIC_INLINE bool Perl_is_utf8_string_loclen(const U8 *s, const STRLEN len, const U8 **ep, STRLEN *el);
e8a67806
NC
1650#define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN \
1651 assert(s)
9f2abfde
KW
1652PERL_STATIC_INLINE bool S_is_utf8_string_loclen_flags(const U8 *s, const STRLEN len, const U8 **ep, STRLEN *el, const U32 flags);
1653#define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN_FLAGS \
1654 assert(s)
e8a67806 1655PERL_CALLCONV bool Perl_is_utf8_upper(pTHX_ const U8 *p)
143aeb96 1656 __attribute__deprecated__
6ba07ce1 1657 __attribute__warn_unused_result__;
e8a67806 1658#define PERL_ARGS_ASSERT_IS_UTF8_UPPER \
37e2e78e
KW
1659 assert(p)
1660
f1c999a7 1661/* PERL_CALLCONV bool is_utf8_valid_partial_char(const U8 * const s, const U8 * const e)
b289a0bd 1662 __attribute__warn_unused_result__
f1c999a7
KW
1663 __attribute__pure__; */
1664
1665PERL_STATIC_INLINE bool S_is_utf8_valid_partial_char_flags(const U8 * const s, const U8 * const e, const U32 flags)
cfe24c19 1666 __attribute__warn_unused_result__;
f1c999a7 1667#define PERL_ARGS_ASSERT_IS_UTF8_VALID_PARTIAL_CHAR_FLAGS \
4dab108f
KW
1668 assert(s); assert(e)
1669
e8a67806 1670PERL_CALLCONV bool Perl_is_utf8_xdigit(pTHX_ const U8 *p)
61b19385 1671 __attribute__deprecated__
6ba07ce1 1672 __attribute__warn_unused_result__;
e8a67806 1673#define PERL_ARGS_ASSERT_IS_UTF8_XDIGIT \
37e2e78e
KW
1674 assert(p)
1675
c11ff943 1676PERL_CALLCONV bool Perl_is_utf8_xidcont(pTHX_ const U8 *p)
61b19385 1677 __attribute__deprecated__
6ba07ce1 1678 __attribute__warn_unused_result__;
c11ff943
KW
1679#define PERL_ARGS_ASSERT_IS_UTF8_XIDCONT \
1680 assert(p)
1681
1682PERL_CALLCONV bool Perl_is_utf8_xidfirst(pTHX_ const U8 *p)
61b19385 1683 __attribute__deprecated__
6ba07ce1 1684 __attribute__warn_unused_result__;
c11ff943
KW
1685#define PERL_ARGS_ASSERT_IS_UTF8_XIDFIRST \
1686 assert(p)
1687
ca0c6e8c
KW
1688PERL_CALLCONV bool Perl_isinfnan(NV nv)
1689 __attribute__warn_unused_result__
1690 __attribute__pure__;
1691
6ba07ce1 1692PERL_CALLCONV bool Perl_isinfnansv(pTHX_ SV *sv);
354b74ae
FC
1693#define PERL_ARGS_ASSERT_ISINFNANSV \
1694 assert(sv)
6ba07ce1 1695PERL_CALLCONV OP* Perl_jmaybe(pTHX_ OP *o);
7918f24d
NC
1696#define PERL_ARGS_ASSERT_JMAYBE \
1697 assert(o)
4048f010 1698PERL_CALLCONV I32 Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
b289a0bd 1699 __attribute__warn_unused_result__
6ba07ce1 1700 __attribute__pure__;
7918f24d
NC
1701#define PERL_ARGS_ASSERT_KEYWORD \
1702 assert(name)
f54cb97a 1703
6ba07ce1 1704PERL_CALLCONV int Perl_keyword_plugin_standard(pTHX_ char* keyword_ptr, STRLEN keyword_len, OP** op_ptr);
e8a67806
NC
1705#define PERL_ARGS_ASSERT_KEYWORD_PLUGIN_STANDARD \
1706 assert(keyword_ptr); assert(op_ptr)
1c23e2bd 1707PERL_CALLCONV void Perl_leave_adjust_stacks(pTHX_ SV **from_sp, SV **to_sp, U8 gimme, int filter);
799da9d7 1708#define PERL_ARGS_ASSERT_LEAVE_ADJUST_STACKS \
e02ce34b 1709 assert(from_sp); assert(to_sp)
e8a67806
NC
1710PERL_CALLCONV void Perl_leave_scope(pTHX_ I32 base);
1711PERL_CALLCONV bool Perl_lex_bufutf8(pTHX);
6ba07ce1 1712PERL_CALLCONV void Perl_lex_discard_to(pTHX_ char* ptr);
e8a67806
NC
1713#define PERL_ARGS_ASSERT_LEX_DISCARD_TO \
1714 assert(ptr)
f0e67a1d 1715PERL_CALLCONV char* Perl_lex_grow_linestr(pTHX_ STRLEN len);
e8a67806
NC
1716PERL_CALLCONV bool Perl_lex_next_chunk(pTHX_ U32 flags);
1717PERL_CALLCONV I32 Perl_lex_peek_unichar(pTHX_ U32 flags);
1718PERL_CALLCONV void Perl_lex_read_space(pTHX_ U32 flags);
6ba07ce1 1719PERL_CALLCONV void Perl_lex_read_to(pTHX_ char* ptr);
e8a67806
NC
1720#define PERL_ARGS_ASSERT_LEX_READ_TO \
1721 assert(ptr)
e8a67806 1722PERL_CALLCONV I32 Perl_lex_read_unichar(pTHX_ U32 flags);
8eaa0acf 1723PERL_CALLCONV void Perl_lex_start(pTHX_ SV* line, PerlIO *rsfp, U32 flags);
6ba07ce1 1724PERL_CALLCONV void Perl_lex_stuff_pv(pTHX_ const char* pv, U32 flags);
9dcc53ea
Z
1725#define PERL_ARGS_ASSERT_LEX_STUFF_PV \
1726 assert(pv)
6ba07ce1 1727PERL_CALLCONV void Perl_lex_stuff_pvn(pTHX_ const char* pv, STRLEN len, U32 flags);
e8a67806
NC
1728#define PERL_ARGS_ASSERT_LEX_STUFF_PVN \
1729 assert(pv)
6ba07ce1 1730PERL_CALLCONV void Perl_lex_stuff_sv(pTHX_ SV* sv, U32 flags);
f0e67a1d
Z
1731#define PERL_ARGS_ASSERT_LEX_STUFF_SV \
1732 assert(sv)
6ba07ce1 1733PERL_CALLCONV void Perl_lex_unstuff(pTHX_ char* ptr);
f0e67a1d
Z
1734#define PERL_ARGS_ASSERT_LEX_UNSTUFF \
1735 assert(ptr)
1d7c1841 1736PERL_CALLCONV OP* Perl_list(pTHX_ OP* o);
6ba07ce1 1737PERL_CALLCONV void Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...);
7918f24d
NC
1738#define PERL_ARGS_ASSERT_LOAD_MODULE \
1739 assert(name)
6ba07ce1 1740PERL_CALLCONV OP* Perl_localize(pTHX_ OP *o, I32 lex);
7918f24d
NC
1741#define PERL_ARGS_ASSERT_LOCALIZE \
1742 assert(o)
aad570aa 1743PERL_CALLCONV I32 Perl_looks_like_number(pTHX_ SV *const sv)
6ba07ce1 1744 __attribute__warn_unused_result__;
7918f24d
NC
1745#define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER \
1746 assert(sv)
f54cb97a 1747
6ba07ce1 1748PERL_CALLCONV int Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg);
e8a67806
NC
1749#define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV \
1750 assert(sv); assert(mg)
6ba07ce1 1751PERL_CALLCONV int Perl_magic_cleararylen_p(pTHX_ SV* sv, MAGIC* mg);
83f29afa
VP
1752#define PERL_ARGS_ASSERT_MAGIC_CLEARARYLEN_P \
1753 assert(sv); assert(mg)
6ba07ce1 1754PERL_CALLCONV int Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1755#define PERL_ARGS_ASSERT_MAGIC_CLEARENV \
1756 assert(sv); assert(mg)
6ba07ce1 1757PERL_CALLCONV int Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1758#define PERL_ARGS_ASSERT_MAGIC_CLEARHINT \
1759 assert(sv); assert(mg)
6ba07ce1 1760PERL_CALLCONV int Perl_magic_clearhints(pTHX_ SV* sv, MAGIC* mg);
f747ebd6
Z
1761#define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS \
1762 assert(sv); assert(mg)
6ba07ce1 1763PERL_CALLCONV int Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg);
7918f24d 1764#define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
0e446081 1765 assert(mg)
6ba07ce1 1766PERL_CALLCONV int Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1767#define PERL_ARGS_ASSERT_MAGIC_CLEARPACK \
1768 assert(sv); assert(mg)
6ba07ce1 1769PERL_CALLCONV int Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1770#define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \
1771 assert(sv); assert(mg)
6ba07ce1 1772PERL_CALLCONV int Perl_magic_copycallchecker(pTHX_ SV* sv, MAGIC *mg, SV *nsv, const char *name, I32 namlen);
09fb282d
FC
1773#define PERL_ARGS_ASSERT_MAGIC_COPYCALLCHECKER \
1774 assert(sv); assert(mg); assert(nsv)
e8a67806 1775PERL_CALLCONV void Perl_magic_dump(pTHX_ const MAGIC *mg);
6ba07ce1 1776PERL_CALLCONV int Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg);
7918f24d
NC
1777#define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK \
1778 assert(sv); assert(mg)
6ba07ce1 1779PERL_CALLCONV int Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg);
e8a67806
NC
1780#define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P \
1781 assert(sv); assert(mg)
6ba07ce1 1782PERL_CALLCONV int Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1783#define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD \
1784 assert(sv); assert(mg)
6ba07ce1 1785PERL_CALLCONV int Perl_magic_get(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1786#define PERL_ARGS_ASSERT_MAGIC_GET \
1787 assert(sv); assert(mg)
6ba07ce1 1788PERL_CALLCONV int Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg);
7918f24d
NC
1789#define PERL_ARGS_ASSERT_MAGIC_GETARYLEN \
1790 assert(sv); assert(mg)
6ba07ce1 1791PERL_CALLCONV int Perl_magic_getdebugvar(pTHX_ SV* sv, MAGIC* mg);
a6d69523
TC
1792#define PERL_ARGS_ASSERT_MAGIC_GETDEBUGVAR \
1793 assert(sv); assert(mg)
6ba07ce1 1794PERL_CALLCONV int Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1795#define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM \
1796 assert(sv); assert(mg)
6ba07ce1 1797PERL_CALLCONV int Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1798#define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \
1799 assert(sv); assert(mg)
6ba07ce1 1800PERL_CALLCONV int Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1801#define PERL_ARGS_ASSERT_MAGIC_GETPACK \
1802 assert(sv); assert(mg)
6ba07ce1 1803PERL_CALLCONV int Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1804#define PERL_ARGS_ASSERT_MAGIC_GETPOS \
1805 assert(sv); assert(mg)
6ba07ce1 1806PERL_CALLCONV int Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1807#define PERL_ARGS_ASSERT_MAGIC_GETSIG \
1808 assert(sv); assert(mg)
6ba07ce1 1809PERL_CALLCONV int Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1810#define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR \
1811 assert(sv); assert(mg)
6ba07ce1 1812PERL_CALLCONV int Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1813#define PERL_ARGS_ASSERT_MAGIC_GETTAINT \
1814 assert(sv); assert(mg)
6ba07ce1 1815PERL_CALLCONV int Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1816#define PERL_ARGS_ASSERT_MAGIC_GETUVAR \
1817 assert(sv); assert(mg)
6ba07ce1 1818PERL_CALLCONV int Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1819#define PERL_ARGS_ASSERT_MAGIC_GETVEC \
1820 assert(sv); assert(mg)
6ba07ce1 1821PERL_CALLCONV int Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg);
e8a67806
NC
1822#define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS \
1823 assert(sv); assert(mg)
6ba07ce1 1824PERL_CALLCONV SV* Perl_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, SV *meth, U32 flags, U32 argc, ...);
e8a67806
NC
1825#define PERL_ARGS_ASSERT_MAGIC_METHCALL \
1826 assert(sv); assert(mg); assert(meth)
6ba07ce1 1827PERL_CALLCONV int Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key);
7918f24d
NC
1828#define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \
1829 assert(sv); assert(mg); assert(key)
6ba07ce1 1830PERL_CALLCONV U32 Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1831#define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT \
1832 assert(sv); assert(mg)
6ba07ce1 1833PERL_CALLCONV int Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1834#define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET \
1835 assert(sv); assert(mg)
6ba07ce1 1836PERL_CALLCONV SV* Perl_magic_scalarpack(pTHX_ HV *hv, MAGIC *mg);
e8a67806
NC
1837#define PERL_ARGS_ASSERT_MAGIC_SCALARPACK \
1838 assert(hv); assert(mg)
6ba07ce1 1839PERL_CALLCONV int Perl_magic_set(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1840#define PERL_ARGS_ASSERT_MAGIC_SET \
1841 assert(sv); assert(mg)
6ba07ce1 1842PERL_CALLCONV int Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg);
e8a67806 1843#define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV \
7918f24d 1844 assert(sv); assert(mg)
6ba07ce1 1845PERL_CALLCONV int Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg);
e8a67806 1846#define PERL_ARGS_ASSERT_MAGIC_SETARYLEN \
7918f24d 1847 assert(sv); assert(mg)
6ba07ce1 1848PERL_CALLCONV int Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1849#define PERL_ARGS_ASSERT_MAGIC_SETDBLINE \
1850 assert(sv); assert(mg)
6ba07ce1 1851PERL_CALLCONV int Perl_magic_setdebugvar(pTHX_ SV* sv, MAGIC* mg);
a6d69523
TC
1852#define PERL_ARGS_ASSERT_MAGIC_SETDEBUGVAR \
1853 assert(sv); assert(mg)
6ba07ce1 1854PERL_CALLCONV int Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1855#define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM \
1856 assert(sv); assert(mg)
6ba07ce1 1857PERL_CALLCONV int Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1858#define PERL_ARGS_ASSERT_MAGIC_SETENV \
1859 assert(sv); assert(mg)
6ba07ce1 1860PERL_CALLCONV int Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1861#define PERL_ARGS_ASSERT_MAGIC_SETHINT \
1862 assert(sv); assert(mg)
6ba07ce1 1863PERL_CALLCONV int Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1864#define PERL_ARGS_ASSERT_MAGIC_SETISA \
1865 assert(sv); assert(mg)
6ba07ce1 1866PERL_CALLCONV int Perl_magic_setlvref(pTHX_ SV* sv, MAGIC* mg);
9cce4f9a
FC
1867#define PERL_ARGS_ASSERT_MAGIC_SETLVREF \
1868 assert(sv); assert(mg)
6ba07ce1 1869PERL_CALLCONV int Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1870#define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \
1871 assert(sv); assert(mg)
6ba07ce1 1872PERL_CALLCONV int Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1873#define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \
1874 assert(sv); assert(mg)
6ba07ce1 1875PERL_CALLCONV int Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1876#define PERL_ARGS_ASSERT_MAGIC_SETPACK \
1877 assert(sv); assert(mg)
6ba07ce1 1878PERL_CALLCONV int Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1879#define PERL_ARGS_ASSERT_MAGIC_SETPOS \
1880 assert(sv); assert(mg)
6ba07ce1 1881PERL_CALLCONV int Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1882#define PERL_ARGS_ASSERT_MAGIC_SETREGEXP \
1883 assert(sv); assert(mg)
6ba07ce1 1884PERL_CALLCONV int Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg);
7918f24d 1885#define PERL_ARGS_ASSERT_MAGIC_SETSIG \
38a124f0 1886 assert(mg)
6ba07ce1 1887PERL_CALLCONV int Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1888#define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR \
1889 assert(sv); assert(mg)
6ba07ce1 1890PERL_CALLCONV int Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1891#define PERL_ARGS_ASSERT_MAGIC_SETTAINT \
1892 assert(sv); assert(mg)
6ba07ce1 1893PERL_CALLCONV int Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg);
e8a67806 1894#define PERL_ARGS_ASSERT_MAGIC_SETUTF8 \
7918f24d 1895 assert(sv); assert(mg)
6ba07ce1 1896PERL_CALLCONV int Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg);
e8a67806 1897#define PERL_ARGS_ASSERT_MAGIC_SETUVAR \
7918f24d 1898 assert(sv); assert(mg)
6ba07ce1 1899PERL_CALLCONV int Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg);
e8a67806 1900#define PERL_ARGS_ASSERT_MAGIC_SETVEC \
7918f24d 1901 assert(sv); assert(mg)
6ba07ce1 1902PERL_CALLCONV U32 Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1903#define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \
1904 assert(sv); assert(mg)
6ba07ce1 1905PERL_CALLCONV int Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg);
7918f24d
NC
1906#define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \
1907 assert(sv); assert(mg)
e8a67806
NC
1908PERL_CALLCONV Malloc_t Perl_malloc(MEM_SIZE nbytes)
1909 __attribute__malloc__
1910 __attribute__warn_unused_result__;
efaf3674 1911
ba5248fc 1912PERL_CALLCONV I32 * Perl_markstack_grow(pTHX);
894356b3 1913PERL_CALLCONV SV* Perl_mess(pTHX_ const char* pat, ...)
6ba07ce1 1914 __attribute__format__(__printf__,pTHX_1,pTHX_2);
7918f24d
NC
1915#define PERL_ARGS_ASSERT_MESS \
1916 assert(pat)
aec46f14 1917
6ba07ce1 1918PERL_CALLCONV SV* Perl_mess_sv(pTHX_ SV* basemsg, bool consume);
c5df3096
Z
1919#define PERL_ARGS_ASSERT_MESS_SV \
1920 assert(basemsg)
e8a67806 1921PERL_CALLCONV Free_t Perl_mfree(Malloc_t where);
6ba07ce1 1922PERL_CALLCONV int Perl_mg_clear(pTHX_ SV* sv);
7918f24d
NC
1923#define PERL_ARGS_ASSERT_MG_CLEAR \
1924 assert(sv)
6ba07ce1 1925PERL_CALLCONV int Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen);
7918f24d
NC
1926#define PERL_ARGS_ASSERT_MG_COPY \
1927 assert(sv); assert(nsv)
ddeaf645 1928PERL_CALLCONV MAGIC* Perl_mg_find(const SV* sv, int type)
255164ba
DM
1929 __attribute__warn_unused_result__;
1930
96c2a8ff 1931PERL_CALLCONV MAGIC* Perl_mg_find_mglob(pTHX_ SV* sv)
6ba07ce1 1932 __attribute__warn_unused_result__;
96c2a8ff
FC
1933#define PERL_ARGS_ASSERT_MG_FIND_MGLOB \
1934 assert(sv)
1935
ddeaf645 1936PERL_CALLCONV MAGIC* Perl_mg_findext(const SV* sv, int type, const MGVTBL *vtbl)
39de7f53
FR
1937 __attribute__warn_unused_result__;
1938
6ba07ce1 1939PERL_CALLCONV int Perl_mg_free(pTHX_ SV* sv);
7918f24d
NC
1940#define PERL_ARGS_ASSERT_MG_FREE \
1941 assert(sv)
6ba07ce1 1942PERL_CALLCONV void Perl_mg_free_type(pTHX_ SV* sv, int how);
d9088386
Z
1943#define PERL_ARGS_ASSERT_MG_FREE_TYPE \
1944 assert(sv)
6ba07ce1 1945PERL_CALLCONV int Perl_mg_get(pTHX_ SV* sv);
7918f24d
NC
1946#define PERL_ARGS_ASSERT_MG_GET \
1947 assert(sv)
9a957fbc 1948PERL_CALLCONV U32 Perl_mg_length(pTHX_ SV* sv)
6ba07ce1 1949 __attribute__deprecated__;
7918f24d
NC
1950#define PERL_ARGS_ASSERT_MG_LENGTH \
1951 assert(sv)
9a957fbc 1952
6ba07ce1 1953PERL_CALLCONV void Perl_mg_localize(pTHX_ SV* sv, SV* nsv, bool setmagic);
e8a67806
NC
1954#define PERL_ARGS_ASSERT_MG_LOCALIZE \
1955 assert(sv); assert(nsv)
6ba07ce1 1956PERL_CALLCONV void Perl_mg_magical(SV* sv);
7918f24d
NC
1957#define PERL_ARGS_ASSERT_MG_MAGICAL \
1958 assert(sv)
6ba07ce1 1959PERL_CALLCONV int Perl_mg_set(pTHX_ SV* sv);
7918f24d
NC
1960#define PERL_ARGS_ASSERT_MG_SET \
1961 assert(sv)
6ba07ce1 1962PERL_CALLCONV I32 Perl_mg_size(pTHX_ SV* sv);
7918f24d
NC
1963#define PERL_ARGS_ASSERT_MG_SIZE \
1964 assert(sv)
6ba07ce1 1965PERL_CALLCONV void Perl_mini_mktime(struct tm *ptm);
7918f24d
NC
1966#define PERL_ARGS_ASSERT_MINI_MKTIME \
1967 assert(ptm)
a79b25b7 1968PERL_CALLCONV int Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len);
e8a67806 1969PERL_CALLCONV void * Perl_more_bodies(pTHX_ const svtype sv_type, const size_t body_size, const size_t arena_size);
6ba07ce1 1970PERL_CALLCONV const char* Perl_moreswitches(pTHX_ const char* s);
7918f24d
NC
1971#define PERL_ARGS_ASSERT_MORESWITCHES \
1972 assert(s)
6ba07ce1 1973PERL_CALLCONV const struct mro_alg * Perl_mro_get_from_name(pTHX_ SV *name);
e8a67806
NC
1974#define PERL_ARGS_ASSERT_MRO_GET_FROM_NAME \
1975 assert(name)
6ba07ce1 1976PERL_CALLCONV AV* Perl_mro_get_linear_isa(pTHX_ HV* stash);
e8a67806
NC
1977#define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA \
1978 assert(stash)
6ba07ce1 1979PERL_CALLCONV SV* Perl_mro_get_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which);
e8a67806
NC
1980#define PERL_ARGS_ASSERT_MRO_GET_PRIVATE_DATA \
1981 assert(smeta); assert(which)
6ba07ce1 1982PERL_CALLCONV void Perl_mro_isa_changed_in(pTHX_ HV* stash);
4df35a07
FC
1983#define PERL_ARGS_ASSERT_MRO_ISA_CHANGED_IN \
1984 assert(stash)
6ba07ce1 1985PERL_CALLCONV struct mro_meta* Perl_mro_meta_init(pTHX_ HV* stash);
e8a67806
NC
1986#define PERL_ARGS_ASSERT_MRO_META_INIT \
1987 assert(stash)
6ba07ce1 1988PERL_CALLCONV void Perl_mro_method_changed_in(pTHX_ HV* stash);
e8a67806
NC
1989#define PERL_ARGS_ASSERT_MRO_METHOD_CHANGED_IN \
1990 assert(stash)
6ba07ce1 1991PERL_CALLCONV void Perl_mro_package_moved(pTHX_ HV * const stash, HV * const oldstash, const GV * const gv, U32 flags);
afdbe55d
FC
1992#define PERL_ARGS_ASSERT_MRO_PACKAGE_MOVED \
1993 assert(gv)
6ba07ce1 1994PERL_CALLCONV void Perl_mro_register(pTHX_ const struct mro_alg *mro);
e8a67806
NC
1995#define PERL_ARGS_ASSERT_MRO_REGISTER \
1996 assert(mro)
6ba07ce1 1997PERL_CALLCONV void Perl_mro_set_mro(pTHX_ struct mro_meta *const meta, SV *const name);
e8a67806
NC
1998#define PERL_ARGS_ASSERT_MRO_SET_MRO \
1999 assert(meta); assert(name)
6ba07ce1 2000PERL_CALLCONV SV* Perl_mro_set_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which, SV *const data);
e8a67806
NC
2001#define PERL_ARGS_ASSERT_MRO_SET_PRIVATE_DATA \
2002 assert(smeta); assert(which); assert(data)
6ba07ce1 2003PERL_CALLCONV SV* Perl_multideref_stringify(pTHX_ const OP* o, CV *cv);
48ee9c0e 2004#define PERL_ARGS_ASSERT_MULTIDEREF_STRINGIFY \
dc3c1c70 2005 assert(o)
6ba07ce1 2006PERL_CALLCONV NV Perl_my_atof(pTHX_ const char *s);
e8a67806
NC
2007#define PERL_ARGS_ASSERT_MY_ATOF \
2008 assert(s)
6ba07ce1 2009PERL_CALLCONV char* Perl_my_atof2(pTHX_ const char *s, NV* value);
e8a67806
NC
2010#define PERL_ARGS_ASSERT_MY_ATOF2 \
2011 assert(s); assert(value)
6ba07ce1 2012PERL_CALLCONV OP * Perl_my_attrs(pTHX_ OP *o, OP *attrs);
e8a67806
NC
2013#define PERL_ARGS_ASSERT_MY_ATTRS \
2014 assert(o)
e8a67806 2015PERL_CALLCONV void Perl_my_clearenv(pTHX);
ddeaf645 2016PERL_CALLCONV int Perl_my_dirfd(DIR* dir);
12a2785c 2017PERL_CALLCONV_NO_RET void Perl_my_exit(pTHX_ U32 status)
abb2c242 2018 __attribute__noreturn__;
f54cb97a 2019
12a2785c 2020PERL_CALLCONV_NO_RET void Perl_my_failure_exit(pTHX)
abb2c242 2021 __attribute__noreturn__;
f54cb97a 2022
1d7c1841 2023PERL_CALLCONV I32 Perl_my_fflush_all(pTHX);
52e18b1f 2024PERL_CALLCONV Pid_t Perl_my_fork(void);
3f1866a8
KW
2025#ifndef NO_MATHOMS
2026PERL_CALLCONV I32 Perl_my_lstat(pTHX);
2027#endif
0d7d409d 2028PERL_CALLCONV I32 Perl_my_lstat_flags(pTHX_ const U32 flags);
6ba07ce1 2029PERL_CALLCONV PerlIO* Perl_my_popen_list(pTHX_ const char* mode, int n, SV ** args);
7918f24d
NC
2030#define PERL_ARGS_ASSERT_MY_POPEN_LIST \
2031 assert(mode); assert(args)
e1ec3a88 2032PERL_CALLCONV void Perl_my_setenv(pTHX_ const char* nam, const char* val);
e8a67806 2033PERL_CALLCONV int Perl_my_snprintf(char *buffer, const Size_t len, const char *format, ...)
6ba07ce1 2034 __attribute__format__(__printf__,3,4);
e8a67806
NC
2035#define PERL_ARGS_ASSERT_MY_SNPRINTF \
2036 assert(buffer); assert(format)
2037
2038PERL_CALLCONV int Perl_my_socketpair(int family, int type, int protocol, int fd[2]);
3f1866a8
KW
2039#ifndef NO_MATHOMS
2040PERL_CALLCONV I32 Perl_my_stat(pTHX);
2041#endif
0d7d409d 2042PERL_CALLCONV I32 Perl_my_stat_flags(pTHX_ const U32 flags);
2c6ee1a7 2043PERL_CALLCONV char* Perl_my_strerror(pTHX_ const int errnum);
bfce84ec 2044PERL_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 2045 __attribute__format__(__strftime__,pTHX_1,0);
7918f24d
NC
2046#define PERL_ARGS_ASSERT_MY_STRFTIME \
2047 assert(fmt)
bfce84ec 2048
e8a67806 2049PERL_CALLCONV void Perl_my_unexec(pTHX);
6ba07ce1 2050PERL_CALLCONV int Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap);
e8a67806
NC
2051#define PERL_ARGS_ASSERT_MY_VSNPRINTF \
2052 assert(buffer); assert(format)
e8a67806
NC
2053PERL_CALLCONV OP* Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block);
2054PERL_CALLCONV OP* Perl_newANONHASH(pTHX_ OP* o)
e8a67806 2055 __attribute__warn_unused_result__;
f54cb97a 2056
f54cb97a 2057PERL_CALLCONV OP* Perl_newANONLIST(pTHX_ OP* o)
abb2c242 2058 __attribute__warn_unused_result__;
f54cb97a 2059
e8a67806
NC
2060PERL_CALLCONV OP* Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block);
2061PERL_CALLCONV OP* Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right)
abb2c242 2062 __attribute__warn_unused_result__;
f54cb97a 2063
e8f91c91
DD
2064/* PERL_CALLCONV CV* newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block); */
2065PERL_CALLCONV CV* Perl_newATTRSUB_x(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block, bool o_is_gv);
3f1866a8
KW
2066#ifndef NO_MATHOMS
2067PERL_CALLCONV AV* Perl_newAV(pTHX)
2068 __attribute__warn_unused_result__;
2069#endif
e8a67806
NC
2070
2071PERL_CALLCONV OP* Perl_newAVREF(pTHX_ OP* o)
6ba07ce1 2072 __attribute__warn_unused_result__;
e8a67806
NC
2073#define PERL_ARGS_ASSERT_NEWAVREF \
2074 assert(o)
2075
2076PERL_CALLCONV OP* Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
abb2c242 2077 __attribute__warn_unused_result__;
f54cb97a 2078
aec46f14 2079PERL_CALLCONV OP* Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop)
6ba07ce1 2080 __attribute__warn_unused_result__;
7918f24d
NC
2081#define PERL_ARGS_ASSERT_NEWCONDOP \
2082 assert(first)
aec46f14 2083
99ab892b 2084PERL_CALLCONV CV* Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv);
9c0a6090 2085PERL_CALLCONV CV* Perl_newCONSTSUB_flags(pTHX_ HV* stash, const char* name, STRLEN len, U32 flags, SV* sv);
e8a67806 2086PERL_CALLCONV OP* Perl_newCVREF(pTHX_ I32 flags, OP* o)
e8a67806
NC
2087 __attribute__warn_unused_result__;
2088
ce409cc8
LM
2089PERL_CALLCONV OP* Perl_newDEFSVOP(pTHX)
2090 __attribute__warn_unused_result__;
2091
b5bbe64a 2092PERL_CALLCONV void Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
94bf0465 2093PERL_CALLCONV OP* Perl_newFOROP(pTHX_ I32 flags, OP* sv, OP* expr, OP* block, OP* cont)
6ba07ce1 2094 __attribute__warn_unused_result__;
7918f24d
NC
2095#define PERL_ARGS_ASSERT_NEWFOROP \
2096 assert(expr)
f54cb97a 2097
0d863452 2098PERL_CALLCONV OP* Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off)
6ba07ce1 2099 __attribute__warn_unused_result__;
7918f24d
NC
2100#define PERL_ARGS_ASSERT_NEWGIVENOP \
2101 assert(cond); assert(block)
0d863452 2102
6ba07ce1 2103PERL_CALLCONV GP * Perl_newGP(pTHX_ GV *const gv);
e8a67806
NC
2104#define PERL_ARGS_ASSERT_NEWGP \
2105 assert(gv)
e8a67806 2106PERL_CALLCONV OP* Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv)
6ba07ce1 2107 __attribute__warn_unused_result__;
e8a67806
NC
2108#define PERL_ARGS_ASSERT_NEWGVOP \
2109 assert(gv)
2110
2111PERL_CALLCONV OP* Perl_newGVREF(pTHX_ I32 type, OP* o)
e8a67806
NC
2112 __attribute__warn_unused_result__;
2113
6ba07ce1 2114/* PERL_CALLCONV GV* newGVgen(pTHX_ const char* pack); */
9cc50d5b 2115PERL_CALLCONV GV* Perl_newGVgen_flags(pTHX_ const char* pack, U32 flags)
6ba07ce1 2116 __attribute__warn_unused_result__;
9cc50d5b 2117#define PERL_ARGS_ASSERT_NEWGVGEN_FLAGS \
e8a67806
NC
2118 assert(pack)
2119
3f1866a8
KW
2120#ifndef NO_MATHOMS
2121PERL_CALLCONV HV* Perl_newHV(pTHX)
2122 __attribute__warn_unused_result__;
2123#endif
e8a67806
NC
2124
2125PERL_CALLCONV OP* Perl_newHVREF(pTHX_ OP* o)
6ba07ce1 2126 __attribute__warn_unused_result__;
e8a67806
NC
2127#define PERL_ARGS_ASSERT_NEWHVREF \
2128 assert(o)
2129
2130PERL_CALLCONV HV* Perl_newHVhv(pTHX_ HV *hv)
e8a67806
NC
2131 __attribute__warn_unused_result__;
2132
3f1866a8
KW
2133#ifndef NO_MATHOMS
2134PERL_CALLCONV IO* Perl_newIO(pTHX)
3f1866a8
KW
2135 __attribute__warn_unused_result__;
2136#endif
e8a67806
NC
2137
2138PERL_CALLCONV OP* Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
e8a67806
NC
2139 __attribute__warn_unused_result__;
2140
4048f010 2141PERL_CALLCONV OP* Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
6ba07ce1 2142 __attribute__warn_unused_result__;
7918f24d
NC
2143#define PERL_ARGS_ASSERT_NEWLOGOP \
2144 assert(first); assert(other)
f54cb97a
AL
2145
2146PERL_CALLCONV OP* Perl_newLOOPEX(pTHX_ I32 type, OP* label)
6ba07ce1 2147 __attribute__warn_unused_result__;
7918f24d
NC
2148#define PERL_ARGS_ASSERT_NEWLOOPEX \
2149 assert(label)
f54cb97a
AL
2150
2151PERL_CALLCONV OP* Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block)
abb2c242 2152 __attribute__warn_unused_result__;
f54cb97a 2153
b46e009d 2154PERL_CALLCONV OP* Perl_newMETHOP(pTHX_ I32 type, I32 flags, OP* dynamic_meth)
6ba07ce1 2155 __attribute__warn_unused_result__;
b46e009d 2156#define PERL_ARGS_ASSERT_NEWMETHOP \
2157 assert(dynamic_meth)
2158
2159PERL_CALLCONV OP* Perl_newMETHOP_named(pTHX_ I32 type, I32 flags, SV* const_meth)
6ba07ce1 2160 __attribute__warn_unused_result__;
b46e009d 2161#define PERL_ARGS_ASSERT_NEWMETHOP_NAMED \
2162 assert(const_meth)
2163
6ba07ce1 2164PERL_CALLCONV CV * Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block);
50278755
FC
2165#define PERL_ARGS_ASSERT_NEWMYSUB \
2166 assert(o)
4373e329 2167PERL_CALLCONV OP* Perl_newNULLLIST(pTHX)
abb2c242 2168 __attribute__warn_unused_result__;
f54cb97a
AL
2169
2170PERL_CALLCONV OP* Perl_newOP(pTHX_ I32 optype, I32 flags)
abb2c242 2171 __attribute__warn_unused_result__;
f54cb97a 2172
a0e9f837 2173PERL_CALLCONV PADNAMELIST * Perl_newPADNAMELIST(size_t max)
9b7476d7
FC
2174 __attribute__warn_unused_result__;
2175
a0e9f837 2176PERL_CALLCONV PADNAME * Perl_newPADNAMEouter(PADNAME *outer)
6ba07ce1 2177 __attribute__warn_unused_result__;
0f94cb1f
FC
2178#define PERL_ARGS_ASSERT_NEWPADNAMEOUTER \
2179 assert(outer)
2180
a0e9f837 2181PERL_CALLCONV PADNAME * Perl_newPADNAMEpvn(const char *s, STRLEN len)
6ba07ce1 2182 __attribute__warn_unused_result__;
0f94cb1f
FC
2183#define PERL_ARGS_ASSERT_NEWPADNAMEPVN \
2184 assert(s)
2185
e8a67806 2186PERL_CALLCONV OP* Perl_newPMOP(pTHX_ I32 type, I32 flags)
e8a67806
NC
2187 __attribute__warn_unused_result__;
2188
6ba07ce1 2189PERL_CALLCONV void Perl_newPROG(pTHX_ OP* o);
7918f24d
NC
2190#define PERL_ARGS_ASSERT_NEWPROG \
2191 assert(o)
e8a67806 2192PERL_CALLCONV OP* Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv)
e8a67806
NC
2193 __attribute__warn_unused_result__;
2194
f54cb97a 2195PERL_CALLCONV OP* Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right)
6ba07ce1 2196 __attribute__warn_unused_result__;
7918f24d
NC
2197#define PERL_ARGS_ASSERT_NEWRANGE \
2198 assert(left); assert(right)
f54cb97a 2199
e8a67806 2200PERL_CALLCONV SV* Perl_newRV(pTHX_ SV *const sv)
6ba07ce1 2201 __attribute__warn_unused_result__;
e8a67806
NC
2202#define PERL_ARGS_ASSERT_NEWRV \
2203 assert(sv)
2204
38ee6910 2205PERL_CALLCONV SV* Perl_newRV_noinc(pTHX_ SV *const tmpRef)
6ba07ce1 2206 __attribute__warn_unused_result__;
e8a67806 2207#define PERL_ARGS_ASSERT_NEWRV_NOINC \
38ee6910 2208 assert(tmpRef)
e8a67806 2209
f54cb97a 2210PERL_CALLCONV OP* Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop)
abb2c242 2211 __attribute__warn_unused_result__;
f54cb97a
AL
2212
2213PERL_CALLCONV OP* Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o)
abb2c242 2214 __attribute__warn_unused_result__;
f54cb97a 2215
6ba07ce1 2216PERL_CALLCONV CV* Perl_newSTUB(pTHX_ GV *gv, bool fake);
186a5ba8
FC
2217#define PERL_ARGS_ASSERT_NEWSTUB \
2218 assert(gv)
3f1866a8
KW
2219#ifndef NO_MATHOMS
2220PERL_CALLCONV CV* Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block);
2221#endif
e8a67806 2222PERL_CALLCONV SV* Perl_newSV(pTHX_ const STRLEN len)
e8a67806 2223 __attribute__warn_unused_result__;
77004dee 2224
e8a67806 2225PERL_CALLCONV OP* Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv)
6ba07ce1 2226 __attribute__warn_unused_result__;
e8a67806
NC
2227#define PERL_ARGS_ASSERT_NEWSVOP \
2228 assert(sv)
f54cb97a 2229
e8a67806 2230PERL_CALLCONV OP* Perl_newSVREF(pTHX_ OP* o)
6ba07ce1 2231 __attribute__warn_unused_result__;
e8a67806 2232#define PERL_ARGS_ASSERT_NEWSVREF \
7918f24d 2233 assert(o)
f54cb97a 2234
e8a67806 2235PERL_CALLCONV SV* Perl_newSV_type(pTHX_ const svtype type)
abb2c242 2236 __attribute__warn_unused_result__;
f54cb97a 2237
199f858d 2238PERL_CALLCONV SV* Perl_newSVavdefelem(pTHX_ AV *av, SSize_t ix, bool extendible)
6ba07ce1 2239 __attribute__warn_unused_result__;
199f858d
FC
2240#define PERL_ARGS_ASSERT_NEWSVAVDEFELEM \
2241 assert(av)
2242
e8a67806 2243PERL_CALLCONV SV* Perl_newSVhek(pTHX_ const HEK *const hek)
abb2c242 2244 __attribute__warn_unused_result__;
f54cb97a 2245
e8a67806 2246PERL_CALLCONV SV* Perl_newSViv(pTHX_ const IV i)
e8a67806 2247 __attribute__warn_unused_result__;
f54cb97a 2248
e8a67806 2249PERL_CALLCONV SV* Perl_newSVnv(pTHX_ const NV n)
abb2c242 2250 __attribute__warn_unused_result__;
f54cb97a 2251
e8a67806 2252PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
abb2c242 2253 __attribute__warn_unused_result__;
f54cb97a 2254
e8a67806 2255PERL_CALLCONV SV* Perl_newSVpv_share(pTHX_ const char* s, U32 hash)
abb2c242 2256 __attribute__warn_unused_result__;
f54cb97a 2257
e8a67806 2258PERL_CALLCONV SV* Perl_newSVpvf(pTHX_ const char *const pat, ...)
abb2c242 2259 __attribute__warn_unused_result__
6ba07ce1 2260 __attribute__format__(__printf__,pTHX_1,pTHX_2);
e8a67806
NC
2261#define PERL_ARGS_ASSERT_NEWSVPVF \
2262 assert(pat)
f54cb97a 2263
23f13727 2264PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char *const s, const STRLEN len)
abb2c242 2265 __attribute__warn_unused_result__;
f54cb97a 2266
23f13727 2267PERL_CALLCONV SV* Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)
740cce10
NC
2268 __attribute__warn_unused_result__;
2269
f54cb97a 2270PERL_CALLCONV SV* Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash)
abb2c242 2271 __attribute__warn_unused_result__;
f54cb97a 2272
6ba07ce1 2273PERL_CALLCONV SV* Perl_newSVrv(pTHX_ SV *const rv, const char *const classname);
7918f24d
NC
2274#define PERL_ARGS_ASSERT_NEWSVRV \
2275 assert(rv)
23f13727 2276PERL_CALLCONV SV* Perl_newSVsv(pTHX_ SV *const old)
abb2c242 2277 __attribute__warn_unused_result__;
f54cb97a 2278
e8a67806 2279PERL_CALLCONV SV* Perl_newSVuv(pTHX_ const UV u)
b9f83d2f
NC
2280 __attribute__warn_unused_result__;
2281
f54cb97a 2282PERL_CALLCONV OP* Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first)
abb2c242 2283 __attribute__warn_unused_result__;
f54cb97a 2284
2f7c6295 2285PERL_CALLCONV OP* Perl_newUNOP_AUX(pTHX_ I32 type, I32 flags, OP* first, UNOP_AUX_item *aux)
2f7c6295
DM
2286 __attribute__warn_unused_result__;
2287
0d863452 2288PERL_CALLCONV OP* Perl_newWHENOP(pTHX_ OP* cond, OP* block)
6ba07ce1 2289 __attribute__warn_unused_result__;
7918f24d
NC
2290#define PERL_ARGS_ASSERT_NEWWHENOP \
2291 assert(block)
0d863452 2292
94bf0465 2293PERL_CALLCONV OP* Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, OP* expr, OP* block, OP* cont, I32 has_my)
abb2c242 2294 __attribute__warn_unused_result__;
f54cb97a 2295
6ba07ce1 2296PERL_CALLCONV CV* Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename);
e8a67806
NC
2297#define PERL_ARGS_ASSERT_NEWXS \
2298 assert(subaddr); assert(filename)
6ba07ce1 2299PERL_CALLCONV CV * Perl_newXS_deffile(pTHX_ const char *name, XSUBADDR_t subaddr);
9a189793
DD
2300#define PERL_ARGS_ASSERT_NEWXS_DEFFILE \
2301 assert(name); assert(subaddr)
6ba07ce1 2302PERL_CALLCONV CV * Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags);
e8a67806
NC
2303#define PERL_ARGS_ASSERT_NEWXS_FLAGS \
2304 assert(subaddr); assert(filename)
6ba07ce1 2305PERL_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 2306#define PERL_ARGS_ASSERT_NEWXS_LEN_FLAGS \
9a189793 2307 assert(subaddr)
e8a67806 2308PERL_CALLCONV void Perl_new_collate(pTHX_ const char* newcoll);
6ba07ce1 2309PERL_CALLCONV void Perl_new_ctype(pTHX_ const char* newctype);
e8a67806
NC
2310#define PERL_ARGS_ASSERT_NEW_CTYPE \
2311 assert(newctype)
e8a67806
NC
2312PERL_CALLCONV void Perl_new_numeric(pTHX_ const char* newcoll);
2313PERL_CALLCONV PERL_SI* Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
e8a67806 2314 __attribute__warn_unused_result__;
91152fc1 2315
6ba07ce1 2316PERL_CALLCONV SV* Perl_new_version(pTHX_ SV *ver);
7918f24d
NC
2317#define PERL_ARGS_ASSERT_NEW_VERSION \
2318 assert(ver)
e8a67806 2319PERL_CALLCONV STRLEN * Perl_new_warnings_bitfield(pTHX_ STRLEN *buffer, const char *const bits, STRLEN size)
6ba07ce1 2320 __attribute__warn_unused_result__;
e8a67806
NC
2321#define PERL_ARGS_ASSERT_NEW_WARNINGS_BITFIELD \
2322 assert(bits)
f54cb97a 2323
6ba07ce1 2324PERL_CALLCONV PerlIO* Perl_nextargv(pTHX_ GV* gv, bool nomagicopen);
7918f24d
NC
2325#define PERL_ARGS_ASSERT_NEXTARGV \
2326 assert(gv)
db6e00bd
DD
2327PERL_CALLCONV_NO_RET void Perl_noperl_die(const char* pat, ...)
2328 __attribute__noreturn__
6ba07ce1 2329 __attribute__format__(__printf__,1,2);
db6e00bd
DD
2330#define PERL_ARGS_ASSERT_NOPERL_DIE \
2331 assert(pat)
2332
e8a67806
NC
2333PERL_CALLCONV int Perl_nothreadhook(pTHX);
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
NC
3078#define PERL_ARGS_ASSERT_SV_DUMP \
3079 assert(sv)
e8a67806 3080/* PERL_CALLCONV I32 sv_eq(pTHX_ SV* sv1, SV* sv2); */
31c72c81 3081PERL_CALLCONV I32 Perl_sv_eq_flags(pTHX_ SV* sv1, SV* sv2, const U32 flags);
3f1866a8
KW
3082#ifndef NO_MATHOMS
3083PERL_CALLCONV void Perl_sv_force_normal(pTHX_ SV *sv);
e8a67806
NC
3084#define PERL_ARGS_ASSERT_SV_FORCE_NORMAL \
3085 assert(sv)
3f1866a8 3086#endif
6ba07ce1 3087PERL_CALLCONV void Perl_sv_force_normal_flags(pTHX_ SV *const sv, const U32 flags);
e8a67806
NC
3088#define PERL_ARGS_ASSERT_SV_FORCE_NORMAL_FLAGS \
3089 assert(sv)