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