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