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