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