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