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