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