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