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