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