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