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