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