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