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