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