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