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