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