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