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