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