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