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