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