This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
gv.c: Added gv_init_(sv|pv|pvn), renamed gv_init_sv as gv_init_svtype.
[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
fb9bf107
NC
1195PERL_CALLCONV GV* Perl_gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level)
1196 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1197#define PERL_ARGS_ASSERT_GV_FETCHMETH \
1198 assert(name)
fb9bf107
NC
1199
1200PERL_CALLCONV GV* Perl_gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level)
1201 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1202#define PERL_ARGS_ASSERT_GV_FETCHMETH_AUTOLOAD \
1203 assert(name)
fb9bf107 1204
887986eb 1205/* PERL_CALLCONV GV* Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name)
eff494dd 1206 __attribute__nonnull__(pTHX_1)
887986eb 1207 __attribute__nonnull__(pTHX_2); */
7918f24d 1208#define PERL_ARGS_ASSERT_GV_FETCHMETHOD \
eff494dd 1209 assert(stash); assert(name)
fb9bf107
NC
1210
1211PERL_CALLCONV GV* Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload)
eff494dd 1212 __attribute__nonnull__(pTHX_1)
fb9bf107 1213 __attribute__nonnull__(pTHX_2);
7918f24d 1214#define PERL_ARGS_ASSERT_GV_FETCHMETHOD_AUTOLOAD \
eff494dd 1215 assert(stash); assert(name)
fb9bf107 1216
256d1bb2 1217PERL_CALLCONV GV* Perl_gv_fetchmethod_flags(pTHX_ HV* stash, const char* name, U32 flags)
eff494dd 1218 __attribute__nonnull__(pTHX_1)
256d1bb2
NC
1219 __attribute__nonnull__(pTHX_2);
1220#define PERL_ARGS_ASSERT_GV_FETCHMETHOD_FLAGS \
eff494dd 1221 assert(stash); assert(name)
256d1bb2 1222
fe9845cc 1223PERL_CALLCONV GV* Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 add, const svtype sv_type)
9a957fbc 1224 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1225#define PERL_ARGS_ASSERT_GV_FETCHPV \
1226 assert(nambeg)
9a957fbc 1227
e8a67806
NC
1228PERL_CALLCONV GV* Perl_gv_fetchpvn_flags(pTHX_ const char* name, STRLEN len, I32 flags, const svtype sv_type)
1229 __attribute__nonnull__(pTHX_1);
1230#define PERL_ARGS_ASSERT_GV_FETCHPVN_FLAGS \
1231 assert(name)
1232
1233PERL_CALLCONV GV* Perl_gv_fetchsv(pTHX_ SV *name, I32 flags, const svtype sv_type)
1234 __attribute__nonnull__(pTHX_1);
1235#define PERL_ARGS_ASSERT_GV_FETCHSV \
1236 assert(name)
1237
9a957fbc
AL
1238PERL_CALLCONV void Perl_gv_fullname(pTHX_ SV* sv, const GV* gv)
1239 __attribute__nonnull__(pTHX_1)
1240 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1241#define PERL_ARGS_ASSERT_GV_FULLNAME \
1242 assert(sv); assert(gv)
9a957fbc
AL
1243
1244/* PERL_CALLCONV void Perl_gv_fullname3(pTHX_ SV* sv, const GV* gv, const char* prefix)
1245 __attribute__nonnull__(pTHX_1)
1246 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
1247#define PERL_ARGS_ASSERT_GV_FULLNAME3 \
1248 assert(sv); assert(gv)
9a957fbc
AL
1249
1250PERL_CALLCONV void Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain)
1251 __attribute__nonnull__(pTHX_1)
1252 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1253#define PERL_ARGS_ASSERT_GV_FULLNAME4 \
1254 assert(sv); assert(gv)
9a957fbc 1255
e8a67806
NC
1256PERL_CALLCONV CV* Perl_gv_handler(pTHX_ HV* stash, I32 id)
1257 __attribute__warn_unused_result__;
803f2748 1258
e6066781 1259PERL_CALLCONV void Perl_gv_init_pv(pTHX_ GV* gv, HV* stash, const char* name, int multi, U32 flags)
53c1dcc0 1260 __attribute__nonnull__(pTHX_1)
53c1dcc0 1261 __attribute__nonnull__(pTHX_3);
e6066781 1262#define PERL_ARGS_ASSERT_GV_INIT_PV \
7918f24d 1263 assert(gv); assert(name)
53c1dcc0 1264
e6066781
BF
1265PERL_CALLCONV void Perl_gv_init_pvn(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi, U32 flags)
1266 __attribute__nonnull__(pTHX_1)
1267 __attribute__nonnull__(pTHX_3);
1268#define PERL_ARGS_ASSERT_GV_INIT_PVN \
1269 assert(gv); assert(name)
1270
1271PERL_CALLCONV void Perl_gv_init_sv(pTHX_ GV* gv, HV* stash, SV* namesv, int multi, U32 flags)
1272 __attribute__nonnull__(pTHX_1)
1273 __attribute__nonnull__(pTHX_3);
1274#define PERL_ARGS_ASSERT_GV_INIT_SV \
1275 assert(gv); assert(namesv)
1276
f5c1e807 1277PERL_CALLCONV void Perl_gv_name_set(pTHX_ GV* gv, const char *name, U32 len, U32 flags)
9f616d01
MHM
1278 __attribute__nonnull__(pTHX_1)
1279 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1280#define PERL_ARGS_ASSERT_GV_NAME_SET \
1281 assert(gv); assert(name)
f5c1e807 1282
da51bb9b 1283PERL_CALLCONV HV* Perl_gv_stashpv(pTHX_ const char* name, I32 flags)
aa924a5a 1284 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1285#define PERL_ARGS_ASSERT_GV_STASHPV \
1286 assert(name)
aa924a5a 1287
da51bb9b 1288PERL_CALLCONV HV* Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 flags)
aa924a5a 1289 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1290#define PERL_ARGS_ASSERT_GV_STASHPVN \
1291 assert(name)
aa924a5a 1292
8798655d
NC
1293PERL_CALLCONV HV* Perl_gv_stashsv(pTHX_ SV* sv, I32 flags)
1294 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1295#define PERL_ARGS_ASSERT_GV_STASHSV \
1296 assert(sv)
8798655d 1297
e8a67806
NC
1298PERL_CALLCONV void Perl_gv_try_downgrade(pTHX_ GV* gv)
1299 __attribute__nonnull__(pTHX_1);
1300#define PERL_ARGS_ASSERT_GV_TRY_DOWNGRADE \
1301 assert(gv)
1302
1303PERL_CALLCONV AV** Perl_hv_backreferences_p(pTHX_ HV *hv)
1304 __attribute__nonnull__(pTHX_1);
1305#define PERL_ARGS_ASSERT_HV_BACKREFERENCES_P \
1306 assert(hv)
1307
4048f010 1308PERL_CALLCONV void Perl_hv_clear(pTHX_ HV *hv);
e8a67806
NC
1309PERL_CALLCONV void Perl_hv_clear_placeholders(pTHX_ HV *hv)
1310 __attribute__nonnull__(pTHX_1);
1311#define PERL_ARGS_ASSERT_HV_CLEAR_PLACEHOLDERS \
1312 assert(hv)
1313
1314PERL_CALLCONV void* Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char* key, STRLEN klen, int flags, int action, SV *val, U32 hash);
1315PERL_CALLCONV void* Perl_hv_common_key_len(pTHX_ HV *hv, const char *key, I32 klen_i32, const int action, SV *val, const U32 hash)
1316 __attribute__nonnull__(pTHX_2);
1317#define PERL_ARGS_ASSERT_HV_COMMON_KEY_LEN \
1318 assert(key)
1319
defdfed5
Z
1320PERL_CALLCONV HV * Perl_hv_copy_hints_hv(pTHX_ HV *const ohv)
1321 __attribute__warn_unused_result__;
1322
4048f010 1323PERL_CALLCONV void Perl_hv_delayfree_ent(pTHX_ HV *hv, HE *entry)
aa924a5a 1324 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1325#define PERL_ARGS_ASSERT_HV_DELAYFREE_ENT \
1326 assert(hv)
aa924a5a 1327
4048f010 1328/* PERL_CALLCONV SV* Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen, I32 flags)
a038e571 1329 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
1330#define PERL_ARGS_ASSERT_HV_DELETE \
1331 assert(key)
aa924a5a 1332
4048f010 1333/* PERL_CALLCONV SV* Perl_hv_delete_ent(pTHX_ HV *hv, SV *keysv, I32 flags, U32 hash)
4c2df08c 1334 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
1335#define PERL_ARGS_ASSERT_HV_DELETE_ENT \
1336 assert(keysv)
aa924a5a 1337
e8a67806
NC
1338PERL_CALLCONV HE** Perl_hv_eiter_p(pTHX_ HV *hv)
1339 __attribute__warn_unused_result__
1340 __attribute__nonnull__(pTHX_1);
1341#define PERL_ARGS_ASSERT_HV_EITER_P \
1342 assert(hv)
1343
1344PERL_CALLCONV void Perl_hv_eiter_set(pTHX_ HV *hv, HE *eiter)
1345 __attribute__nonnull__(pTHX_1);
1346#define PERL_ARGS_ASSERT_HV_EITER_SET \
1347 assert(hv)
1348
27a1175b 1349PERL_CALLCONV void Perl_hv_ename_add(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
78b79c77
FC
1350 __attribute__nonnull__(pTHX_1)
1351 __attribute__nonnull__(pTHX_2);
1352#define PERL_ARGS_ASSERT_HV_ENAME_ADD \
1353 assert(hv); assert(name)
1354
27a1175b 1355PERL_CALLCONV void Perl_hv_ename_delete(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
78b79c77
FC
1356 __attribute__nonnull__(pTHX_1)
1357 __attribute__nonnull__(pTHX_2);
1358#define PERL_ARGS_ASSERT_HV_ENAME_DELETE \
1359 assert(hv); assert(name)
1360
4048f010 1361/* PERL_CALLCONV bool Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen)
aa924a5a 1362 __attribute__warn_unused_result__
a038e571 1363 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
1364#define PERL_ARGS_ASSERT_HV_EXISTS \
1365 assert(key)
901017d6 1366
4048f010 1367/* PERL_CALLCONV bool Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash)
aa924a5a 1368 __attribute__warn_unused_result__
4c2df08c 1369 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
1370#define PERL_ARGS_ASSERT_HV_EXISTS_ENT \
1371 assert(keysv)
aa924a5a 1372
4048f010 1373/* PERL_CALLCONV SV** Perl_hv_fetch(pTHX_ HV *hv, const char *key, I32 klen, I32 lval)
a038e571 1374 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
1375#define PERL_ARGS_ASSERT_HV_FETCH \
1376 assert(key)
901017d6 1377
4048f010 1378/* PERL_CALLCONV HE* Perl_hv_fetch_ent(pTHX_ HV *hv, SV *keysv, I32 lval, U32 hash)
4c2df08c 1379 __attribute__nonnull__(pTHX_2); */
7918f24d
NC
1380#define PERL_ARGS_ASSERT_HV_FETCH_ENT \
1381 assert(keysv)
aa924a5a 1382
4d0fbddd
NC
1383PERL_CALLCONV STRLEN Perl_hv_fill(pTHX_ HV const *const hv)
1384 __attribute__nonnull__(pTHX_1);
1385#define PERL_ARGS_ASSERT_HV_FILL \
1386 assert(hv)
1387
4048f010 1388PERL_CALLCONV void Perl_hv_free_ent(pTHX_ HV *hv, HE *entryK)
abb2c242 1389 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1390#define PERL_ARGS_ASSERT_HV_FREE_ENT \
1391 assert(hv)
a3b680e6 1392
4048f010 1393PERL_CALLCONV I32 Perl_hv_iterinit(pTHX_ HV *hv)
abb2c242 1394 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1395#define PERL_ARGS_ASSERT_HV_ITERINIT \
1396 assert(hv)
a3b680e6
AL
1397
1398PERL_CALLCONV char* Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen)
abb2c242
JH
1399 __attribute__warn_unused_result__
1400 __attribute__nonnull__(pTHX_1)
1401 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1402#define PERL_ARGS_ASSERT_HV_ITERKEY \
1403 assert(entry); assert(retlen)
a3b680e6
AL
1404
1405PERL_CALLCONV SV* Perl_hv_iterkeysv(pTHX_ HE* entry)
abb2c242
JH
1406 __attribute__warn_unused_result__
1407 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1408#define PERL_ARGS_ASSERT_HV_ITERKEYSV \
1409 assert(entry)
a3b680e6 1410
4048f010 1411/* PERL_CALLCONV HE* Perl_hv_iternext(pTHX_ HV *hv)
abb2c242 1412 __attribute__warn_unused_result__
7a7b9979 1413 __attribute__nonnull__(pTHX_1); */
7918f24d
NC
1414#define PERL_ARGS_ASSERT_HV_ITERNEXT \
1415 assert(hv)
a3b680e6 1416
e8a67806
NC
1417PERL_CALLCONV HE* Perl_hv_iternext_flags(pTHX_ HV *hv, I32 flags)
1418 __attribute__warn_unused_result__
1419 __attribute__nonnull__(pTHX_1);
1420#define PERL_ARGS_ASSERT_HV_ITERNEXT_FLAGS \
1421 assert(hv)
1422
4048f010 1423PERL_CALLCONV SV* Perl_hv_iternextsv(pTHX_ HV *hv, char **key, I32 *retlen)
abb2c242
JH
1424 __attribute__warn_unused_result__
1425 __attribute__nonnull__(pTHX_1)
1426 __attribute__nonnull__(pTHX_2)
1427 __attribute__nonnull__(pTHX_3);
7918f24d
NC
1428#define PERL_ARGS_ASSERT_HV_ITERNEXTSV \
1429 assert(hv); assert(key); assert(retlen)
a3b680e6 1430
4048f010 1431PERL_CALLCONV SV* Perl_hv_iterval(pTHX_ HV *hv, HE *entry)
abb2c242
JH
1432 __attribute__warn_unused_result__
1433 __attribute__nonnull__(pTHX_1)
1434 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1435#define PERL_ARGS_ASSERT_HV_ITERVAL \
1436 assert(hv); assert(entry)
a3b680e6 1437
4048f010 1438PERL_CALLCONV void Perl_hv_ksplit(pTHX_ HV *hv, IV newmax)
abb2c242 1439 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1440#define PERL_ARGS_ASSERT_HV_KSPLIT \
1441 assert(hv)
a3b680e6 1442
4048f010 1443/* PERL_CALLCONV void Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how)
bc5cdc23 1444 __attribute__nonnull__(pTHX_1); */
7918f24d
NC
1445#define PERL_ARGS_ASSERT_HV_MAGIC \
1446 assert(hv)
fb9bf107 1447
e8a67806
NC
1448PERL_CALLCONV void Perl_hv_name_set(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
1449 __attribute__nonnull__(pTHX_1);
1450#define PERL_ARGS_ASSERT_HV_NAME_SET \
1451 assert(hv)
1452
1453PERL_CALLCONV I32 Perl_hv_placeholders_get(pTHX_ const HV *hv)
1454 __attribute__warn_unused_result__
1455 __attribute__nonnull__(pTHX_1);
1456#define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_GET \
1457 assert(hv)
1458
1459PERL_CALLCONV I32* Perl_hv_placeholders_p(pTHX_ HV *hv)
1460 __attribute__warn_unused_result__
1461 __attribute__nonnull__(pTHX_1);
1462#define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_P \
1463 assert(hv)
1464
1465PERL_CALLCONV void Perl_hv_placeholders_set(pTHX_ HV *hv, I32 ph)
1466 __attribute__nonnull__(pTHX_1);
1467#define PERL_ARGS_ASSERT_HV_PLACEHOLDERS_SET \
1468 assert(hv)
1469
1470PERL_CALLCONV I32* Perl_hv_riter_p(pTHX_ HV *hv)
1471 __attribute__warn_unused_result__
1472 __attribute__nonnull__(pTHX_1);
1473#define PERL_ARGS_ASSERT_HV_RITER_P \
1474 assert(hv)
1475
1476PERL_CALLCONV void Perl_hv_riter_set(pTHX_ HV *hv, I32 riter)
1477 __attribute__nonnull__(pTHX_1);
1478#define PERL_ARGS_ASSERT_HV_RITER_SET \
1479 assert(hv)
1480
1481PERL_CALLCONV SV* Perl_hv_scalar(pTHX_ HV *hv)
1482 __attribute__warn_unused_result__
1483 __attribute__nonnull__(pTHX_1);
1484#define PERL_ARGS_ASSERT_HV_SCALAR \
1485 assert(hv)
012da8e5 1486
4048f010
NC
1487/* PERL_CALLCONV SV** Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash); */
1488/* PERL_CALLCONV HE* Perl_hv_store_ent(pTHX_ HV *hv, SV *key, SV *val, U32 hash); */
1489/* PERL_CALLCONV SV** Perl_hv_store_flags(pTHX_ HV *hv, const char *key, I32 klen, SV *val, U32 hash, int flags); */
8581adba
FC
1490/* PERL_CALLCONV void hv_undef(pTHX_ HV *hv); */
1491PERL_CALLCONV void Perl_hv_undef_flags(pTHX_ HV *hv, U32 flags);
e6226b18
KW
1492/* PERL_CALLCONV I32 ibcmp(pTHX_ const char* a, const char* b, I32 len)
1493 __attribute__nonnull__(pTHX_1)
1494 __attribute__nonnull__(pTHX_2); */
1495
e6226b18
KW
1496/* PERL_CALLCONV I32 ibcmp_locale(pTHX_ const char* a, const char* b, I32 len)
1497 __attribute__nonnull__(pTHX_1)
1498 __attribute__nonnull__(pTHX_2); */
1499
e6226b18
KW
1500/* PERL_CALLCONV I32 ibcmp_utf8(pTHX_ const char *s1, char **pe1, UV l1, bool u1, const char *s2, char **pe2, UV l2, bool u2)
1501 __attribute__nonnull__(pTHX_1)
1502 __attribute__nonnull__(pTHX_5); */
1503
4373e329 1504PERL_CALLCONV void Perl_init_argv_symbols(pTHX_ int argc, char **argv)
abb2c242 1505 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1506#define PERL_ARGS_ASSERT_INIT_ARGV_SYMBOLS \
1507 assert(argv)
f54cb97a 1508
8af6f985 1509PERL_CALLCONV void Perl_init_dbargs(pTHX);
1d7c1841 1510PERL_CALLCONV void Perl_init_debugger(pTHX);
e8a67806
NC
1511PERL_CALLCONV int Perl_init_i18nl10n(pTHX_ int printwarn);
1512PERL_CALLCONV int Perl_init_i18nl14n(pTHX_ int printwarn);
1d7c1841 1513PERL_CALLCONV void Perl_init_stacks(pTHX);
bfce84ec
AL
1514PERL_CALLCONV void Perl_init_tm(pTHX_ struct tm *ptm)
1515 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1516#define PERL_ARGS_ASSERT_INIT_TM \
1517 assert(ptm)
bfce84ec 1518
04c9e624 1519PERL_CALLCONV char* Perl_instr(const char* big, const char* little)
b464bac0 1520 __attribute__warn_unused_result__
abb2c242 1521 __attribute__pure__
04c9e624
VP
1522 __attribute__nonnull__(1)
1523 __attribute__nonnull__(2);
7918f24d
NC
1524#define PERL_ARGS_ASSERT_INSTR \
1525 assert(big); assert(little)
f54cb97a 1526
e8a67806
NC
1527PERL_CALLCONV U32 Perl_intro_my(pTHX);
1528PERL_CALLCONV OP* Perl_invert(pTHX_ OP* cmd)
1529 __attribute__warn_unused_result__;
1530
b464bac0 1531PERL_CALLCONV bool Perl_io_close(pTHX_ IO* io, bool not_implicit)
b464bac0 1532 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1533#define PERL_ARGS_ASSERT_IO_CLOSE \
1534 assert(io)
b464bac0 1535
e8a67806
NC
1536PERL_CALLCONV bool Perl_is_ascii_string(const U8 *s, STRLEN len)
1537 __attribute__nonnull__(1);
1538#define PERL_ARGS_ASSERT_IS_ASCII_STRING \
1539 assert(s)
f54cb97a 1540
e8a67806
NC
1541PERL_CALLCONV I32 Perl_is_lvalue_sub(pTHX)
1542 __attribute__warn_unused_result__;
f54cb97a 1543
e8a67806 1544PERL_CALLCONV bool Perl_is_uni_alnum(pTHX_ UV c)
abb2c242
JH
1545 __attribute__warn_unused_result__
1546 __attribute__pure__;
f54cb97a 1547
e8a67806 1548PERL_CALLCONV bool Perl_is_uni_alnum_lc(pTHX_ UV c)
abb2c242
JH
1549 __attribute__warn_unused_result__
1550 __attribute__pure__;
f54cb97a 1551
e8a67806 1552PERL_CALLCONV bool Perl_is_uni_alpha(pTHX_ UV c)
abb2c242
JH
1553 __attribute__warn_unused_result__
1554 __attribute__pure__;
f54cb97a 1555
e8a67806 1556PERL_CALLCONV bool Perl_is_uni_alpha_lc(pTHX_ UV c)
abb2c242
JH
1557 __attribute__warn_unused_result__
1558 __attribute__pure__;
f54cb97a
AL
1559
1560PERL_CALLCONV bool Perl_is_uni_ascii(pTHX_ UV c)
abb2c242
JH
1561 __attribute__warn_unused_result__
1562 __attribute__pure__;
f54cb97a 1563
e8a67806 1564PERL_CALLCONV bool Perl_is_uni_ascii_lc(pTHX_ UV c)
abb2c242
JH
1565 __attribute__warn_unused_result__
1566 __attribute__pure__;
f54cb97a
AL
1567
1568PERL_CALLCONV bool Perl_is_uni_cntrl(pTHX_ UV c)
abb2c242
JH
1569 __attribute__warn_unused_result__
1570 __attribute__pure__;
f54cb97a 1571
e8a67806 1572PERL_CALLCONV bool Perl_is_uni_cntrl_lc(pTHX_ UV c)
abb2c242
JH
1573 __attribute__warn_unused_result__
1574 __attribute__pure__;
f54cb97a
AL
1575
1576PERL_CALLCONV bool Perl_is_uni_digit(pTHX_ UV c)
abb2c242
JH
1577 __attribute__warn_unused_result__
1578 __attribute__pure__;
f54cb97a 1579
e8a67806 1580PERL_CALLCONV bool Perl_is_uni_digit_lc(pTHX_ UV c)
abb2c242
JH
1581 __attribute__warn_unused_result__
1582 __attribute__pure__;
f54cb97a 1583
e8a67806 1584PERL_CALLCONV bool Perl_is_uni_graph(pTHX_ UV c)
abb2c242
JH
1585 __attribute__warn_unused_result__
1586 __attribute__pure__;
f54cb97a 1587
e8a67806 1588PERL_CALLCONV bool Perl_is_uni_graph_lc(pTHX_ UV c)
abb2c242
JH
1589 __attribute__warn_unused_result__
1590 __attribute__pure__;
f54cb97a 1591
e8a67806 1592PERL_CALLCONV bool Perl_is_uni_idfirst(pTHX_ UV c)
abb2c242
JH
1593 __attribute__warn_unused_result__
1594 __attribute__pure__;
f54cb97a 1595
e8a67806 1596PERL_CALLCONV bool Perl_is_uni_idfirst_lc(pTHX_ UV c)
abb2c242
JH
1597 __attribute__warn_unused_result__
1598 __attribute__pure__;
f54cb97a 1599
e8a67806 1600PERL_CALLCONV bool Perl_is_uni_lower(pTHX_ UV c)
abb2c242
JH
1601 __attribute__warn_unused_result__
1602 __attribute__pure__;
f54cb97a 1603
e8a67806 1604PERL_CALLCONV bool Perl_is_uni_lower_lc(pTHX_ UV c)
abb2c242
JH
1605 __attribute__warn_unused_result__
1606 __attribute__pure__;
f54cb97a 1607
e8a67806 1608PERL_CALLCONV bool Perl_is_uni_print(pTHX_ UV c)
abb2c242
JH
1609 __attribute__warn_unused_result__
1610 __attribute__pure__;
f54cb97a 1611
e8a67806 1612PERL_CALLCONV bool Perl_is_uni_print_lc(pTHX_ UV c)
abb2c242
JH
1613 __attribute__warn_unused_result__
1614 __attribute__pure__;
f54cb97a 1615
e8a67806 1616PERL_CALLCONV bool Perl_is_uni_punct(pTHX_ UV c)
abb2c242
JH
1617 __attribute__warn_unused_result__
1618 __attribute__pure__;
f54cb97a 1619
e8a67806 1620PERL_CALLCONV bool Perl_is_uni_punct_lc(pTHX_ UV c)
abb2c242
JH
1621 __attribute__warn_unused_result__
1622 __attribute__pure__;
f54cb97a 1623
e8a67806 1624PERL_CALLCONV bool Perl_is_uni_space(pTHX_ UV c)
abb2c242
JH
1625 __attribute__warn_unused_result__
1626 __attribute__pure__;
f54cb97a 1627
e8a67806 1628PERL_CALLCONV bool Perl_is_uni_space_lc(pTHX_ UV c)
abb2c242
JH
1629 __attribute__warn_unused_result__
1630 __attribute__pure__;
f54cb97a 1631
e8a67806 1632PERL_CALLCONV bool Perl_is_uni_upper(pTHX_ UV c)
abb2c242
JH
1633 __attribute__warn_unused_result__
1634 __attribute__pure__;
f54cb97a 1635
e8a67806 1636PERL_CALLCONV bool Perl_is_uni_upper_lc(pTHX_ UV c)
abb2c242
JH
1637 __attribute__warn_unused_result__
1638 __attribute__pure__;
f54cb97a 1639
e8a67806 1640PERL_CALLCONV bool Perl_is_uni_xdigit(pTHX_ UV c)
abb2c242
JH
1641 __attribute__warn_unused_result__
1642 __attribute__pure__;
f54cb97a
AL
1643
1644PERL_CALLCONV bool Perl_is_uni_xdigit_lc(pTHX_ UV c)
abb2c242
JH
1645 __attribute__warn_unused_result__
1646 __attribute__pure__;
f54cb97a 1647
e8a67806 1648PERL_CALLCONV bool Perl_is_utf8_X_L(pTHX_ const U8 *p)
1df70142 1649 __attribute__warn_unused_result__
abb2c242 1650 __attribute__nonnull__(pTHX_1);
e8a67806 1651#define PERL_ARGS_ASSERT_IS_UTF8_X_L \
7918f24d 1652 assert(p)
f54cb97a 1653
e8a67806 1654PERL_CALLCONV bool Perl_is_utf8_X_LV(pTHX_ const U8 *p)
1df70142 1655 __attribute__warn_unused_result__
abb2c242 1656 __attribute__nonnull__(pTHX_1);
e8a67806 1657#define PERL_ARGS_ASSERT_IS_UTF8_X_LV \
7918f24d 1658 assert(p)
f54cb97a 1659
e8a67806 1660PERL_CALLCONV bool Perl_is_utf8_X_LVT(pTHX_ const U8 *p)
1df70142 1661 __attribute__warn_unused_result__
abb2c242 1662 __attribute__nonnull__(pTHX_1);
e8a67806 1663#define PERL_ARGS_ASSERT_IS_UTF8_X_LVT \
7918f24d 1664 assert(p)
f54cb97a 1665
e8a67806 1666PERL_CALLCONV bool Perl_is_utf8_X_LV_LVT_V(pTHX_ const U8 *p)
1df70142 1667 __attribute__warn_unused_result__
abb2c242 1668 __attribute__nonnull__(pTHX_1);
e8a67806 1669#define PERL_ARGS_ASSERT_IS_UTF8_X_LV_LVT_V \
7918f24d 1670 assert(p)
f54cb97a 1671
e8a67806 1672PERL_CALLCONV bool Perl_is_utf8_X_T(pTHX_ const U8 *p)
1df70142 1673 __attribute__warn_unused_result__
abb2c242 1674 __attribute__nonnull__(pTHX_1);
e8a67806 1675#define PERL_ARGS_ASSERT_IS_UTF8_X_T \
7918f24d 1676 assert(p)
f54cb97a 1677
e8a67806 1678PERL_CALLCONV bool Perl_is_utf8_X_V(pTHX_ const U8 *p)
1df70142 1679 __attribute__warn_unused_result__
abb2c242 1680 __attribute__nonnull__(pTHX_1);
e8a67806 1681#define PERL_ARGS_ASSERT_IS_UTF8_X_V \
7918f24d 1682 assert(p)
f54cb97a 1683
e8a67806 1684PERL_CALLCONV bool Perl_is_utf8_X_begin(pTHX_ const U8 *p)
d1eb3177
YO
1685 __attribute__warn_unused_result__
1686 __attribute__nonnull__(pTHX_1);
e8a67806 1687#define PERL_ARGS_ASSERT_IS_UTF8_X_BEGIN \
d1eb3177
YO
1688 assert(p)
1689
e8a67806 1690PERL_CALLCONV bool Perl_is_utf8_X_extend(pTHX_ const U8 *p)
d1eb3177
YO
1691 __attribute__warn_unused_result__
1692 __attribute__nonnull__(pTHX_1);
e8a67806 1693#define PERL_ARGS_ASSERT_IS_UTF8_X_EXTEND \
d1eb3177
YO
1694 assert(p)
1695
e8a67806 1696PERL_CALLCONV bool Perl_is_utf8_X_non_hangul(pTHX_ const U8 *p)
1df70142 1697 __attribute__warn_unused_result__
abb2c242 1698 __attribute__nonnull__(pTHX_1);
e8a67806 1699#define PERL_ARGS_ASSERT_IS_UTF8_X_NON_HANGUL \
7918f24d 1700 assert(p)
f54cb97a 1701
e8a67806 1702PERL_CALLCONV bool Perl_is_utf8_X_prepend(pTHX_ const U8 *p)
1df70142 1703 __attribute__warn_unused_result__
abb2c242 1704 __attribute__nonnull__(pTHX_1);
e8a67806 1705#define PERL_ARGS_ASSERT_IS_UTF8_X_PREPEND \
7918f24d 1706 assert(p)
f54cb97a 1707
e8a67806 1708PERL_CALLCONV bool Perl_is_utf8_alnum(pTHX_ const U8 *p)
d1eb3177
YO
1709 __attribute__warn_unused_result__
1710 __attribute__nonnull__(pTHX_1);
e8a67806 1711#define PERL_ARGS_ASSERT_IS_UTF8_ALNUM \
d1eb3177
YO
1712 assert(p)
1713
e8a67806 1714PERL_CALLCONV bool Perl_is_utf8_alpha(pTHX_ const U8 *p)
1df70142 1715 __attribute__warn_unused_result__
abb2c242 1716 __attribute__nonnull__(pTHX_1);
e8a67806 1717#define PERL_ARGS_ASSERT_IS_UTF8_ALPHA \
7918f24d 1718 assert(p)
f54cb97a 1719
e8a67806 1720PERL_CALLCONV bool Perl_is_utf8_ascii(pTHX_ const U8 *p)
1df70142 1721 __attribute__warn_unused_result__
abb2c242 1722 __attribute__nonnull__(pTHX_1);
e8a67806 1723#define PERL_ARGS_ASSERT_IS_UTF8_ASCII \
7918f24d 1724 assert(p)
f54cb97a 1725
e8a67806
NC
1726PERL_CALLCONV STRLEN Perl_is_utf8_char(const U8 *s)
1727 __attribute__nonnull__(1);
1728#define PERL_ARGS_ASSERT_IS_UTF8_CHAR \
1729 assert(s)
1730
1731PERL_CALLCONV bool Perl_is_utf8_cntrl(pTHX_ const U8 *p)
1df70142 1732 __attribute__warn_unused_result__
abb2c242 1733 __attribute__nonnull__(pTHX_1);
e8a67806 1734#define PERL_ARGS_ASSERT_IS_UTF8_CNTRL \
7918f24d 1735 assert(p)
f54cb97a 1736
e8a67806 1737PERL_CALLCONV bool Perl_is_utf8_digit(pTHX_ const U8 *p)
1df70142 1738 __attribute__warn_unused_result__
abb2c242 1739 __attribute__nonnull__(pTHX_1);
e8a67806 1740#define PERL_ARGS_ASSERT_IS_UTF8_DIGIT \
7918f24d 1741 assert(p)
f54cb97a 1742
e8a67806 1743PERL_CALLCONV bool Perl_is_utf8_graph(pTHX_ const U8 *p)
1df70142 1744 __attribute__warn_unused_result__
abb2c242 1745 __attribute__nonnull__(pTHX_1);
e8a67806 1746#define PERL_ARGS_ASSERT_IS_UTF8_GRAPH \
7918f24d 1747 assert(p)
f54cb97a 1748
e8a67806 1749PERL_CALLCONV bool Perl_is_utf8_idcont(pTHX_ const U8 *p)
1df70142 1750 __attribute__warn_unused_result__
abb2c242 1751 __attribute__nonnull__(pTHX_1);
e8a67806 1752#define PERL_ARGS_ASSERT_IS_UTF8_IDCONT \
7918f24d 1753 assert(p)
f54cb97a 1754
e8a67806 1755PERL_CALLCONV bool Perl_is_utf8_idfirst(pTHX_ const U8 *p)
1df70142 1756 __attribute__warn_unused_result__
abb2c242 1757 __attribute__nonnull__(pTHX_1);
e8a67806 1758#define PERL_ARGS_ASSERT_IS_UTF8_IDFIRST \
7918f24d 1759 assert(p)
f54cb97a 1760
e8a67806 1761PERL_CALLCONV bool Perl_is_utf8_lower(pTHX_ const U8 *p)
37e2e78e
KW
1762 __attribute__warn_unused_result__
1763 __attribute__nonnull__(pTHX_1);
e8a67806 1764#define PERL_ARGS_ASSERT_IS_UTF8_LOWER \
37e2e78e
KW
1765 assert(p)
1766
e8a67806 1767PERL_CALLCONV bool Perl_is_utf8_mark(pTHX_ const U8 *p)
37e2e78e
KW
1768 __attribute__warn_unused_result__
1769 __attribute__nonnull__(pTHX_1);
e8a67806 1770#define PERL_ARGS_ASSERT_IS_UTF8_MARK \
37e2e78e
KW
1771 assert(p)
1772
e8a67806 1773PERL_CALLCONV bool Perl_is_utf8_perl_space(pTHX_ const U8 *p)
37e2e78e
KW
1774 __attribute__warn_unused_result__
1775 __attribute__nonnull__(pTHX_1);
e8a67806 1776#define PERL_ARGS_ASSERT_IS_UTF8_PERL_SPACE \
37e2e78e
KW
1777 assert(p)
1778
e8a67806 1779PERL_CALLCONV bool Perl_is_utf8_perl_word(pTHX_ const U8 *p)
37e2e78e
KW
1780 __attribute__warn_unused_result__
1781 __attribute__nonnull__(pTHX_1);
e8a67806 1782#define PERL_ARGS_ASSERT_IS_UTF8_PERL_WORD \
37e2e78e
KW
1783 assert(p)
1784
e8a67806 1785PERL_CALLCONV bool Perl_is_utf8_posix_digit(pTHX_ const U8 *p)
37e2e78e
KW
1786 __attribute__warn_unused_result__
1787 __attribute__nonnull__(pTHX_1);
e8a67806 1788#define PERL_ARGS_ASSERT_IS_UTF8_POSIX_DIGIT \
37e2e78e
KW
1789 assert(p)
1790
e8a67806 1791PERL_CALLCONV bool Perl_is_utf8_print(pTHX_ const U8 *p)
37e2e78e
KW
1792 __attribute__warn_unused_result__
1793 __attribute__nonnull__(pTHX_1);
e8a67806 1794#define PERL_ARGS_ASSERT_IS_UTF8_PRINT \
37e2e78e
KW
1795 assert(p)
1796
e8a67806 1797PERL_CALLCONV bool Perl_is_utf8_punct(pTHX_ const U8 *p)
37e2e78e
KW
1798 __attribute__warn_unused_result__
1799 __attribute__nonnull__(pTHX_1);
e8a67806 1800#define PERL_ARGS_ASSERT_IS_UTF8_PUNCT \
37e2e78e
KW
1801 assert(p)
1802
e8a67806 1803PERL_CALLCONV bool Perl_is_utf8_space(pTHX_ const U8 *p)
37e2e78e
KW
1804 __attribute__warn_unused_result__
1805 __attribute__nonnull__(pTHX_1);
e8a67806 1806#define PERL_ARGS_ASSERT_IS_UTF8_SPACE \
37e2e78e
KW
1807 assert(p)
1808
e8a67806
NC
1809PERL_CALLCONV bool Perl_is_utf8_string(const U8 *s, STRLEN len)
1810 __attribute__nonnull__(1);
1811#define PERL_ARGS_ASSERT_IS_UTF8_STRING \
1812 assert(s)
1813
1814/* PERL_CALLCONV bool Perl_is_utf8_string_loc(const U8 *s, STRLEN len, const U8 **p)
1815 __attribute__nonnull__(1); */
1816#define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC \
1817 assert(s)
1818
1819PERL_CALLCONV bool Perl_is_utf8_string_loclen(const U8 *s, STRLEN len, const U8 **ep, STRLEN *el)
1820 __attribute__nonnull__(1);
1821#define PERL_ARGS_ASSERT_IS_UTF8_STRING_LOCLEN \
1822 assert(s)
1823
1824PERL_CALLCONV bool Perl_is_utf8_upper(pTHX_ const U8 *p)
37e2e78e
KW
1825 __attribute__warn_unused_result__
1826 __attribute__nonnull__(pTHX_1);
e8a67806 1827#define PERL_ARGS_ASSERT_IS_UTF8_UPPER \
37e2e78e
KW
1828 assert(p)
1829
e8a67806 1830PERL_CALLCONV bool Perl_is_utf8_xdigit(pTHX_ const U8 *p)
37e2e78e
KW
1831 __attribute__warn_unused_result__
1832 __attribute__nonnull__(pTHX_1);
e8a67806 1833#define PERL_ARGS_ASSERT_IS_UTF8_XDIGIT \
37e2e78e
KW
1834 assert(p)
1835
c11ff943
KW
1836PERL_CALLCONV bool Perl_is_utf8_xidcont(pTHX_ const U8 *p)
1837 __attribute__warn_unused_result__
1838 __attribute__nonnull__(pTHX_1);
1839#define PERL_ARGS_ASSERT_IS_UTF8_XIDCONT \
1840 assert(p)
1841
1842PERL_CALLCONV bool Perl_is_utf8_xidfirst(pTHX_ const U8 *p)
1843 __attribute__warn_unused_result__
1844 __attribute__nonnull__(pTHX_1);
1845#define PERL_ARGS_ASSERT_IS_UTF8_XIDFIRST \
1846 assert(p)
1847
4048f010 1848PERL_CALLCONV OP* Perl_jmaybe(pTHX_ OP *o)
abb2c242 1849 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1850#define PERL_ARGS_ASSERT_JMAYBE \
1851 assert(o)
f54cb97a 1852
4048f010 1853PERL_CALLCONV I32 Perl_keyword(pTHX_ const char *name, I32 len, bool all_keywords)
abb2c242
JH
1854 __attribute__pure__
1855 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1856#define PERL_ARGS_ASSERT_KEYWORD \
1857 assert(name)
f54cb97a 1858
e8a67806
NC
1859PERL_CALLCONV int Perl_keyword_plugin_standard(pTHX_ char* keyword_ptr, STRLEN keyword_len, OP** op_ptr)
1860 __attribute__nonnull__(pTHX_1)
1861 __attribute__nonnull__(pTHX_3);
1862#define PERL_ARGS_ASSERT_KEYWORD_PLUGIN_STANDARD \
1863 assert(keyword_ptr); assert(op_ptr)
867fa1e2 1864
e8a67806
NC
1865PERL_CALLCONV void Perl_leave_scope(pTHX_ I32 base);
1866PERL_CALLCONV bool Perl_lex_bufutf8(pTHX);
1867PERL_CALLCONV void Perl_lex_discard_to(pTHX_ char* ptr)
2f9e2db0 1868 __attribute__nonnull__(pTHX_1);
e8a67806
NC
1869#define PERL_ARGS_ASSERT_LEX_DISCARD_TO \
1870 assert(ptr)
2f9e2db0 1871
f0e67a1d 1872PERL_CALLCONV char* Perl_lex_grow_linestr(pTHX_ STRLEN len);
e8a67806
NC
1873PERL_CALLCONV bool Perl_lex_next_chunk(pTHX_ U32 flags);
1874PERL_CALLCONV I32 Perl_lex_peek_unichar(pTHX_ U32 flags);
1875PERL_CALLCONV void Perl_lex_read_space(pTHX_ U32 flags);
1876PERL_CALLCONV void Perl_lex_read_to(pTHX_ char* ptr)
f0e67a1d 1877 __attribute__nonnull__(pTHX_1);
e8a67806
NC
1878#define PERL_ARGS_ASSERT_LEX_READ_TO \
1879 assert(ptr)
f0e67a1d 1880
e8a67806 1881PERL_CALLCONV I32 Perl_lex_read_unichar(pTHX_ U32 flags);
8eaa0acf 1882PERL_CALLCONV void Perl_lex_start(pTHX_ SV* line, PerlIO *rsfp, U32 flags);
9dcc53ea
Z
1883PERL_CALLCONV void Perl_lex_stuff_pv(pTHX_ const char* pv, U32 flags)
1884 __attribute__nonnull__(pTHX_1);
1885#define PERL_ARGS_ASSERT_LEX_STUFF_PV \
1886 assert(pv)
1887
e8a67806
NC
1888PERL_CALLCONV void Perl_lex_stuff_pvn(pTHX_ const char* pv, STRLEN len, U32 flags)
1889 __attribute__nonnull__(pTHX_1);
1890#define PERL_ARGS_ASSERT_LEX_STUFF_PVN \
1891 assert(pv)
1892
f0e67a1d
Z
1893PERL_CALLCONV void Perl_lex_stuff_sv(pTHX_ SV* sv, U32 flags)
1894 __attribute__nonnull__(pTHX_1);
1895#define PERL_ARGS_ASSERT_LEX_STUFF_SV \
1896 assert(sv)
1897
1898PERL_CALLCONV void Perl_lex_unstuff(pTHX_ char* ptr)
1899 __attribute__nonnull__(pTHX_1);
1900#define PERL_ARGS_ASSERT_LEX_UNSTUFF \
1901 assert(ptr)
1902
1d7c1841 1903PERL_CALLCONV OP* Perl_list(pTHX_ OP* o);
aec46f14
AL
1904PERL_CALLCONV void Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...)
1905 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1906#define PERL_ARGS_ASSERT_LOAD_MODULE \
1907 assert(name)
aec46f14 1908
4048f010 1909PERL_CALLCONV OP* Perl_localize(pTHX_ OP *o, I32 lex)
bfce84ec 1910 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1911#define PERL_ARGS_ASSERT_LOCALIZE \
1912 assert(o)
bfce84ec 1913
aad570aa 1914PERL_CALLCONV I32 Perl_looks_like_number(pTHX_ SV *const sv)
abb2c242
JH
1915 __attribute__warn_unused_result__
1916 __attribute__nonnull__(pTHX_1);
7918f24d
NC
1917#define PERL_ARGS_ASSERT_LOOKS_LIKE_NUMBER \
1918 assert(sv)
f54cb97a 1919
e8a67806 1920PERL_CALLCONV int Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
1921 __attribute__nonnull__(pTHX_1)
1922 __attribute__nonnull__(pTHX_2);
e8a67806
NC
1923#define PERL_ARGS_ASSERT_MAGIC_CLEAR_ALL_ENV \
1924 assert(sv); assert(mg)
bfce84ec
AL
1925
1926PERL_CALLCONV int Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg)
1927 __attribute__nonnull__(pTHX_1)
1928 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1929#define PERL_ARGS_ASSERT_MAGIC_CLEARENV \
1930 assert(sv); assert(mg)
bfce84ec 1931
b3ca2e83
NC
1932PERL_CALLCONV int Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg)
1933 __attribute__nonnull__(pTHX_1)
1934 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1935#define PERL_ARGS_ASSERT_MAGIC_CLEARHINT \
1936 assert(sv); assert(mg)
b3ca2e83 1937
f747ebd6
Z
1938PERL_CALLCONV int Perl_magic_clearhints(pTHX_ SV* sv, MAGIC* mg)
1939 __attribute__nonnull__(pTHX_1)
1940 __attribute__nonnull__(pTHX_2);
1941#define PERL_ARGS_ASSERT_MAGIC_CLEARHINTS \
1942 assert(sv); assert(mg)
1943
52b45067 1944PERL_CALLCONV int Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg)
52b45067 1945 __attribute__nonnull__(pTHX_2);
7918f24d 1946#define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
0e446081 1947 assert(mg)
52b45067 1948
bfce84ec
AL
1949PERL_CALLCONV int Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg)
1950 __attribute__nonnull__(pTHX_1)
1951 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1952#define PERL_ARGS_ASSERT_MAGIC_CLEARPACK \
1953 assert(sv); assert(mg)
bfce84ec
AL
1954
1955PERL_CALLCONV int Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg)
1956 __attribute__nonnull__(pTHX_1)
1957 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1958#define PERL_ARGS_ASSERT_MAGIC_CLEARSIG \
1959 assert(sv); assert(mg)
bfce84ec 1960
e8a67806 1961PERL_CALLCONV void Perl_magic_dump(pTHX_ const MAGIC *mg);
1146e912 1962PERL_CALLCONV int Perl_magic_existspack(pTHX_ SV* sv, const MAGIC* mg)
bfce84ec
AL
1963 __attribute__nonnull__(pTHX_1)
1964 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1965#define PERL_ARGS_ASSERT_MAGIC_EXISTSPACK \
1966 assert(sv); assert(mg)
bfce84ec 1967
e8a67806
NC
1968PERL_CALLCONV int Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg)
1969 __attribute__nonnull__(pTHX_1)
1970 __attribute__nonnull__(pTHX_2);
1971#define PERL_ARGS_ASSERT_MAGIC_FREEARYLEN_P \
1972 assert(sv); assert(mg)
1973
bfce84ec
AL
1974PERL_CALLCONV int Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg)
1975 __attribute__nonnull__(pTHX_1)
1976 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1977#define PERL_ARGS_ASSERT_MAGIC_FREEOVRLD \
1978 assert(sv); assert(mg)
bfce84ec
AL
1979
1980PERL_CALLCONV int Perl_magic_get(pTHX_ SV* sv, MAGIC* mg)
1981 __attribute__nonnull__(pTHX_1)
1982 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1983#define PERL_ARGS_ASSERT_MAGIC_GET \
1984 assert(sv); assert(mg)
901017d6 1985
8772537c
AL
1986PERL_CALLCONV int Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg)
1987 __attribute__nonnull__(pTHX_1)
1988 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1989#define PERL_ARGS_ASSERT_MAGIC_GETARYLEN \
1990 assert(sv); assert(mg)
8772537c 1991
bfce84ec
AL
1992PERL_CALLCONV int Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg)
1993 __attribute__nonnull__(pTHX_1)
1994 __attribute__nonnull__(pTHX_2);
7918f24d
NC
1995#define PERL_ARGS_ASSERT_MAGIC_GETDEFELEM \
1996 assert(sv); assert(mg)
bfce84ec 1997
bfce84ec
AL
1998PERL_CALLCONV int Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg)
1999 __attribute__nonnull__(pTHX_1)
2000 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2001#define PERL_ARGS_ASSERT_MAGIC_GETNKEYS \
2002 assert(sv); assert(mg)
bfce84ec
AL
2003
2004PERL_CALLCONV int Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg)
2005 __attribute__nonnull__(pTHX_1)
2006 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2007#define PERL_ARGS_ASSERT_MAGIC_GETPACK \
2008 assert(sv); assert(mg)
bfce84ec
AL
2009
2010PERL_CALLCONV int Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg)
2011 __attribute__nonnull__(pTHX_1)
2012 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2013#define PERL_ARGS_ASSERT_MAGIC_GETPOS \
2014 assert(sv); assert(mg)
bfce84ec
AL
2015
2016PERL_CALLCONV int Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg)
2017 __attribute__nonnull__(pTHX_1)
2018 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2019#define PERL_ARGS_ASSERT_MAGIC_GETSIG \
2020 assert(sv); assert(mg)
bfce84ec
AL
2021
2022PERL_CALLCONV int Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg)
2023 __attribute__nonnull__(pTHX_1)
2024 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2025#define PERL_ARGS_ASSERT_MAGIC_GETSUBSTR \
2026 assert(sv); assert(mg)
bfce84ec
AL
2027
2028PERL_CALLCONV int Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg)
2029 __attribute__nonnull__(pTHX_1)
2030 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2031#define PERL_ARGS_ASSERT_MAGIC_GETTAINT \
2032 assert(sv); assert(mg)
bfce84ec
AL
2033
2034PERL_CALLCONV int Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg)
2035 __attribute__nonnull__(pTHX_1)
2036 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2037#define PERL_ARGS_ASSERT_MAGIC_GETUVAR \
2038 assert(sv); assert(mg)
bfce84ec
AL
2039
2040PERL_CALLCONV int Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg)
2041 __attribute__nonnull__(pTHX_1)
2042 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2043#define PERL_ARGS_ASSERT_MAGIC_GETVEC \
2044 assert(sv); assert(mg)
bfce84ec 2045
e8a67806
NC
2046PERL_CALLCONV int Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg)
2047 __attribute__nonnull__(pTHX_1)
2048 __attribute__nonnull__(pTHX_2);
2049#define PERL_ARGS_ASSERT_MAGIC_KILLBACKREFS \
2050 assert(sv); assert(mg)
2051
bfce84ec
AL
2052PERL_CALLCONV U32 Perl_magic_len(pTHX_ SV* sv, MAGIC* mg)
2053 __attribute__nonnull__(pTHX_1)
2054 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2055#define PERL_ARGS_ASSERT_MAGIC_LEN \
2056 assert(sv); assert(mg)
bfce84ec 2057
e8a67806
NC
2058PERL_CALLCONV SV* Perl_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, const char *meth, U32 flags, U32 argc, ...)
2059 __attribute__nonnull__(pTHX_1)
2060 __attribute__nonnull__(pTHX_2)
2061 __attribute__nonnull__(pTHX_3);
2062#define PERL_ARGS_ASSERT_MAGIC_METHCALL \
2063 assert(sv); assert(mg); assert(meth)
2064
4048f010 2065PERL_CALLCONV int Perl_magic_nextpack(pTHX_ SV *sv, MAGIC *mg, SV *key)
bfce84ec
AL
2066 __attribute__nonnull__(pTHX_1)
2067 __attribute__nonnull__(pTHX_2)
2068 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2069#define PERL_ARGS_ASSERT_MAGIC_NEXTPACK \
2070 assert(sv); assert(mg); assert(key)
bfce84ec
AL
2071
2072PERL_CALLCONV U32 Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg)
2073 __attribute__nonnull__(pTHX_1)
2074 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2075#define PERL_ARGS_ASSERT_MAGIC_REGDATA_CNT \
2076 assert(sv); assert(mg)
bfce84ec
AL
2077
2078PERL_CALLCONV int Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg)
2079 __attribute__nonnull__(pTHX_1)
2080 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2081#define PERL_ARGS_ASSERT_MAGIC_REGDATUM_GET \
2082 assert(sv); assert(mg)
bfce84ec 2083
f54cb97a 2084PERL_CALLCONV int Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
2085 __attribute__noreturn__
2086 __attribute__nonnull__(pTHX_1)
2087 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2088#define PERL_ARGS_ASSERT_MAGIC_REGDATUM_SET \
2089 assert(sv); assert(mg)
bfce84ec 2090
e8a67806
NC
2091PERL_CALLCONV SV* Perl_magic_scalarpack(pTHX_ HV *hv, MAGIC *mg)
2092 __attribute__nonnull__(pTHX_1)
2093 __attribute__nonnull__(pTHX_2);
2094#define PERL_ARGS_ASSERT_MAGIC_SCALARPACK \
2095 assert(hv); assert(mg)
2096
bfce84ec
AL
2097PERL_CALLCONV int Perl_magic_set(pTHX_ SV* sv, MAGIC* mg)
2098 __attribute__nonnull__(pTHX_1)
2099 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2100#define PERL_ARGS_ASSERT_MAGIC_SET \
2101 assert(sv); assert(mg)
bfce84ec 2102
e8a67806 2103PERL_CALLCONV int Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
2104 __attribute__nonnull__(pTHX_1)
2105 __attribute__nonnull__(pTHX_2);
e8a67806 2106#define PERL_ARGS_ASSERT_MAGIC_SET_ALL_ENV \
7918f24d 2107 assert(sv); assert(mg)
bfce84ec 2108
e8a67806 2109PERL_CALLCONV int Perl_magic_setamagic(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
2110 __attribute__nonnull__(pTHX_1)
2111 __attribute__nonnull__(pTHX_2);
e8a67806 2112#define PERL_ARGS_ASSERT_MAGIC_SETAMAGIC \
7918f24d 2113 assert(sv); assert(mg)
bfce84ec 2114
e8a67806 2115PERL_CALLCONV int Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
2116 __attribute__nonnull__(pTHX_1)
2117 __attribute__nonnull__(pTHX_2);
e8a67806 2118#define PERL_ARGS_ASSERT_MAGIC_SETARYLEN \
7918f24d 2119 assert(sv); assert(mg)
bfce84ec 2120
488344d2 2121PERL_CALLCONV int Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
2122 __attribute__nonnull__(pTHX_1)
2123 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2124#define PERL_ARGS_ASSERT_MAGIC_SETDBLINE \
2125 assert(sv); assert(mg)
bfce84ec 2126
488344d2 2127PERL_CALLCONV int Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
2128 __attribute__nonnull__(pTHX_1)
2129 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2130#define PERL_ARGS_ASSERT_MAGIC_SETDEFELEM \
2131 assert(sv); assert(mg)
bfce84ec 2132
488344d2 2133PERL_CALLCONV int Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
2134 __attribute__nonnull__(pTHX_1)
2135 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2136#define PERL_ARGS_ASSERT_MAGIC_SETENV \
2137 assert(sv); assert(mg)
bfce84ec 2138
b3ca2e83
NC
2139PERL_CALLCONV int Perl_magic_sethint(pTHX_ SV* sv, MAGIC* mg)
2140 __attribute__nonnull__(pTHX_1)
2141 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2142#define PERL_ARGS_ASSERT_MAGIC_SETHINT \
2143 assert(sv); assert(mg)
b3ca2e83 2144
bfce84ec
AL
2145PERL_CALLCONV int Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg)
2146 __attribute__nonnull__(pTHX_1)
2147 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2148#define PERL_ARGS_ASSERT_MAGIC_SETISA \
2149 assert(sv); assert(mg)
bfce84ec 2150
bfce84ec
AL
2151PERL_CALLCONV int Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg)
2152 __attribute__nonnull__(pTHX_1)
2153 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2154#define PERL_ARGS_ASSERT_MAGIC_SETMGLOB \
2155 assert(sv); assert(mg)
bfce84ec
AL
2156
2157PERL_CALLCONV int Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg)
2158 __attribute__nonnull__(pTHX_1)
2159 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2160#define PERL_ARGS_ASSERT_MAGIC_SETNKEYS \
2161 assert(sv); assert(mg)
bfce84ec
AL
2162
2163PERL_CALLCONV int Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg)
2164 __attribute__nonnull__(pTHX_1)
2165 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2166#define PERL_ARGS_ASSERT_MAGIC_SETPACK \
2167 assert(sv); assert(mg)
bfce84ec
AL
2168
2169PERL_CALLCONV int Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg)
2170 __attribute__nonnull__(pTHX_1)
2171 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2172#define PERL_ARGS_ASSERT_MAGIC_SETPOS \
2173 assert(sv); assert(mg)
bfce84ec
AL
2174
2175PERL_CALLCONV int Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg)
2176 __attribute__nonnull__(pTHX_1)
2177 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2178#define PERL_ARGS_ASSERT_MAGIC_SETREGEXP \
2179 assert(sv); assert(mg)
bfce84ec
AL
2180
2181PERL_CALLCONV int Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg)
bfce84ec 2182 __attribute__nonnull__(pTHX_2);
7918f24d 2183#define PERL_ARGS_ASSERT_MAGIC_SETSIG \
38a124f0 2184 assert(mg)
bfce84ec
AL
2185
2186PERL_CALLCONV int Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg)
2187 __attribute__nonnull__(pTHX_1)
2188 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2189#define PERL_ARGS_ASSERT_MAGIC_SETSUBSTR \
2190 assert(sv); assert(mg)
bfce84ec
AL
2191
2192PERL_CALLCONV int Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg)
2193 __attribute__nonnull__(pTHX_1)
2194 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2195#define PERL_ARGS_ASSERT_MAGIC_SETTAINT \
2196 assert(sv); assert(mg)
bfce84ec 2197
e8a67806 2198PERL_CALLCONV int Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
2199 __attribute__nonnull__(pTHX_1)
2200 __attribute__nonnull__(pTHX_2);
e8a67806 2201#define PERL_ARGS_ASSERT_MAGIC_SETUTF8 \
7918f24d 2202 assert(sv); assert(mg)
bfce84ec 2203
e8a67806 2204PERL_CALLCONV int Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
2205 __attribute__nonnull__(pTHX_1)
2206 __attribute__nonnull__(pTHX_2);
e8a67806 2207#define PERL_ARGS_ASSERT_MAGIC_SETUVAR \
7918f24d 2208 assert(sv); assert(mg)
bfce84ec 2209
e8a67806 2210PERL_CALLCONV int Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg)
bfce84ec
AL
2211 __attribute__nonnull__(pTHX_1)
2212 __attribute__nonnull__(pTHX_2);
e8a67806 2213#define PERL_ARGS_ASSERT_MAGIC_SETVEC \
7918f24d 2214 assert(sv); assert(mg)
bfce84ec
AL
2215
2216PERL_CALLCONV U32 Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg)
2217 __attribute__nonnull__(pTHX_1)
2218 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2219#define PERL_ARGS_ASSERT_MAGIC_SIZEPACK \
2220 assert(sv); assert(mg)
bfce84ec
AL
2221
2222PERL_CALLCONV int Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg)
2223 __attribute__nonnull__(pTHX_1)
2224 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2225#define PERL_ARGS_ASSERT_MAGIC_WIPEPACK \
2226 assert(sv); assert(mg)
bfce84ec 2227
e8a67806
NC
2228PERL_CALLCONV Malloc_t Perl_malloc(MEM_SIZE nbytes)
2229 __attribute__malloc__
2230 __attribute__warn_unused_result__;
efaf3674 2231
1d7c1841 2232PERL_CALLCONV void Perl_markstack_grow(pTHX);
894356b3 2233PERL_CALLCONV SV* Perl_mess(pTHX_ const char* pat, ...)
aec46f14
AL
2234 __attribute__format__(__printf__,pTHX_1,pTHX_2)
2235 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2236#define PERL_ARGS_ASSERT_MESS \
2237 assert(pat)
aec46f14 2238
c5df3096
Z
2239PERL_CALLCONV SV* Perl_mess_sv(pTHX_ SV* basemsg, bool consume)
2240 __attribute__nonnull__(pTHX_1);
2241#define PERL_ARGS_ASSERT_MESS_SV \
2242 assert(basemsg)
2243
e8a67806 2244PERL_CALLCONV Free_t Perl_mfree(Malloc_t where);
9a957fbc
AL
2245PERL_CALLCONV int Perl_mg_clear(pTHX_ SV* sv)
2246 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2247#define PERL_ARGS_ASSERT_MG_CLEAR \
2248 assert(sv)
9a957fbc 2249
4048f010 2250PERL_CALLCONV int Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen)
9a957fbc
AL
2251 __attribute__nonnull__(pTHX_1)
2252 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2253#define PERL_ARGS_ASSERT_MG_COPY \
2254 assert(sv); assert(nsv)
9a957fbc 2255
255164ba
DM
2256PERL_CALLCONV MAGIC* Perl_mg_find(pTHX_ const SV* sv, int type)
2257 __attribute__warn_unused_result__;
2258
39de7f53
FR
2259PERL_CALLCONV MAGIC* Perl_mg_findext(pTHX_ const SV* sv, int type, const MGVTBL *vtbl)
2260 __attribute__warn_unused_result__;
2261
9a957fbc
AL
2262PERL_CALLCONV int Perl_mg_free(pTHX_ SV* sv)
2263 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2264#define PERL_ARGS_ASSERT_MG_FREE \
2265 assert(sv)
9a957fbc 2266
d9088386
Z
2267PERL_CALLCONV void Perl_mg_free_type(pTHX_ SV* sv, int how)
2268 __attribute__nonnull__(pTHX_1);
2269#define PERL_ARGS_ASSERT_MG_FREE_TYPE \
2270 assert(sv)
2271
9a957fbc
AL
2272PERL_CALLCONV int Perl_mg_get(pTHX_ SV* sv)
2273 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2274#define PERL_ARGS_ASSERT_MG_GET \
2275 assert(sv)
9a957fbc
AL
2276
2277PERL_CALLCONV U32 Perl_mg_length(pTHX_ SV* sv)
2278 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2279#define PERL_ARGS_ASSERT_MG_LENGTH \
2280 assert(sv)
9a957fbc 2281
e8a67806
NC
2282PERL_CALLCONV void Perl_mg_localize(pTHX_ SV* sv, SV* nsv, bool setmagic)
2283 __attribute__nonnull__(pTHX_1)
2284 __attribute__nonnull__(pTHX_2);
2285#define PERL_ARGS_ASSERT_MG_LOCALIZE \
2286 assert(sv); assert(nsv)
2287
9a957fbc
AL
2288PERL_CALLCONV void Perl_mg_magical(pTHX_ SV* sv)
2289 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2290#define PERL_ARGS_ASSERT_MG_MAGICAL \
2291 assert(sv)
9a957fbc
AL
2292
2293PERL_CALLCONV int Perl_mg_set(pTHX_ SV* sv)
2294 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2295#define PERL_ARGS_ASSERT_MG_SET \
2296 assert(sv)
9a957fbc
AL
2297
2298PERL_CALLCONV I32 Perl_mg_size(pTHX_ SV* sv)
2299 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2300#define PERL_ARGS_ASSERT_MG_SIZE \
2301 assert(sv)
9a957fbc 2302
9f6cc744 2303PERL_CALLCONV void Perl_mini_mktime(pTHX_ struct tm *ptm)
9a957fbc 2304 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2305#define PERL_ARGS_ASSERT_MINI_MKTIME \
2306 assert(ptm)
9a957fbc 2307
a79b25b7 2308PERL_CALLCONV int Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len);
e8a67806 2309PERL_CALLCONV void * Perl_more_bodies(pTHX_ const svtype sv_type, const size_t body_size, const size_t arena_size);
c7030b81 2310PERL_CALLCONV const char* Perl_moreswitches(pTHX_ const char* s)
bfce84ec 2311 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2312#define PERL_ARGS_ASSERT_MORESWITCHES \
2313 assert(s)
bfce84ec 2314
e8a67806 2315PERL_CALLCONV const struct mro_alg * Perl_mro_get_from_name(pTHX_ SV *name)
abb2c242 2316 __attribute__nonnull__(pTHX_1);
e8a67806
NC
2317#define PERL_ARGS_ASSERT_MRO_GET_FROM_NAME \
2318 assert(name)
f54cb97a 2319
e8a67806
NC
2320PERL_CALLCONV AV* Perl_mro_get_linear_isa(pTHX_ HV* stash)
2321 __attribute__nonnull__(pTHX_1);
2322#define PERL_ARGS_ASSERT_MRO_GET_LINEAR_ISA \
2323 assert(stash)
f54cb97a 2324
e8a67806
NC
2325PERL_CALLCONV SV* Perl_mro_get_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which)
2326 __attribute__nonnull__(pTHX_1)
2327 __attribute__nonnull__(pTHX_2);
2328#define PERL_ARGS_ASSERT_MRO_GET_PRIVATE_DATA \
2329 assert(smeta); assert(which)
f54cb97a 2330
4df35a07
FC
2331PERL_CALLCONV void Perl_mro_isa_changed_in(pTHX_ HV* stash)
2332 __attribute__nonnull__(pTHX_1);
2333#define PERL_ARGS_ASSERT_MRO_ISA_CHANGED_IN \
2334 assert(stash)
e8a67806
NC
2335
2336PERL_CALLCONV struct mro_meta* Perl_mro_meta_init(pTHX_ HV* stash)
2337 __attribute__nonnull__(pTHX_1);
2338#define PERL_ARGS_ASSERT_MRO_META_INIT \
2339 assert(stash)
2340
2341PERL_CALLCONV void Perl_mro_method_changed_in(pTHX_ HV* stash)
2342 __attribute__nonnull__(pTHX_1);
2343#define PERL_ARGS_ASSERT_MRO_METHOD_CHANGED_IN \
2344 assert(stash)
2345
afdbe55d
FC
2346PERL_CALLCONV void Perl_mro_package_moved(pTHX_ HV * const stash, HV * const oldstash, const GV * const gv, U32 flags)
2347 __attribute__nonnull__(pTHX_3);
2348#define PERL_ARGS_ASSERT_MRO_PACKAGE_MOVED \
2349 assert(gv)
2350
e8a67806
NC
2351PERL_CALLCONV void Perl_mro_register(pTHX_ const struct mro_alg *mro)
2352 __attribute__nonnull__(pTHX_1);
2353#define PERL_ARGS_ASSERT_MRO_REGISTER \
2354 assert(mro)
2355
2356PERL_CALLCONV void Perl_mro_set_mro(pTHX_ struct mro_meta *const meta, SV *const name)
2357 __attribute__nonnull__(pTHX_1)
2358 __attribute__nonnull__(pTHX_2);
2359#define PERL_ARGS_ASSERT_MRO_SET_MRO \
2360 assert(meta); assert(name)
2361
2362PERL_CALLCONV SV* Perl_mro_set_private_data(pTHX_ struct mro_meta *const smeta, const struct mro_alg *const which, SV *const data)
2363 __attribute__nonnull__(pTHX_1)
2364 __attribute__nonnull__(pTHX_2)
2365 __attribute__nonnull__(pTHX_3);
2366#define PERL_ARGS_ASSERT_MRO_SET_PRIVATE_DATA \
2367 assert(smeta); assert(which); assert(data)
2368
2369PERL_CALLCONV void Perl_munge_qwlist_to_paren_list(pTHX_ OP* qwlist)
2370 __attribute__nonnull__(pTHX_1);
2371#define PERL_ARGS_ASSERT_MUNGE_QWLIST_TO_PAREN_LIST \
2372 assert(qwlist)
2373
2374PERL_CALLCONV NV Perl_my_atof(pTHX_ const char *s)
2375 __attribute__nonnull__(pTHX_1);
2376#define PERL_ARGS_ASSERT_MY_ATOF \
2377 assert(s)
2378
2379PERL_CALLCONV char* Perl_my_atof2(pTHX_ const char *s, NV* value)
2380 __attribute__nonnull__(pTHX_1)
2381 __attribute__nonnull__(pTHX_2);
2382#define PERL_ARGS_ASSERT_MY_ATOF2 \
2383 assert(s); assert(value)
2384
2385PERL_CALLCONV OP * Perl_my_attrs(pTHX_ OP *o, OP *attrs)
2386 __attribute__nonnull__(pTHX_1);
2387#define PERL_ARGS_ASSERT_MY_ATTRS \
2388 assert(o)
2389
2390PERL_CALLCONV void Perl_my_clearenv(pTHX);
2391PERL_CALLCONV int Perl_my_dirfd(pTHX_ DIR* dir);
f54cb97a 2392PERL_CALLCONV void Perl_my_exit(pTHX_ U32 status)
abb2c242 2393 __attribute__noreturn__;
f54cb97a
AL
2394
2395PERL_CALLCONV void Perl_my_failure_exit(pTHX)
abb2c242 2396 __attribute__noreturn__;
f54cb97a 2397
1d7c1841 2398PERL_CALLCONV I32 Perl_my_fflush_all(pTHX);
52e18b1f 2399PERL_CALLCONV Pid_t Perl_my_fork(void);
0d7d409d
DM
2400/* PERL_CALLCONV I32 Perl_my_lstat(pTHX); */
2401PERL_CALLCONV I32 Perl_my_lstat_flags(pTHX_ const U32 flags);
c9289b7b 2402PERL_CALLCONV PerlIO* Perl_my_popen_list(pTHX_ const char* mode, int n, SV ** args)
bfce84ec
AL
2403 __attribute__nonnull__(pTHX_1)
2404 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2405#define PERL_ARGS_ASSERT_MY_POPEN_LIST \
2406 assert(mode); assert(args)
bfce84ec 2407
e1ec3a88 2408PERL_CALLCONV void Perl_my_setenv(pTHX_ const char* nam, const char* val);
e8a67806
NC
2409PERL_CALLCONV int Perl_my_snprintf(char *buffer, const Size_t len, const char *format, ...)
2410 __attribute__format__(__printf__,3,4)
2411 __attribute__nonnull__(1)
2412 __attribute__nonnull__(3);
2413#define PERL_ARGS_ASSERT_MY_SNPRINTF \
2414 assert(buffer); assert(format)
2415
2416PERL_CALLCONV int Perl_my_socketpair(int family, int type, int protocol, int fd[2]);
0d7d409d
DM
2417/* PERL_CALLCONV I32 Perl_my_stat(pTHX); */
2418PERL_CALLCONV I32 Perl_my_stat_flags(pTHX_ const U32 flags);
bfce84ec
AL
2419PERL_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)
2420 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2421#define PERL_ARGS_ASSERT_MY_STRFTIME \
2422 assert(fmt)
bfce84ec 2423
e8a67806
NC
2424PERL_CALLCONV void Perl_my_swabn(void* ptr, int n)
2425 __attribute__nonnull__(1);
2426#define PERL_ARGS_ASSERT_MY_SWABN \
2427 assert(ptr)
f54cb97a 2428
e8a67806
NC
2429PERL_CALLCONV void Perl_my_unexec(pTHX);
2430PERL_CALLCONV int Perl_my_vsnprintf(char *buffer, const Size_t len, const char *format, va_list ap)
2431 __attribute__nonnull__(1)
2432 __attribute__nonnull__(3);
2433#define PERL_ARGS_ASSERT_MY_VSNPRINTF \
2434 assert(buffer); assert(format)
f54cb97a 2435
e8a67806
NC
2436PERL_CALLCONV OP* Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block);
2437PERL_CALLCONV OP* Perl_newANONHASH(pTHX_ OP* o)
abb2c242 2438 __attribute__malloc__
e8a67806 2439 __attribute__warn_unused_result__;
f54cb97a 2440
f54cb97a 2441PERL_CALLCONV OP* Perl_newANONLIST(pTHX_ OP* o)
abb2c242
JH
2442 __attribute__malloc__
2443 __attribute__warn_unused_result__;
f54cb97a 2444
e8a67806
NC
2445PERL_CALLCONV OP* Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block);
2446PERL_CALLCONV OP* Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right)
abb2c242
JH
2447 __attribute__malloc__
2448 __attribute__warn_unused_result__;
f54cb97a 2449
e8a67806
NC
2450PERL_CALLCONV CV* Perl_newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block);
2451/* PERL_CALLCONV AV* Perl_newAV(pTHX)
2452 __attribute__warn_unused_result__; */
2453
2454PERL_CALLCONV OP* Perl_newAVREF(pTHX_ OP* o)
2455 __attribute__malloc__
2456 __attribute__warn_unused_result__
2457 __attribute__nonnull__(pTHX_1);
2458#define PERL_ARGS_ASSERT_NEWAVREF \
2459 assert(o)
2460
2461PERL_CALLCONV OP* Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
abb2c242
JH
2462 __attribute__malloc__
2463 __attribute__warn_unused_result__;
f54cb97a 2464
aec46f14 2465PERL_CALLCONV OP* Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop)
abb2c242 2466 __attribute__malloc__
aec46f14
AL
2467 __attribute__warn_unused_result__
2468 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2469#define PERL_ARGS_ASSERT_NEWCONDOP \
2470 assert(first)
aec46f14 2471
99ab892b 2472PERL_CALLCONV CV* Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv);
e8a67806
NC
2473PERL_CALLCONV OP* Perl_newCVREF(pTHX_ I32 flags, OP* o)
2474 __attribute__malloc__
2475 __attribute__warn_unused_result__;
2476
94bf0465 2477PERL_CALLCONV OP* Perl_newFOROP(pTHX_ I32 flags, OP* sv, OP* expr, OP* block, OP* cont)
abb2c242 2478 __attribute__malloc__
aa924a5a 2479 __attribute__warn_unused_result__
94bf0465 2480 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2481#define PERL_ARGS_ASSERT_NEWFOROP \
2482 assert(expr)
f54cb97a 2483
0d863452
RH
2484PERL_CALLCONV OP* Perl_newGIVENOP(pTHX_ OP* cond, OP* block, PADOFFSET defsv_off)
2485 __attribute__malloc__
2486 __attribute__warn_unused_result__
2487 __attribute__nonnull__(pTHX_1)
2488 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2489#define PERL_ARGS_ASSERT_NEWGIVENOP \
2490 assert(cond); assert(block)
0d863452 2491
e8a67806
NC
2492PERL_CALLCONV GP * Perl_newGP(pTHX_ GV *const gv)
2493 __attribute__nonnull__(pTHX_1);
2494#define PERL_ARGS_ASSERT_NEWGP \
2495 assert(gv)
2496
2497PERL_CALLCONV OP* Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv)
2498 __attribute__malloc__
2499 __attribute__warn_unused_result__
2500 __attribute__nonnull__(pTHX_3);
2501#define PERL_ARGS_ASSERT_NEWGVOP \
2502 assert(gv)
2503
2504PERL_CALLCONV OP* Perl_newGVREF(pTHX_ I32 type, OP* o)
2505 __attribute__malloc__
2506 __attribute__warn_unused_result__;
2507
2508PERL_CALLCONV GV* Perl_newGVgen(pTHX_ const char* pack)
2509 __attribute__malloc__
2510 __attribute__warn_unused_result__
2511 __attribute__nonnull__(pTHX_1);
2512#define PERL_ARGS_ASSERT_NEWGVGEN \
2513 assert(pack)
2514
2515/* PERL_CALLCONV HV* Perl_newHV(pTHX)
2516 __attribute__warn_unused_result__; */
2517
2518PERL_CALLCONV OP* Perl_newHVREF(pTHX_ OP* o)
2519 __attribute__malloc__
2520 __attribute__warn_unused_result__
2521 __attribute__nonnull__(pTHX_1);
2522#define PERL_ARGS_ASSERT_NEWHVREF \
2523 assert(o)
2524
2525PERL_CALLCONV HV* Perl_newHVhv(pTHX_ HV *hv)
2526 __attribute__malloc__
2527 __attribute__warn_unused_result__;
2528
2529/* PERL_CALLCONV IO* Perl_newIO(pTHX)
2530 __attribute__malloc__
2531 __attribute__warn_unused_result__; */
2532
2533PERL_CALLCONV OP* Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
2534 __attribute__malloc__
2535 __attribute__warn_unused_result__;
2536
4048f010 2537PERL_CALLCONV OP* Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP *first, OP *other)
abb2c242 2538 __attribute__malloc__
aa924a5a
SH
2539 __attribute__warn_unused_result__
2540 __attribute__nonnull__(pTHX_3)
2541 __attribute__nonnull__(pTHX_4);
7918f24d
NC
2542#define PERL_ARGS_ASSERT_NEWLOGOP \
2543 assert(first); assert(other)
f54cb97a
AL
2544
2545PERL_CALLCONV OP* Perl_newLOOPEX(pTHX_ I32 type, OP* label)
abb2c242 2546 __attribute__malloc__
aa924a5a
SH
2547 __attribute__warn_unused_result__
2548 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2549#define PERL_ARGS_ASSERT_NEWLOOPEX \
2550 assert(label)
f54cb97a
AL
2551
2552PERL_CALLCONV OP* Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block)
abb2c242
JH
2553 __attribute__malloc__
2554 __attribute__warn_unused_result__;
f54cb97a 2555
4373e329 2556PERL_CALLCONV OP* Perl_newNULLLIST(pTHX)
abb2c242
JH
2557 __attribute__malloc__
2558 __attribute__warn_unused_result__;
f54cb97a
AL
2559
2560PERL_CALLCONV OP* Perl_newOP(pTHX_ I32 optype, I32 flags)
abb2c242
JH
2561 __attribute__malloc__
2562 __attribute__warn_unused_result__;
f54cb97a 2563
e8a67806
NC
2564PERL_CALLCONV OP* Perl_newPMOP(pTHX_ I32 type, I32 flags)
2565 __attribute__malloc__
2566 __attribute__warn_unused_result__;
2567
f54cb97a 2568PERL_CALLCONV void Perl_newPROG(pTHX_ OP* o)
abb2c242 2569 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2570#define PERL_ARGS_ASSERT_NEWPROG \
2571 assert(o)
f54cb97a 2572
e8a67806
NC
2573PERL_CALLCONV OP* Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv)
2574 __attribute__malloc__
2575 __attribute__warn_unused_result__;
2576
f54cb97a 2577PERL_CALLCONV OP* Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right)
abb2c242 2578 __attribute__malloc__
aa924a5a
SH
2579 __attribute__warn_unused_result__
2580 __attribute__nonnull__(pTHX_2)
2581 __attribute__nonnull__(pTHX_3);
7918f24d
NC
2582#define PERL_ARGS_ASSERT_NEWRANGE \
2583 assert(left); assert(right)
f54cb97a 2584
e8a67806
NC
2585PERL_CALLCONV SV* Perl_newRV(pTHX_ SV *const sv)
2586 __attribute__malloc__
2587 __attribute__warn_unused_result__
2588 __attribute__nonnull__(pTHX_1);
2589#define PERL_ARGS_ASSERT_NEWRV \
2590 assert(sv)
2591
2592PERL_CALLCONV SV* Perl_newRV_noinc(pTHX_ SV *const sv)
2593 __attribute__malloc__
2594 __attribute__warn_unused_result__
2595 __attribute__nonnull__(pTHX_1);
2596#define PERL_ARGS_ASSERT_NEWRV_NOINC \
2597 assert(sv)
2598
f54cb97a 2599PERL_CALLCONV OP* Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop)
abb2c242
JH
2600 __attribute__malloc__
2601 __attribute__warn_unused_result__;
f54cb97a
AL
2602
2603PERL_CALLCONV OP* Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o)
abb2c242
JH
2604 __attribute__malloc__
2605 __attribute__warn_unused_result__;
f54cb97a 2606
7bff8c33 2607/* PERL_CALLCONV CV* Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block); */
e8a67806
NC
2608PERL_CALLCONV SV* Perl_newSV(pTHX_ const STRLEN len)
2609 __attribute__malloc__
2610 __attribute__warn_unused_result__;
77004dee 2611
e8a67806
NC
2612PERL_CALLCONV OP* Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv)
2613 __attribute__malloc__
2614 __attribute__warn_unused_result__
abb2c242 2615 __attribute__nonnull__(pTHX_3);
e8a67806
NC
2616#define PERL_ARGS_ASSERT_NEWSVOP \
2617 assert(sv)
f54cb97a 2618
e8a67806 2619PERL_CALLCONV OP* Perl_newSVREF(pTHX_ OP* o)
abb2c242
JH
2620 __attribute__malloc__
2621 __attribute__warn_unused_result__
2622 __attribute__nonnull__(pTHX_1);
e8a67806 2623#define PERL_ARGS_ASSERT_NEWSVREF \
7918f24d 2624 assert(o)
f54cb97a 2625
e8a67806 2626PERL_CALLCONV SV* Perl_newSV_type(pTHX_ const svtype type)
abb2c242
JH
2627 __attribute__malloc__
2628 __attribute__warn_unused_result__;
f54cb97a 2629
e8a67806 2630PERL_CALLCONV SV* Perl_newSVhek(pTHX_ const HEK *const hek)
abb2c242
JH
2631 __attribute__malloc__
2632 __attribute__warn_unused_result__;
f54cb97a 2633
e8a67806 2634PERL_CALLCONV SV* Perl_newSViv(pTHX_ const IV i)
abb2c242 2635 __attribute__malloc__
e8a67806 2636 __attribute__warn_unused_result__;
f54cb97a 2637
e8a67806 2638PERL_CALLCONV SV* Perl_newSVnv(pTHX_ const NV n)
abb2c242
JH
2639 __attribute__malloc__
2640 __attribute__warn_unused_result__;
f54cb97a 2641
e8a67806 2642PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len)
abb2c242
JH
2643 __attribute__malloc__
2644 __attribute__warn_unused_result__;
f54cb97a 2645
e8a67806 2646PERL_CALLCONV SV* Perl_newSVpv_share(pTHX_ const char* s, U32 hash)
abb2c242
JH
2647 __attribute__malloc__
2648 __attribute__warn_unused_result__;
f54cb97a 2649
e8a67806 2650PERL_CALLCONV SV* Perl_newSVpvf(pTHX_ const char *const pat, ...)
abb2c242
JH
2651 __attribute__malloc__
2652 __attribute__warn_unused_result__
e8a67806 2653 __attribute__format__(__printf__,pTHX_1,pTHX_2)
abb2c242 2654 __attribute__nonnull__(pTHX_1);
e8a67806
NC
2655#define PERL_ARGS_ASSERT_NEWSVPVF \
2656 assert(pat)
f54cb97a 2657
23f13727 2658PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char *const s, const STRLEN len)
abb2c242
JH
2659 __attribute__malloc__
2660 __attribute__warn_unused_result__;
f54cb97a 2661
23f13727 2662PERL_CALLCONV SV* Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)
740cce10
NC
2663 __attribute__malloc__
2664 __attribute__warn_unused_result__;
2665
f54cb97a 2666PERL_CALLCONV SV* Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash)
abb2c242
JH
2667 __attribute__malloc__
2668 __attribute__warn_unused_result__;
f54cb97a 2669
12964ddd 2670PERL_CALLCONV SV* Perl_newSVrv(pTHX_ SV *const rv, const char *const classname)
1b6737cc 2671 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2672#define PERL_ARGS_ASSERT_NEWSVRV \
2673 assert(rv)
f54cb97a 2674
23f13727 2675PERL_CALLCONV SV* Perl_newSVsv(pTHX_ SV *const old)
abb2c242
JH
2676 __attribute__malloc__
2677 __attribute__warn_unused_result__;
f54cb97a 2678
e8a67806 2679PERL_CALLCONV SV* Perl_newSVuv(pTHX_ const UV u)
b9f83d2f
NC
2680 __attribute__malloc__
2681 __attribute__warn_unused_result__;
2682
f54cb97a 2683PERL_CALLCONV OP* Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first)
abb2c242
JH
2684 __attribute__malloc__
2685 __attribute__warn_unused_result__;
f54cb97a 2686
0d863452
RH
2687PERL_CALLCONV OP* Perl_newWHENOP(pTHX_ OP* cond, OP* block)
2688 __attribute__malloc__
2689 __attribute__warn_unused_result__
2690 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2691#define PERL_ARGS_ASSERT_NEWWHENOP \
2692 assert(block)
0d863452 2693
94bf0465 2694PERL_CALLCONV OP* Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, OP* expr, OP* block, OP* cont, I32 has_my)
abb2c242
JH
2695 __attribute__malloc__
2696 __attribute__warn_unused_result__;
f54cb97a 2697
e8a67806 2698PERL_CALLCONV CV* Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename)
65b06e02
DM
2699 __attribute__nonnull__(pTHX_2)
2700 __attribute__nonnull__(pTHX_3);
e8a67806
NC
2701#define PERL_ARGS_ASSERT_NEWXS \
2702 assert(subaddr); assert(filename)
f54cb97a 2703
e8a67806
NC
2704PERL_CALLCONV CV * Perl_newXS_flags(pTHX_ const char *name, XSUBADDR_t subaddr, const char *const filename, const char *const proto, U32 flags)
2705 __attribute__nonnull__(pTHX_2)
2706 __attribute__nonnull__(pTHX_3);
2707#define PERL_ARGS_ASSERT_NEWXS_FLAGS \
2708 assert(subaddr); assert(filename)
f54cb97a 2709
e8a67806
NC
2710PERL_CALLCONV void Perl_new_collate(pTHX_ const char* newcoll);
2711PERL_CALLCONV void Perl_new_ctype(pTHX_ const char* newctype)
91152fc1 2712 __attribute__nonnull__(pTHX_1);
e8a67806
NC
2713#define PERL_ARGS_ASSERT_NEW_CTYPE \
2714 assert(newctype)
2715
2716PERL_CALLCONV void Perl_new_numeric(pTHX_ const char* newcoll);
2717PERL_CALLCONV PERL_SI* Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
2718 __attribute__malloc__
2719 __attribute__warn_unused_result__;
91152fc1 2720
2d03de9c
AL
2721PERL_CALLCONV SV* Perl_new_version(pTHX_ SV *ver)
2722 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2723#define PERL_ARGS_ASSERT_NEW_VERSION \
2724 assert(ver)
2d03de9c 2725
e8a67806
NC
2726PERL_CALLCONV STRLEN * Perl_new_warnings_bitfield(pTHX_ STRLEN *buffer, const char *const bits, STRLEN size)
2727 __attribute__malloc__
2728 __attribute__warn_unused_result__
abb2c242 2729 __attribute__nonnull__(pTHX_2);
e8a67806
NC
2730#define PERL_ARGS_ASSERT_NEW_WARNINGS_BITFIELD \
2731 assert(bits)
f54cb97a 2732
2d03de9c
AL
2733PERL_CALLCONV PerlIO* Perl_nextargv(pTHX_ GV* gv)
2734 __attribute__nonnull__(pTHX_1);
7918f24d
NC
2735#define PERL_ARGS_ASSERT_NEXTARGV \
2736 assert(gv)
2d03de9c 2737
04c9e624 2738PERL_CALLCONV char* Perl_ninstr(const char* big, const char* bigend, const char* little, const char* lend)
2d03de9c 2739 __attribute__pure__
04c9e624
VP
2740 __attribute__nonnull__(1)
2741 __attribute__nonnull__(2)
2742 __attribute__nonnull__(3)
2743 __attribute__nonnull__(4);
7918f24d
NC
2744#define PERL_ARGS_ASSERT_NINSTR \
2745 assert(big); assert(bigend); assert(little); assert(lend)
f54cb97a 2746
e8a67806
NC
2747PERL_CALLCONV int Perl_nothreadhook(pTHX);
2748PERL_CALLCONV OP* Perl_oopsAV(pTHX_ OP* o)
2749 __attribute__warn_unused_result__
eb8433b7 2750 __attribute__nonnull__(pTHX_1);
e8a67806 2751#define PERL_ARGS_ASSERT_OOPSAV \
7918f24d 2752 assert(o)
eb8433b7 2753
e8a67806
NC
2754PERL_CALLCONV OP* Perl_oopsHV(pTHX_ OP* o)
2755 __attribute__warn_unused_result__
2d03de9c 2756 __attribute__nonnull__(pTHX_1);
e8a67806 2757#define PERL_ARGS_ASSERT_OOPSHV \
7918f24d 2758 assert(o)
f54cb97a 2759
2fcb4757
Z
2760PERL_CALLCONV OP* Perl_op_append_elem(pTHX_ I32 optype, OP* first, OP* last);
2761PERL_CALLCONV OP* Perl_op_append_list(pTHX_ I32 optype, OP* first, OP* last);
e8a67806
NC
2762PERL_CALLCONV void Perl_op_clear(pTHX_ OP* o)
2763 __attribute__nonnull__(pTHX_1);
2764#define PERL_ARGS_ASSERT_OP_CLEAR \
2765 assert(o)
2766
2767PERL_CALLCONV SV* Perl_op_const_sv(pTHX_ const OP* o, CV* cv)
2768 __attribute__warn_unused_result__;
2769
d9088386
Z
2770PERL_CALLCONV OP* Perl_op_contextualize(pTHX_ OP* o, I32 context)
2771 __attribute__nonnull__(pTHX_1);
2772#define PERL_ARGS_ASSERT_OP_CONTEXTUALIZE \
2773 assert(o)
2774
e8a67806
NC
2775PERL_CALLCONV void Perl_op_dump(pTHX_ const OP *o)
2776 __attribute__nonnull__(pTHX_1);
2777#define PERL_ARGS_ASSERT_OP_DUMP \
2778 assert(o)
2779
2780PERL_CALLCONV void Perl_op_free(pTHX_ OP* arg);
5983a79d
BM
2781PERL_CALLCONV OP* Perl_op_linklist(pTHX_ OP *o)
2782 __attribute__nonnull__(pTHX_1);
2783#define PERL_ARGS_ASSERT_OP_LINKLIST \
2784 assert(o)
2785
d3d7d28f
FC
2786/* PERL_CALLCONV OP* op_lvalue(pTHX_ OP* o, I32 type); */
2787PERL_CALLCONV OP* Perl_op_lvalue_flags(pTHX_ OP* o, I32 type, U32 flags);
e8a67806
NC
2788PERL_CALLCONV void Perl_op_null(pTHX_ OP* o)
2789 __attribute__nonnull__(pTHX_1);
2790#define PERL_ARGS_ASSERT_OP_NULL \
2791 assert(o)
2792
2fcb4757 2793PERL_CALLCONV OP* Perl_op_prepend_elem(pTHX_ I32 optype, OP* first, OP* last);
e8a67806
NC
2794PERL_CALLCONV void Perl_op_refcnt_lock(pTHX);
2795PERL_CALLCONV void Perl_op_refcnt_unlock(pTHX);
3ad73efd 2796PERL_CALLCONV OP* Perl_op_scope(pTHX_ OP* o);
e8a67806
NC
2797PERL_CALLCONV void Perl_pack_cat(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist, SV ***next_in_list, U32 flags)
2798 __attribute__nonnull__(pTHX_1)
2799 __attribute__nonnull__(pTHX_2)
2800 __attribute__nonnull__(pTHX_3)
2801 __attribute__nonnull__(pTHX_4)
2802 __attribute__nonnull__(pTHX_5)
2803 __attribute__nonnull__(pTHX_6);
2804#define PERL_ARGS_ASSERT_PACK_CAT \
2805 assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist); assert(next_in_list)
2806
6fa4d285
DG
2807PERL_CALLCONV void Perl_package_version(pTHX_ OP* v)
2808 __attribute__nonnull__(pTHX_1);
2809#define PERL_ARGS_ASSERT_PACKAGE_VERSION \
2810 assert(v)
2811
e8a67806
NC
2812PERL_CALLCONV void Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist)
2813 __attribute__nonnull__(pTHX_1)
2814 __attribute__nonnull__(pTHX_2)
2815 __attribute__nonnull__(pTHX_3)
2816 __attribute__nonnull__(pTHX_4)
2817 __attribute__nonnull__(pTHX_5);
2818#define PERL_ARGS_ASSERT_PACKLIST \
2819 assert(cat); assert(pat); assert(patend); assert(beglist); assert(endlist)
2820
cc76b5cc 2821PERL_CALLCONV PADOFFSET Perl_pad_add_anon(pTHX_ CV* func, I32 optype)
abb2c242 2822 __attribute__nonnull__(pTHX_1);
e8a67806 2823#define PERL_ARGS_ASSERT_PAD_ADD_ANON \
cc76b5cc 2824 assert(func)
e8a67806 2825
cc76b5cc 2826PERL_CALLCONV PADOFFSET Perl_pad_add_name_pv(pTHX_ const char *name, const U32 flags, HV *typestash, HV *ourstash)
e8a67806 2827 __attribute__nonnull__(pTHX_1);
cc76b5cc
Z
2828#define PERL_ARGS_ASSERT_PAD_ADD_NAME_PV \
2829 assert(name)
2830
0e1b3a4b 2831PERL_CALLCONV PADOFFSET Perl_pad_add_name_pvn(pTHX_ const char *namepv, STRLEN namelen, U32 flags, HV *typestash, HV *ourstash)
cc76b5cc
Z
2832 __attribute__nonnull__(pTHX_1);
2833#define PERL_ARGS_ASSERT_PAD_ADD_NAME_PVN \
2834 assert(namepv)
2835
0e1b3a4b 2836PERL_CALLCONV PADOFFSET Perl_pad_add_name_sv(pTHX_ SV *name, U32 flags, HV *typestash, HV *ourstash)
cc76b5cc
Z
2837 __attribute__nonnull__(pTHX_1);
2838#define PERL_ARGS_ASSERT_PAD_ADD_NAME_SV \
7918f24d 2839 assert(name)
f54cb97a 2840
e8a67806
NC
2841PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
2842PERL_CALLCONV void Perl_pad_block_start(pTHX_ int full);
2843PERL_CALLCONV HV* Perl_pad_compname_type(pTHX_ const PADOFFSET po)
2844 __attribute__warn_unused_result__;
2845
cc76b5cc
Z
2846PERL_CALLCONV PADOFFSET Perl_pad_findmy_pv(pTHX_ const char* name, U32 flags)
2847 __attribute__warn_unused_result__
2848 __attribute__nonnull__(pTHX_1);
2849#define PERL_ARGS_ASSERT_PAD_FINDMY_PV \
2850 assert(name)
2851
2852PERL_CALLCONV PADOFFSET Perl_pad_findmy_pvn(pTHX_ const char* namepv, STRLEN namelen, U32 flags)
2853 __attribute__warn_unused_result__
2854 __attribute__nonnull__(pTHX_1);
2855#define PERL_ARGS_ASSERT_PAD_FINDMY_PVN \
2856 assert(namepv)
2857
2858PERL_CALLCONV PADOFFSET Perl_pad_findmy_sv(pTHX_ SV* name, U32 flags)
255164ba 2859 __attribute__warn_unused_result__
abb2c242 2860 __attribute__nonnull__(pTHX_1);
cc76b5cc 2861#define PERL_ARGS_ASSERT_PAD_FINDMY_SV \
7918f24d 2862 assert(name)
f54cb97a 2863
e8a67806 2864PERL_CALLCONV void Perl_pad_fixup_inner_anons(pTHX_ PADLIST *padlist, CV *old_cv, CV *new_cv)
abb2c242 2865 __attribute__nonnull__(pTHX_1)
e8a67806 2866 __attribute__nonnull__(pTHX_2)
abb2c242 2867 __attribute__nonnull__(pTHX_3);
e8a67806
NC
2868#define PERL_ARGS_ASSERT_PAD_FIXUP_INNER_ANONS \
2869 assert(padlist); assert(old_cv); assert(new_cv)
f54cb97a 2870
e8a67806
NC
2871PERL_CALLCONV void Perl_pad_free(pTHX_ PADOFFSET po);
2872PERL_CALLCONV void Perl_pad_leavemy(pTHX);
2873PERL_CALLCONV PADLIST* Perl_pad_new(pTHX_ int flags)
2874 __attribute__malloc__
2875 __attribute__warn_unused_result__;
f54cb97a 2876
e8a67806 2877PERL_CALLCONV void Perl_pad_push(pTHX_ PADLIST *padlist, int depth)
abb2c242 2878 __attribute__nonnull__(pTHX_1);
e8a67806
NC
2879#define PERL_ARGS_ASSERT_PAD_PUSH \
2880 assert(padlist)
f54cb97a 2881
e8a67806
NC
2882PERL_CALLCONV void Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust);
2883PERL_CALLCONV void Perl_pad_tidy(pTHX_ padtidy_type type);
78cdf107 2884PERL_CALLCONV OP* Perl_parse_arithexpr(pTHX_ U32 flags);
8359b381 2885PERL_CALLCONV OP* Perl_parse_barestmt(pTHX_ U32 flags);
e53d8f76 2886PERL_CALLCONV OP* Perl_parse_block(pTHX_ U32 flags);
78cdf107 2887PERL_CALLCONV OP* Perl_parse_fullexpr(pTHX_ U32 flags);
e8a67806 2888PERL_CALLCONV OP* Perl_parse_fullstmt(pTHX_ U32 flags);
361d9b55 2889PERL_CALLCONV SV* Perl_parse_label(pTHX_ U32 flags);
78cdf107 2890PERL_CALLCONV OP* Perl_parse_listexpr(pTHX_ U32 flags);
07ffcb73 2891PERL_CALLCONV OP* Perl_parse_stmtseq(pTHX_ U32 flags);
78cdf107 2892PERL_CALLCONV OP* Perl_parse_termexpr(pTHX_ U32 flags);
e8a67806 2893PERL_CALLCONV U32 Perl_parse_unicode_opts(pTHX_ const char **popt)
255164ba 2894 __attribute__nonnull__(pTHX_1);
e8a67806
NC
2895#define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS \
2896 assert(popt)
255164ba 2897
e8a67806 2898PERL_CALLCONV void Perl_parser_free(pTHX_ const yy_parser *parser)
780a5241 2899 __attribute__nonnull__(pTHX_1);
e8a67806
NC
2900#define PERL_ARGS_ASSERT_PARSER_FREE \
2901 assert(parser)
780a5241 2902
e8a67806
NC
2903PERL_CALLCONV void Perl_peep(pTHX_ OP* o);
2904PERL_CALLCONV PerlInterpreter* perl_alloc(void);
2905PERL_CALLCONV void perl_construct(PerlInterpreter *my_perl)
2906 __attribute__nonnull__(1);
2907#define PERL_ARGS_ASSERT_PERL_CONSTRUCT \
2908 assert(my_perl)
f54cb97a 2909
e8a67806
NC
2910PERL_CALLCONV int perl_destruct(PerlInterpreter *my_perl)
2911 __attribute__nonnull__(1);
2912#define PERL_ARGS_ASSERT_PERL_DESTRUCT \
2913 assert(my_perl)
f54cb97a 2914
e8a67806
NC
2915PERL_CALLCONV void perl_free(PerlInterpreter *my_perl)
2916 __attribute__nonnull__(1);
2917#define PERL_ARGS_ASSERT_PERL_FREE \
2918 assert(my_perl)
f54cb97a 2919
e8a67806
NC
2920PERL_CALLCONV int perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char** argv, char** env)
2921 __attribute__nonnull__(1);
2922#define PERL_ARGS_ASSERT_PERL_PARSE \
2923 assert(my_perl)
2d03de9c 2924
e8a67806
NC
2925PERL_CALLCONV int perl_run(PerlInterpreter *my_perl)
2926 __attribute__nonnull__(1);
2927#define PERL_ARGS_ASSERT_PERL_RUN \
2928 assert(my_perl)
2d03de9c 2929
e8a67806 2930PERL_CALLCONV void Perl_pmop_dump(pTHX_ PMOP* pm);
4048f010 2931PERL_CALLCONV OP* Perl_pmruntime(pTHX_ OP *o, OP *expr, bool isreg)
abb2c242
JH
2932 __attribute__nonnull__(pTHX_1)
2933 __attribute__nonnull__(pTHX_2);
7918f24d
NC
2934#define PERL_ARGS_ASSERT_PMRUNTIME \
2935 assert(o); assert(expr)
f54cb97a 2936
1d7c1841 2937PERL_CALLCONV void Perl_pop_scope(pTHX);
74e8ce34
NC
2938PERL_CALLCONV void Perl_populate_isa(pTHX_ const char *name, STRLEN len, ...)
2939 __attribute__nonnull__(pTHX_1);
2940#define PERL_ARGS_ASSERT_POPULATE_ISA \
2941 assert(name)
2942
e8a67806
NC
2943PERL_CALLCONV REGEXP* Perl_pregcomp(pTHX_ SV * const pattern, const U32 flags)
2944 __attribute__nonnull__(pTHX_1);
2945#define PERL_ARGS_ASSERT_PREGCOMP \
2946 assert(pattern)
2947
2948PERL_CALLCONV I32 Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, U32 nosave)
2949 __attribute__nonnull__(pTHX_1)
2950 __attribute__nonnull__(pTHX_2)
2951 __attribute__nonnull__(pTHX_3)
2952 __attribute__nonnull__(pTHX_4)
2953 __attribute__nonnull__(pTHX_6);
2954#define PERL_ARGS_ASSERT_PREGEXEC \
2955 assert(prog); assert(stringarg); assert(strend); assert(strbeg); assert(screamer)
2956
2957PERL_CALLCONV void Perl_pregfree(pTHX_ REGEXP* r);
2958PERL_CALLCONV void Perl_pregfree2(pTHX_ REGEXP *rx)
2959 __attribute__nonnull__(pTHX_1);
2960#define PERL_ARGS_ASSERT_PREGFREE2 \
2961 assert(rx)
2962
e8a67806
NC
2963PERL_CALLCONV const char* Perl_prescan_version(pTHX_ const char *s, bool strict, const char** errstr, bool *sqv, int *ssaw_decimal, int *swidth, bool *salpha)
2964 __attribute__nonnull__(pTHX_1);
2965#define PERL_ARGS_ASSERT_PRESCAN_VERSION \
2966 assert(s)
2967
2968PERL_CALLCONV void Perl_ptr_table_clear(pTHX_ PTR_TBL_t *const tbl)
2969 __attribute__deprecated__;
2970
2971PERL_CALLCONV void* Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *const tbl, const void *const sv)
2972 __attribute__warn_unused_result__
2973 __attribute__nonnull__(pTHX_1);
2974#define PERL_ARGS_ASSERT_PTR_TABLE_FETCH \
2975 assert(tbl)
2976
2977PERL_CALLCONV void Perl_ptr_table_free(pTHX_ PTR_TBL_t *const tbl);
2978PERL_CALLCONV PTR_TBL_t* Perl_ptr_table_new(pTHX)
2979 __attribute__malloc__
2980 __attribute__warn_unused_result__;
2981
2982PERL_CALLCONV void Perl_ptr_table_split(pTHX_ PTR_TBL_t *const tbl)
2983 __attribute__nonnull__(pTHX_1);
2984#define PERL_ARGS_ASSERT_PTR_TABLE_SPLIT \
2985 assert(tbl)
2986
2987PERL_CALLCONV void Perl_ptr_table_store(pTHX_ PTR_TBL_t *const tbl, const void *const oldsv, void *const newsv)
2988 __attribute__nonnull__(pTHX_1)
2989 __attribute__nonnull__(pTHX_3);
2990#define PERL_ARGS_ASSERT_PTR_TABLE_STORE \
2991 assert(tbl); assert(newsv)
2992
2993PERL_CALLCONV void Perl_push_scope(pTHX);
2994PERL_CALLCONV char* Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim)
2995 __attribute__nonnull__(pTHX_1)
2996 __attribute__nonnull__(pTHX_2);
2997#define PERL_ARGS_ASSERT_PV_DISPLAY \
2998 assert(dsv); assert(pv)
2999
3000PERL_CALLCONV char* Perl_pv_escape(pTHX_ SV *dsv, char const * const str, const STRLEN count, const STRLEN max, STRLEN * const escaped, const U32 flags)
3001 __attribute__nonnull__(pTHX_1)
3002 __attribute__nonnull__(pTHX_2);
3003#define PERL_ARGS_ASSERT_PV_ESCAPE \
3004 assert(dsv); assert(str)
3005
3006PERL_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)
3007 __attribute__nonnull__(pTHX_1)
3008 __attribute__nonnull__(pTHX_2);
3009#define PERL_ARGS_ASSERT_PV_PRETTY \
3010 assert(dsv); assert(str)
3011
3012PERL_CALLCONV char* Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags)
3013 __attribute__nonnull__(pTHX_1)
3014 __attribute__nonnull__(pTHX_2);
3015#define PERL_ARGS_ASSERT_PV_UNI_DISPLAY \
3016 assert(dsv); assert(spv)
3017
3018PERL_CALLCONV void Perl_qerror(pTHX_ SV* err)
3019 __attribute__nonnull__(pTHX_1);
3020#define PERL_ARGS_ASSERT_QERROR \
3021 assert(err)
3022
3023PERL_CALLCONV REGEXP* Perl_re_compile(pTHX_ SV * const pattern, U32 flags)
3024 __attribute__nonnull__(pTHX_1);
3025#define PERL_ARGS_ASSERT_RE_COMPILE \
3026 assert(pattern)
3027
3028PERL_CALLCONV char* Perl_re_intuit_start(pTHX_ REGEXP * const rx, SV* sv, char* strpos, char* strend, const U32 flags, re_scream_pos_data *data)
3029 __attribute__nonnull__(pTHX_1)
3030 __attribute__nonnull__(pTHX_3)
3031 __attribute__nonnull__(pTHX_4);
3032#define PERL_ARGS_ASSERT_RE_INTUIT_START \
3033 assert(rx); assert(strpos); assert(strend)
3034
3035PERL_CALLCONV SV* Perl_re_intuit_string(pTHX_ REGEXP *const r)
3036 __attribute__nonnull__(pTHX_1);
3037#define PERL_ARGS_ASSERT_RE_INTUIT_STRING \
3038 assert(r)
3039
3040PERL_CALLCONV Malloc_t Perl_realloc(Malloc_t where, MEM_SIZE nbytes)
3041 __attribute__malloc__
3042 __attribute__warn_unused_result__;
3043
3044/* PERL_CALLCONV OP* Perl_ref(pTHX_ OP* o, I32 type); */
20439bc7
Z
3045PERL_CALLCONV HV * Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c, U32 flags);
3046PERL_CALLCONV SV * Perl_refcounted_he_fetch_pv(pTHX_ const struct refcounted_he *chain, const char *key, U32 hash, U32 flags)
3047 __attribute__nonnull__(pTHX_2);
3048#define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PV \
3049 assert(key)
3050
3051PERL_CALLCONV SV * Perl_refcounted_he_fetch_pvn(pTHX_ const struct refcounted_he *chain, const char *keypv, STRLEN keylen, U32 hash, U32 flags)
3052 __attribute__nonnull__(pTHX_2);
3053#define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_PVN \
3054 assert(keypv)
3055
3056PERL_CALLCONV SV * Perl_refcounted_he_fetch_sv(pTHX_ const struct refcounted_he *chain, SV *key, U32 hash, U32 flags)
3057 __attribute__nonnull__(pTHX_2);
3058#define PERL_ARGS_ASSERT_REFCOUNTED_HE_FETCH_SV \
3059 assert(key)
3060
e8a67806 3061PERL_CALLCONV void Perl_refcounted_he_free(pTHX_ struct refcounted_he *he);
20439bc7
Z
3062PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_inc(pTHX_ struct refcounted_he *he);
3063PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_new_pv(pTHX_ struct refcounted_he *parent, const char *key, U32 hash, SV *value, U32 flags)
3064 __attribute__nonnull__(pTHX_2);
3065#define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PV \
3066 assert(key)
3067
3068PERL_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)
3069 __attribute__nonnull__(pTHX_2);
3070#define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_PVN \
3071 assert(keypv)
3072
3073PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_new_sv(pTHX_ struct refcounted_he *parent, SV *key, U32 hash, SV *value, U32 flags)
3074 __attribute__nonnull__(pTHX_2);
3075#define PERL_ARGS_ASSERT_REFCOUNTED_HE_NEW_SV \
3076 assert(key)
3077
e8a67806
NC
3078PERL_CALLCONV SV* Perl_reg_named_buff(pTHX_ REGEXP * const rx, SV * const key, SV * const value, const U32 flags)
3079 __attribute__nonnull__(pTHX_1);
3080#define PERL_ARGS_ASSERT_REG_NAMED_BUFF \
3081 assert(rx)
3082
3083PERL_CALLCONV SV* Perl_reg_named_buff_all(pTHX_ REGEXP * const rx, const U32 flags)
3084 __attribute__nonnull__(pTHX_1);
3085#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ALL \
3086 assert(rx)
3087
3088PERL_CALLCONV bool Perl_reg_named_buff_exists(pTHX_ REGEXP * const rx, SV * const key, const U32 flags)
3089 __attribute__nonnull__(pTHX_1)
3090 __attribute__nonnull__(pTHX_2);
3091#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_EXISTS \
3092 assert(rx); assert(key)
3093
3094PERL_CALLCONV SV* Perl_reg_named_buff_fetch(pTHX_ REGEXP * const rx, SV * const namesv, const U32 flags)
3095 __attribute__nonnull__(pTHX_1)
3096 __attribute__nonnull__(pTHX_2);
3097#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FETCH \
3098 assert(rx); assert(namesv)
3099
3100PERL_CALLCONV SV* Perl_reg_named_buff_firstkey(pTHX_ REGEXP * const rx, const U32 flags)
3101 __attribute__nonnull__(pTHX_1);
3102#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_FIRSTKEY \
3103 assert(rx)
3104
3105PERL_CALLCONV SV* Perl_reg_named_buff_iter(pTHX_ REGEXP * const rx, const SV * const lastkey, const U32 flags)
3106 __attribute__nonnull__(pTHX_1);
3107#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_ITER \
3108 assert(rx)
3109
3110PERL_CALLCONV SV* Perl_reg_named_buff_nextkey(pTHX_ REGEXP * const rx, const U32 flags)
3111 __attribute__nonnull__(pTHX_1);
3112#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_NEXTKEY \
3113 assert(rx)
3114
3115PERL_CALLCONV SV* Perl_reg_named_buff_scalar(pTHX_ REGEXP * const rx, const U32 flags)
3116 __attribute__nonnull__(pTHX_1);
3117#define PERL_ARGS_ASSERT_REG_NAMED_BUFF_SCALAR \
3118 assert(rx)
3119
3120PERL_CALLCONV void Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const rx, const I32 paren, SV * const sv)
3121 __attribute__nonnull__(pTHX_1);
3122#define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_FETCH \
3123 assert(rx)
3124
3125PERL_CALLCONV I32 Perl_reg_numbered_buff_length(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren)
3126 __attribute__nonnull__(pTHX_1)
3127 __attribute__nonnull__(pTHX_2);
3128#define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_LENGTH \
3129 assert(rx); assert(sv)
3130
3131PERL_CALLCONV void Perl_reg_numbered_buff_store(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value)
3132 __attribute__nonnull__(pTHX_1);
3133#define PERL_ARGS_ASSERT_REG_NUMBERED_BUFF_STORE \
3134 assert(rx)
3135
3136PERL_CALLCONV SV* Perl_reg_qr_package(pTHX_ REGEXP * const rx)
3137 __attribute__nonnull__(pTHX_1);
3138#define PERL_ARGS_ASSERT_REG_QR_PACKAGE \
3139 assert(rx)
3140
3141PERL_CALLCONV REGEXP* Perl_reg_temp_copy(pTHX_ REGEXP* ret_x, REGEXP* rx)
3142 __attribute__nonnull__(pTHX_2);
3143#define PERL_ARGS_ASSERT_REG_TEMP_COPY \
3144 assert(rx)
3145
3146PERL_CALLCONV SV* Perl_regclass_swash(pTHX_ const regexp *prog, const struct regnode *node, bool doinit, SV **listsvp, SV **altsvp)
3147 __attribute__nonnull__(pTHX_2);
3148#define PERL_ARGS_ASSERT_REGCLASS_SWASH \
3149 assert(node)
3150
3151PERL_CALLCONV void Perl_regdump(pTHX_ const regexp* r)
3152 __attribute__nonnull__(pTHX_1);
3153#define PERL_ARGS_ASSERT_REGDUMP \
3154 assert(r)
3155
3156PERL_CALLCONV void Perl_regdump(pTHX_ const regexp* r)
3157 __attribute__nonnull__(pTHX_1);
3158#define PERL_ARGS_ASSERT_REGDUMP \
3159 assert(r)
3160
3161PERL_CALLCONV I32 Perl_regexec_flags(pTHX_ REGEXP *const rx, char *stringarg, char *strend, char *strbeg, I32 minend, SV *sv, void *data, U32 flags)
3162 __attribute__nonnull__(pTHX_1)
3163 __attribute__nonnull__(pTHX_2)
3164 __attribute__nonnull__(pTHX_3)
3165 __attribute__nonnull__(pTHX_4)
3166 __attribute__nonnull__(pTHX_6);
3167#define PERL_ARGS_ASSERT_REGEXEC_FLAGS \
3168 assert(rx); assert(stringarg); assert(strend); assert(strbeg); assert(sv)
3169
3170PERL_CALLCONV void Perl_regfree_internal(pTHX_ REGEXP *const rx)
3171 __attribute__nonnull__(pTHX_1);
3172#define PERL_ARGS_ASSERT_REGFREE_INTERNAL \
3173 assert(rx)
3174
3175PERL_CALLCONV void Perl_reginitcolors(pTHX);
3176PERL_CALLCONV regnode* Perl_regnext(pTHX_ regnode* p)
3177 __attribute__warn_unused_result__;
3178
3179PERL_CALLCONV void Perl_regprop(pTHX_ const regexp *prog, SV* sv, const regnode* o)
3180 __attribute__nonnull__(pTHX_2)
3181 __attribute__nonnull__(pTHX_3);
3182#define PERL_ARGS_ASSERT_REGPROP \
3183 assert(sv); assert(o)
3184
3185PERL_CALLCONV void Perl_repeatcpy(char* to, const char* from, I32 len, I32 count)
3186 __attribute__nonnull__(1)
3187 __attribute__nonnull__(2);
3188#define PERL_ARGS_ASSERT_REPEATCPY \
3189 assert(to); assert(from)
3190
831e4cc3 3191PERL_CALLCONV void Perl_report_evil_fh(pTHX_ const GV *gv);
e8a67806 3192PERL_CALLCONV void Perl_report_uninit(pTHX_ const SV *uninit_sv);
a5390457 3193PERL_CALLCONV void Perl_report_wrongway_fh(pTHX_ const GV *gv, const char have);
e8a67806
NC
3194PERL_CALLCONV void Perl_require_pv(pTHX_ const char* pv)
3195 __attribute__nonnull__(pTHX_1);
3196#define PERL_ARGS_ASSERT_REQUIRE_PV \
3197 assert(pv)
3198
3199PERL_CALLCONV char* Perl_rninstr(const char* big, const char* bigend, const char* little, const char* lend)
3200 __attribute__pure__
3201 __attribute__nonnull__(1)
3202 __attribute__nonnull__(2)
3203 __attribute__nonnull__(3)
3204 __attribute__nonnull__(4);
3205#define PERL_ARGS_ASSERT_RNINSTR \
3206 assert(big); assert(bigend); assert(little); assert(lend)
3207
3208PERL_CALLCONV void Perl_rpeep(pTHX_ OP* o);
3209PERL_CALLCONV Sighandler_t Perl_rsignal(pTHX_ int i, Sighandler_t t);
3210PERL_CALLCONV int Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t);
3211PERL_CALLCONV int Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* save)
3212 __attribute__nonnull__(pTHX_3);
3213#define PERL_ARGS_ASSERT_RSIGNAL_SAVE \
3214 assert(save)
3215
3216PERL_CALLCONV Sighandler_t Perl_rsignal_state(pTHX_ int i);
3217PERL_CALLCONV int Perl_runops_debug(pTHX);
3218PERL_CALLCONV int Perl_runops_standard(pTHX);
d9088386
Z
3219PERL_CALLCONV CV* Perl_rv2cv_op_cv(pTHX_ OP *cvop, U32 flags)
3220 __attribute__nonnull__(pTHX_1);
3221#define PERL_ARGS_ASSERT_RV2CV_OP_CV \
3222 assert(cvop)
3223
e8a67806
NC
3224PERL_CALLCONV void Perl_rxres_save(pTHX_ void **rsp, REGEXP *rx)
3225 __attribute__nonnull__(pTHX_1)
3226 __attribute__nonnull__(pTHX_2);
3227#define PERL_ARGS_ASSERT_RXRES_SAVE \
3228 assert(rsp); assert(rx)
3229
3230PERL_CALLCONV Malloc_t Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size)
3231 __attribute__malloc__
3232 __attribute__warn_unused_result__;
3233
3234PERL_CALLCONV Free_t Perl_safesysfree(Malloc_t where);
3235PERL_CALLCONV Malloc_t Perl_safesysmalloc(MEM_SIZE nbytes)
3236 __attribute__malloc__
3237 __attribute__warn_unused_result__;
3238
3239PERL_CALLCONV Malloc_t Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes)
3240 __attribute__malloc__
3241 __attribute__warn_unused_result__;
3242
3243PERL_CALLCONV void Perl_save_I16(pTHX_ I16* intp)
3244 __attribute__nonnull__(pTHX_1);
3245#define PERL_ARGS_ASSERT_SAVE_I16 \
3246 assert(intp)
3247
3248PERL_CALLCONV void Perl_save_I32(pTHX_ I32* intp)
3249 __attribute__nonnull__(pTHX_1);
3250#define PERL_ARGS_ASSERT_SAVE_I32 \
3251 assert(intp)
3252
3253PERL_CALLCONV void Perl_save_I8(pTHX_ I8* bytep)
3254 __attribute__nonnull__(pTHX_1);
3255#define PERL_ARGS_ASSERT_SAVE_I8 \
3256 assert(bytep)
3257
3258PERL_CALLCONV void Perl_save_adelete(pTHX_ AV *av, I32 key)
3259 __attribute__nonnull__(pTHX_1);
3260#define PERL_ARGS_ASSERT_SAVE_ADELETE \
3261 assert(av)
3262
3263/* PERL_CALLCONV void Perl_save_aelem(pTHX_ AV* av, I32 idx, SV **sptr)
3264 __attribute__nonnull__(pTHX_1)
3265 __attribute__nonnull__(pTHX_3); */
3266
3267PERL_CALLCONV void Perl_save_aelem_flags(pTHX_ AV* av, I32 idx, SV **sptr, const U32 flags)
3268 __attribute__nonnull__(pTHX_1)
3269 __attribute__nonnull__(pTHX_3);
3270#define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS \
3271 assert(av); assert(sptr)
3272
3273PERL_CALLCONV I32 Perl_save_alloc(pTHX_ I32 size, I32 pad);
3274PERL_CALLCONV void Perl_save_aptr(pTHX_ AV** aptr)
3275 __attribute__nonnull__(pTHX_1);
3276#define PERL_ARGS_ASSERT_SAVE_APTR \
3277 assert(aptr)
3278
3279PERL_CALLCONV AV* Perl_save_ary(pTHX_ GV* gv)
3280 __attribute__nonnull__(pTHX_1);
3281#define PERL_ARGS_ASSERT_SAVE_ARY \
3282 assert(gv)
3283
3284PERL_CALLCONV void Perl_save_bool(pTHX_ bool* boolp)
3285 __attribute__nonnull__(pTHX_1);
3286#define PERL_ARGS_ASSERT_SAVE_BOOL \
3287 assert(boolp)
3288
3289PERL_CALLCONV void Perl_save_clearsv(pTHX_ SV** svp)
3290 __attribute__nonnull__(pTHX_1);
3291#define PERL_ARGS_ASSERT_SAVE_CLEARSV \
3292 assert(svp)
3293
3294PERL_CALLCONV void Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen)
3295 __attribute__nonnull__(pTHX_1)
3296 __attribute__nonnull__(pTHX_2);
3297#define PERL_ARGS_ASSERT_SAVE_DELETE \
3298 assert(hv); assert(key)
3299
3300PERL_CALLCONV void Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p)
3301 __attribute__nonnull__(pTHX_2);
3302#define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR \
3303 assert(p)
3304
3305PERL_CALLCONV void Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p);
3306/* PERL_CALLCONV void Perl_save_freeop(pTHX_ OP* o); */
3307/* PERL_CALLCONV void Perl_save_freepv(pTHX_ char* pv); */
3308/* PERL_CALLCONV void Perl_save_freesv(pTHX_ SV* sv); */
3309PERL_CALLCONV void Perl_save_generic_pvref(pTHX_ char** str)
3310 __attribute__nonnull__(pTHX_1);
3311#define PERL_ARGS_ASSERT_SAVE_GENERIC_PVREF \
3312 assert(str)
3313
3314PERL_CALLCONV void Perl_save_generic_svref(pTHX_ SV** sptr)
3315 __attribute__nonnull__(pTHX_1);
3316#define PERL_ARGS_ASSERT_SAVE_GENERIC_SVREF \
3317 assert(sptr)
3318
3319PERL_CALLCONV void Perl_save_gp(pTHX_ GV* gv, I32 empty)
3320 __attribute__nonnull__(pTHX_1);
3321#define PERL_ARGS_ASSERT_SAVE_GP \
3322 assert(gv)
3323
3324PERL_CALLCONV HV* Perl_save_hash(pTHX_ GV* gv)
3325 __attribute__nonnull__(pTHX_1);
3326#define PERL_ARGS_ASSERT_SAVE_HASH \
3327 assert(gv)
3328
3329PERL_CALLCONV void Perl_save_hdelete(pTHX_ HV *hv, SV *keysv)
3330 __attribute__nonnull__(pTHX_1)
3331 __attribute__nonnull__(pTHX_2);
3332#define PERL_ARGS_ASSERT_SAVE_HDELETE \
3333 assert(hv); assert(keysv)
3334
3335/* PERL_CALLCONV void Perl_save_helem(pTHX_ HV *hv, SV *key, SV **sptr)
3336 __attribute__nonnull__(pTHX_1)
3337 __attribute__nonnull__(pTHX_2)
3338 __attribute__nonnull__(pTHX_3); */
3339
3340PERL_CALLCONV void Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags)
3341 __attribute__nonnull__(pTHX_1)
3342 __attribute__nonnull__(pTHX_2)
3343 __attribute__nonnull__(pTHX_3);
3344#define PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS \
3345 assert(hv); assert(key); assert(sptr)
3346
3347PERL_CALLCONV void Perl_save_hints(pTHX);
3348PERL_CALLCONV void Perl_save_hptr(pTHX_ HV** hptr)
3349 __attribute__nonnull__(pTHX_1);
3350#define PERL_ARGS_ASSERT_SAVE_HPTR \
3351 assert(hptr)
3352
3353PERL_CALLCONV void Perl_save_int(pTHX_ int* intp)
3354 __attribute__nonnull__(pTHX_1);
3355#define PERL_ARGS_ASSERT_SAVE_INT \
3356 assert(intp)
3357
3358PERL_CALLCONV void Perl_save_item(pTHX_ SV* item)
3359 __attribute__nonnull__(pTHX_1);
3360#define PERL_ARGS_ASSERT_SAVE_ITEM \
3361 assert(item)
3362
3363PERL_CALLCONV void Perl_save_iv(pTHX_ IV *ivp)
3364 __attribute__nonnull__(pTHX_1);
3365#define PERL_ARGS_ASSERT_SAVE_IV \
3366 assert(ivp)
3367
3368PERL_CALLCONV void Perl_save_list(pTHX_ SV** sarg, I32 maxsarg)
3369 __attribute__nonnull__(pTHX_1);
3370#define PERL_ARGS_ASSERT_SAVE_LIST \
3371 assert(sarg)
3372
3373PERL_CALLCONV void Perl_save_long(pTHX_ long* longp)
3374 __attribute__nonnull__(pTHX_1);
3375#define PERL_ARGS_ASSERT_SAVE_LONG \
3376 assert(longp)
3377
3378/* PERL_CALLCONV void Perl_save_mortalizesv(pTHX_ SV* sv)
3379 __attribute__nonnull__(pTHX_1); */
3380#define PERL_ARGS_ASSERT_SAVE_MORTALIZESV \
3381 assert(sv)
3382
3383PERL_CALLCONV void Perl_save_nogv(pTHX_ GV* gv)
3384 __attribute__nonnull__(pTHX_1);
3385#define PERL_ARGS_ASSERT_SAVE_NOGV \
3386 assert(gv)
3387
3388/* PERL_CALLCONV void Perl_save_op(pTHX); */
3389PERL_CALLCONV void Perl_save_padsv_and_mortalize(pTHX_ PADOFFSET off);
3390PERL_CALLCONV void Perl_save_pptr(pTHX_ char** pptr)
3391 __attribute__nonnull__(pTHX_1);
3392#define PERL_ARGS_ASSERT_SAVE_PPTR \
3393 assert(pptr)
3394
3395PERL_CALLCONV void Perl_save_pushi32ptr(pTHX_ const I32 i, void *const ptr, const int type);
3396PERL_CALLCONV void Perl_save_pushptr(pTHX_ void *const ptr, const int type);
3397PERL_CALLCONV void Perl_save_pushptrptr(pTHX_ void *const ptr1, void *const ptr2, const int type);
3398PERL_CALLCONV void Perl_save_re_context(pTHX);
3399PERL_CALLCONV SV* Perl_save_scalar(pTHX_ GV* gv)
3400 __attribute__nonnull__(pTHX_1);
3401#define PERL_ARGS_ASSERT_SAVE_SCALAR \
3402 assert(gv)
3403
3404PERL_CALLCONV void Perl_save_set_svflags(pTHX_ SV *sv, U32 mask, U32 val)
3405 __attribute__nonnull__(pTHX_1);
3406#define PERL_ARGS_ASSERT_SAVE_SET_SVFLAGS \
3407 assert(sv)
3408
3409PERL_CALLCONV void Perl_save_shared_pvref(pTHX_ char** str)
3410 __attribute__nonnull__(pTHX_1);
3411#define PERL_ARGS_ASSERT_SAVE_SHARED_PVREF \
3412 assert(str)
3413
3414PERL_CALLCONV void Perl_save_sptr(pTHX_ SV** sptr)
3415 __attribute__nonnull__(pTHX_1);
3416#define PERL_ARGS_ASSERT_SAVE_SPTR \
3417 assert(sptr)
3418
3419PERL_CALLCONV SV* Perl_save_svref(pTHX_ SV** sptr)
3420 __attribute__nonnull__(pTHX_1);
3421#define PERL_ARGS_ASSERT_SAVE_SVREF \
3422 assert(sptr)
3423
3424PERL_CALLCONV void Perl_save_vptr(pTHX_ void *ptr)
3425 __attribute__nonnull__(pTHX_1);
3426#define PERL_ARGS_ASSERT_SAVE_VPTR \
3427 assert(ptr)
3428
3429PERL_CALLCONV char* Perl_savepv(pTHX_ const char* pv)
3430 __attribute__malloc__
3431 __attribute__warn_unused_result__;
3432
3433PERL_CALLCONV char* Perl_savepvn(pTHX_ const char* pv, I32 len)
3434 __attribute__malloc__
3435 __attribute__warn_unused_result__;
3436
3437PERL_CALLCONV char* Perl_savesharedpv(pTHX_ const char* pv)
3438 __attribute__malloc__
3439 __attribute__warn_unused_result__;
3440
3441PERL_CALLCONV char* Perl_savesharedpvn(pTHX_ const char *const pv, const STRLEN len)
3442 __attribute__malloc__
3443 __attribute__warn_unused_result__
3444 __attribute__nonnull__(pTHX_1);
3445#define PERL_ARGS_ASSERT_SAVESHAREDPVN \
3446 assert(pv)
3447
3448PERL_CALLCONV char* Perl_savesharedsvpv(pTHX_ SV *sv)
3449 __attribute__malloc__
3450 __attribute__warn_unused_result__
3451 __attribute__nonnull__(pTHX_1);
3452#define PERL_ARGS_ASSERT_SAVESHAREDSVPV \
3453 assert(sv)
3454
3455PERL_CALLCONV void Perl_savestack_grow(pTHX);
3456PERL_CALLCONV void Perl_savestack_grow_cnt(pTHX_ I32 need);
3457PERL_CALLCONV char* Perl_savesvpv(pTHX_ SV* sv)
3458 __attribute__malloc__
3459 __attribute__warn_unused_result__
3460 __attribute__nonnull__(pTHX_1);
3461#define PERL_ARGS_ASSERT_SAVESVPV \
3462 assert(sv)
3463
3464PERL_CALLCONV OP* Perl_sawparens(pTHX_ OP* o);
3465PERL_CALLCONV OP* Perl_scalar(pTHX_ OP* o);
3466PERL_CALLCONV OP* Perl_scalarvoid(pTHX_ OP* o)
3467 __attribute__nonnull__(pTHX_1);
3468#define PERL_ARGS_ASSERT_SCALARVOID \
3469 assert(o)
3470
3471PERL_CALLCONV NV Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
3472 __attribute__nonnull__(pTHX_1)
3473 __attribute__nonnull__(pTHX_3);
3474#define PERL_ARGS_ASSERT_SCAN_BIN \
3475 assert(start); assert(retlen)
3476
3477PERL_CALLCONV NV Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
3478 __attribute__nonnull__(pTHX_1)
3479 __attribute__nonnull__(pTHX_3);
3480#define PERL_ARGS_ASSERT_SCAN_HEX \
3481 assert(start); assert(retlen)
3482
3483PERL_CALLCONV char* Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp)
3484 __attribute__nonnull__(pTHX_1)
3485 __attribute__nonnull__(pTHX_2);
3486#define PERL_ARGS_ASSERT_SCAN_NUM \
3487 assert(s); assert(lvalp)
3488
3489PERL_CALLCONV NV Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen)
3490 __attribute__nonnull__(pTHX_1)
3491 __attribute__nonnull__(pTHX_3);
3492#define PERL_ARGS_ASSERT_SCAN_OCT \
3493 assert(start); assert(retlen)
3494
3495PERL_CALLCONV const char* Perl_scan_version(pTHX_ const char *s, SV *rv, bool qv)
3496 __attribute__nonnull__(pTHX_1)
3497 __attribute__nonnull__(pTHX_2);
3498#define PERL_ARGS_ASSERT_SCAN_VERSION \
3499 assert(s); assert(rv)
3500
3501PERL_CALLCONV char* Perl_scan_vstring(pTHX_ const char *s, const char *const e, SV *sv)
3502 __attribute__nonnull__(pTHX_1)
3503 __attribute__nonnull__(pTHX_2)
3504 __attribute__nonnull__(pTHX_3);
3505#define PERL_ARGS_ASSERT_SCAN_VSTRING \
3506 assert(s); assert(e); assert(sv)
3507
e8a67806
NC
3508PERL_CALLCONV char* Perl_screaminstr(pTHX_ SV *bigstr, SV *littlestr, I32 start_shift, I32 end_shift, I32 *old_posp, I32 last)
3509 __attribute__nonnull__(pTHX_1)
3510 __attribute__nonnull__(pTHX_2)
3511 __attribute__nonnull__(pTHX_5);
3512#define PERL_ARGS_ASSERT_SCREAMINSTR \
3513 assert(bigstr); assert(littlestr); assert(old_posp)
3514
3515PERL_CALLCONV U32 Perl_seed(pTHX);
3516PERL_CALLCONV void Perl_set_context(void *t)
3517 __attribute__nonnull__(1);
3518#define PERL_ARGS_ASSERT_SET_CONTEXT \
3519 assert(t)
3520
3521PERL_CALLCONV void Perl_set_numeric_local(pTHX);
3522PERL_CALLCONV void Perl_set_numeric_radix(pTHX);
3523PERL_CALLCONV void Perl_set_numeric_standard(pTHX);
3524PERL_CALLCONV void Perl_setdefout(pTHX_ GV* gv);
3525PERL_CALLCONV HEK* Perl_share_hek(pTHX_ const char* str, I32 len, U32 hash)
3526 __attribute__nonnull__(pTHX_1);
3527#define PERL_ARGS_ASSERT_SHARE_HEK \
3528 assert(str)
3529
3530PERL_CALLCONV void Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp)
3531 __attribute__nonnull__(pTHX_3);
3532#define PERL_ARGS_ASSERT_SORTSV \
3533 assert(cmp)
3534
3535PERL_CALLCONV void Perl_sortsv_flags(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp, U32 flags)
3536 __attribute__nonnull__(pTHX_3);
3537#define PERL_ARGS_ASSERT_SORTSV_FLAGS \
3538 assert(cmp)
3539
3540PERL_CALLCONV SV** Perl_stack_grow(pTHX_ SV** sp, SV** p, int n)
3541 __attribute__nonnull__(pTHX_1)
3542 __attribute__nonnull__(pTHX_2);
3543#define PERL_ARGS_ASSERT_STACK_GROW \
3544 assert(sp); assert(p)
3545
3546PERL_CALLCONV PerlIO* Perl_start_glob(pTHX_ SV *tmpglob, IO *io)
3547 __attribute__nonnull__(pTHX_1)
3548 __attribute__nonnull__(pTHX_2);
3549#define PERL_ARGS_ASSERT_START_GLOB \
3550 assert(tmpglob); assert(io)
3551
3552PERL_CALLCONV I32 Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
3553PERL_CALLCONV bool Perl_stashpv_hvname_match(pTHX_ const COP *c, const HV *hv)
3554 __attribute__warn_unused_result__
3555 __attribute__nonnull__(pTHX_1)
3556 __attribute__nonnull__(pTHX_2);
3557#define PERL_ARGS_ASSERT_STASHPV_HVNAME_MATCH \
3558 assert(c); assert(hv)
3559
e8a67806
NC
3560PERL_CALLCONV NV Perl_str_to_version(pTHX_ SV *sv)
3561 __attribute__warn_unused_result__
3562 __attribute__nonnull__(pTHX_1);
3563#define PERL_ARGS_ASSERT_STR_TO_VERSION \
3564 assert(sv)
3565
3566PERL_CALLCONV void Perl_sub_crush_depth(pTHX_ CV* cv)
3567 __attribute__nonnull__(pTHX_1);
3568#define PERL_ARGS_ASSERT_SUB_CRUSH_DEPTH \
3569 assert(cv)
3570
3571/* PERL_CALLCONV bool sv_2bool(pTHX_ SV *const sv)
3572 __attribute__nonnull__(pTHX_1); */
3573
3574PERL_CALLCONV bool Perl_sv_2bool_flags(pTHX_ SV *const sv, const I32 flags)
3575 __attribute__nonnull__(pTHX_1);
3576#define PERL_ARGS_ASSERT_SV_2BOOL_FLAGS \
3577 assert(sv)
3578
3579PERL_CALLCONV CV* Perl_sv_2cv(pTHX_ SV* sv, HV **const st, GV **const gvp, const I32 lref)
3580 __attribute__nonnull__(pTHX_2)
3581 __attribute__nonnull__(pTHX_3);
3582#define PERL_ARGS_ASSERT_SV_2CV \
3583 assert(st); assert(gvp)
3584
3585PERL_CALLCONV IO* Perl_sv_2io(pTHX_ SV *const sv)
3586 __attribute__nonnull__(pTHX_1);
3587#define PERL_ARGS_ASSERT_SV_2IO \
3588 assert(sv)
3589
3590/* PERL_CALLCONV IV Perl_sv_2iv(pTHX_ SV *sv); */
3591PERL_CALLCONV IV Perl_sv_2iv_flags(pTHX_ SV *const sv, const I32 flags);
3592PERL_CALLCONV SV* Perl_sv_2mortal(pTHX_ SV *const sv);
3593PERL_CALLCONV SV* Perl_sv_2num(pTHX_ SV *const sv)
3594 __attribute__nonnull__(pTHX_1);
3595#define PERL_ARGS_ASSERT_SV_2NUM \
3596 assert(sv)
3597
3598PERL_CALLCONV NV Perl_sv_2nv_flags(pTHX_ SV *const sv, const I32 flags);
3599/* PERL_CALLCONV char* Perl_sv_2pv(pTHX_ SV *sv, STRLEN *lp); */
3600PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
3601/* PERL_CALLCONV char* Perl_sv_2pv_nolen(pTHX_ SV* sv)
3602 __attribute__warn_unused_result__
3603 __attribute__nonnull__(pTHX_1); */
3604#define PERL_ARGS_ASSERT_SV_2PV_NOLEN \
3605 assert(sv)
3606
3607PERL_CALLCONV char* Perl_sv_2pvbyte(pTHX_ SV *const sv, STRLEN *const lp)
3608 __attribute__nonnull__(pTHX_1);
3609#define PERL_ARGS_ASSERT_SV_2PVBYTE \
3610 assert(sv)
3611
3612/* PERL_CALLCONV char* Perl_sv_2pvbyte_nolen(pTHX_ SV* sv)
3613 __attribute__warn_unused_result__
3614 __attribute__nonnull__(pTHX_1); */
3615#define PERL_ARGS_ASSERT_SV_2PVBYTE_NOLEN \
3616 assert(sv)
3617
3618PERL_CALLCONV char* Perl_sv_2pvutf8(pTHX_ SV *const sv, STRLEN *const lp)
3619 __attribute__nonnull__(pTHX_1);
3620#define PERL_ARGS_ASSERT_SV_2PVUTF8 \
3621 assert(sv)
3622
3623/* PERL_CALLCONV char* Perl_sv_2pvutf8_nolen(pTHX_ SV* sv)
3624 __attribute__warn_unused_result__
3625 __attribute__nonnull__(pTHX_1); */
3626#define PERL_ARGS_ASSERT_SV_2PVUTF8_NOLEN \
3627 assert(sv)
3628
3629/* PERL_CALLCONV UV Perl_sv_2uv(pTHX_ SV *sv); */
3630PERL_CALLCONV UV Perl_sv_2uv_flags(pTHX_ SV *const sv, const I32 flags);
3631PERL_CALLCONV int Perl_sv_backoff(pTHX_ SV *const sv)
3632 __attribute__nonnull__(pTHX_1);
3633#define PERL_ARGS_ASSERT_SV_BACKOFF \
3634 assert(sv)
3635
3636PERL_CALLCONV SV* Perl_sv_bless(pTHX_ SV *const sv, HV *const stash)
3637 __attribute__nonnull__(pTHX_1)
3638 __attribute__nonnull__(pTHX_2);
3639#define PERL_ARGS_ASSERT_SV_BLESS \
3640 assert(sv); assert(stash)
3641
3642PERL_CALLCONV bool Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen)
3643 __attribute__nonnull__(pTHX_1)
3644 __attribute__nonnull__(pTHX_2)
3645 __attribute__nonnull__(pTHX_3)
3646 __attribute__nonnull__(pTHX_4)
3647 __attribute__nonnull__(pTHX_5);
3648#define PERL_ARGS_ASSERT_SV_CAT_DECODE \
3649 assert(dsv); assert(encoding); assert(ssv); assert(offset); assert(tstr)
3650
3651PERL_CALLCONV void Perl_sv_catpv(pTHX_ SV *const sv, const char* ptr)
3652 __attribute__nonnull__(pTHX_1);
3653#define PERL_ARGS_ASSERT_SV_CATPV \
3654 assert(sv)
3655
3656PERL_CALLCONV void Perl_sv_catpv_flags(pTHX_ SV *dstr, const char *sstr, const I32 flags)
3657 __attribute__nonnull__(pTHX_1)
3658 __attribute__nonnull__(pTHX_2);
3659#define PERL_ARGS_ASSERT_SV_CATPV_FLAGS \
3660 assert(dstr); assert(sstr)
3661
3662PERL_CALLCONV void Perl_sv_catpv_mg(pTHX_ SV *const sv, const char *const ptr)
3663 __attribute__nonnull__(pTHX_1);
3664#define PERL_ARGS_ASSERT_SV_CATPV_MG \
3665 assert(sv)
3666
3667PERL_CALLCONV void Perl_sv_catpvf(pTHX_ SV *const sv, const char *const pat, ...)
3668 __attribute__format__(__printf__,pTHX_2,pTHX_3)
3669 __attribute__nonnull__(pTHX_1)
3670 __attribute__nonnull__(pTHX_2);
3671#define PERL_ARGS_ASSERT_SV_CATPVF \
3672 assert(sv); assert(pat)
3673
3674PERL_CALLCONV void Perl_sv_catpvf_mg(pTHX_ SV *const sv, const char *const pat, ...)
3675 __attribute__format__(__printf__,pTHX_2,pTHX_3)
3676 __attribute__nonnull__(pTHX_1)
3677 __attribute__nonnull__(pTHX_2);
3678#define PERL_ARGS_ASSERT_SV_CATPVF_MG \
3679 assert(sv); assert(pat)
3680
3681/* PERL_CALLCONV void Perl_sv_catpvn(pTHX_ SV *dsv, const char *sstr, STRLEN len)
3682 __attribute__nonnull__(pTHX_1)
3683 __attribute__nonnull__(pTHX_2); */
3684#define PERL_ARGS_ASSERT_SV_CATPVN \
3685 assert(dsv); assert(sstr)
3686
3687PERL_CALLCONV void Perl_sv_catpvn_flags(pTHX_ SV *const dstr, const char *sstr, const STRLEN len, const I32 flags)
3688 __attribute__nonnull__(pTHX_1)
3689 __attribute__nonnull__(pTHX_2);
3690#define PERL_ARGS_ASSERT_SV_CATPVN_FLAGS \
3691 assert(dstr); assert(sstr)
3692
3693/* PERL_CALLCONV void Perl_sv_catpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len)
3694 __attribute__nonnull__(pTHX_1)
3695 __attribute__nonnull__(pTHX_2); */
3696#define PERL_ARGS_ASSERT_SV_CATPVN_MG \
3697 assert(sv); assert(ptr)
3698
3699/* PERL_CALLCONV void Perl_sv_catsv(pTHX_ SV *dstr, SV *sstr)
3700 __attribute__nonnull__(pTHX_1); */
3701#define PERL_ARGS_ASSERT_SV_CATSV \
3702 assert(dstr)
3703
3704PERL_CALLCONV void Perl_sv_catsv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags)
3705 __attribute__nonnull__(pTHX_1);
3706#define PERL_ARGS_ASSERT_SV_CATSV_FLAGS \
3707 assert(dsv)
3708
3709/* PERL_CALLCONV void Perl_sv_catsv_mg(pTHX_ SV *dsv, SV *ssv)
3710 __attribute__nonnull__(pTHX_1); */
3711#define PERL_ARGS_ASSERT_SV_CATSV_MG \
3712 assert(dsv)
3713
3714PERL_CALLCONV void Perl_sv_chop(pTHX_ SV *const sv, const char *const ptr)
3715 __attribute__nonnull__(pTHX_1);
3716#define PERL_ARGS_ASSERT_SV_CHOP \
3717 assert(sv)
3718
3719PERL_CALLCONV I32 Perl_sv_clean_all(pTHX);
3720PERL_CALLCONV void Perl_sv_clean_objs(pTHX);
5239d5c4 3721PERL_CALLCONV void Perl_sv_clear(pTHX_ SV *const orig_sv)
e8a67806
NC
3722 __attribute__nonnull__(pTHX_1);
3723#define PERL_ARGS_ASSERT_SV_CLEAR \
5239d5c4 3724 assert(orig_sv)
e8a67806
NC
3725
3726PERL_CALLCONV I32 Perl_sv_cmp(pTHX_ SV *const sv1, SV *const sv2);
31c72c81 3727PERL_CALLCONV I32 Perl_sv_cmp_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
e8a67806 3728PERL_CALLCONV I32 Perl_sv_cmp_locale(pTHX_ SV *const sv1, SV *const sv2);
31c72c81 3729PERL_CALLCONV I32 Perl_sv_cmp_locale_flags(pTHX_ SV *const sv1, SV *const sv2, const U32 flags);
e8a67806 3730PERL_CALLCONV OP* Perl_sv_compile_2op(pTHX_ SV *sv, OP **startop, const char *code, PAD **padp)
d59a8b3e 3731 __attribute__deprecated__
e8a67806
NC
3732 __attribute__nonnull__(pTHX_1)
3733 __attribute__nonnull__(pTHX_2)
3734 __attribute__nonnull__(pTHX_3)
3735 __attribute__nonnull__(pTHX_4);