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