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