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