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