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