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