Commit | Line | Data |
---|---|---|
37442d52 RGS |
1 | /* -*- buffer-read-only: t -*- |
2 | * | |
f5e3445d RGS |
3 | * proto.h |
4 | * | |
4bb101f2 | 5 | * Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
2419183b | 6 | * 2000, 2001, 2002, 2003, 2004, 2005, 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 !!!!!!! | |
12 | * This file is built by embed.pl from data in embed.fnc, embed.pl, | |
13 | * pp.sym, intrpvar.h, perlvars.h and thrdvar.h. | |
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 GS |
19 | START_EXTERN_C |
20 | ||
21 | #if defined(PERL_IMPLICIT_SYS) | |
22 | PERL_CALLCONV PerlInterpreter* perl_alloc_using(struct IPerlMem* m, struct IPerlMem* ms, struct IPerlMem* mp, struct IPerlEnv* e, struct IPerlStdIO* io, struct IPerlLIO* lio, struct IPerlDir* d, struct IPerlSock* s, struct IPerlProc* p); | |
1d7c1841 | 23 | #endif |
b46bc2b6 | 24 | PERL_CALLCONV PerlInterpreter* perl_alloc(void); |
4373e329 | 25 | PERL_CALLCONV void perl_construct(PerlInterpreter* interp) |
abb2c242 | 26 | __attribute__nonnull__(1); |
f54cb97a | 27 | |
4373e329 | 28 | PERL_CALLCONV int perl_destruct(PerlInterpreter* interp) |
abb2c242 | 29 | __attribute__nonnull__(1); |
f54cb97a | 30 | |
4373e329 | 31 | PERL_CALLCONV void perl_free(PerlInterpreter* interp) |
abb2c242 | 32 | __attribute__nonnull__(1); |
f54cb97a | 33 | |
4373e329 | 34 | PERL_CALLCONV int perl_run(PerlInterpreter* interp) |
abb2c242 | 35 | __attribute__nonnull__(1); |
f54cb97a | 36 | |
1d7c1841 | 37 | PERL_CALLCONV int perl_parse(PerlInterpreter* interp, XSINIT_t xsinit, int argc, char** argv, char** env); |
a28509cc AL |
38 | PERL_CALLCONV bool Perl_doing_taint(int argc, char** argv, char** env) |
39 | __attribute__warn_unused_result__; | |
40 | ||
1d7c1841 GS |
41 | #if defined(USE_ITHREADS) |
42 | PERL_CALLCONV PerlInterpreter* perl_clone(PerlInterpreter* interp, UV flags); | |
43 | # if defined(PERL_IMPLICIT_SYS) | |
44 | PERL_CALLCONV PerlInterpreter* perl_clone_using(PerlInterpreter *interp, UV flags, struct IPerlMem* m, struct IPerlMem* ms, struct IPerlMem* mp, struct IPerlEnv* e, struct IPerlStdIO* io, struct IPerlLIO* lio, struct IPerlDir* d, struct IPerlSock* s, struct IPerlProc* p); | |
45 | # endif | |
46 | #endif | |
47 | ||
4373e329 | 48 | PERL_CALLCONV Malloc_t Perl_malloc(MEM_SIZE nbytes) |
abb2c242 JH |
49 | __attribute__malloc__ |
50 | __attribute__warn_unused_result__; | |
f54cb97a | 51 | |
4373e329 | 52 | PERL_CALLCONV Malloc_t Perl_calloc(MEM_SIZE elements, MEM_SIZE size) |
abb2c242 JH |
53 | __attribute__malloc__ |
54 | __attribute__warn_unused_result__; | |
f54cb97a | 55 | |
4373e329 | 56 | PERL_CALLCONV Malloc_t Perl_realloc(Malloc_t where, MEM_SIZE nbytes) |
abb2c242 JH |
57 | __attribute__malloc__ |
58 | __attribute__warn_unused_result__; | |
f54cb97a | 59 | |
1d7c1841 | 60 | PERL_CALLCONV Free_t Perl_mfree(Malloc_t where); |
cae6d0e5 | 61 | #if defined(MYMALLOC) |
b464bac0 AL |
62 | PERL_CALLCONV MEM_SIZE Perl_malloced_size(void *p) |
63 | __attribute__warn_unused_result__; | |
64 | ||
1d7c1841 GS |
65 | #endif |
66 | ||
255164ba DM |
67 | PERL_CALLCONV void* Perl_get_context(void) |
68 | __attribute__warn_unused_result__; | |
69 | ||
70 | PERL_CALLCONV void Perl_set_context(void *thx) | |
71 | __attribute__nonnull__(1); | |
72 | ||
ba869deb | 73 | |
1d7c1841 GS |
74 | END_EXTERN_C |
75 | ||
76 | /* functions with flag 'n' should come before here */ | |
1d7c1841 | 77 | START_EXTERN_C |
1d7c1841 | 78 | # include "pp_proto.h" |
46c461b5 AL |
79 | PERL_CALLCONV SV* Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir) |
80 | __attribute__nonnull__(pTHX_1) | |
81 | __attribute__nonnull__(pTHX_2); | |
82 | ||
255164ba DM |
83 | PERL_CALLCONV bool Perl_Gv_AMupdate(pTHX_ HV* stash) |
84 | __attribute__nonnull__(pTHX_1); | |
85 | ||
86 | PERL_CALLCONV CV* Perl_gv_handler(pTHX_ HV* stash, I32 id) | |
87 | __attribute__warn_unused_result__; | |
88 | ||
89 | PERL_CALLCONV OP* Perl_append_elem(pTHX_ I32 optype, OP* first, OP* last); | |
1d7c1841 | 90 | PERL_CALLCONV OP* Perl_append_list(pTHX_ I32 optype, LISTOP* first, LISTOP* last); |
255164ba DM |
91 | PERL_CALLCONV I32 Perl_apply(pTHX_ I32 type, SV** mark, SV** sp) |
92 | __attribute__nonnull__(pTHX_2) | |
93 | __attribute__nonnull__(pTHX_3); | |
94 | ||
95 | PERL_CALLCONV void Perl_apply_attrs_string(pTHX_ const char *stashpv, CV *cv, const char *attrstr, STRLEN len) | |
96 | __attribute__nonnull__(pTHX_1) | |
97 | __attribute__nonnull__(pTHX_2) | |
98 | __attribute__nonnull__(pTHX_3); | |
99 | ||
1d7c1841 | 100 | PERL_CALLCONV void Perl_av_clear(pTHX_ AV* ar); |
1b6737cc | 101 | PERL_CALLCONV SV* Perl_av_delete(pTHX_ AV* ar, I32 key, I32 flags); |
a3b680e6 | 102 | PERL_CALLCONV bool Perl_av_exists(pTHX_ AV* ar, I32 key) |
abb2c242 | 103 | __attribute__warn_unused_result__; |
a3b680e6 AL |
104 | |
105 | PERL_CALLCONV void Perl_av_extend(pTHX_ AV* ar, I32 key) | |
abb2c242 | 106 | __attribute__nonnull__(pTHX_1); |
a3b680e6 AL |
107 | |
108 | PERL_CALLCONV AV* Perl_av_fake(pTHX_ I32 size, SV** svp) | |
abb2c242 JH |
109 | __attribute__warn_unused_result__ |
110 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 AL |
111 | |
112 | PERL_CALLCONV SV** Perl_av_fetch(pTHX_ AV* ar, I32 key, I32 lval) | |
abb2c242 | 113 | __attribute__warn_unused_result__; |
a3b680e6 | 114 | |
255164ba DM |
115 | PERL_CALLCONV void Perl_av_fill(pTHX_ AV* ar, I32 fill) |
116 | __attribute__nonnull__(pTHX_1); | |
117 | ||
a3b680e6 | 118 | PERL_CALLCONV I32 Perl_av_len(pTHX_ const AV* ar) |
255164ba DM |
119 | __attribute__warn_unused_result__ |
120 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
121 | |
122 | PERL_CALLCONV AV* Perl_av_make(pTHX_ I32 size, SV** svp) | |
abb2c242 JH |
123 | __attribute__warn_unused_result__ |
124 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 | 125 | |
1b6737cc | 126 | PERL_CALLCONV SV* Perl_av_pop(pTHX_ AV* ar); |
255164ba DM |
127 | PERL_CALLCONV void Perl_av_push(pTHX_ AV* ar, SV* val) |
128 | __attribute__nonnull__(pTHX_2); | |
129 | ||
130 | PERL_CALLCONV void Perl_av_reify(pTHX_ AV* ar) | |
131 | __attribute__nonnull__(pTHX_1); | |
132 | ||
a3b680e6 | 133 | PERL_CALLCONV SV* Perl_av_shift(pTHX_ AV* ar) |
abb2c242 | 134 | __attribute__warn_unused_result__; |
a3b680e6 | 135 | |
1d7c1841 GS |
136 | PERL_CALLCONV SV** Perl_av_store(pTHX_ AV* ar, I32 key, SV* val); |
137 | PERL_CALLCONV void Perl_av_undef(pTHX_ AV* ar); | |
138 | PERL_CALLCONV void Perl_av_unshift(pTHX_ AV* ar, I32 num); | |
255164ba DM |
139 | PERL_CALLCONV SV** Perl_av_arylen_p(pTHX_ AV* av) |
140 | __attribute__nonnull__(pTHX_1); | |
141 | ||
a3b680e6 | 142 | PERL_CALLCONV OP* Perl_bind_match(pTHX_ I32 type, OP* left, OP* pat) |
abb2c242 JH |
143 | __attribute__warn_unused_result__ |
144 | __attribute__nonnull__(pTHX_2) | |
145 | __attribute__nonnull__(pTHX_3); | |
a3b680e6 AL |
146 | |
147 | PERL_CALLCONV OP* Perl_block_end(pTHX_ I32 floor, OP* seq) | |
255164ba DM |
148 | __attribute__warn_unused_result__ |
149 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 AL |
150 | |
151 | PERL_CALLCONV I32 Perl_block_gimme(pTHX) | |
abb2c242 | 152 | __attribute__warn_unused_result__; |
a3b680e6 AL |
153 | |
154 | PERL_CALLCONV int Perl_block_start(pTHX_ int full) | |
abb2c242 | 155 | __attribute__warn_unused_result__; |
a3b680e6 | 156 | |
1d7c1841 | 157 | PERL_CALLCONV void Perl_boot_core_UNIVERSAL(pTHX); |
36ed5425 | 158 | PERL_CALLCONV void Perl_boot_core_PerlIO(pTHX); |
a3b680e6 | 159 | PERL_CALLCONV void Perl_call_list(pTHX_ I32 oldscope, AV* av_list) |
abb2c242 | 160 | __attribute__nonnull__(pTHX_2); |
a3b680e6 | 161 | |
4373e329 | 162 | PERL_CALLCONV bool Perl_cando(pTHX_ Mode_t mode, Uid_t effective, const Stat_t* statbufp) |
abb2c242 JH |
163 | __attribute__warn_unused_result__ |
164 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 165 | |
53c1dcc0 AL |
166 | PERL_CALLCONV U32 Perl_cast_ulong(pTHX_ NV f) |
167 | __attribute__warn_unused_result__; | |
168 | ||
169 | PERL_CALLCONV I32 Perl_cast_i32(pTHX_ NV f) | |
170 | __attribute__warn_unused_result__; | |
171 | ||
172 | PERL_CALLCONV IV Perl_cast_iv(pTHX_ NV f) | |
173 | __attribute__warn_unused_result__; | |
174 | ||
175 | PERL_CALLCONV UV Perl_cast_uv(pTHX_ NV f) | |
176 | __attribute__warn_unused_result__; | |
177 | ||
cea2e8a9 | 178 | #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP) |
53c1dcc0 AL |
179 | PERL_CALLCONV I32 Perl_my_chsize(pTHX_ int fd, Off_t length) |
180 | __attribute__warn_unused_result__; | |
181 | ||
cea2e8a9 | 182 | #endif |
53c1dcc0 AL |
183 | PERL_CALLCONV OP* Perl_convert(pTHX_ I32 optype, I32 flags, OP* o) |
184 | __attribute__warn_unused_result__; | |
185 | ||
f54cb97a | 186 | PERL_CALLCONV void Perl_croak(pTHX_ const char* pat, ...) |
abb2c242 | 187 | __attribute__noreturn__ |
3c6f43c5 | 188 | __attribute__format__(__printf__,pTHX_1,pTHX_2); |
f54cb97a AL |
189 | |
190 | PERL_CALLCONV void Perl_vcroak(pTHX_ const char* pat, va_list* args) | |
3c6f43c5 | 191 | __attribute__noreturn__; |
f54cb97a | 192 | |
cea2e8a9 | 193 | #if defined(PERL_IMPLICIT_CONTEXT) |
f54cb97a | 194 | PERL_CALLCONV void Perl_croak_nocontext(const char* pat, ...) |
abb2c242 | 195 | __attribute__noreturn__ |
3c6f43c5 | 196 | __attribute__format__(__printf__,1,2); |
f54cb97a | 197 | |
894356b3 | 198 | PERL_CALLCONV OP* Perl_die_nocontext(const char* pat, ...) |
255164ba DM |
199 | __attribute__format__(__printf__,1,2) |
200 | __attribute__nonnull__(1); | |
f54cb97a | 201 | |
894356b3 | 202 | PERL_CALLCONV void Perl_deb_nocontext(const char* pat, ...) |
255164ba DM |
203 | __attribute__format__(__printf__,1,2) |
204 | __attribute__nonnull__(1); | |
f54cb97a | 205 | |
894356b3 | 206 | PERL_CALLCONV char* Perl_form_nocontext(const char* pat, ...) |
255164ba DM |
207 | __attribute__format__(__printf__,1,2) |
208 | __attribute__nonnull__(1); | |
209 | ||
210 | PERL_CALLCONV void Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...) | |
211 | __attribute__nonnull__(2) | |
212 | __attribute__nonnull__(3); | |
f54cb97a | 213 | |
894356b3 | 214 | PERL_CALLCONV SV* Perl_mess_nocontext(const char* pat, ...) |
255164ba DM |
215 | __attribute__format__(__printf__,1,2) |
216 | __attribute__nonnull__(1); | |
f54cb97a | 217 | |
894356b3 | 218 | PERL_CALLCONV void Perl_warn_nocontext(const char* pat, ...) |
255164ba DM |
219 | __attribute__format__(__printf__,1,2) |
220 | __attribute__nonnull__(1); | |
f54cb97a | 221 | |
894356b3 | 222 | PERL_CALLCONV void Perl_warner_nocontext(U32 err, const char* pat, ...) |
255164ba DM |
223 | __attribute__format__(__printf__,2,3) |
224 | __attribute__nonnull__(2); | |
f54cb97a | 225 | |
894356b3 | 226 | PERL_CALLCONV SV* Perl_newSVpvf_nocontext(const char* pat, ...) |
255164ba DM |
227 | __attribute__format__(__printf__,1,2) |
228 | __attribute__nonnull__(1); | |
f54cb97a | 229 | |
894356b3 | 230 | PERL_CALLCONV void Perl_sv_catpvf_nocontext(SV* sv, const char* pat, ...) |
255164ba DM |
231 | __attribute__format__(__printf__,2,3) |
232 | __attribute__nonnull__(1); | |
f54cb97a | 233 | |
894356b3 | 234 | PERL_CALLCONV void Perl_sv_setpvf_nocontext(SV* sv, const char* pat, ...) |
255164ba DM |
235 | __attribute__format__(__printf__,2,3) |
236 | __attribute__nonnull__(1); | |
f54cb97a | 237 | |
894356b3 | 238 | PERL_CALLCONV void Perl_sv_catpvf_mg_nocontext(SV* sv, const char* pat, ...) |
255164ba DM |
239 | __attribute__format__(__printf__,2,3) |
240 | __attribute__nonnull__(1); | |
f54cb97a | 241 | |
894356b3 | 242 | PERL_CALLCONV void Perl_sv_setpvf_mg_nocontext(SV* sv, const char* pat, ...) |
255164ba DM |
243 | __attribute__format__(__printf__,2,3) |
244 | __attribute__nonnull__(1); | |
f54cb97a | 245 | |
894356b3 | 246 | PERL_CALLCONV int Perl_fprintf_nocontext(PerlIO* stream, const char* fmt, ...) |
255164ba DM |
247 | __attribute__format__(__printf__,2,3) |
248 | __attribute__nonnull__(1) | |
249 | __attribute__nonnull__(2); | |
f54cb97a | 250 | |
b0316773 | 251 | PERL_CALLCONV int Perl_printf_nocontext(const char* fmt, ...) |
255164ba DM |
252 | __attribute__format__(__printf__,1,2) |
253 | __attribute__nonnull__(1); | |
f54cb97a | 254 | |
0cb96387 | 255 | #endif |
a3b680e6 | 256 | PERL_CALLCONV void Perl_cv_ckproto(pTHX_ const CV* cv, const GV* gv, const char* p) |
abb2c242 | 257 | __attribute__nonnull__(pTHX_1); |
a3b680e6 | 258 | |
4373e329 | 259 | PERL_CALLCONV CV* Perl_cv_clone(pTHX_ CV* proto) |
abb2c242 | 260 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 261 | |
255164ba DM |
262 | PERL_CALLCONV SV* Perl_cv_const_sv(pTHX_ CV* cv) |
263 | __attribute__warn_unused_result__; | |
264 | ||
265 | PERL_CALLCONV SV* Perl_op_const_sv(pTHX_ const OP* o, CV* cv) | |
266 | __attribute__warn_unused_result__; | |
267 | ||
268 | PERL_CALLCONV void Perl_cv_undef(pTHX_ CV* cv) | |
269 | __attribute__nonnull__(pTHX_1); | |
270 | ||
271 | PERL_CALLCONV void Perl_cx_dump(pTHX_ PERL_CONTEXT* cx) | |
272 | __attribute__nonnull__(pTHX_1); | |
273 | ||
1d7c1841 | 274 | PERL_CALLCONV SV* Perl_filter_add(pTHX_ filter_t funcp, SV* datasv); |
255164ba DM |
275 | PERL_CALLCONV void Perl_filter_del(pTHX_ filter_t funcp) |
276 | __attribute__nonnull__(pTHX_1); | |
277 | ||
278 | PERL_CALLCONV I32 Perl_filter_read(pTHX_ int idx, SV* buffer, int maxlen) | |
279 | __attribute__warn_unused_result__ | |
280 | __attribute__nonnull__(pTHX_2); | |
281 | ||
4373e329 | 282 | PERL_CALLCONV char** Perl_get_op_descs(pTHX) |
abb2c242 JH |
283 | __attribute__warn_unused_result__ |
284 | __attribute__pure__; | |
f54cb97a | 285 | |
4373e329 | 286 | PERL_CALLCONV char** Perl_get_op_names(pTHX) |
abb2c242 JH |
287 | __attribute__warn_unused_result__ |
288 | __attribute__pure__; | |
f54cb97a | 289 | |
4373e329 | 290 | PERL_CALLCONV const char* Perl_get_no_modify(pTHX) |
abb2c242 JH |
291 | __attribute__warn_unused_result__ |
292 | __attribute__pure__; | |
f54cb97a | 293 | |
4373e329 | 294 | PERL_CALLCONV U32* Perl_get_opargs(pTHX) |
abb2c242 JH |
295 | __attribute__warn_unused_result__ |
296 | __attribute__pure__; | |
f54cb97a | 297 | |
4373e329 | 298 | PERL_CALLCONV PPADDR_t* Perl_get_ppaddr(pTHX) |
abb2c242 JH |
299 | __attribute__warn_unused_result__ |
300 | __attribute__pure__; | |
f54cb97a | 301 | |
a3b680e6 | 302 | PERL_CALLCONV I32 Perl_cxinc(pTHX) |
abb2c242 | 303 | __attribute__warn_unused_result__; |
a3b680e6 | 304 | |
894356b3 | 305 | PERL_CALLCONV void Perl_deb(pTHX_ const char* pat, ...) |
255164ba DM |
306 | __attribute__format__(__printf__,pTHX_1,pTHX_2) |
307 | __attribute__nonnull__(pTHX_1); | |
308 | ||
309 | PERL_CALLCONV void Perl_vdeb(pTHX_ const char* pat, va_list* args) | |
310 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 311 | |
1d7c1841 | 312 | PERL_CALLCONV void Perl_debprofdump(pTHX); |
4373e329 | 313 | PERL_CALLCONV I32 Perl_debop(pTHX_ const OP* o) |
abb2c242 | 314 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 315 | |
1d7c1841 GS |
316 | PERL_CALLCONV I32 Perl_debstack(pTHX); |
317 | PERL_CALLCONV I32 Perl_debstackptrs(pTHX); | |
4373e329 | 318 | PERL_CALLCONV char* Perl_delimcpy(pTHX_ char* to, const char* toend, const char* from, const char* fromend, int delim, I32* retlen) |
abb2c242 JH |
319 | __attribute__nonnull__(pTHX_1) |
320 | __attribute__nonnull__(pTHX_2) | |
321 | __attribute__nonnull__(pTHX_3) | |
322 | __attribute__nonnull__(pTHX_4) | |
323 | __attribute__nonnull__(pTHX_6); | |
f54cb97a | 324 | |
4373e329 | 325 | PERL_CALLCONV void Perl_deprecate(pTHX_ const char* s) |
abb2c242 | 326 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 327 | |
4373e329 | 328 | PERL_CALLCONV void Perl_deprecate_old(pTHX_ const char* s) |
abb2c242 | 329 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 330 | |
894356b3 | 331 | PERL_CALLCONV OP* Perl_die(pTHX_ const char* pat, ...) |
c3bdd826 | 332 | __attribute__format__(__printf__,pTHX_1,pTHX_2); |
f54cb97a | 333 | |
1d7c1841 | 334 | PERL_CALLCONV OP* Perl_vdie(pTHX_ const char* pat, va_list* args); |
255164ba DM |
335 | PERL_CALLCONV OP* Perl_die_where(pTHX_ const char* message, STRLEN msglen) |
336 | __attribute__nonnull__(pTHX_1); | |
337 | ||
1d7c1841 | 338 | PERL_CALLCONV void Perl_dounwind(pTHX_ I32 cxix); |
255164ba DM |
339 | PERL_CALLCONV bool Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp) |
340 | __attribute__nonnull__(pTHX_2) | |
341 | __attribute__nonnull__(pTHX_3); | |
342 | ||
343 | PERL_CALLCONV bool Perl_do_aexec5(pTHX_ SV* really, SV** mark, SV** sp, int fd, int flag) | |
344 | __attribute__nonnull__(pTHX_2) | |
345 | __attribute__nonnull__(pTHX_3); | |
346 | ||
4373e329 | 347 | PERL_CALLCONV int Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int mode) |
abb2c242 | 348 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 349 | |
4373e329 | 350 | PERL_CALLCONV void Perl_do_chop(pTHX_ SV* asv, SV* sv) |
abb2c242 JH |
351 | __attribute__nonnull__(pTHX_1) |
352 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 353 | |
4373e329 | 354 | PERL_CALLCONV bool Perl_do_close(pTHX_ GV* gv, bool not_implicit) |
abb2c242 | 355 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 356 | |
4373e329 | 357 | PERL_CALLCONV bool Perl_do_eof(pTHX_ GV* gv) |
abb2c242 | 358 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 359 | |
2fbb330f | 360 | PERL_CALLCONV bool Perl_do_exec(pTHX_ const char* cmd) |
abb2c242 | 361 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 362 | |
27da23d5 | 363 | #if defined(WIN32) || defined(SYMBIAN) |
255164ba DM |
364 | PERL_CALLCONV int Perl_do_aspawn(pTHX_ SV* really, SV** mark, SV** sp) |
365 | __attribute__nonnull__(pTHX_1) | |
366 | __attribute__nonnull__(pTHX_2) | |
367 | __attribute__nonnull__(pTHX_3); | |
368 | ||
369 | PERL_CALLCONV int Perl_do_spawn(pTHX_ char* cmd) | |
370 | __attribute__nonnull__(pTHX_1); | |
371 | ||
372 | PERL_CALLCONV int Perl_do_spawn_nowait(pTHX_ char* cmd) | |
373 | __attribute__nonnull__(pTHX_1); | |
374 | ||
54725af6 | 375 | #endif |
864dbfa3 | 376 | #if !defined(WIN32) |
2fbb330f | 377 | PERL_CALLCONV bool Perl_do_exec3(pTHX_ const char* cmd, int fd, int flag) |
255164ba DM |
378 | __attribute__nonnull__(pTHX_1); |
379 | ||
864dbfa3 | 380 | #endif |
1d7c1841 | 381 | PERL_CALLCONV void Perl_do_execfree(pTHX); |
864dbfa3 | 382 | #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM) |
1d7c1841 GS |
383 | PERL_CALLCONV I32 Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp); |
384 | PERL_CALLCONV I32 Perl_do_ipcget(pTHX_ I32 optype, SV** mark, SV** sp); | |
385 | PERL_CALLCONV I32 Perl_do_msgrcv(pTHX_ SV** mark, SV** sp); | |
386 | PERL_CALLCONV I32 Perl_do_msgsnd(pTHX_ SV** mark, SV** sp); | |
387 | PERL_CALLCONV I32 Perl_do_semop(pTHX_ SV** mark, SV** sp); | |
388 | PERL_CALLCONV I32 Perl_do_shmio(pTHX_ I32 optype, SV** mark, SV** sp); | |
0cb96387 | 389 | #endif |
f54cb97a | 390 | PERL_CALLCONV void Perl_do_join(pTHX_ SV* sv, SV* del, SV** mark, SV** sp) |
abb2c242 JH |
391 | __attribute__nonnull__(pTHX_1) |
392 | __attribute__nonnull__(pTHX_2) | |
393 | __attribute__nonnull__(pTHX_3) | |
394 | __attribute__nonnull__(pTHX_4); | |
f54cb97a | 395 | |
1d7c1841 | 396 | PERL_CALLCONV OP* Perl_do_kv(pTHX); |
2fbb330f | 397 | 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 DM |
398 | __attribute__nonnull__(pTHX_1) |
399 | __attribute__nonnull__(pTHX_2); | |
400 | ||
2fbb330f | 401 | PERL_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 |
402 | __attribute__nonnull__(pTHX_1) |
403 | __attribute__nonnull__(pTHX_2) | |
404 | __attribute__nonnull__(pTHX_8); | |
405 | ||
2fbb330f | 406 | PERL_CALLCONV bool Perl_do_openn(pTHX_ GV *gv, const char *name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO *supplied_fp, SV **svp, I32 num) |
255164ba DM |
407 | __attribute__nonnull__(pTHX_1) |
408 | __attribute__nonnull__(pTHX_2); | |
409 | ||
410 | PERL_CALLCONV void Perl_do_pipe(pTHX_ SV* sv, GV* rgv, GV* wgv) | |
411 | __attribute__nonnull__(pTHX_1); | |
412 | ||
413 | PERL_CALLCONV bool Perl_do_print(pTHX_ SV* sv, PerlIO* fp) | |
414 | __attribute__nonnull__(pTHX_2); | |
415 | ||
416 | PERL_CALLCONV OP* Perl_do_readline(pTHX) | |
417 | __attribute__warn_unused_result__; | |
418 | ||
419 | PERL_CALLCONV I32 Perl_do_chomp(pTHX_ SV* sv) | |
420 | __attribute__nonnull__(pTHX_1); | |
421 | ||
1d7c1841 | 422 | PERL_CALLCONV bool Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence); |
255164ba DM |
423 | PERL_CALLCONV void Perl_do_sprintf(pTHX_ SV* sv, I32 len, SV** sarg) |
424 | __attribute__nonnull__(pTHX_1) | |
425 | __attribute__nonnull__(pTHX_3); | |
426 | ||
427 | PERL_CALLCONV Off_t Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence) | |
428 | __attribute__nonnull__(pTHX_1); | |
429 | ||
430 | PERL_CALLCONV Off_t Perl_do_tell(pTHX_ GV* gv) | |
431 | __attribute__warn_unused_result__ | |
432 | __attribute__nonnull__(pTHX_1); | |
433 | ||
434 | PERL_CALLCONV I32 Perl_do_trans(pTHX_ SV* sv) | |
435 | __attribute__nonnull__(pTHX_1); | |
436 | ||
4373e329 | 437 | PERL_CALLCONV UV Perl_do_vecget(pTHX_ SV* sv, I32 offset, I32 size) |
abb2c242 | 438 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 439 | |
4373e329 | 440 | PERL_CALLCONV void Perl_do_vecset(pTHX_ SV* sv) |
abb2c242 | 441 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 442 | |
255164ba DM |
443 | PERL_CALLCONV void Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right) |
444 | __attribute__nonnull__(pTHX_2) | |
445 | __attribute__nonnull__(pTHX_3) | |
446 | __attribute__nonnull__(pTHX_4); | |
447 | ||
850e8516 | 448 | PERL_CALLCONV OP* Perl_dofile(pTHX_ OP* term, I32 force_builtin) |
255164ba DM |
449 | __attribute__nonnull__(pTHX_1); |
450 | ||
451 | PERL_CALLCONV I32 Perl_dowantarray(pTHX) | |
452 | __attribute__warn_unused_result__; | |
453 | ||
1d7c1841 GS |
454 | PERL_CALLCONV void Perl_dump_all(pTHX); |
455 | PERL_CALLCONV void Perl_dump_eval(pTHX); | |
864dbfa3 | 456 | #if defined(DUMP_FDS) |
9a957fbc AL |
457 | PERL_CALLCONV void Perl_dump_fds(pTHX_ char* s) |
458 | __attribute__nonnull__(pTHX_1); | |
459 | ||
0cb96387 | 460 | #endif |
9a957fbc AL |
461 | PERL_CALLCONV void Perl_dump_form(pTHX_ const GV* gv) |
462 | __attribute__nonnull__(pTHX_1); | |
463 | ||
255164ba DM |
464 | PERL_CALLCONV void Perl_gv_dump(pTHX_ GV* gv) |
465 | __attribute__nonnull__(pTHX_1); | |
466 | ||
467 | PERL_CALLCONV void Perl_op_dump(pTHX_ const OP* arg) | |
468 | __attribute__nonnull__(pTHX_1); | |
469 | ||
1d7c1841 | 470 | PERL_CALLCONV void Perl_pmop_dump(pTHX_ PMOP* pm); |
9a957fbc AL |
471 | PERL_CALLCONV void Perl_dump_packsubs(pTHX_ const HV* stash) |
472 | __attribute__nonnull__(pTHX_1); | |
473 | ||
f54cb97a | 474 | PERL_CALLCONV void Perl_dump_sub(pTHX_ const GV* gv) |
abb2c242 | 475 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 476 | |
255164ba DM |
477 | PERL_CALLCONV void Perl_fbm_compile(pTHX_ SV* sv, U32 flags) |
478 | __attribute__nonnull__(pTHX_1); | |
479 | ||
480 | PERL_CALLCONV char* Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlesv, U32 flags) | |
481 | __attribute__warn_unused_result__ | |
482 | __attribute__nonnull__(pTHX_1) | |
483 | __attribute__nonnull__(pTHX_2) | |
484 | __attribute__nonnull__(pTHX_3); | |
485 | ||
7f315aed | 486 | PERL_CALLCONV char* Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char *const *const search_ext, I32 flags); |
2d03de9c | 487 | PERL_CALLCONV OP* Perl_force_list(pTHX_ OP* arg); |
4373e329 | 488 | PERL_CALLCONV OP* Perl_fold_constants(pTHX_ OP* arg) |
abb2c242 | 489 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 490 | |
894356b3 | 491 | PERL_CALLCONV char* Perl_form(pTHX_ const char* pat, ...) |
aec46f14 AL |
492 | __attribute__format__(__printf__,pTHX_1,pTHX_2) |
493 | __attribute__nonnull__(pTHX_1); | |
494 | ||
495 | PERL_CALLCONV char* Perl_vform(pTHX_ const char* pat, va_list* args) | |
496 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 497 | |
1d7c1841 GS |
498 | PERL_CALLCONV void Perl_free_tmps(pTHX); |
499 | PERL_CALLCONV OP* Perl_gen_constant_list(pTHX_ OP* o); | |
864dbfa3 | 500 | #if !defined(HAS_GETENV_LEN) |
8772537c AL |
501 | PERL_CALLCONV char* Perl_getenv_len(pTHX_ const char* key, unsigned long *len) |
502 | __attribute__nonnull__(pTHX_1) | |
503 | __attribute__nonnull__(pTHX_2); | |
504 | ||
0cb96387 | 505 | #endif |
1d7c1841 GS |
506 | PERL_CALLCONV void Perl_gp_free(pTHX_ GV* gv); |
507 | PERL_CALLCONV GP* Perl_gp_ref(pTHX_ GP* gp); | |
53c1dcc0 AL |
508 | PERL_CALLCONV GV* Perl_gv_AVadd(pTHX_ GV* gv) |
509 | __attribute__nonnull__(pTHX_1); | |
510 | ||
511 | PERL_CALLCONV GV* Perl_gv_HVadd(pTHX_ GV* gv) | |
512 | __attribute__nonnull__(pTHX_1); | |
513 | ||
514 | PERL_CALLCONV GV* Perl_gv_IOadd(pTHX_ GV* gv) | |
515 | __attribute__nonnull__(pTHX_1); | |
516 | ||
a28509cc AL |
517 | PERL_CALLCONV GV* Perl_gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method) |
518 | __attribute__warn_unused_result__ | |
519 | __attribute__nonnull__(pTHX_2); | |
520 | ||
46c461b5 AL |
521 | PERL_CALLCONV void Perl_gv_check(pTHX_ HV* stash) |
522 | __attribute__nonnull__(pTHX_1); | |
523 | ||
524 | PERL_CALLCONV void Perl_gv_efullname(pTHX_ SV* sv, const GV* gv) | |
525 | __attribute__nonnull__(pTHX_1) | |
526 | __attribute__nonnull__(pTHX_2); | |
527 | ||
528 | /* PERL_CALLCONV void Perl_gv_efullname3(pTHX_ SV* sv, const GV* gv, const char* prefix) | |
529 | __attribute__nonnull__(pTHX_1) | |
530 | __attribute__nonnull__(pTHX_2); */ | |
531 | ||
532 | PERL_CALLCONV void Perl_gv_efullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain) | |
533 | __attribute__nonnull__(pTHX_1) | |
534 | __attribute__nonnull__(pTHX_2); | |
535 | ||
53c1dcc0 AL |
536 | PERL_CALLCONV GV* Perl_gv_fetchfile(pTHX_ const char* name) |
537 | __attribute__nonnull__(pTHX_1); | |
538 | ||
1d7c1841 | 539 | PERL_CALLCONV GV* Perl_gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); |
2d8263b8 | 540 | PERL_CALLCONV GV* Perl_gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); |
1d7c1841 GS |
541 | PERL_CALLCONV GV* Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name); |
542 | PERL_CALLCONV GV* Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload); | |
9a957fbc AL |
543 | PERL_CALLCONV GV* Perl_gv_fetchpv(pTHX_ const char* name, I32 add, I32 sv_type) |
544 | __attribute__nonnull__(pTHX_1); | |
545 | ||
546 | PERL_CALLCONV void Perl_gv_fullname(pTHX_ SV* sv, const GV* gv) | |
547 | __attribute__nonnull__(pTHX_1) | |
548 | __attribute__nonnull__(pTHX_2); | |
549 | ||
550 | /* PERL_CALLCONV void Perl_gv_fullname3(pTHX_ SV* sv, const GV* gv, const char* prefix) | |
551 | __attribute__nonnull__(pTHX_1) | |
552 | __attribute__nonnull__(pTHX_2); */ | |
553 | ||
554 | PERL_CALLCONV void Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* prefix, bool keepmain) | |
555 | __attribute__nonnull__(pTHX_1) | |
556 | __attribute__nonnull__(pTHX_2); | |
557 | ||
53c1dcc0 AL |
558 | PERL_CALLCONV void Perl_gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi) |
559 | __attribute__nonnull__(pTHX_1) | |
53c1dcc0 AL |
560 | __attribute__nonnull__(pTHX_3); |
561 | ||
aa924a5a SH |
562 | PERL_CALLCONV HV* Perl_gv_stashpv(pTHX_ const char* name, I32 create) |
563 | __attribute__nonnull__(pTHX_1); | |
564 | ||
565 | PERL_CALLCONV HV* Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 create) | |
566 | __attribute__nonnull__(pTHX_1); | |
567 | ||
1d7c1841 GS |
568 | PERL_CALLCONV HV* Perl_gv_stashsv(pTHX_ SV* sv, I32 create); |
569 | PERL_CALLCONV void Perl_hv_clear(pTHX_ HV* tb); | |
aa924a5a SH |
570 | PERL_CALLCONV void Perl_hv_delayfree_ent(pTHX_ HV* hv, HE* entry) |
571 | __attribute__nonnull__(pTHX_1); | |
572 | ||
573 | PERL_CALLCONV SV* Perl_hv_delete(pTHX_ HV* tb, const char* key, I32 klen, I32 flags) | |
574 | __attribute__nonnull__(pTHX_2); | |
575 | ||
576 | PERL_CALLCONV SV* Perl_hv_delete_ent(pTHX_ HV* tb, SV* key, I32 flags, U32 hash) | |
577 | __attribute__nonnull__(pTHX_2); | |
578 | ||
901017d6 | 579 | PERL_CALLCONV bool Perl_hv_exists(pTHX_ HV* tb, const char* key, I32 klen) |
aa924a5a SH |
580 | __attribute__warn_unused_result__ |
581 | __attribute__nonnull__(pTHX_2); | |
901017d6 AL |
582 | |
583 | PERL_CALLCONV bool Perl_hv_exists_ent(pTHX_ HV* tb, SV* key, U32 hash) | |
aa924a5a SH |
584 | __attribute__warn_unused_result__ |
585 | __attribute__nonnull__(pTHX_2); | |
586 | ||
587 | PERL_CALLCONV SV** Perl_hv_fetch(pTHX_ HV* tb, const char* key, I32 klen, I32 lval) | |
588 | __attribute__nonnull__(pTHX_2); | |
901017d6 | 589 | |
aa924a5a SH |
590 | PERL_CALLCONV HE* Perl_hv_fetch_ent(pTHX_ HV* tb, SV* key, I32 lval, U32 hash) |
591 | __attribute__nonnull__(pTHX_2); | |
592 | ||
593 | PERL_CALLCONV void Perl_hv_free_ent(pTHX_ HV* hv, HE* entryK) | |
abb2c242 | 594 | __attribute__nonnull__(pTHX_1); |
a3b680e6 AL |
595 | |
596 | PERL_CALLCONV I32 Perl_hv_iterinit(pTHX_ HV* tb) | |
abb2c242 | 597 | __attribute__nonnull__(pTHX_1); |
a3b680e6 AL |
598 | |
599 | PERL_CALLCONV char* Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen) | |
abb2c242 JH |
600 | __attribute__warn_unused_result__ |
601 | __attribute__nonnull__(pTHX_1) | |
602 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 AL |
603 | |
604 | PERL_CALLCONV SV* Perl_hv_iterkeysv(pTHX_ HE* entry) | |
abb2c242 JH |
605 | __attribute__warn_unused_result__ |
606 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
607 | |
608 | PERL_CALLCONV HE* Perl_hv_iternext(pTHX_ HV* tb) | |
abb2c242 JH |
609 | __attribute__warn_unused_result__ |
610 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
611 | |
612 | PERL_CALLCONV SV* Perl_hv_iternextsv(pTHX_ HV* hv, char** key, I32* retlen) | |
abb2c242 JH |
613 | __attribute__warn_unused_result__ |
614 | __attribute__nonnull__(pTHX_1) | |
615 | __attribute__nonnull__(pTHX_2) | |
616 | __attribute__nonnull__(pTHX_3); | |
a3b680e6 AL |
617 | |
618 | PERL_CALLCONV HE* Perl_hv_iternext_flags(pTHX_ HV* tb, I32 flags) | |
abb2c242 JH |
619 | __attribute__warn_unused_result__ |
620 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
621 | |
622 | PERL_CALLCONV SV* Perl_hv_iterval(pTHX_ HV* tb, HE* entry) | |
abb2c242 JH |
623 | __attribute__warn_unused_result__ |
624 | __attribute__nonnull__(pTHX_1) | |
625 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 AL |
626 | |
627 | PERL_CALLCONV void Perl_hv_ksplit(pTHX_ HV* hv, IV newmax) | |
abb2c242 | 628 | __attribute__nonnull__(pTHX_1); |
a3b680e6 | 629 | |
1d7c1841 | 630 | PERL_CALLCONV void Perl_hv_magic(pTHX_ HV* hv, GV* gv, int how); |
da58a35d | 631 | PERL_CALLCONV SV** Perl_hv_store(pTHX_ HV* tb, const char* key, I32 klen, SV* val, U32 hash); |
1d7c1841 | 632 | PERL_CALLCONV HE* Perl_hv_store_ent(pTHX_ HV* tb, SV* key, SV* val, U32 hash); |
e16e2ff8 | 633 | PERL_CALLCONV SV** Perl_hv_store_flags(pTHX_ HV* tb, const char* key, I32 klen, SV* val, U32 hash, int flags); |
1d7c1841 | 634 | PERL_CALLCONV void Perl_hv_undef(pTHX_ HV* tb); |
4373e329 | 635 | PERL_CALLCONV I32 Perl_ibcmp(pTHX_ const char* a, const char* b, I32 len) |
abb2c242 JH |
636 | __attribute__pure__ |
637 | __attribute__nonnull__(pTHX_1) | |
638 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 639 | |
4373e329 | 640 | PERL_CALLCONV I32 Perl_ibcmp_locale(pTHX_ const char* a, const char* b, I32 len) |
abb2c242 JH |
641 | __attribute__pure__ |
642 | __attribute__nonnull__(pTHX_1) | |
643 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 644 | |
4373e329 | 645 | PERL_CALLCONV I32 Perl_ibcmp_utf8(pTHX_ const char* a, char **pe1, UV l1, bool u1, const char* b, char **pe2, UV l2, bool u2) |
abb2c242 JH |
646 | __attribute__nonnull__(pTHX_1) |
647 | __attribute__nonnull__(pTHX_5); | |
f54cb97a AL |
648 | |
649 | PERL_CALLCONV bool Perl_ingroup(pTHX_ Gid_t testgid, Uid_t effective) | |
abb2c242 | 650 | __attribute__warn_unused_result__; |
f54cb97a | 651 | |
4373e329 | 652 | PERL_CALLCONV void Perl_init_argv_symbols(pTHX_ int argc, char **argv) |
abb2c242 | 653 | __attribute__nonnull__(pTHX_2); |
f54cb97a | 654 | |
1d7c1841 GS |
655 | PERL_CALLCONV void Perl_init_debugger(pTHX); |
656 | PERL_CALLCONV void Perl_init_stacks(pTHX); | |
bfce84ec AL |
657 | PERL_CALLCONV void Perl_init_tm(pTHX_ struct tm *ptm) |
658 | __attribute__nonnull__(pTHX_1); | |
659 | ||
1d7c1841 | 660 | PERL_CALLCONV U32 Perl_intro_my(pTHX); |
4373e329 | 661 | PERL_CALLCONV char* Perl_instr(pTHX_ const char* big, const char* little) |
b464bac0 | 662 | __attribute__warn_unused_result__ |
abb2c242 JH |
663 | __attribute__pure__ |
664 | __attribute__nonnull__(pTHX_1) | |
665 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 666 | |
b464bac0 AL |
667 | PERL_CALLCONV bool Perl_io_close(pTHX_ IO* io, bool not_implicit) |
668 | __attribute__warn_unused_result__ | |
669 | __attribute__nonnull__(pTHX_1); | |
670 | ||
671 | PERL_CALLCONV OP* Perl_invert(pTHX_ OP* cmd) | |
672 | __attribute__warn_unused_result__; | |
673 | ||
f54cb97a | 674 | PERL_CALLCONV bool Perl_is_gv_magical(pTHX_ const char *name, STRLEN len, U32 flags) |
9d4ba2ae AL |
675 | __attribute__warn_unused_result__ |
676 | __attribute__nonnull__(pTHX_1); | |
f54cb97a AL |
677 | |
678 | PERL_CALLCONV I32 Perl_is_lvalue_sub(pTHX) | |
abb2c242 | 679 | __attribute__warn_unused_result__; |
f54cb97a AL |
680 | |
681 | PERL_CALLCONV U32 Perl_to_uni_upper_lc(pTHX_ U32 c) | |
abb2c242 JH |
682 | __attribute__warn_unused_result__ |
683 | __attribute__pure__; | |
f54cb97a AL |
684 | |
685 | PERL_CALLCONV U32 Perl_to_uni_title_lc(pTHX_ U32 c) | |
abb2c242 JH |
686 | __attribute__warn_unused_result__ |
687 | __attribute__pure__; | |
f54cb97a AL |
688 | |
689 | PERL_CALLCONV U32 Perl_to_uni_lower_lc(pTHX_ U32 c) | |
abb2c242 JH |
690 | __attribute__warn_unused_result__ |
691 | __attribute__pure__; | |
f54cb97a AL |
692 | |
693 | PERL_CALLCONV bool Perl_is_uni_alnum(pTHX_ UV c) | |
abb2c242 JH |
694 | __attribute__warn_unused_result__ |
695 | __attribute__pure__; | |
f54cb97a AL |
696 | |
697 | PERL_CALLCONV bool Perl_is_uni_alnumc(pTHX_ UV c) | |
abb2c242 JH |
698 | __attribute__warn_unused_result__ |
699 | __attribute__pure__; | |
f54cb97a AL |
700 | |
701 | PERL_CALLCONV bool Perl_is_uni_idfirst(pTHX_ UV c) | |
abb2c242 JH |
702 | __attribute__warn_unused_result__ |
703 | __attribute__pure__; | |
f54cb97a AL |
704 | |
705 | PERL_CALLCONV bool Perl_is_uni_alpha(pTHX_ UV c) | |
abb2c242 JH |
706 | __attribute__warn_unused_result__ |
707 | __attribute__pure__; | |
f54cb97a AL |
708 | |
709 | PERL_CALLCONV bool Perl_is_uni_ascii(pTHX_ UV c) | |
abb2c242 JH |
710 | __attribute__warn_unused_result__ |
711 | __attribute__pure__; | |
f54cb97a AL |
712 | |
713 | PERL_CALLCONV bool Perl_is_uni_space(pTHX_ UV c) | |
abb2c242 JH |
714 | __attribute__warn_unused_result__ |
715 | __attribute__pure__; | |
f54cb97a AL |
716 | |
717 | PERL_CALLCONV bool Perl_is_uni_cntrl(pTHX_ UV c) | |
abb2c242 JH |
718 | __attribute__warn_unused_result__ |
719 | __attribute__pure__; | |
f54cb97a AL |
720 | |
721 | PERL_CALLCONV bool Perl_is_uni_graph(pTHX_ UV c) | |
abb2c242 JH |
722 | __attribute__warn_unused_result__ |
723 | __attribute__pure__; | |
f54cb97a AL |
724 | |
725 | PERL_CALLCONV bool Perl_is_uni_digit(pTHX_ UV c) | |
abb2c242 JH |
726 | __attribute__warn_unused_result__ |
727 | __attribute__pure__; | |
f54cb97a AL |
728 | |
729 | PERL_CALLCONV bool Perl_is_uni_upper(pTHX_ UV c) | |
abb2c242 JH |
730 | __attribute__warn_unused_result__ |
731 | __attribute__pure__; | |
f54cb97a AL |
732 | |
733 | PERL_CALLCONV bool Perl_is_uni_lower(pTHX_ UV c) | |
abb2c242 JH |
734 | __attribute__warn_unused_result__ |
735 | __attribute__pure__; | |
f54cb97a AL |
736 | |
737 | PERL_CALLCONV bool Perl_is_uni_print(pTHX_ UV c) | |
abb2c242 JH |
738 | __attribute__warn_unused_result__ |
739 | __attribute__pure__; | |
f54cb97a AL |
740 | |
741 | PERL_CALLCONV bool Perl_is_uni_punct(pTHX_ UV c) | |
abb2c242 JH |
742 | __attribute__warn_unused_result__ |
743 | __attribute__pure__; | |
f54cb97a AL |
744 | |
745 | PERL_CALLCONV bool Perl_is_uni_xdigit(pTHX_ UV c) | |
abb2c242 JH |
746 | __attribute__warn_unused_result__ |
747 | __attribute__pure__; | |
f54cb97a | 748 | |
4373e329 | 749 | PERL_CALLCONV UV Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp) |
abb2c242 JH |
750 | __attribute__nonnull__(pTHX_2) |
751 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 752 | |
4373e329 | 753 | PERL_CALLCONV UV Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp) |
abb2c242 JH |
754 | __attribute__nonnull__(pTHX_2) |
755 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 756 | |
4373e329 | 757 | PERL_CALLCONV UV Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp) |
abb2c242 JH |
758 | __attribute__nonnull__(pTHX_2) |
759 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 760 | |
4373e329 | 761 | PERL_CALLCONV UV Perl_to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp) |
abb2c242 JH |
762 | __attribute__nonnull__(pTHX_2) |
763 | __attribute__nonnull__(pTHX_3); | |
f54cb97a AL |
764 | |
765 | PERL_CALLCONV bool Perl_is_uni_alnum_lc(pTHX_ UV c) | |
abb2c242 JH |
766 | __attribute__warn_unused_result__ |
767 | __attribute__pure__; | |
f54cb97a AL |
768 | |
769 | PERL_CALLCONV bool Perl_is_uni_alnumc_lc(pTHX_ UV c) | |
abb2c242 JH |
770 | __attribute__warn_unused_result__ |
771 | __attribute__pure__; | |
f54cb97a AL |
772 | |
773 | PERL_CALLCONV bool Perl_is_uni_idfirst_lc(pTHX_ UV c) | |
abb2c242 JH |
774 | __attribute__warn_unused_result__ |
775 | __attribute__pure__; | |
f54cb97a AL |
776 | |
777 | PERL_CALLCONV bool Perl_is_uni_alpha_lc(pTHX_ UV c) | |
abb2c242 JH |
778 | __attribute__warn_unused_result__ |
779 | __attribute__pure__; | |
f54cb97a AL |
780 | |
781 | PERL_CALLCONV bool Perl_is_uni_ascii_lc(pTHX_ UV c) | |
abb2c242 JH |
782 | __attribute__warn_unused_result__ |
783 | __attribute__pure__; | |
f54cb97a AL |
784 | |
785 | PERL_CALLCONV bool Perl_is_uni_space_lc(pTHX_ UV c) | |
abb2c242 JH |
786 | __attribute__warn_unused_result__ |
787 | __attribute__pure__; | |
f54cb97a AL |
788 | |
789 | PERL_CALLCONV bool Perl_is_uni_cntrl_lc(pTHX_ UV c) | |
abb2c242 JH |
790 | __attribute__warn_unused_result__ |
791 | __attribute__pure__; | |
f54cb97a AL |
792 | |
793 | PERL_CALLCONV bool Perl_is_uni_graph_lc(pTHX_ UV c) | |
abb2c242 JH |
794 | __attribute__warn_unused_result__ |
795 | __attribute__pure__; | |
f54cb97a AL |
796 | |
797 | PERL_CALLCONV bool Perl_is_uni_digit_lc(pTHX_ UV c) | |
abb2c242 JH |
798 | __attribute__warn_unused_result__ |
799 | __attribute__pure__; | |
f54cb97a AL |
800 | |
801 | PERL_CALLCONV bool Perl_is_uni_upper_lc(pTHX_ UV c) | |
abb2c242 JH |
802 | __attribute__warn_unused_result__ |
803 | __attribute__pure__; | |
f54cb97a AL |
804 | |
805 | PERL_CALLCONV bool Perl_is_uni_lower_lc(pTHX_ UV c) | |
abb2c242 JH |
806 | __attribute__warn_unused_result__ |
807 | __attribute__pure__; | |
f54cb97a AL |
808 | |
809 | PERL_CALLCONV bool Perl_is_uni_print_lc(pTHX_ UV c) | |
abb2c242 JH |
810 | __attribute__warn_unused_result__ |
811 | __attribute__pure__; | |
f54cb97a AL |
812 | |
813 | PERL_CALLCONV bool Perl_is_uni_punct_lc(pTHX_ UV c) | |
abb2c242 JH |
814 | __attribute__warn_unused_result__ |
815 | __attribute__pure__; | |
f54cb97a AL |
816 | |
817 | PERL_CALLCONV bool Perl_is_uni_xdigit_lc(pTHX_ UV c) | |
abb2c242 JH |
818 | __attribute__warn_unused_result__ |
819 | __attribute__pure__; | |
f54cb97a | 820 | |
4373e329 | 821 | PERL_CALLCONV STRLEN Perl_is_utf8_char(pTHX_ const U8 *p) |
abb2c242 | 822 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 823 | |
4373e329 | 824 | PERL_CALLCONV bool Perl_is_utf8_string(pTHX_ const U8 *s, STRLEN len) |
abb2c242 | 825 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 826 | |
4373e329 | 827 | PERL_CALLCONV bool Perl_is_utf8_string_loc(pTHX_ const U8 *s, STRLEN len, const U8 **p) |
768c67ee JH |
828 | __attribute__nonnull__(pTHX_1); |
829 | ||
830 | PERL_CALLCONV bool Perl_is_utf8_string_loclen(pTHX_ const U8 *s, STRLEN len, const U8 **ep, STRLEN *el) | |
831 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 832 | |
4373e329 | 833 | PERL_CALLCONV bool Perl_is_utf8_alnum(pTHX_ const U8 *p) |
1df70142 | 834 | __attribute__warn_unused_result__ |
abb2c242 | 835 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 836 | |
4373e329 | 837 | PERL_CALLCONV bool Perl_is_utf8_alnumc(pTHX_ const U8 *p) |
1df70142 | 838 | __attribute__warn_unused_result__ |
abb2c242 | 839 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 840 | |
4373e329 | 841 | PERL_CALLCONV bool Perl_is_utf8_idfirst(pTHX_ const U8 *p) |
1df70142 | 842 | __attribute__warn_unused_result__ |
abb2c242 | 843 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 844 | |
4373e329 | 845 | PERL_CALLCONV bool Perl_is_utf8_idcont(pTHX_ const U8 *p) |
1df70142 | 846 | __attribute__warn_unused_result__ |
abb2c242 | 847 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 848 | |
4373e329 | 849 | PERL_CALLCONV bool Perl_is_utf8_alpha(pTHX_ const U8 *p) |
1df70142 | 850 | __attribute__warn_unused_result__ |
abb2c242 | 851 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 852 | |
4373e329 | 853 | PERL_CALLCONV bool Perl_is_utf8_ascii(pTHX_ const U8 *p) |
1df70142 | 854 | __attribute__warn_unused_result__ |
abb2c242 | 855 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 856 | |
4373e329 | 857 | PERL_CALLCONV bool Perl_is_utf8_space(pTHX_ const U8 *p) |
1df70142 | 858 | __attribute__warn_unused_result__ |
abb2c242 | 859 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 860 | |
4373e329 | 861 | PERL_CALLCONV bool Perl_is_utf8_cntrl(pTHX_ const U8 *p) |
1df70142 | 862 | __attribute__warn_unused_result__ |
abb2c242 | 863 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 864 | |
4373e329 | 865 | PERL_CALLCONV bool Perl_is_utf8_digit(pTHX_ const U8 *p) |
1df70142 | 866 | __attribute__warn_unused_result__ |
abb2c242 | 867 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 868 | |
4373e329 | 869 | PERL_CALLCONV bool Perl_is_utf8_graph(pTHX_ const U8 *p) |
1df70142 | 870 | __attribute__warn_unused_result__ |
abb2c242 | 871 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 872 | |
4373e329 | 873 | PERL_CALLCONV bool Perl_is_utf8_upper(pTHX_ const U8 *p) |
1df70142 | 874 | __attribute__warn_unused_result__ |
abb2c242 | 875 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 876 | |
4373e329 | 877 | PERL_CALLCONV bool Perl_is_utf8_lower(pTHX_ const U8 *p) |
1df70142 | 878 | __attribute__warn_unused_result__ |
abb2c242 | 879 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 880 | |
4373e329 | 881 | PERL_CALLCONV bool Perl_is_utf8_print(pTHX_ const U8 *p) |
1df70142 | 882 | __attribute__warn_unused_result__ |
abb2c242 | 883 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 884 | |
4373e329 | 885 | PERL_CALLCONV bool Perl_is_utf8_punct(pTHX_ const U8 *p) |
1df70142 | 886 | __attribute__warn_unused_result__ |
abb2c242 | 887 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 888 | |
4373e329 | 889 | PERL_CALLCONV bool Perl_is_utf8_xdigit(pTHX_ const U8 *p) |
1df70142 | 890 | __attribute__warn_unused_result__ |
abb2c242 | 891 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 892 | |
4373e329 | 893 | PERL_CALLCONV bool Perl_is_utf8_mark(pTHX_ const U8 *p) |
1df70142 | 894 | __attribute__warn_unused_result__ |
abb2c242 | 895 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 896 | |
4373e329 | 897 | PERL_CALLCONV OP* Perl_jmaybe(pTHX_ OP* arg) |
abb2c242 | 898 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 899 | |
672994ce | 900 | PERL_CALLCONV I32 Perl_keyword(pTHX_ const char* d, I32 len) |
abb2c242 JH |
901 | __attribute__pure__ |
902 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 903 | |
1d7c1841 GS |
904 | PERL_CALLCONV void Perl_leave_scope(pTHX_ I32 base); |
905 | PERL_CALLCONV void Perl_lex_end(pTHX); | |
bfce84ec AL |
906 | PERL_CALLCONV void Perl_lex_start(pTHX_ SV* line) |
907 | __attribute__nonnull__(pTHX_1); | |
908 | ||
aec46f14 AL |
909 | PERL_CALLCONV void Perl_op_null(pTHX_ OP* o) |
910 | __attribute__nonnull__(pTHX_1); | |
911 | ||
912 | PERL_CALLCONV void Perl_op_clear(pTHX_ OP* o) | |
913 | __attribute__nonnull__(pTHX_1); | |
914 | ||
4026c95a SH |
915 | PERL_CALLCONV void Perl_op_refcnt_lock(pTHX); |
916 | PERL_CALLCONV void Perl_op_refcnt_unlock(pTHX); | |
aec46f14 AL |
917 | PERL_CALLCONV OP* Perl_linklist(pTHX_ OP* o) |
918 | __attribute__nonnull__(pTHX_1); | |
919 | ||
1d7c1841 GS |
920 | PERL_CALLCONV OP* Perl_list(pTHX_ OP* o); |
921 | PERL_CALLCONV OP* Perl_listkids(pTHX_ OP* o); | |
aec46f14 AL |
922 | PERL_CALLCONV void Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...) |
923 | __attribute__nonnull__(pTHX_2); | |
924 | ||
925 | PERL_CALLCONV void Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args) | |
926 | __attribute__nonnull__(pTHX_2); | |
927 | ||
bfce84ec AL |
928 | PERL_CALLCONV OP* Perl_localize(pTHX_ OP* arg, I32 lexical) |
929 | __attribute__nonnull__(pTHX_1); | |
930 | ||
f54cb97a | 931 | PERL_CALLCONV I32 Perl_looks_like_number(pTHX_ SV* sv) |
abb2c242 JH |
932 | __attribute__warn_unused_result__ |
933 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 934 | |
a3b680e6 | 935 | PERL_CALLCONV UV Perl_grok_bin(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result) |
abb2c242 JH |
936 | __attribute__nonnull__(pTHX_1) |
937 | __attribute__nonnull__(pTHX_2) | |
938 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 939 | |
a3b680e6 | 940 | PERL_CALLCONV UV Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result) |
abb2c242 JH |
941 | __attribute__nonnull__(pTHX_1) |
942 | __attribute__nonnull__(pTHX_2) | |
943 | __attribute__nonnull__(pTHX_3); | |
f54cb97a AL |
944 | |
945 | PERL_CALLCONV int Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep) | |
abb2c242 | 946 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 947 | |
901017d6 | 948 | PERL_CALLCONV bool Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send) |
bfce84ec AL |
949 | __attribute__warn_unused_result__ |
950 | __attribute__nonnull__(pTHX_1) | |
951 | __attribute__nonnull__(pTHX_2); | |
952 | ||
953 | PERL_CALLCONV UV Perl_grok_oct(pTHX_ const char* start, STRLEN* len_p, I32* flags, NV *result) | |
954 | __attribute__nonnull__(pTHX_1); | |
955 | ||
956 | PERL_CALLCONV int Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg) | |
957 | __attribute__nonnull__(pTHX_1) | |
958 | __attribute__nonnull__(pTHX_2); | |
959 | ||
960 | PERL_CALLCONV int Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg) | |
961 | __attribute__nonnull__(pTHX_1) | |
962 | __attribute__nonnull__(pTHX_2); | |
963 | ||
964 | PERL_CALLCONV int Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg) | |
965 | __attribute__nonnull__(pTHX_1) | |
966 | __attribute__nonnull__(pTHX_2); | |
967 | ||
968 | PERL_CALLCONV int Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg) | |
969 | __attribute__nonnull__(pTHX_1) | |
970 | __attribute__nonnull__(pTHX_2); | |
971 | ||
972 | PERL_CALLCONV int Perl_magic_existspack(pTHX_ SV* sv, MAGIC* mg) | |
973 | __attribute__nonnull__(pTHX_1) | |
974 | __attribute__nonnull__(pTHX_2); | |
975 | ||
976 | PERL_CALLCONV int Perl_magic_freeregexp(pTHX_ SV* sv, MAGIC* mg) | |
977 | __attribute__nonnull__(pTHX_1) | |
978 | __attribute__nonnull__(pTHX_2); | |
979 | ||
980 | PERL_CALLCONV int Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg) | |
981 | __attribute__nonnull__(pTHX_1) | |
982 | __attribute__nonnull__(pTHX_2); | |
983 | ||
984 | PERL_CALLCONV int Perl_magic_get(pTHX_ SV* sv, MAGIC* mg) | |
985 | __attribute__nonnull__(pTHX_1) | |
986 | __attribute__nonnull__(pTHX_2); | |
901017d6 | 987 | |
8772537c AL |
988 | PERL_CALLCONV int Perl_magic_getarylen(pTHX_ SV* sv, const MAGIC* mg) |
989 | __attribute__nonnull__(pTHX_1) | |
990 | __attribute__nonnull__(pTHX_2); | |
991 | ||
bfce84ec AL |
992 | PERL_CALLCONV int Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg) |
993 | __attribute__nonnull__(pTHX_1) | |
994 | __attribute__nonnull__(pTHX_2); | |
995 | ||
996 | PERL_CALLCONV int Perl_magic_getglob(pTHX_ SV* sv, MAGIC* mg) | |
997 | __attribute__nonnull__(pTHX_1) | |
998 | __attribute__nonnull__(pTHX_2); | |
999 | ||
1000 | PERL_CALLCONV int Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg) | |
1001 | __attribute__nonnull__(pTHX_1) | |
1002 | __attribute__nonnull__(pTHX_2); | |
1003 | ||
1004 | PERL_CALLCONV int Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg) | |
1005 | __attribute__nonnull__(pTHX_1) | |
1006 | __attribute__nonnull__(pTHX_2); | |
1007 | ||
1008 | PERL_CALLCONV int Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg) | |
1009 | __attribute__nonnull__(pTHX_1) | |
1010 | __attribute__nonnull__(pTHX_2); | |
1011 | ||
1012 | PERL_CALLCONV int Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg) | |
1013 | __attribute__nonnull__(pTHX_1) | |
1014 | __attribute__nonnull__(pTHX_2); | |
1015 | ||
1016 | PERL_CALLCONV int Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg) | |
1017 | __attribute__nonnull__(pTHX_1) | |
1018 | __attribute__nonnull__(pTHX_2); | |
1019 | ||
1020 | PERL_CALLCONV int Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg) | |
1021 | __attribute__nonnull__(pTHX_1) | |
1022 | __attribute__nonnull__(pTHX_2); | |
1023 | ||
1024 | PERL_CALLCONV int Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg) | |
1025 | __attribute__nonnull__(pTHX_1) | |
1026 | __attribute__nonnull__(pTHX_2); | |
1027 | ||
1028 | PERL_CALLCONV int Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg) | |
1029 | __attribute__nonnull__(pTHX_1) | |
1030 | __attribute__nonnull__(pTHX_2); | |
1031 | ||
1032 | PERL_CALLCONV U32 Perl_magic_len(pTHX_ SV* sv, MAGIC* mg) | |
1033 | __attribute__nonnull__(pTHX_1) | |
1034 | __attribute__nonnull__(pTHX_2); | |
1035 | ||
1036 | PERL_CALLCONV int Perl_magic_nextpack(pTHX_ SV* sv, MAGIC* mg, SV* key) | |
1037 | __attribute__nonnull__(pTHX_1) | |
1038 | __attribute__nonnull__(pTHX_2) | |
1039 | __attribute__nonnull__(pTHX_3); | |
1040 | ||
1041 | PERL_CALLCONV U32 Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg) | |
1042 | __attribute__nonnull__(pTHX_1) | |
1043 | __attribute__nonnull__(pTHX_2); | |
1044 | ||
1045 | PERL_CALLCONV int Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg) | |
1046 | __attribute__nonnull__(pTHX_1) | |
1047 | __attribute__nonnull__(pTHX_2); | |
1048 | ||
f54cb97a | 1049 | PERL_CALLCONV int Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg) |
bfce84ec AL |
1050 | __attribute__noreturn__ |
1051 | __attribute__nonnull__(pTHX_1) | |
1052 | __attribute__nonnull__(pTHX_2); | |
1053 | ||
1054 | PERL_CALLCONV int Perl_magic_set(pTHX_ SV* sv, MAGIC* mg) | |
1055 | __attribute__nonnull__(pTHX_1) | |
1056 | __attribute__nonnull__(pTHX_2); | |
1057 | ||
1058 | PERL_CALLCONV int Perl_magic_setamagic(pTHX_ SV* sv, MAGIC* mg) | |
1059 | __attribute__nonnull__(pTHX_1) | |
1060 | __attribute__nonnull__(pTHX_2); | |
1061 | ||
1062 | PERL_CALLCONV int Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg) | |
1063 | __attribute__nonnull__(pTHX_1) | |
1064 | __attribute__nonnull__(pTHX_2); | |
1065 | ||
1066 | PERL_CALLCONV int Perl_magic_freearylen_p(pTHX_ SV* sv, MAGIC* mg) | |
1067 | __attribute__nonnull__(pTHX_1) | |
1068 | __attribute__nonnull__(pTHX_2); | |
1069 | ||
1070 | PERL_CALLCONV int Perl_magic_setbm(pTHX_ SV* sv, MAGIC* mg) | |
1071 | __attribute__nonnull__(pTHX_1) | |
1072 | __attribute__nonnull__(pTHX_2); | |
1073 | ||
1074 | PERL_CALLCONV int Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg) | |
1075 | __attribute__nonnull__(pTHX_1) | |
1076 | __attribute__nonnull__(pTHX_2); | |
1077 | ||
1078 | PERL_CALLCONV int Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg) | |
1079 | __attribute__nonnull__(pTHX_1) | |
1080 | __attribute__nonnull__(pTHX_2); | |
1081 | ||
1082 | PERL_CALLCONV int Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg) | |
1083 | __attribute__nonnull__(pTHX_1) | |
1084 | __attribute__nonnull__(pTHX_2); | |
1085 | ||
1086 | PERL_CALLCONV int Perl_magic_setfm(pTHX_ SV* sv, MAGIC* mg) | |
1087 | __attribute__nonnull__(pTHX_1) | |
1088 | __attribute__nonnull__(pTHX_2); | |
1089 | ||
1090 | PERL_CALLCONV int Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg) | |
1091 | __attribute__nonnull__(pTHX_1) | |
1092 | __attribute__nonnull__(pTHX_2); | |
1093 | ||
1094 | PERL_CALLCONV int Perl_magic_setglob(pTHX_ SV* sv, MAGIC* mg) | |
1095 | __attribute__nonnull__(pTHX_1) | |
1096 | __attribute__nonnull__(pTHX_2); | |
1097 | ||
1098 | PERL_CALLCONV int Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg) | |
1099 | __attribute__nonnull__(pTHX_1) | |
1100 | __attribute__nonnull__(pTHX_2); | |
1101 | ||
1102 | PERL_CALLCONV int Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg) | |
1103 | __attribute__nonnull__(pTHX_1) | |
1104 | __attribute__nonnull__(pTHX_2); | |
1105 | ||
1106 | PERL_CALLCONV int Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg) | |
1107 | __attribute__nonnull__(pTHX_1) | |
1108 | __attribute__nonnull__(pTHX_2); | |
1109 | ||
1110 | PERL_CALLCONV int Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg) | |
1111 | __attribute__nonnull__(pTHX_1) | |
1112 | __attribute__nonnull__(pTHX_2); | |
1113 | ||
1114 | PERL_CALLCONV int Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg) | |
1115 | __attribute__nonnull__(pTHX_1) | |
1116 | __attribute__nonnull__(pTHX_2); | |
1117 | ||
1118 | PERL_CALLCONV int Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg) | |
1119 | __attribute__nonnull__(pTHX_1) | |
1120 | __attribute__nonnull__(pTHX_2); | |
1121 | ||
1122 | PERL_CALLCONV int Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg) | |
1123 | __attribute__nonnull__(pTHX_1) | |
1124 | __attribute__nonnull__(pTHX_2); | |
1125 | ||
1126 | PERL_CALLCONV int Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg) | |
1127 | __attribute__nonnull__(pTHX_1) | |
1128 | __attribute__nonnull__(pTHX_2); | |
1129 | ||
1130 | PERL_CALLCONV int Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg) | |
1131 | __attribute__nonnull__(pTHX_1) | |
1132 | __attribute__nonnull__(pTHX_2); | |
1133 | ||
1134 | PERL_CALLCONV int Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg) | |
1135 | __attribute__nonnull__(pTHX_1) | |
1136 | __attribute__nonnull__(pTHX_2); | |
1137 | ||
1138 | PERL_CALLCONV int Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg) | |
1139 | __attribute__nonnull__(pTHX_1) | |
1140 | __attribute__nonnull__(pTHX_2); | |
1141 | ||
1142 | PERL_CALLCONV int Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg) | |
1143 | __attribute__nonnull__(pTHX_1) | |
1144 | __attribute__nonnull__(pTHX_2); | |
1145 | ||
1146 | PERL_CALLCONV U32 Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg) | |
1147 | __attribute__nonnull__(pTHX_1) | |
1148 | __attribute__nonnull__(pTHX_2); | |
1149 | ||
1150 | PERL_CALLCONV int Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg) | |
1151 | __attribute__nonnull__(pTHX_1) | |
1152 | __attribute__nonnull__(pTHX_2); | |
1153 | ||
1154 | PERL_CALLCONV void Perl_magicname(pTHX_ const char* sym, const char* name, I32 namlen) | |
1155 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 1156 | |
1d7c1841 | 1157 | PERL_CALLCONV void Perl_markstack_grow(pTHX); |
864dbfa3 | 1158 | #if defined(USE_LOCALE_COLLATE) |
aa924a5a SH |
1159 | PERL_CALLCONV int Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg) |
1160 | __attribute__nonnull__(pTHX_1) | |
1161 | __attribute__nonnull__(pTHX_2); | |
1162 | ||
1163 | PERL_CALLCONV char* Perl_mem_collxfrm(pTHX_ const char* s, STRLEN len, STRLEN* xlen) | |
1164 | __attribute__nonnull__(pTHX_1) | |
1165 | __attribute__nonnull__(pTHX_3); | |
1166 | ||
0cb96387 | 1167 | #endif |
894356b3 | 1168 | PERL_CALLCONV SV* Perl_mess(pTHX_ const char* pat, ...) |
aec46f14 AL |
1169 | __attribute__format__(__printf__,pTHX_1,pTHX_2) |
1170 | __attribute__nonnull__(pTHX_1); | |
1171 | ||
1172 | PERL_CALLCONV SV* Perl_vmess(pTHX_ const char* pat, va_list* args) | |
1173 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 1174 | |
aa924a5a SH |
1175 | PERL_CALLCONV void Perl_qerror(pTHX_ SV* err) |
1176 | __attribute__nonnull__(pTHX_1); | |
1177 | ||
1178 | PERL_CALLCONV void Perl_sortsv(pTHX_ SV** array, size_t num_elts, SVCOMPARE_t cmp) | |
1179 | __attribute__nonnull__(pTHX_1); | |
1180 | ||
9a957fbc AL |
1181 | PERL_CALLCONV int Perl_mg_clear(pTHX_ SV* sv) |
1182 | __attribute__nonnull__(pTHX_1); | |
1183 | ||
1184 | PERL_CALLCONV int Perl_mg_copy(pTHX_ SV* sv, SV* nsv, const char* key, I32 klen) | |
1185 | __attribute__nonnull__(pTHX_1) | |
1186 | __attribute__nonnull__(pTHX_2); | |
1187 | ||
1188 | PERL_CALLCONV void Perl_mg_localize(pTHX_ SV* sv, SV* nsv) | |
1189 | __attribute__nonnull__(pTHX_1) | |
1190 | __attribute__nonnull__(pTHX_2); | |
1191 | ||
255164ba DM |
1192 | PERL_CALLCONV MAGIC* Perl_mg_find(pTHX_ const SV* sv, int type) |
1193 | __attribute__warn_unused_result__; | |
1194 | ||
9a957fbc AL |
1195 | PERL_CALLCONV int Perl_mg_free(pTHX_ SV* sv) |
1196 | __attribute__nonnull__(pTHX_1); | |
1197 | ||
1198 | PERL_CALLCONV int Perl_mg_get(pTHX_ SV* sv) | |
1199 | __attribute__nonnull__(pTHX_1); | |
1200 | ||
1201 | PERL_CALLCONV U32 Perl_mg_length(pTHX_ SV* sv) | |
1202 | __attribute__nonnull__(pTHX_1); | |
1203 | ||
1204 | PERL_CALLCONV void Perl_mg_magical(pTHX_ SV* sv) | |
1205 | __attribute__nonnull__(pTHX_1); | |
1206 | ||
1207 | PERL_CALLCONV int Perl_mg_set(pTHX_ SV* sv) | |
1208 | __attribute__nonnull__(pTHX_1); | |
1209 | ||
1210 | PERL_CALLCONV I32 Perl_mg_size(pTHX_ SV* sv) | |
1211 | __attribute__nonnull__(pTHX_1); | |
1212 | ||
1213 | PERL_CALLCONV void Perl_mini_mktime(pTHX_ struct tm *pm) | |
1214 | __attribute__nonnull__(pTHX_1); | |
1215 | ||
1d7c1841 | 1216 | PERL_CALLCONV OP* Perl_mod(pTHX_ OP* o, I32 type); |
16fe6d59 | 1217 | PERL_CALLCONV int Perl_mode_from_discipline(pTHX_ SV* discp); |
bfce84ec AL |
1218 | PERL_CALLCONV char* Perl_moreswitches(pTHX_ char* s) |
1219 | __attribute__nonnull__(pTHX_1); | |
1220 | ||
4373e329 | 1221 | PERL_CALLCONV OP* Perl_my(pTHX_ OP* o) |
abb2c242 | 1222 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1223 | |
4373e329 | 1224 | PERL_CALLCONV NV Perl_my_atof(pTHX_ const char *s) |
abb2c242 | 1225 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1226 | |
2253333f | 1227 | #if (!defined(HAS_MEMCPY) && !defined(HAS_BCOPY)) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY) && !defined(HAS_SAFE_BCOPY)) |
4373e329 | 1228 | PERL_CALLCONV char* Perl_my_bcopy(const char* from, char* to, I32 len) |
abb2c242 JH |
1229 | __attribute__nonnull__(1) |
1230 | __attribute__nonnull__(2); | |
f54cb97a | 1231 | |
5f05dabc | 1232 | #endif |
a0d0e21e | 1233 | #if !defined(HAS_BZERO) && !defined(HAS_MEMSET) |
4373e329 | 1234 | PERL_CALLCONV char* Perl_my_bzero(char* loc, I32 len) |
abb2c242 | 1235 | __attribute__nonnull__(1); |
f54cb97a | 1236 | |
864dbfa3 | 1237 | #endif |
f54cb97a | 1238 | PERL_CALLCONV void Perl_my_exit(pTHX_ U32 status) |
abb2c242 | 1239 | __attribute__noreturn__; |
f54cb97a AL |
1240 | |
1241 | PERL_CALLCONV void Perl_my_failure_exit(pTHX) | |
abb2c242 | 1242 | __attribute__noreturn__; |
f54cb97a | 1243 | |
1d7c1841 | 1244 | PERL_CALLCONV I32 Perl_my_fflush_all(pTHX); |
52e18b1f GS |
1245 | PERL_CALLCONV Pid_t Perl_my_fork(void); |
1246 | PERL_CALLCONV void Perl_atfork_lock(void); | |
1247 | PERL_CALLCONV void Perl_atfork_unlock(void); | |
1d7c1841 | 1248 | PERL_CALLCONV I32 Perl_my_lstat(pTHX); |
5f05dabc | 1249 | #if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP) |
4373e329 | 1250 | PERL_CALLCONV I32 Perl_my_memcmp(const char* s1, const char* s2, I32 len) |
abb2c242 JH |
1251 | __attribute__pure__ |
1252 | __attribute__nonnull__(1) | |
1253 | __attribute__nonnull__(2); | |
f54cb97a | 1254 | |
a0d0e21e | 1255 | #endif |
fc36a67e | 1256 | #if !defined(HAS_MEMSET) |
4373e329 | 1257 | PERL_CALLCONV void* Perl_my_memset(char* loc, I32 ch, I32 len) |
abb2c242 | 1258 | __attribute__nonnull__(1); |
f54cb97a | 1259 | |
864dbfa3 | 1260 | #endif |
1d7c1841 | 1261 | PERL_CALLCONV I32 Perl_my_pclose(pTHX_ PerlIO* ptr); |
bfce84ec AL |
1262 | PERL_CALLCONV PerlIO* Perl_my_popen(pTHX_ const char* cmd, const char* mode) |
1263 | __attribute__nonnull__(pTHX_1) | |
1264 | __attribute__nonnull__(pTHX_2); | |
1265 | ||
1266 | PERL_CALLCONV PerlIO* Perl_my_popen_list(pTHX_ char* mode, int n, SV ** args) | |
1267 | __attribute__nonnull__(pTHX_1) | |
1268 | __attribute__nonnull__(pTHX_3); | |
1269 | ||
e1ec3a88 | 1270 | PERL_CALLCONV void Perl_my_setenv(pTHX_ const char* nam, const char* val); |
1d7c1841 | 1271 | PERL_CALLCONV I32 Perl_my_stat(pTHX); |
bfce84ec AL |
1272 | PERL_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) |
1273 | __attribute__nonnull__(pTHX_1); | |
1274 | ||
864dbfa3 | 1275 | #if defined(MYSWAP) |
4373e329 | 1276 | PERL_CALLCONV short Perl_my_swap(pTHX_ short s) |
abb2c242 JH |
1277 | __attribute__malloc__ |
1278 | __attribute__warn_unused_result__ | |
1279 | __attribute__pure__; | |
f54cb97a | 1280 | |
4373e329 | 1281 | PERL_CALLCONV long Perl_my_htonl(pTHX_ long l) |
abb2c242 JH |
1282 | __attribute__malloc__ |
1283 | __attribute__warn_unused_result__ | |
1284 | __attribute__pure__; | |
f54cb97a | 1285 | |
4373e329 | 1286 | PERL_CALLCONV long Perl_my_ntohl(pTHX_ long l) |
abb2c242 JH |
1287 | __attribute__malloc__ |
1288 | __attribute__warn_unused_result__ | |
1289 | __attribute__pure__; | |
f54cb97a | 1290 | |
0cb96387 | 1291 | #endif |
1d7c1841 | 1292 | PERL_CALLCONV void Perl_my_unexec(pTHX); |
f54cb97a | 1293 | PERL_CALLCONV OP* Perl_newANONLIST(pTHX_ OP* o) |
abb2c242 JH |
1294 | __attribute__malloc__ |
1295 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1296 | |
1297 | PERL_CALLCONV OP* Perl_newANONHASH(pTHX_ OP* o) | |
abb2c242 JH |
1298 | __attribute__malloc__ |
1299 | __attribute__warn_unused_result__; | |
f54cb97a | 1300 | |
1d7c1841 | 1301 | PERL_CALLCONV OP* Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block); |
f54cb97a | 1302 | PERL_CALLCONV OP* Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right) |
abb2c242 JH |
1303 | __attribute__malloc__ |
1304 | __attribute__warn_unused_result__; | |
f54cb97a | 1305 | |
aec46f14 | 1306 | PERL_CALLCONV OP* Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* falseop) |
abb2c242 | 1307 | __attribute__malloc__ |
aec46f14 AL |
1308 | __attribute__warn_unused_result__ |
1309 | __attribute__nonnull__(pTHX_2); | |
1310 | ||
9a957fbc | 1311 | PERL_CALLCONV CV* Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv); |
1d7c1841 | 1312 | PERL_CALLCONV void Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block); |
aa924a5a | 1313 | PERL_CALLCONV OP* Perl_newFOROP(pTHX_ I32 flags, char* label, line_t forline, OP* sv, OP* expr, OP* block, OP* cont) |
abb2c242 | 1314 | __attribute__malloc__ |
aa924a5a SH |
1315 | __attribute__warn_unused_result__ |
1316 | __attribute__nonnull__(pTHX_5); | |
f54cb97a AL |
1317 | |
1318 | PERL_CALLCONV OP* Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP* left, OP* right) | |
abb2c242 | 1319 | __attribute__malloc__ |
aa924a5a SH |
1320 | __attribute__warn_unused_result__ |
1321 | __attribute__nonnull__(pTHX_3) | |
1322 | __attribute__nonnull__(pTHX_4); | |
f54cb97a AL |
1323 | |
1324 | PERL_CALLCONV OP* Perl_newLOOPEX(pTHX_ I32 type, OP* label) | |
abb2c242 | 1325 | __attribute__malloc__ |
aa924a5a SH |
1326 | __attribute__warn_unused_result__ |
1327 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
1328 | |
1329 | PERL_CALLCONV OP* Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block) | |
abb2c242 JH |
1330 | __attribute__malloc__ |
1331 | __attribute__warn_unused_result__; | |
f54cb97a | 1332 | |
4373e329 | 1333 | PERL_CALLCONV OP* Perl_newNULLLIST(pTHX) |
abb2c242 JH |
1334 | __attribute__malloc__ |
1335 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1336 | |
1337 | PERL_CALLCONV OP* Perl_newOP(pTHX_ I32 optype, I32 flags) | |
abb2c242 JH |
1338 | __attribute__malloc__ |
1339 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1340 | |
1341 | PERL_CALLCONV void Perl_newPROG(pTHX_ OP* o) | |
abb2c242 | 1342 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1343 | |
1344 | PERL_CALLCONV OP* Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right) | |
abb2c242 | 1345 | __attribute__malloc__ |
aa924a5a SH |
1346 | __attribute__warn_unused_result__ |
1347 | __attribute__nonnull__(pTHX_2) | |
1348 | __attribute__nonnull__(pTHX_3); | |
f54cb97a AL |
1349 | |
1350 | PERL_CALLCONV OP* Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop) | |
abb2c242 JH |
1351 | __attribute__malloc__ |
1352 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1353 | |
1354 | PERL_CALLCONV OP* Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o) | |
abb2c242 JH |
1355 | __attribute__malloc__ |
1356 | __attribute__warn_unused_result__; | |
f54cb97a | 1357 | |
1d7c1841 | 1358 | PERL_CALLCONV CV* Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block); |
4373e329 | 1359 | PERL_CALLCONV CV* Perl_newXS(pTHX_ const char* name, XSUBADDR_t f, const char* filename) |
abb2c242 | 1360 | __attribute__nonnull__(pTHX_1) |
9a957fbc | 1361 | __attribute__nonnull__(pTHX_2) |
abb2c242 | 1362 | __attribute__nonnull__(pTHX_3); |
f54cb97a AL |
1363 | |
1364 | PERL_CALLCONV AV* Perl_newAV(pTHX) | |
abb2c242 JH |
1365 | __attribute__malloc__ |
1366 | __attribute__warn_unused_result__; | |
f54cb97a | 1367 | |
4373e329 | 1368 | PERL_CALLCONV OP* Perl_newAVREF(pTHX_ OP* o) |
abb2c242 JH |
1369 | __attribute__malloc__ |
1370 | __attribute__warn_unused_result__ | |
1371 | __attribute__nonnull__(pTHX_1); | |
f54cb97a AL |
1372 | |
1373 | PERL_CALLCONV OP* Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last) | |
abb2c242 JH |
1374 | __attribute__malloc__ |
1375 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1376 | |
1377 | PERL_CALLCONV OP* Perl_newCVREF(pTHX_ I32 flags, OP* o) | |
abb2c242 JH |
1378 | __attribute__malloc__ |
1379 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1380 | |
1381 | PERL_CALLCONV OP* Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv) | |
abb2c242 | 1382 | __attribute__malloc__ |
2d03de9c AL |
1383 | __attribute__warn_unused_result__ |
1384 | __attribute__nonnull__(pTHX_3); | |
f54cb97a AL |
1385 | |
1386 | PERL_CALLCONV GV* Perl_newGVgen(pTHX_ const char* pack) | |
abb2c242 | 1387 | __attribute__malloc__ |
aa924a5a SH |
1388 | __attribute__warn_unused_result__ |
1389 | __attribute__nonnull__(pTHX_1); | |
f54cb97a AL |
1390 | |
1391 | PERL_CALLCONV OP* Perl_newGVREF(pTHX_ I32 type, OP* o) | |
abb2c242 JH |
1392 | __attribute__malloc__ |
1393 | __attribute__warn_unused_result__; | |
f54cb97a | 1394 | |
4373e329 | 1395 | PERL_CALLCONV OP* Perl_newHVREF(pTHX_ OP* o) |
abb2c242 JH |
1396 | __attribute__malloc__ |
1397 | __attribute__warn_unused_result__ | |
1398 | __attribute__nonnull__(pTHX_1); | |
f54cb97a AL |
1399 | |
1400 | PERL_CALLCONV HV* Perl_newHV(pTHX) | |
abb2c242 JH |
1401 | __attribute__malloc__ |
1402 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1403 | |
1404 | PERL_CALLCONV HV* Perl_newHVhv(pTHX_ HV* hv) | |
abb2c242 JH |
1405 | __attribute__malloc__ |
1406 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1407 | |
1408 | PERL_CALLCONV IO* Perl_newIO(pTHX) | |
abb2c242 JH |
1409 | __attribute__malloc__ |
1410 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1411 | |
1412 | PERL_CALLCONV OP* Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last) | |
abb2c242 JH |
1413 | __attribute__malloc__ |
1414 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1415 | |
1416 | PERL_CALLCONV OP* Perl_newPADOP(pTHX_ I32 type, I32 flags, SV* sv) | |
abb2c242 JH |
1417 | __attribute__malloc__ |
1418 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1419 | |
1420 | PERL_CALLCONV OP* Perl_newPMOP(pTHX_ I32 type, I32 flags) | |
abb2c242 JH |
1421 | __attribute__malloc__ |
1422 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1423 | |
1424 | PERL_CALLCONV OP* Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv) | |
abb2c242 JH |
1425 | __attribute__malloc__ |
1426 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1427 | |
1428 | PERL_CALLCONV SV* Perl_newRV(pTHX_ SV* pref) | |
abb2c242 | 1429 | __attribute__malloc__ |
66a1b24b AL |
1430 | __attribute__warn_unused_result__ |
1431 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 1432 | |
4373e329 | 1433 | PERL_CALLCONV SV* Perl_newRV_noinc(pTHX_ SV *sv) |
abb2c242 JH |
1434 | __attribute__malloc__ |
1435 | __attribute__warn_unused_result__ | |
1436 | __attribute__nonnull__(pTHX_1); | |
f54cb97a AL |
1437 | |
1438 | PERL_CALLCONV SV* Perl_newSV(pTHX_ STRLEN len) | |
abb2c242 JH |
1439 | __attribute__malloc__ |
1440 | __attribute__warn_unused_result__; | |
f54cb97a | 1441 | |
4373e329 | 1442 | PERL_CALLCONV OP* Perl_newSVREF(pTHX_ OP* o) |
abb2c242 JH |
1443 | __attribute__malloc__ |
1444 | __attribute__warn_unused_result__ | |
1445 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 1446 | |
4373e329 | 1447 | PERL_CALLCONV OP* Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv) |
abb2c242 JH |
1448 | __attribute__malloc__ |
1449 | __attribute__warn_unused_result__ | |
1450 | __attribute__nonnull__(pTHX_3); | |
f54cb97a AL |
1451 | |
1452 | PERL_CALLCONV SV* Perl_newSViv(pTHX_ IV i) | |
abb2c242 JH |
1453 | __attribute__malloc__ |
1454 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1455 | |
1456 | PERL_CALLCONV SV* Perl_newSVuv(pTHX_ UV u) | |
abb2c242 JH |
1457 | __attribute__malloc__ |
1458 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1459 | |
1460 | PERL_CALLCONV SV* Perl_newSVnv(pTHX_ NV n) | |
abb2c242 JH |
1461 | __attribute__malloc__ |
1462 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1463 | |
1464 | PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char* s, STRLEN len) | |
abb2c242 JH |
1465 | __attribute__malloc__ |
1466 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1467 | |
1468 | PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char* s, STRLEN len) | |
abb2c242 JH |
1469 | __attribute__malloc__ |
1470 | __attribute__warn_unused_result__; | |
f54cb97a | 1471 | |
c1b02ed8 NC |
1472 | PERL_CALLCONV SV* Perl_newSVhek(pTHX_ const HEK *hek) |
1473 | __attribute__malloc__ | |
1474 | __attribute__warn_unused_result__; | |
1475 | ||
f54cb97a | 1476 | PERL_CALLCONV SV* Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash) |
abb2c242 JH |
1477 | __attribute__malloc__ |
1478 | __attribute__warn_unused_result__; | |
f54cb97a | 1479 | |
894356b3 | 1480 | PERL_CALLCONV SV* Perl_newSVpvf(pTHX_ const char* pat, ...) |
abb2c242 JH |
1481 | __attribute__malloc__ |
1482 | __attribute__warn_unused_result__ | |
aec46f14 AL |
1483 | __attribute__format__(__printf__,pTHX_1,pTHX_2) |
1484 | __attribute__nonnull__(pTHX_1); | |
1485 | ||
1486 | PERL_CALLCONV SV* Perl_vnewSVpvf(pTHX_ const char* pat, va_list* args) | |
1487 | __attribute__malloc__ | |
1488 | __attribute__warn_unused_result__ | |
1489 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 1490 | |
f54cb97a | 1491 | PERL_CALLCONV SV* Perl_newSVrv(pTHX_ SV* rv, const char* classname) |
abb2c242 | 1492 | __attribute__malloc__ |
1b6737cc AL |
1493 | __attribute__warn_unused_result__ |
1494 | __attribute__nonnull__(pTHX_1); | |
f54cb97a AL |
1495 | |
1496 | PERL_CALLCONV SV* Perl_newSVsv(pTHX_ SV* old) | |
abb2c242 JH |
1497 | __attribute__malloc__ |
1498 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1499 | |
1500 | PERL_CALLCONV OP* Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first) | |
abb2c242 JH |
1501 | __attribute__malloc__ |
1502 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1503 | |
1504 | PERL_CALLCONV OP* Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, I32 whileline, OP* expr, OP* block, OP* cont, I32 has_my) | |
abb2c242 JH |
1505 | __attribute__malloc__ |
1506 | __attribute__warn_unused_result__; | |
f54cb97a AL |
1507 | |
1508 | PERL_CALLCONV PERL_SI* Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems) | |
abb2c242 JH |
1509 | __attribute__malloc__ |
1510 | __attribute__warn_unused_result__; | |
f54cb97a | 1511 | |
4373e329 | 1512 | PERL_CALLCONV char* Perl_scan_vstring(pTHX_ const char *vstr, SV *sv) |
abb2c242 JH |
1513 | __attribute__nonnull__(pTHX_1) |
1514 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1515 | |
9137345a | 1516 | PERL_CALLCONV const char* Perl_scan_version(pTHX_ const char *vstr, SV *sv, bool qv) |
abb2c242 JH |
1517 | __attribute__nonnull__(pTHX_1) |
1518 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1519 | |
2d03de9c AL |
1520 | PERL_CALLCONV SV* Perl_new_version(pTHX_ SV *ver) |
1521 | __attribute__nonnull__(pTHX_1); | |
1522 | ||
1523 | PERL_CALLCONV SV* Perl_upg_version(pTHX_ SV *ver) | |
1524 | __attribute__nonnull__(pTHX_1); | |
1525 | ||
e0218a61 JP |
1526 | PERL_CALLCONV bool Perl_vverify(pTHX_ SV *vs) |
1527 | __attribute__nonnull__(pTHX_1); | |
1528 | ||
2d03de9c AL |
1529 | PERL_CALLCONV SV* Perl_vnumify(pTHX_ SV *vs) |
1530 | __attribute__nonnull__(pTHX_1); | |
1531 | ||
1532 | PERL_CALLCONV SV* Perl_vnormal(pTHX_ SV *vs) | |
1533 | __attribute__nonnull__(pTHX_1); | |
1534 | ||
1535 | PERL_CALLCONV SV* Perl_vstringify(pTHX_ SV *vs) | |
1536 | __attribute__nonnull__(pTHX_1); | |
1537 | ||
4373e329 | 1538 | PERL_CALLCONV int Perl_vcmp(pTHX_ SV *lvs, SV *rvs) |
abb2c242 JH |
1539 | __attribute__nonnull__(pTHX_1) |
1540 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1541 | |
2d03de9c AL |
1542 | PERL_CALLCONV PerlIO* Perl_nextargv(pTHX_ GV* gv) |
1543 | __attribute__nonnull__(pTHX_1); | |
1544 | ||
4373e329 | 1545 | PERL_CALLCONV char* Perl_ninstr(pTHX_ const char* big, const char* bigend, const char* little, const char* lend) |
2d03de9c AL |
1546 | __attribute__pure__ |
1547 | __attribute__nonnull__(pTHX_1) | |
1548 | __attribute__nonnull__(pTHX_2) | |
1549 | __attribute__nonnull__(pTHX_3) | |
1550 | __attribute__nonnull__(pTHX_4); | |
f54cb97a AL |
1551 | |
1552 | PERL_CALLCONV OP* Perl_oopsCV(pTHX_ OP* o) | |
2d03de9c AL |
1553 | __attribute__noreturn__ |
1554 | __attribute__nonnull__(pTHX_1); | |
1555 | ||
1556 | PERL_CALLCONV void Perl_op_free(pTHX_ OP* arg) | |
1557 | __attribute__nonnull__(pTHX_1); | |
1558 | ||
1559 | PERL_CALLCONV void Perl_package(pTHX_ OP* o) | |
1560 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 1561 | |
1d7c1841 | 1562 | PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype); |
4373e329 | 1563 | PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ char* name) |
abb2c242 | 1564 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1565 | |
4373e329 | 1566 | PERL_CALLCONV PADOFFSET Perl_pad_findmy(pTHX_ const char* name) |
255164ba | 1567 | __attribute__warn_unused_result__ |
abb2c242 | 1568 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1569 | |
e1f795dc | 1570 | PERL_CALLCONV PADOFFSET Perl_find_rundefsvoffset(pTHX); |
4373e329 | 1571 | PERL_CALLCONV OP* Perl_oopsAV(pTHX_ OP* o) |
1df70142 | 1572 | __attribute__warn_unused_result__ |
abb2c242 | 1573 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1574 | |
4373e329 | 1575 | PERL_CALLCONV OP* Perl_oopsHV(pTHX_ OP* o) |
1df70142 | 1576 | __attribute__warn_unused_result__ |
abb2c242 | 1577 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1578 | |
dd2155a4 | 1579 | PERL_CALLCONV void Perl_pad_leavemy(pTHX); |
1d7c1841 GS |
1580 | PERL_CALLCONV SV* Perl_pad_sv(pTHX_ PADOFFSET po); |
1581 | PERL_CALLCONV void Perl_pad_free(pTHX_ PADOFFSET po); | |
1582 | PERL_CALLCONV void Perl_pad_reset(pTHX); | |
dd2155a4 | 1583 | PERL_CALLCONV void Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust); |
1d7c1841 | 1584 | PERL_CALLCONV void Perl_peep(pTHX_ OP* o); |
2d03de9c AL |
1585 | PERL_CALLCONV PerlIO* Perl_start_glob(pTHX_ SV* pattern, IO *io) |
1586 | __attribute__nonnull__(pTHX_1) | |
1587 | __attribute__nonnull__(pTHX_2); | |
1588 | ||
59bd0823 | 1589 | #if defined(USE_REENTRANT_API) |
10bc17b6 | 1590 | PERL_CALLCONV void Perl_reentrant_size(pTHX); |
59bd0823 | 1591 | PERL_CALLCONV void Perl_reentrant_init(pTHX); |
10bc17b6 | 1592 | PERL_CALLCONV void Perl_reentrant_free(pTHX); |
c803eecc | 1593 | PERL_CALLCONV void* Perl_reentrant_retry(const char*, ...); |
59bd0823 | 1594 | #endif |
1d7c1841 | 1595 | PERL_CALLCONV void Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr); |
4373e329 | 1596 | PERL_CALLCONV I32 Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv) |
abb2c242 JH |
1597 | __attribute__nonnull__(pTHX_1) |
1598 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 1599 | |
4373e329 | 1600 | PERL_CALLCONV I32 Perl_call_method(pTHX_ const char* methname, I32 flags) |
abb2c242 | 1601 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1602 | |
4373e329 | 1603 | PERL_CALLCONV I32 Perl_call_pv(pTHX_ const char* sub_name, I32 flags) |
abb2c242 | 1604 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1605 | |
aec46f14 AL |
1606 | PERL_CALLCONV I32 Perl_call_sv(pTHX_ SV* sv, I32 flags) |
1607 | __attribute__nonnull__(pTHX_1); | |
1608 | ||
ce08f86c | 1609 | PERL_CALLCONV void Perl_despatch_signals(pTHX); |
4373e329 | 1610 | PERL_CALLCONV SV* Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error) |
abb2c242 | 1611 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1612 | |
4373e329 | 1613 | PERL_CALLCONV I32 Perl_eval_sv(pTHX_ SV* sv, I32 flags) |
abb2c242 | 1614 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1615 | |
4373e329 | 1616 | PERL_CALLCONV SV* Perl_get_sv(pTHX_ const char* name, I32 create) |
abb2c242 | 1617 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1618 | |
4373e329 | 1619 | PERL_CALLCONV AV* Perl_get_av(pTHX_ const char* name, I32 create) |
255164ba DM |
1620 | __attribute__nonnull__(pTHX_1); |
1621 | ||
1622 | PERL_CALLCONV HV* Perl_get_hv(pTHX_ const char* name, I32 create) | |
255164ba DM |
1623 | __attribute__nonnull__(pTHX_1); |
1624 | ||
1625 | PERL_CALLCONV CV* Perl_get_cv(pTHX_ const char* name, I32 create) | |
abb2c242 | 1626 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1627 | |
1d7c1841 GS |
1628 | PERL_CALLCONV int Perl_init_i18nl10n(pTHX_ int printwarn); |
1629 | PERL_CALLCONV int Perl_init_i18nl14n(pTHX_ int printwarn); | |
8772537c AL |
1630 | PERL_CALLCONV void Perl_new_collate(pTHX_ const char* newcoll); |
1631 | PERL_CALLCONV void Perl_new_ctype(pTHX_ const char* newctype) | |
abb2c242 | 1632 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1633 | |
8772537c | 1634 | PERL_CALLCONV void Perl_new_numeric(pTHX_ const char* newcoll); |
1d7c1841 GS |
1635 | PERL_CALLCONV void Perl_set_numeric_local(pTHX); |
1636 | PERL_CALLCONV void Perl_set_numeric_radix(pTHX); | |
1637 | PERL_CALLCONV void Perl_set_numeric_standard(pTHX); | |
4373e329 | 1638 | PERL_CALLCONV void Perl_require_pv(pTHX_ const char* pv) |
abb2c242 | 1639 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1640 | |
2d03de9c AL |
1641 | PERL_CALLCONV void Perl_pack_cat(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist, SV ***next_in_list, U32 flags) |
1642 | __attribute__nonnull__(pTHX_1) | |
1643 | __attribute__nonnull__(pTHX_2) | |
1644 | __attribute__nonnull__(pTHX_3) | |
1645 | __attribute__nonnull__(pTHX_4) | |
1646 | __attribute__nonnull__(pTHX_5) | |
1647 | __attribute__nonnull__(pTHX_6); | |
1648 | ||
1649 | PERL_CALLCONV void Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist) | |
1650 | __attribute__nonnull__(pTHX_1) | |
1651 | __attribute__nonnull__(pTHX_2) | |
1652 | __attribute__nonnull__(pTHX_3) | |
1653 | __attribute__nonnull__(pTHX_4) | |
1654 | __attribute__nonnull__(pTHX_5); | |
1655 | ||
1d7c1841 | 1656 | PERL_CALLCONV void Perl_pidgone(pTHX_ Pid_t pid, int status); |
4373e329 | 1657 | PERL_CALLCONV void Perl_pmflag(pTHX_ U32* pmfl, int ch) |
abb2c242 | 1658 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1659 | |
4373e329 | 1660 | PERL_CALLCONV OP* Perl_pmruntime(pTHX_ OP* pm, OP* expr, bool isreg) |
abb2c242 JH |
1661 | __attribute__nonnull__(pTHX_1) |
1662 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1663 | |
4373e329 | 1664 | PERL_CALLCONV OP* Perl_pmtrans(pTHX_ OP* o, OP* expr, OP* repl) |
abb2c242 | 1665 | __attribute__nonnull__(pTHX_1) |
2d03de9c AL |
1666 | __attribute__nonnull__(pTHX_2) |
1667 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 1668 | |
1d7c1841 GS |
1669 | PERL_CALLCONV void Perl_pop_scope(pTHX); |
1670 | PERL_CALLCONV OP* Perl_prepend_elem(pTHX_ I32 optype, OP* head, OP* tail); | |
1d7c1841 GS |
1671 | PERL_CALLCONV void Perl_push_scope(pTHX); |
1672 | PERL_CALLCONV OP* Perl_ref(pTHX_ OP* o, I32 type); | |
1673 | PERL_CALLCONV OP* Perl_refkids(pTHX_ OP* o, I32 type); | |
4373e329 | 1674 | PERL_CALLCONV void Perl_regdump(pTHX_ regexp* r) |
abb2c242 | 1675 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1676 | |
2d03de9c AL |
1677 | PERL_CALLCONV SV* Perl_regclass_swash(pTHX_ const struct regnode *n, bool doinit, SV **listsvp, SV **altsvp) |
1678 | __attribute__nonnull__(pTHX_1); | |
1679 | ||
4373e329 | 1680 | PERL_CALLCONV I32 Perl_pregexec(pTHX_ regexp* prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, U32 nosave) |
abb2c242 JH |
1681 | __attribute__nonnull__(pTHX_1) |
1682 | __attribute__nonnull__(pTHX_2) | |
1683 | __attribute__nonnull__(pTHX_3) | |
1684 | __attribute__nonnull__(pTHX_4) | |
1685 | __attribute__nonnull__(pTHX_6); | |
f54cb97a | 1686 | |
1d7c1841 | 1687 | PERL_CALLCONV void Perl_pregfree(pTHX_ struct regexp* r); |
4373e329 | 1688 | PERL_CALLCONV regexp* Perl_pregcomp(pTHX_ char* exp, char* xend, PMOP* pm) |
abb2c242 JH |
1689 | __attribute__nonnull__(pTHX_1) |
1690 | __attribute__nonnull__(pTHX_2) | |
1691 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 1692 | |
2d03de9c AL |
1693 | PERL_CALLCONV char* Perl_re_intuit_start(pTHX_ regexp* prog, SV* sv, char* strpos, char* strend, U32 flags, struct re_scream_pos_data_s *data) |
1694 | __attribute__nonnull__(pTHX_1) | |
1695 | __attribute__nonnull__(pTHX_3) | |
1696 | __attribute__nonnull__(pTHX_4); | |
1697 | ||
1698 | PERL_CALLCONV SV* Perl_re_intuit_string(pTHX_ regexp* prog) | |
1699 | __attribute__nonnull__(pTHX_1); | |
1700 | ||
a3b680e6 | 1701 | PERL_CALLCONV I32 Perl_regexec_flags(pTHX_ regexp* prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, void* data, U32 flags) |
abb2c242 JH |
1702 | __attribute__nonnull__(pTHX_1) |
1703 | __attribute__nonnull__(pTHX_2) | |
1704 | __attribute__nonnull__(pTHX_3) | |
1705 | __attribute__nonnull__(pTHX_4); | |
a3b680e6 | 1706 | |
1df70142 AL |
1707 | PERL_CALLCONV regnode* Perl_regnext(pTHX_ regnode* p) |
1708 | __attribute__warn_unused_result__ | |
1709 | __attribute__nonnull__(pTHX_1); | |
1710 | ||
2d03de9c AL |
1711 | PERL_CALLCONV void Perl_regprop(pTHX_ SV* sv, const regnode* o) |
1712 | __attribute__nonnull__(pTHX_1) | |
1713 | __attribute__nonnull__(pTHX_2); | |
1714 | ||
4373e329 | 1715 | PERL_CALLCONV void Perl_repeatcpy(pTHX_ char* to, const char* from, I32 len, I32 count) |
abb2c242 JH |
1716 | __attribute__nonnull__(pTHX_1) |
1717 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1718 | |
4373e329 | 1719 | PERL_CALLCONV char* Perl_rninstr(pTHX_ const char* big, const char* bigend, const char* little, const char* lend) |
abb2c242 JH |
1720 | __attribute__pure__ |
1721 | __attribute__nonnull__(pTHX_1) | |
1722 | __attribute__nonnull__(pTHX_2) | |
1723 | __attribute__nonnull__(pTHX_3) | |
1724 | __attribute__nonnull__(pTHX_4); | |
f54cb97a | 1725 | |
1d7c1841 GS |
1726 | PERL_CALLCONV Sighandler_t Perl_rsignal(pTHX_ int i, Sighandler_t t); |
1727 | PERL_CALLCONV int Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t); | |
9a957fbc AL |
1728 | PERL_CALLCONV int Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* t2) |
1729 | __attribute__nonnull__(pTHX_3); | |
1730 | ||
1d7c1841 | 1731 | PERL_CALLCONV Sighandler_t Perl_rsignal_state(pTHX_ int i); |
a3b680e6 | 1732 | PERL_CALLCONV void Perl_rxres_free(pTHX_ void** rsp) |
abb2c242 | 1733 | __attribute__nonnull__(pTHX_1); |
a3b680e6 AL |
1734 | |
1735 | PERL_CALLCONV void Perl_rxres_restore(pTHX_ void** rsp, REGEXP* prx) | |
abb2c242 JH |
1736 | __attribute__nonnull__(pTHX_1) |
1737 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 AL |
1738 | |
1739 | PERL_CALLCONV void Perl_rxres_save(pTHX_ void** rsp, REGEXP* prx) | |
abb2c242 JH |
1740 | __attribute__nonnull__(pTHX_1) |
1741 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 | 1742 | |
cea2e8a9 | 1743 | #if !defined(HAS_RENAME) |
4373e329 | 1744 | PERL_CALLCONV I32 Perl_same_dirent(pTHX_ const char* a, const char* b) |
abb2c242 JH |
1745 | __attribute__nonnull__(pTHX_1) |
1746 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1747 | |
0cb96387 | 1748 | #endif |
53c1dcc0 AL |
1749 | PERL_CALLCONV char* Perl_savepv(pTHX_ const char* pv) |
1750 | __attribute__malloc__ | |
1751 | __attribute__warn_unused_result__ | |
1752 | __attribute__nonnull__(pTHX_1); | |
1753 | ||
1754 | PERL_CALLCONV char* Perl_savepvn(pTHX_ const char* pv, I32 len) | |
1755 | __attribute__malloc__ | |
1756 | __attribute__warn_unused_result__ | |
1757 | __attribute__nonnull__(pTHX_1); | |
1758 | ||
1759 | PERL_CALLCONV char* Perl_savesharedpv(pTHX_ const char* pv) | |
1760 | __attribute__malloc__ | |
1761 | __attribute__warn_unused_result__; | |
1762 | ||
1763 | PERL_CALLCONV char* Perl_savesvpv(pTHX_ SV* sv) | |
1764 | __attribute__malloc__ | |
1765 | __attribute__warn_unused_result__ | |
1766 | __attribute__nonnull__(pTHX_1); | |
1767 | ||
1d7c1841 | 1768 | PERL_CALLCONV void Perl_savestack_grow(pTHX); |
4b3c1a47 | 1769 | PERL_CALLCONV void Perl_savestack_grow_cnt(pTHX_ I32 need); |
9a957fbc AL |
1770 | PERL_CALLCONV void Perl_save_aelem(pTHX_ const AV* av, I32 idx, SV **sptr) |
1771 | __attribute__nonnull__(pTHX_1) | |
1772 | __attribute__nonnull__(pTHX_3); | |
1773 | ||
1d7c1841 | 1774 | PERL_CALLCONV I32 Perl_save_alloc(pTHX_ I32 size, I32 pad); |
9a957fbc AL |
1775 | PERL_CALLCONV void Perl_save_aptr(pTHX_ AV** aptr) |
1776 | __attribute__nonnull__(pTHX_1); | |
1777 | ||
1778 | PERL_CALLCONV AV* Perl_save_ary(pTHX_ GV* gv) | |
1779 | __attribute__nonnull__(pTHX_1); | |
1780 | ||
1781 | PERL_CALLCONV void Perl_save_bool(pTHX_ bool* boolp) | |
1782 | __attribute__nonnull__(pTHX_1); | |
1783 | ||
1784 | PERL_CALLCONV void Perl_save_clearsv(pTHX_ SV** svp) | |
1785 | __attribute__nonnull__(pTHX_1); | |
1786 | ||
1787 | PERL_CALLCONV void Perl_save_delete(pTHX_ HV* hv, char* key, I32 klen) | |
1788 | __attribute__nonnull__(pTHX_1) | |
1789 | __attribute__nonnull__(pTHX_2); | |
1790 | ||
1d7c1841 GS |
1791 | PERL_CALLCONV void Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p); |
1792 | PERL_CALLCONV void Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p); | |
1793 | PERL_CALLCONV void Perl_save_freesv(pTHX_ SV* sv); | |
1794 | PERL_CALLCONV void Perl_save_freeop(pTHX_ OP* o); | |
1795 | PERL_CALLCONV void Perl_save_freepv(pTHX_ char* pv); | |
9a957fbc AL |
1796 | PERL_CALLCONV void Perl_save_generic_svref(pTHX_ SV** sptr) |
1797 | __attribute__nonnull__(pTHX_1); | |
1798 | ||
1799 | PERL_CALLCONV void Perl_save_generic_pvref(pTHX_ char** str) | |
1800 | __attribute__nonnull__(pTHX_1); | |
1801 | ||
1802 | PERL_CALLCONV void Perl_save_shared_pvref(pTHX_ char** str) | |
1803 | __attribute__nonnull__(pTHX_1); | |
1804 | ||
aec46f14 AL |
1805 | PERL_CALLCONV void Perl_save_gp(pTHX_ GV* gv, I32 empty) |
1806 | __attribute__nonnull__(pTHX_1); | |
1807 | ||
1808 | PERL_CALLCONV HV* Perl_save_hash(pTHX_ GV* gv) | |
1809 | __attribute__nonnull__(pTHX_1); | |
1810 | ||
9a957fbc AL |
1811 | PERL_CALLCONV void Perl_save_helem(pTHX_ HV* hv, SV *key, SV **sptr) |
1812 | __attribute__nonnull__(pTHX_1) | |
1813 | __attribute__nonnull__(pTHX_2) | |
1814 | __attribute__nonnull__(pTHX_3); | |
1815 | ||
f54cb97a | 1816 | PERL_CALLCONV void Perl_save_hints(pTHX) |
abb2c242 | 1817 | __attribute__noreturn__; |
f54cb97a | 1818 | |
aec46f14 AL |
1819 | PERL_CALLCONV void Perl_save_hptr(pTHX_ HV** hptr) |
1820 | __attribute__nonnull__(pTHX_1); | |
1821 | ||
1822 | PERL_CALLCONV void Perl_save_I16(pTHX_ I16* intp) | |
1823 | __attribute__nonnull__(pTHX_1); | |
1824 | ||
1825 | PERL_CALLCONV void Perl_save_I32(pTHX_ I32* intp) | |
1826 | __attribute__nonnull__(pTHX_1); | |
1827 | ||
1828 | PERL_CALLCONV void Perl_save_I8(pTHX_ I8* bytep) | |
1829 | __attribute__nonnull__(pTHX_1); | |
1830 | ||
1831 | PERL_CALLCONV void Perl_save_int(pTHX_ int* intp) | |
1832 | __attribute__nonnull__(pTHX_1); | |
1833 | ||
1834 | PERL_CALLCONV void Perl_save_item(pTHX_ SV* item) | |
1835 | __attribute__nonnull__(pTHX_1); | |
1836 | ||
1837 | PERL_CALLCONV void Perl_save_iv(pTHX_ IV* iv) | |
1838 | __attribute__nonnull__(pTHX_1); | |
1839 | ||
1840 | PERL_CALLCONV void Perl_save_list(pTHX_ SV** sarg, I32 maxsarg) | |
1841 | __attribute__nonnull__(pTHX_1); | |
1842 | ||
1843 | PERL_CALLCONV void Perl_save_long(pTHX_ long* longp) | |
1844 | __attribute__nonnull__(pTHX_1); | |
1845 | ||
1846 | PERL_CALLCONV void Perl_save_mortalizesv(pTHX_ SV* sv) | |
1847 | __attribute__nonnull__(pTHX_1); | |
1848 | ||
1d7c1841 GS |
1849 | PERL_CALLCONV void Perl_save_nogv(pTHX_ GV* gv); |
1850 | PERL_CALLCONV void Perl_save_op(pTHX); | |
aec46f14 AL |
1851 | PERL_CALLCONV SV* Perl_save_scalar(pTHX_ GV* gv) |
1852 | __attribute__nonnull__(pTHX_1); | |
1853 | ||
1854 | PERL_CALLCONV void Perl_save_pptr(pTHX_ char** pptr) | |
1855 | __attribute__nonnull__(pTHX_1); | |
1856 | ||
1857 | PERL_CALLCONV void Perl_save_vptr(pTHX_ void* pptr) | |
1858 | __attribute__nonnull__(pTHX_1); | |
1859 | ||
1d7c1841 | 1860 | PERL_CALLCONV void Perl_save_re_context(pTHX); |
c3564e5c | 1861 | PERL_CALLCONV void Perl_save_padsv(pTHX_ PADOFFSET off); |
aec46f14 AL |
1862 | PERL_CALLCONV void Perl_save_sptr(pTHX_ SV** sptr) |
1863 | __attribute__nonnull__(pTHX_1); | |
1864 | ||
1865 | PERL_CALLCONV SV* Perl_save_svref(pTHX_ SV** sptr) | |
1866 | __attribute__nonnull__(pTHX_1); | |
1867 | ||
f54cb97a | 1868 | PERL_CALLCONV SV** Perl_save_threadsv(pTHX_ PADOFFSET i) |
abb2c242 | 1869 | __attribute__noreturn__; |
f54cb97a | 1870 | |
1d7c1841 GS |
1871 | PERL_CALLCONV OP* Perl_sawparens(pTHX_ OP* o); |
1872 | PERL_CALLCONV OP* Perl_scalar(pTHX_ OP* o); | |
1873 | PERL_CALLCONV OP* Perl_scalarkids(pTHX_ OP* o); | |
1874 | PERL_CALLCONV OP* Perl_scalarseq(pTHX_ OP* o); | |
aec46f14 AL |
1875 | PERL_CALLCONV OP* Perl_scalarvoid(pTHX_ OP* o) |
1876 | __attribute__nonnull__(pTHX_1); | |
1877 | ||
1878 | PERL_CALLCONV NV Perl_scan_bin(pTHX_ const char* start, STRLEN len, STRLEN* retlen) | |
1879 | __attribute__nonnull__(pTHX_1) | |
1880 | __attribute__nonnull__(pTHX_3); | |
1881 | ||
1882 | PERL_CALLCONV NV Perl_scan_hex(pTHX_ const char* start, STRLEN len, STRLEN* retlen) | |
1883 | __attribute__nonnull__(pTHX_1) | |
1884 | __attribute__nonnull__(pTHX_3); | |
1885 | ||
1886 | PERL_CALLCONV char* Perl_scan_num(pTHX_ const char* s, YYSTYPE *lvalp) | |
1887 | __attribute__nonnull__(pTHX_1) | |
1888 | __attribute__nonnull__(pTHX_2); | |
1889 | ||
1890 | PERL_CALLCONV NV Perl_scan_oct(pTHX_ const char* start, STRLEN len, STRLEN* retlen) | |
1891 | __attribute__nonnull__(pTHX_1) | |
1892 | __attribute__nonnull__(pTHX_3); | |
1893 | ||
1d7c1841 | 1894 | PERL_CALLCONV OP* Perl_scope(pTHX_ OP* o); |
aec46f14 AL |
1895 | PERL_CALLCONV char* Perl_screaminstr(pTHX_ SV *bigstr, SV *littlestr, I32 start_shift, I32 end_shift, I32 *oldposp, I32 last) |
1896 | __attribute__nonnull__(pTHX_1) | |
1897 | __attribute__nonnull__(pTHX_2) | |
1898 | __attribute__nonnull__(pTHX_5); | |
1899 | ||
864dbfa3 | 1900 | #if !defined(VMS) |
e1ec3a88 | 1901 | PERL_CALLCONV I32 Perl_setenv_getix(pTHX_ const char* nam); |
0cb96387 | 1902 | #endif |
1d7c1841 | 1903 | PERL_CALLCONV void Perl_setdefout(pTHX_ GV* gv); |
aec46f14 AL |
1904 | PERL_CALLCONV HEK* Perl_share_hek(pTHX_ const char* str, I32 len, U32 hash) |
1905 | __attribute__nonnull__(pTHX_1); | |
1906 | ||
8aad04aa JH |
1907 | #if defined(HAS_SIGACTION) && defined(SA_SIGINFO) |
1908 | PERL_CALLCONV Signal_t Perl_sighandler(int sig, ...); | |
1909 | PERL_CALLCONV Signal_t Perl_csighandler(int sig, ...); | |
1910 | #else | |
1d7c1841 | 1911 | PERL_CALLCONV Signal_t Perl_sighandler(int sig); |
d36b6582 | 1912 | PERL_CALLCONV Signal_t Perl_csighandler(int sig); |
8aad04aa | 1913 | #endif |
4373e329 | 1914 | PERL_CALLCONV SV** Perl_stack_grow(pTHX_ SV** sp, SV**p, int n) |
abb2c242 JH |
1915 | __attribute__nonnull__(pTHX_1) |
1916 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1917 | |
a3b680e6 | 1918 | PERL_CALLCONV I32 Perl_start_subparse(pTHX_ I32 is_format, U32 flags) |
abb2c242 | 1919 | __attribute__warn_unused_result__; |
a3b680e6 | 1920 | |
aec46f14 AL |
1921 | PERL_CALLCONV void Perl_sub_crush_depth(pTHX_ CV* cv) |
1922 | __attribute__nonnull__(pTHX_1); | |
1923 | ||
4373e329 | 1924 | PERL_CALLCONV bool Perl_sv_2bool(pTHX_ SV* sv) |
abb2c242 | 1925 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1926 | |
1927 | PERL_CALLCONV CV* Perl_sv_2cv(pTHX_ SV* sv, HV** st, GV** gvp, I32 lref) | |
aec46f14 AL |
1928 | __attribute__nonnull__(pTHX_2) |
1929 | __attribute__nonnull__(pTHX_3); | |
f54cb97a AL |
1930 | |
1931 | PERL_CALLCONV IO* Perl_sv_2io(pTHX_ SV* sv) | |
abb2c242 | 1932 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1933 | |
1934 | /* PERL_CALLCONV IV sv_2iv(pTHX_ SV* sv) | |
abb2c242 | 1935 | __attribute__nonnull__(pTHX_1); */ |
f54cb97a AL |
1936 | |
1937 | PERL_CALLCONV IV Perl_sv_2iv_flags(pTHX_ SV* sv, I32 flags) | |
abb2c242 | 1938 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1939 | |
1940 | PERL_CALLCONV SV* Perl_sv_2mortal(pTHX_ SV* sv) | |
abb2c242 | 1941 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1942 | |
1943 | PERL_CALLCONV NV Perl_sv_2nv(pTHX_ SV* sv) | |
abb2c242 | 1944 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1945 | |
4373e329 | 1946 | /* PERL_CALLCONV char* sv_2pv(pTHX_ SV* sv, STRLEN* lp) |
f49ed1da | 1947 | __attribute__nonnull__(pTHX_1); */ |
f54cb97a | 1948 | |
4373e329 | 1949 | PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV* sv, STRLEN* lp, I32 flags) |
f49ed1da | 1950 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1951 | |
4373e329 | 1952 | PERL_CALLCONV char* Perl_sv_2pvutf8(pTHX_ SV* sv, STRLEN* lp) |
f49ed1da | 1953 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1954 | |
4373e329 | 1955 | PERL_CALLCONV char* Perl_sv_2pvbyte(pTHX_ SV* sv, STRLEN* lp) |
f49ed1da | 1956 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1957 | |
4373e329 | 1958 | PERL_CALLCONV char* Perl_sv_pvn_nomg(pTHX_ SV* sv, STRLEN* lp) |
f49ed1da | 1959 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1960 | |
4373e329 | 1961 | /* PERL_CALLCONV UV sv_2uv(pTHX_ SV* sv) |
abb2c242 | 1962 | __attribute__nonnull__(pTHX_1); */ |
f54cb97a | 1963 | |
4373e329 | 1964 | PERL_CALLCONV UV Perl_sv_2uv_flags(pTHX_ SV* sv, I32 flags) |
abb2c242 | 1965 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1966 | |
4373e329 | 1967 | PERL_CALLCONV IV Perl_sv_iv(pTHX_ SV* sv) |
abb2c242 | 1968 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1969 | |
4373e329 | 1970 | PERL_CALLCONV UV Perl_sv_uv(pTHX_ SV* sv) |
abb2c242 | 1971 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1972 | |
4373e329 | 1973 | PERL_CALLCONV NV Perl_sv_nv(pTHX_ SV* sv) |
abb2c242 | 1974 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 1975 | |
4373e329 | 1976 | PERL_CALLCONV char* Perl_sv_pvn(pTHX_ SV *sv, STRLEN *len) |
abb2c242 JH |
1977 | __attribute__nonnull__(pTHX_1) |
1978 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1979 | |
4373e329 | 1980 | PERL_CALLCONV char* Perl_sv_pvutf8n(pTHX_ SV *sv, STRLEN *len) |
abb2c242 JH |
1981 | __attribute__nonnull__(pTHX_1) |
1982 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1983 | |
4373e329 | 1984 | PERL_CALLCONV char* Perl_sv_pvbyten(pTHX_ SV *sv, STRLEN *len) |
abb2c242 JH |
1985 | __attribute__nonnull__(pTHX_1) |
1986 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1987 | |
aec46f14 | 1988 | PERL_CALLCONV I32 Perl_sv_true(pTHX_ SV *sv); |
f54cb97a | 1989 | PERL_CALLCONV void Perl_sv_add_arena(pTHX_ char* ptr, U32 size, U32 flags) |
abb2c242 | 1990 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1991 | |
1992 | PERL_CALLCONV int Perl_sv_backoff(pTHX_ SV* sv) | |
abb2c242 | 1993 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
1994 | |
1995 | PERL_CALLCONV SV* Perl_sv_bless(pTHX_ SV* sv, HV* stash) | |
abb2c242 JH |
1996 | __attribute__nonnull__(pTHX_1) |
1997 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 1998 | |
894356b3 | 1999 | PERL_CALLCONV void Perl_sv_catpvf(pTHX_ SV* sv, const char* pat, ...) |
f54cb97a | 2000 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
aec46f14 AL |
2001 | __attribute__nonnull__(pTHX_1) |
2002 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
2003 | |
2004 | PERL_CALLCONV void Perl_sv_vcatpvf(pTHX_ SV* sv, const char* pat, va_list* args) | |
aec46f14 AL |
2005 | __attribute__nonnull__(pTHX_1) |
2006 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
2007 | |
2008 | PERL_CALLCONV void Perl_sv_catpv(pTHX_ SV* sv, const char* ptr) | |
aec46f14 AL |
2009 | __attribute__nonnull__(pTHX_1) |
2010 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
2011 | |
2012 | /* PERL_CALLCONV void sv_catpvn(pTHX_ SV* sv, const char* ptr, STRLEN len) | |
aec46f14 AL |
2013 | __attribute__nonnull__(pTHX_1) |
2014 | __attribute__nonnull__(pTHX_2); */ | |
f54cb97a AL |
2015 | |
2016 | /* PERL_CALLCONV void sv_catsv(pTHX_ SV* dsv, SV* ssv) | |
abb2c242 | 2017 | __attribute__nonnull__(pTHX_1); */ |
f54cb97a AL |
2018 | |
2019 | PERL_CALLCONV void Perl_sv_chop(pTHX_ SV* sv, const char* ptr) | |
abb2c242 | 2020 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2021 | |
5226ed68 | 2022 | PERL_CALLCONV I32 Perl_sv_clean_all(pTHX); |
1d7c1841 | 2023 | PERL_CALLCONV void Perl_sv_clean_objs(pTHX); |
f54cb97a | 2024 | PERL_CALLCONV void Perl_sv_clear(pTHX_ SV* sv) |
abb2c242 | 2025 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2026 | |
2027 | PERL_CALLCONV I32 Perl_sv_cmp(pTHX_ SV* sv1, SV* sv2) | |
abb2c242 JH |
2028 | __attribute__nonnull__(pTHX_1) |
2029 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
2030 | |
2031 | PERL_CALLCONV I32 Perl_sv_cmp_locale(pTHX_ SV* sv1, SV* sv2) | |
abb2c242 JH |
2032 | __attribute__nonnull__(pTHX_1) |
2033 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2034 | |
864dbfa3 | 2035 | #if defined(USE_LOCALE_COLLATE) |
f54cb97a | 2036 | PERL_CALLCONV char* Perl_sv_collxfrm(pTHX_ SV* sv, STRLEN* nxp) |
1df70142 AL |
2037 | __attribute__nonnull__(pTHX_1) |
2038 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2039 | |
0cb96387 | 2040 | #endif |
4373e329 | 2041 | PERL_CALLCONV OP* Perl_sv_compile_2op(pTHX_ SV* sv, OP** startp, const char* code, PAD** padp) |
abb2c242 JH |
2042 | __attribute__nonnull__(pTHX_1) |
2043 | __attribute__nonnull__(pTHX_2) | |
2044 | __attribute__nonnull__(pTHX_3) | |
2045 | __attribute__nonnull__(pTHX_4); | |
f54cb97a | 2046 | |
4373e329 | 2047 | PERL_CALLCONV int Perl_getcwd_sv(pTHX_ SV* sv) |
abb2c242 | 2048 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2049 | |
2050 | PERL_CALLCONV void Perl_sv_dec(pTHX_ SV* sv) | |
abb2c242 | 2051 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2052 | |
2053 | PERL_CALLCONV void Perl_sv_dump(pTHX_ SV* sv) | |
abb2c242 | 2054 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2055 | |
4373e329 | 2056 | PERL_CALLCONV bool Perl_sv_derived_from(pTHX_ SV* sv, const char* name) |
abb2c242 JH |
2057 | __attribute__warn_unused_result__ |
2058 | __attribute__nonnull__(pTHX_1) | |
2059 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2060 | |
4373e329 | 2061 | PERL_CALLCONV I32 Perl_sv_eq(pTHX_ SV* sv1, SV* sv2) |
abb2c242 JH |
2062 | __attribute__nonnull__(pTHX_1) |
2063 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2064 | |
1d7c1841 | 2065 | PERL_CALLCONV void Perl_sv_free(pTHX_ SV* sv); |
4373e329 | 2066 | PERL_CALLCONV void Perl_sv_free2(pTHX_ SV* sv) |
abb2c242 | 2067 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2068 | |
1d7c1841 | 2069 | PERL_CALLCONV void Perl_sv_free_arenas(pTHX); |
4373e329 | 2070 | PERL_CALLCONV char* Perl_sv_gets(pTHX_ SV* sv, PerlIO* fp, I32 append) |
abb2c242 JH |
2071 | __attribute__nonnull__(pTHX_1) |
2072 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2073 | |
4373e329 | 2074 | PERL_CALLCONV char* Perl_sv_grow(pTHX_ SV* sv, STRLEN newlen) |
abb2c242 | 2075 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2076 | |
2077 | PERL_CALLCONV void Perl_sv_inc(pTHX_ SV* sv) | |
abb2c242 | 2078 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2079 | |
4373e329 | 2080 | PERL_CALLCONV void Perl_sv_insert(pTHX_ SV* bigsv, STRLEN offset, STRLEN len, const char* little, STRLEN littlelen) |
abb2c242 JH |
2081 | __attribute__nonnull__(pTHX_1) |
2082 | __attribute__nonnull__(pTHX_4); | |
f54cb97a AL |
2083 | |
2084 | PERL_CALLCONV int Perl_sv_isa(pTHX_ SV* sv, const char* name) | |
aec46f14 | 2085 | __attribute__nonnull__(pTHX_2); |
f54cb97a | 2086 | |
aec46f14 | 2087 | PERL_CALLCONV int Perl_sv_isobject(pTHX_ SV* sv); |
9d4ba2ae AL |
2088 | PERL_CALLCONV STRLEN Perl_sv_len(pTHX_ SV* sv); |
2089 | PERL_CALLCONV STRLEN Perl_sv_len_utf8(pTHX_ SV* sv); | |
f54cb97a | 2090 | PERL_CALLCONV void Perl_sv_magic(pTHX_ SV* sv, SV* obj, int how, const char* name, I32 namlen) |
abb2c242 | 2091 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2092 | |
2093 | PERL_CALLCONV MAGIC * Perl_sv_magicext(pTHX_ SV* sv, SV* obj, int how, const MGVTBL *vtbl, const char* name, I32 namlen) | |
abb2c242 | 2094 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2095 | |
4373e329 | 2096 | PERL_CALLCONV SV* Perl_sv_mortalcopy(pTHX_ SV* oldsv) |
1b6737cc AL |
2097 | __attribute__malloc__ |
2098 | __attribute__warn_unused_result__; | |
f54cb97a AL |
2099 | |
2100 | PERL_CALLCONV SV* Perl_sv_newmortal(pTHX) | |
abb2c242 | 2101 | __attribute__warn_unused_result__; |
f54cb97a | 2102 | |
1d7c1841 GS |
2103 | PERL_CALLCONV SV* Perl_sv_newref(pTHX_ SV* sv); |
2104 | PERL_CALLCONV char* Perl_sv_peek(pTHX_ SV* sv); | |
b464bac0 AL |
2105 | PERL_CALLCONV void Perl_sv_pos_u2b(pTHX_ SV* sv, I32* offsetp, I32* lenp) |
2106 | __attribute__nonnull__(pTHX_2); | |
2107 | ||
2108 | PERL_CALLCONV void Perl_sv_pos_b2u(pTHX_ SV* sv, I32* offsetp) | |
2109 | __attribute__nonnull__(pTHX_2); | |
2110 | ||
aec46f14 AL |
2111 | /* PERL_CALLCONV char* sv_pvn_force(pTHX_ SV* sv, STRLEN* lp) |
2112 | __attribute__nonnull__(pTHX_1); */ | |
2113 | ||
2114 | PERL_CALLCONV char* Perl_sv_pvutf8n_force(pTHX_ SV* sv, STRLEN* lp) | |
2115 | __attribute__nonnull__(pTHX_1); | |
2116 | ||
2117 | PERL_CALLCONV char* Perl_sv_pvbyten_force(pTHX_ SV* sv, STRLEN* lp) | |
2118 | __attribute__nonnull__(pTHX_1); | |
2119 | ||
2120 | PERL_CALLCONV char* Perl_sv_recode_to_utf8(pTHX_ SV* sv, SV *encoding) | |
2121 | __attribute__nonnull__(pTHX_1) | |
2122 | __attribute__nonnull__(pTHX_2); | |
2123 | ||
2124 | PERL_CALLCONV bool Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen) | |
2125 | __attribute__nonnull__(pTHX_1) | |
2126 | __attribute__nonnull__(pTHX_2) | |
2127 | __attribute__nonnull__(pTHX_3) | |
2128 | __attribute__nonnull__(pTHX_4) | |
2129 | __attribute__nonnull__(pTHX_5); | |
2130 | ||
a3b680e6 | 2131 | PERL_CALLCONV char* Perl_sv_reftype(pTHX_ const SV* sv, int ob) |
abb2c242 JH |
2132 | __attribute__warn_unused_result__ |
2133 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
2134 | |
2135 | PERL_CALLCONV void Perl_sv_replace(pTHX_ SV* sv, SV* nsv) | |
abb2c242 JH |
2136 | __attribute__nonnull__(pTHX_1) |
2137 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 | 2138 | |
1d7c1841 | 2139 | PERL_CALLCONV void Perl_sv_report_used(pTHX); |
504618e9 AL |
2140 | PERL_CALLCONV void Perl_sv_reset(pTHX_ const char* s, HV* stash) |
2141 | __attribute__nonnull__(pTHX_1); | |
2142 | ||
894356b3 | 2143 | PERL_CALLCONV void Perl_sv_setpvf(pTHX_ SV* sv, const char* pat, ...) |
aec46f14 AL |
2144 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
2145 | __attribute__nonnull__(pTHX_1) | |
2146 | __attribute__nonnull__(pTHX_2); | |
2147 | ||
2148 | PERL_CALLCONV void Perl_sv_vsetpvf(pTHX_ SV* sv, const char* pat, va_list* args) | |
2149 | __attribute__nonnull__(pTHX_1) | |
2150 | __attribute__nonnull__(pTHX_2); | |
2151 | ||
2152 | PERL_CALLCONV void Perl_sv_setiv(pTHX_ SV* sv, IV num) | |
2153 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 2154 | |
504618e9 AL |
2155 | PERL_CALLCONV void Perl_sv_setpviv(pTHX_ SV* sv, IV num) |
2156 | __attribute__nonnull__(pTHX_1); | |
2157 | ||
aec46f14 AL |
2158 | PERL_CALLCONV void Perl_sv_setuv(pTHX_ SV* sv, UV num) |
2159 | __attribute__nonnull__(pTHX_1); | |
2160 | ||
2161 | PERL_CALLCONV void Perl_sv_setnv(pTHX_ SV* sv, NV num) | |
2162 | __attribute__nonnull__(pTHX_1); | |
2163 | ||
2164 | PERL_CALLCONV SV* Perl_sv_setref_iv(pTHX_ SV* rv, const char* classname, IV iv) | |
2165 | __attribute__nonnull__(pTHX_1); | |
2166 | ||
2167 | PERL_CALLCONV SV* Perl_sv_setref_uv(pTHX_ SV* rv, const char* classname, UV uv) | |
2168 | __attribute__nonnull__(pTHX_1); | |
2169 | ||
2170 | PERL_CALLCONV SV* Perl_sv_setref_nv(pTHX_ SV* rv, const char* classname, NV nv) | |
2171 | __attribute__nonnull__(pTHX_1); | |
2172 | ||
2173 | PERL_CALLCONV SV* Perl_sv_setref_pv(pTHX_ SV* rv, const char* classname, void* pv) | |
2174 | __attribute__nonnull__(pTHX_1); | |
2175 | ||
1b6737cc | 2176 | PERL_CALLCONV SV* Perl_sv_setref_pvn(pTHX_ SV* rv, const char* classname, const char* pv, STRLEN n) |
aec46f14 | 2177 | __attribute__nonnull__(pTHX_1) |
1b6737cc AL |
2178 | __attribute__nonnull__(pTHX_3); |
2179 | ||
aec46f14 AL |
2180 | PERL_CALLCONV void Perl_sv_setpv(pTHX_ SV* sv, const char* ptr) |
2181 | __attribute__nonnull__(pTHX_1); | |
2182 | ||
4373e329 | 2183 | PERL_CALLCONV void Perl_sv_setpvn(pTHX_ SV* sv, const char* ptr, STRLEN len) |
abb2c242 | 2184 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2185 | |
aec46f14 AL |
2186 | /* PERL_CALLCONV void sv_setsv(pTHX_ SV* dsv, SV* ssv) |
2187 | __attribute__nonnull__(pTHX_1); */ | |
2188 | ||
2189 | PERL_CALLCONV void Perl_sv_taint(pTHX_ SV* sv) | |
2190 | __attribute__nonnull__(pTHX_1); | |
2191 | ||
a28509cc | 2192 | PERL_CALLCONV bool Perl_sv_tainted(pTHX_ SV* sv) |
aec46f14 AL |
2193 | __attribute__warn_unused_result__ |
2194 | __attribute__nonnull__(pTHX_1); | |
a28509cc | 2195 | |
f54cb97a | 2196 | PERL_CALLCONV int Perl_sv_unmagic(pTHX_ SV* sv, int type) |
abb2c242 | 2197 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2198 | |
2199 | PERL_CALLCONV void Perl_sv_unref(pTHX_ SV* sv) | |
abb2c242 | 2200 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2201 | |
2202 | PERL_CALLCONV void Perl_sv_unref_flags(pTHX_ SV* sv, U32 flags) | |
abb2c242 | 2203 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2204 | |
2205 | PERL_CALLCONV void Perl_sv_untaint(pTHX_ SV* sv) | |
abb2c242 | 2206 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2207 | |
63f97190 | 2208 | PERL_CALLCONV void Perl_sv_upgrade(pTHX_ SV* sv, U32 mt) |
abb2c242 | 2209 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2210 | |
2211 | PERL_CALLCONV void Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len) | |
abb2c242 | 2212 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2213 | |
2214 | PERL_CALLCONV void Perl_sv_vcatpvfn(pTHX_ SV* sv, const char* pat, STRLEN patlen, va_list* args, SV** svargs, I32 svmax, bool *maybe_tainted) | |
abb2c242 JH |
2215 | __attribute__nonnull__(pTHX_1) |
2216 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
2217 | |
2218 | PERL_CALLCONV void Perl_sv_vsetpvfn(pTHX_ SV* sv, const char* pat, STRLEN patlen, va_list* args, SV** svargs, I32 svmax, bool *maybe_tainted) | |
abb2c242 JH |
2219 | __attribute__nonnull__(pTHX_1) |
2220 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2221 | |
aec46f14 AL |
2222 | PERL_CALLCONV NV Perl_str_to_version(pTHX_ SV *sv) |
2223 | __attribute__warn_unused_result__ | |
2224 | __attribute__nonnull__(pTHX_1); | |
2225 | ||
2226 | PERL_CALLCONV SV* Perl_swash_init(pTHX_ const char* pkg, const char* name, SV* listsv, I32 minbits, I32 none) | |
2227 | __attribute__nonnull__(pTHX_1) | |
2228 | __attribute__nonnull__(pTHX_2) | |
2229 | __attribute__nonnull__(pTHX_3); | |
2230 | ||
2231 | PERL_CALLCONV UV Perl_swash_fetch(pTHX_ SV *sv, const U8 *ptr, bool do_utf8) | |
2232 | __attribute__nonnull__(pTHX_1) | |
2233 | __attribute__nonnull__(pTHX_2); | |
2234 | ||
1d7c1841 | 2235 | PERL_CALLCONV void Perl_taint_env(pTHX); |
8772537c AL |
2236 | PERL_CALLCONV void Perl_taint_proper(pTHX_ const char* f, const char* s) |
2237 | __attribute__nonnull__(pTHX_2); | |
2238 | ||
9a957fbc | 2239 | PERL_CALLCONV UV Perl_to_utf8_case(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, SV **swashp, const char *normal, const char *special) |
abb2c242 | 2240 | __attribute__nonnull__(pTHX_1) |
9a957fbc AL |
2241 | __attribute__nonnull__(pTHX_2) |
2242 | __attribute__nonnull__(pTHX_4); | |
f54cb97a AL |
2243 | |
2244 | PERL_CALLCONV UV Perl_to_utf8_lower(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp) | |
abb2c242 JH |
2245 | __attribute__nonnull__(pTHX_1) |
2246 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
2247 | |
2248 | PERL_CALLCONV UV Perl_to_utf8_upper(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp) | |
abb2c242 JH |
2249 | __attribute__nonnull__(pTHX_1) |
2250 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
2251 | |
2252 | PERL_CALLCONV UV Perl_to_utf8_title(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp) | |
abb2c242 JH |
2253 | __attribute__nonnull__(pTHX_1) |
2254 | __attribute__nonnull__(pTHX_2); | |
f54cb97a AL |
2255 | |
2256 | PERL_CALLCONV UV Perl_to_utf8_fold(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp) | |
abb2c242 JH |
2257 | __attribute__nonnull__(pTHX_1) |
2258 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2259 | |
864dbfa3 | 2260 | #if defined(UNLINK_ALL_VERSIONS) |
6e732051 | 2261 | PERL_CALLCONV I32 Perl_unlnk(pTHX_ const char* f) |
aec46f14 AL |
2262 | __attribute__nonnull__(pTHX_1); |
2263 | ||
864dbfa3 | 2264 | #endif |
aec46f14 AL |
2265 | PERL_CALLCONV I32 Perl_unpack_str(pTHX_ const char *pat, const char *patend, const char *s, const char *strbeg, const char *strend, char **new_s, I32 ocnt, U32 flags) |
2266 | __attribute__nonnull__(pTHX_1) | |
2267 | __attribute__nonnull__(pTHX_2) | |
2268 | __attribute__nonnull__(pTHX_3) | |
2269 | __attribute__nonnull__(pTHX_5); | |
2270 | ||
2271 | PERL_CALLCONV I32 Perl_unpackstring(pTHX_ const char *pat, const char *patend, const char *s, const char *strend, U32 flags) | |
2272 | __attribute__nonnull__(pTHX_1) | |
2273 | __attribute__nonnull__(pTHX_2) | |
2274 | __attribute__nonnull__(pTHX_3) | |
2275 | __attribute__nonnull__(pTHX_4); | |
2276 | ||
1d7c1841 GS |
2277 | PERL_CALLCONV void Perl_unsharepvn(pTHX_ const char* sv, I32 len, U32 hash); |
2278 | PERL_CALLCONV void Perl_unshare_hek(pTHX_ HEK* hek); | |
aec46f14 AL |
2279 | PERL_CALLCONV void Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg) |
2280 | __attribute__nonnull__(pTHX_4); | |
2281 | ||
2282 | PERL_CALLCONV U8* Perl_utf16_to_utf8(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen) | |
2283 | __attribute__nonnull__(pTHX_1) | |
2284 | __attribute__nonnull__(pTHX_2) | |
2285 | __attribute__nonnull__(pTHX_4); | |
2286 | ||
2287 | PERL_CALLCONV U8* Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen) | |
2288 | __attribute__nonnull__(pTHX_1) | |
2289 | __attribute__nonnull__(pTHX_2) | |
2290 | __attribute__nonnull__(pTHX_4); | |
2291 | ||
4373e329 | 2292 | PERL_CALLCONV STRLEN Perl_utf8_length(pTHX_ const U8* s, const U8 *e) |
abb2c242 JH |
2293 | __attribute__warn_unused_result__ |
2294 | __attribute__pure__ | |
2295 | __attribute__nonnull__(pTHX_1) | |
2296 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2297 | |
4373e329 | 2298 | PERL_CALLCONV IV Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b) |
abb2c242 JH |
2299 | __attribute__warn_unused_result__ |
2300 | __attribute__pure__ | |
2301 | __attribute__nonnull__(pTHX_1) | |
2302 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2303 | |
4373e329 | 2304 | PERL_CALLCONV U8* Perl_utf8_hop(pTHX_ const U8 *s, I32 off) |
abb2c242 JH |
2305 | __attribute__warn_unused_result__ |
2306 | __attribute__pure__ | |
2307 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 2308 | |
4373e329 | 2309 | PERL_CALLCONV U8* Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *len) |
abb2c242 JH |
2310 | __attribute__nonnull__(pTHX_1) |
2311 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 2312 | |
aec46f14 AL |
2313 | PERL_CALLCONV U8* Perl_bytes_from_utf8(pTHX_ const U8 *s, STRLEN *len, bool *is_utf8) |
2314 | __attribute__nonnull__(pTHX_1) | |
2315 | __attribute__nonnull__(pTHX_2); | |
2316 | ||
2317 | PERL_CALLCONV U8* Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *len) | |
2318 | __attribute__nonnull__(pTHX_1) | |
2319 | __attribute__nonnull__(pTHX_2); | |
2320 | ||
2321 | PERL_CALLCONV UV Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen) | |
2322 | __attribute__nonnull__(pTHX_1); | |
2323 | ||
2324 | PERL_CALLCONV UV Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen) | |
2325 | __attribute__nonnull__(pTHX_1); | |
2326 | ||
2327 | PERL_CALLCONV UV Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags) | |
2328 | __attribute__nonnull__(pTHX_1); | |
2329 | ||
2330 | PERL_CALLCONV UV Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags) | |
2331 | __attribute__nonnull__(pTHX_1); | |
2332 | ||
4373e329 | 2333 | PERL_CALLCONV U8* Perl_uvchr_to_utf8(pTHX_ U8 *d, UV uv) |
abb2c242 | 2334 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2335 | |
4373e329 | 2336 | PERL_CALLCONV U8* Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv) |
abb2c242 | 2337 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2338 | |
4373e329 | 2339 | PERL_CALLCONV U8* Perl_uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags) |
abb2c242 | 2340 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2341 | |
4373e329 | 2342 | PERL_CALLCONV U8* Perl_uvuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags) |
abb2c242 | 2343 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2344 | |
e1ec3a88 | 2345 | PERL_CALLCONV char* Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags); |
a3b680e6 | 2346 | PERL_CALLCONV char* Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags) |
abb2c242 | 2347 | __attribute__warn_unused_result__; |
a3b680e6 | 2348 | |
aec46f14 AL |
2349 | PERL_CALLCONV void Perl_vivify_defelem(pTHX_ SV* sv) |
2350 | __attribute__nonnull__(pTHX_1); | |
2351 | ||
2352 | PERL_CALLCONV void Perl_vivify_ref(pTHX_ SV* sv, U32 to_what) | |
2353 | __attribute__nonnull__(pTHX_1); | |
2354 | ||
2355 | PERL_CALLCONV I32 Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags) | |
2356 | __attribute__nonnull__(pTHX_2); | |
2357 | ||
e1ec3a88 | 2358 | PERL_CALLCONV U32 Perl_parse_unicode_opts(pTHX_ const char **popt); |
132efe8b | 2359 | PERL_CALLCONV U32 Perl_seed(pTHX); |
255164ba DM |
2360 | PERL_CALLCONV UV Perl_get_hash_seed(pTHX) |
2361 | __attribute__warn_unused_result__; | |
2362 | ||
e1ec3a88 | 2363 | PERL_CALLCONV void Perl_report_evil_fh(pTHX_ const GV *gv, const IO *io, I32 op); |
29489e7c | 2364 | PERL_CALLCONV void Perl_report_uninit(pTHX_ SV* uninit_sv); |
894356b3 | 2365 | PERL_CALLCONV void Perl_warn(pTHX_ const char* pat, ...) |
aec46f14 AL |
2366 | __attribute__format__(__printf__,pTHX_1,pTHX_2) |
2367 | __attribute__nonnull__(pTHX_1); | |
2368 | ||
2369 | PERL_CALLCONV void Perl_vwarn(pTHX_ const char* pat, va_list* args) | |
2370 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 2371 | |
894356b3 | 2372 | PERL_CALLCONV void Perl_warner(pTHX_ U32 err, const char* pat, ...) |
aec46f14 AL |
2373 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
2374 | __attribute__nonnull__(pTHX_2); | |
2375 | ||
2376 | PERL_CALLCONV void Perl_vwarner(pTHX_ U32 err, const char* pat, va_list* args) | |
2377 | __attribute__nonnull__(pTHX_2); | |
2378 | ||
2379 | PERL_CALLCONV void Perl_watch(pTHX_ char** addr) | |
2380 | __attribute__nonnull__(pTHX_1); | |
2381 | ||
2382 | PERL_CALLCONV I32 Perl_whichsig(pTHX_ const char* sig) | |
2383 | __attribute__nonnull__(pTHX_1); | |
2384 | ||
2385 | PERL_CALLCONV void Perl_write_to_stderr(pTHX_ const char* message, int msglen) | |
2386 | __attribute__nonnull__(pTHX_1); | |
2387 | ||
2388 | PERL_CALLCONV int Perl_yyerror(pTHX_ const char* s) | |
2389 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 2390 | |
48cf72c8 | 2391 | PERL_CALLCONV int Perl_yylex(pTHX); |
1d7c1841 | 2392 | PERL_CALLCONV int Perl_yyparse(pTHX); |
aec46f14 AL |
2393 | PERL_CALLCONV int Perl_yywarn(pTHX_ const char* s) |
2394 | __attribute__nonnull__(pTHX_1); | |
2395 | ||
cea2e8a9 | 2396 | #if defined(MYMALLOC) |
aec46f14 AL |
2397 | PERL_CALLCONV void Perl_dump_mstats(pTHX_ char* s) |
2398 | __attribute__nonnull__(pTHX_1); | |
2399 | ||
255164ba | 2400 | PERL_CALLCONV int Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level) |
255164ba DM |
2401 | __attribute__nonnull__(pTHX_1); |
2402 | ||
0cb96387 | 2403 | #endif |
4373e329 | 2404 | PERL_CALLCONV Malloc_t Perl_safesysmalloc(MEM_SIZE nbytes) |
abb2c242 JH |
2405 | __attribute__malloc__ |
2406 | __attribute__warn_unused_result__; | |
f54cb97a | 2407 | |
4373e329 | 2408 | PERL_CALLCONV Malloc_t Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size) |
abb2c242 JH |
2409 | __attribute__malloc__ |
2410 | __attribute__warn_unused_result__; | |
f54cb97a | 2411 | |
4373e329 | 2412 | PERL_CALLCONV Malloc_t Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes) |
abb2c242 JH |
2413 | __attribute__malloc__ |
2414 | __attribute__warn_unused_result__; | |
f54cb97a | 2415 | |
1d7c1841 | 2416 | PERL_CALLCONV Free_t Perl_safesysfree(Malloc_t where); |
cea2e8a9 | 2417 | #if defined(PERL_GLOBAL_STRUCT) |
1d7c1841 | 2418 | PERL_CALLCONV struct perl_vars * Perl_GetVars(pTHX); |
77304e85 SH |
2419 | PERL_CALLCONV struct perl_vars* Perl_init_global_struct(pTHX); |
2420 | PERL_CALLCONV void Perl_free_global_struct(pTHX_ struct perl_vars*); | |
1d7c1841 GS |
2421 | #endif |
2422 | PERL_CALLCONV int Perl_runops_standard(pTHX); | |
2423 | PERL_CALLCONV int Perl_runops_debug(pTHX); | |
894356b3 | 2424 | PERL_CALLCONV void Perl_sv_catpvf_mg(pTHX_ SV *sv, const char* pat, ...) |
aec46f14 AL |
2425 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
2426 | __attribute__nonnull__(pTHX_1) | |
2427 | __attribute__nonnull__(pTHX_2); | |
2428 | ||
2429 | PERL_CALLCONV void Perl_sv_vcatpvf_mg(pTHX_ SV* sv, const char* pat, va_list* args) | |
2430 | __attribute__nonnull__(pTHX_1) | |
2431 | __attribute__nonnull__(pTHX_2); | |
2432 | ||
2433 | PERL_CALLCONV void Perl_sv_catpv_mg(pTHX_ SV *sv, const char *ptr) | |
2434 | __attribute__nonnull__(pTHX_1) | |
2435 | __attribute__nonnull__(pTHX_2); | |
2436 | ||
2437 | PERL_CALLCONV void Perl_sv_catpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len) | |
2438 | __attribute__nonnull__(pTHX_1) | |
2439 | __attribute__nonnull__(pTHX_2); | |
2440 | ||
2441 | PERL_CALLCONV void Perl_sv_catsv_mg(pTHX_ SV *dstr, SV *sstr) | |
2442 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 2443 | |
894356b3 | 2444 | PERL_CALLCONV void Perl_sv_setpvf_mg(pTHX_ SV *sv, const char* pat, ...) |
aec46f14 AL |
2445 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
2446 | __attribute__nonnull__(pTHX_1) | |
2447 | __attribute__nonnull__(pTHX_2); | |
2448 | ||
2449 | PERL_CALLCONV void Perl_sv_vsetpvf_mg(pTHX_ SV* sv, const char* pat, va_list* args) | |
2450 | __attribute__nonnull__(pTHX_1) | |
2451 | __attribute__nonnull__(pTHX_2); | |
2452 | ||
2453 | PERL_CALLCONV void Perl_sv_setiv_mg(pTHX_ SV *sv, IV i) | |
2454 | __attribute__nonnull__(pTHX_1); | |
f54cb97a | 2455 | |
504618e9 AL |
2456 | PERL_CALLCONV void Perl_sv_setpviv_mg(pTHX_ SV *sv, IV iv) |
2457 | __attribute__nonnull__(pTHX_1); | |
2458 | ||
aec46f14 AL |
2459 | PERL_CALLCONV void Perl_sv_setuv_mg(pTHX_ SV *sv, UV u) |
2460 | __attribute__nonnull__(pTHX_1); | |
2461 | ||
2462 | PERL_CALLCONV void Perl_sv_setnv_mg(pTHX_ SV *sv, NV num) | |
2463 | __attribute__nonnull__(pTHX_1); | |
2464 | ||
2465 | PERL_CALLCONV void Perl_sv_setpv_mg(pTHX_ SV *sv, const char *ptr) | |
2466 | __attribute__nonnull__(pTHX_1); | |
2467 | ||
2468 | PERL_CALLCONV void Perl_sv_setpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len) | |
2469 | __attribute__nonnull__(pTHX_1) | |
2470 | __attribute__nonnull__(pTHX_2); | |
2471 | ||
2472 | PERL_CALLCONV void Perl_sv_setsv_mg(pTHX_ SV *dstr, SV *sstr) | |
2473 | __attribute__nonnull__(pTHX_1); | |
2474 | ||
2475 | PERL_CALLCONV void Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len) | |
2476 | __attribute__nonnull__(pTHX_1); | |
2477 | ||
2478 | PERL_CALLCONV MGVTBL* Perl_get_vtbl(pTHX_ int vtbl_id) | |
2479 | __attribute__warn_unused_result__; | |
2480 | ||
2481 | PERL_CALLCONV char* Perl_pv_display(pTHX_ SV *dsv, const char *pv, STRLEN cur, STRLEN len, STRLEN pvlim) | |
2482 | __attribute__nonnull__(pTHX_1) | |
2483 | __attribute__nonnull__(pTHX_2); | |
2484 | ||
894356b3 | 2485 | PERL_CALLCONV void Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...) |
1b6737cc | 2486 | __attribute__format__(__printf__,pTHX_3,pTHX_4) |
aec46f14 AL |
2487 | __attribute__nonnull__(pTHX_2) |
2488 | __attribute__nonnull__(pTHX_3); | |
1b6737cc AL |
2489 | |
2490 | PERL_CALLCONV void Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args) | |
aec46f14 AL |
2491 | __attribute__nonnull__(pTHX_2) |
2492 | __attribute__nonnull__(pTHX_3); | |
1b6737cc AL |
2493 | |
2494 | PERL_CALLCONV void Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv) | |
aec46f14 AL |
2495 | __attribute__nonnull__(pTHX_2) |
2496 | __attribute__nonnull__(pTHX_3) | |
2497 | __attribute__nonnull__(pTHX_4); | |
1b6737cc AL |
2498 | |
2499 | PERL_CALLCONV void Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, const char *name, GV *sv) | |
aec46f14 AL |
2500 | __attribute__nonnull__(pTHX_2) |
2501 | __attribute__nonnull__(pTHX_3) | |
2502 | __attribute__nonnull__(pTHX_4); | |
1b6737cc AL |
2503 | |
2504 | PERL_CALLCONV void Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, const char *name, HV *sv) | |
aec46f14 AL |
2505 | __attribute__nonnull__(pTHX_2) |
2506 | __attribute__nonnull__(pTHX_3) | |
2507 | __attribute__nonnull__(pTHX_4); | |
1b6737cc AL |
2508 | |
2509 | PERL_CALLCONV void Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim) | |
aec46f14 AL |
2510 | __attribute__nonnull__(pTHX_2) |
2511 | __attribute__nonnull__(pTHX_3); | |
1b6737cc AL |
2512 | |
2513 | PERL_CALLCONV void Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o) | |
2514 | __attribute__nonnull__(pTHX_2); | |
2515 | ||
2516 | PERL_CALLCONV void Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, const PMOP *pm) | |
2517 | __attribute__nonnull__(pTHX_2); | |
2518 | ||
2519 | PERL_CALLCONV void Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim) | |
2520 | __attribute__nonnull__(pTHX_2); | |
2521 | ||
6867be6d | 2522 | PERL_CALLCONV void Perl_magic_dump(pTHX_ const MAGIC *mg); |
1d7c1841 | 2523 | PERL_CALLCONV void Perl_reginitcolors(pTHX); |
aec46f14 AL |
2524 | PERL_CALLCONV char* Perl_sv_2pv_nolen(pTHX_ SV* sv) |
2525 | __attribute__warn_unused_result__ | |
2526 | __attribute__nonnull__(pTHX_1); | |
2527 | ||
2528 | PERL_CALLCONV char* Perl_sv_2pvutf8_nolen(pTHX_ SV* sv) | |
2529 | __attribute__warn_unused_result__ | |
2530 | __attribute__nonnull__(pTHX_1); | |
2531 | ||
2532 | PERL_CALLCONV char* Perl_sv_2pvbyte_nolen(pTHX_ SV* sv) | |
2533 | __attribute__warn_unused_result__ | |
2534 | __attribute__nonnull__(pTHX_1); | |
2535 | ||
f75877b5 SH |
2536 | /* PERL_CALLCONV char* sv_pv(pTHX_ SV *sv) |
2537 | __attribute__warn_unused_result__ | |
2538 | __attribute__nonnull__(pTHX_1); */ | |
2539 | ||
2540 | /* PERL_CALLCONV char* sv_pvutf8(pTHX_ SV *sv) | |
2541 | __attribute__warn_unused_result__ | |
2542 | __attribute__nonnull__(pTHX_1); */ | |
2543 | ||
2544 | /* PERL_CALLCONV char* sv_pvbyte(pTHX_ SV *sv) | |
2545 | __attribute__warn_unused_result__ | |
2546 | __attribute__nonnull__(pTHX_1); */ | |
2547 | ||
2548 | /* PERL_CALLCONV STRLEN sv_utf8_upgrade(pTHX_ SV *sv) | |
2549 | __attribute__nonnull__(pTHX_1); */ | |
2550 | ||
2551 | PERL_CALLCONV bool Perl_sv_utf8_downgrade(pTHX_ SV *sv, bool fail_ok) | |
2552 | __attribute__nonnull__(pTHX_1); | |
2553 | ||
2554 | PERL_CALLCONV void Perl_sv_utf8_encode(pTHX_ SV *sv) | |
2555 | __attribute__nonnull__(pTHX_1); | |
2556 | ||
2557 | PERL_CALLCONV bool Perl_sv_utf8_decode(pTHX_ SV *sv) | |
2558 | __attribute__nonnull__(pTHX_1); | |
2559 | ||
2560 | PERL_CALLCONV void Perl_sv_force_normal(pTHX_ SV *sv) | |
2561 | __attribute__nonnull__(pTHX_1); | |
2562 | ||
2563 | PERL_CALLCONV void Perl_sv_force_normal_flags(pTHX_ SV *sv, U32 flags) | |
2564 | __attribute__nonnull__(pTHX_1); | |
2565 | ||
1d7c1841 | 2566 | PERL_CALLCONV void Perl_tmps_grow(pTHX_ I32 n); |
f75877b5 SH |
2567 | PERL_CALLCONV SV* Perl_sv_rvweaken(pTHX_ SV *sv) |
2568 | __attribute__nonnull__(pTHX_1); | |
2569 | ||
2570 | PERL_CALLCONV int Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg) | |
2571 | __attribute__nonnull__(pTHX_1) | |
2572 | __attribute__nonnull__(pTHX_2); | |
2573 | ||
1d7c1841 GS |
2574 | PERL_CALLCONV OP* Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block); |
2575 | PERL_CALLCONV CV* Perl_newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block); | |
f54cb97a | 2576 | PERL_CALLCONV void Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block) |
abb2c242 | 2577 | __attribute__noreturn__; |
f54cb97a | 2578 | |
4373e329 | 2579 | PERL_CALLCONV OP * Perl_my_attrs(pTHX_ OP *o, OP *attrs) |
abb2c242 | 2580 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2581 | |
1d7c1841 GS |
2582 | PERL_CALLCONV void Perl_boot_core_xsutils(pTHX); |
2583 | #if defined(USE_ITHREADS) | |
53c1dcc0 AL |
2584 | PERL_CALLCONV PERL_CONTEXT* Perl_cx_dup(pTHX_ PERL_CONTEXT* cx, I32 ix, I32 max, CLONE_PARAMS* param) |
2585 | __attribute__malloc__ | |
aec46f14 AL |
2586 | __attribute__warn_unused_result__ |
2587 | __attribute__nonnull__(pTHX_4); | |
53c1dcc0 AL |
2588 | |
2589 | PERL_CALLCONV PERL_SI* Perl_si_dup(pTHX_ PERL_SI* si, CLONE_PARAMS* param) | |
2590 | __attribute__malloc__ | |
aec46f14 AL |
2591 | __attribute__warn_unused_result__ |
2592 | __attribute__nonnull__(pTHX_2); | |
53c1dcc0 AL |
2593 | |
2594 | PERL_CALLCONV ANY* Perl_ss_dup(pTHX_ PerlInterpreter* proto_perl, CLONE_PARAMS* param) | |
2595 | __attribute__malloc__ | |
2596 | __attribute__warn_unused_result__ | |
aec46f14 AL |
2597 | __attribute__nonnull__(pTHX_1) |
2598 | __attribute__nonnull__(pTHX_2); | |
53c1dcc0 AL |
2599 | |
2600 | PERL_CALLCONV void* Perl_any_dup(pTHX_ void* v, const PerlInterpreter* proto_perl) | |
2601 | __attribute__malloc__ | |
2602 | __attribute__warn_unused_result__ | |
abb2c242 | 2603 | __attribute__nonnull__(pTHX_2); |
f54cb97a | 2604 | |
5c4138a0 | 2605 | PERL_CALLCONV HE* Perl_he_dup(pTHX_ const HE* e, bool shared, CLONE_PARAMS* param) |
53c1dcc0 | 2606 | __attribute__malloc__ |
aec46f14 AL |
2607 | __attribute__warn_unused_result__ |
2608 | __attribute__nonnull__(pTHX_3); | |
53c1dcc0 AL |
2609 | |
2610 | PERL_CALLCONV HEK* Perl_hek_dup(pTHX_ HEK* e, CLONE_PARAMS* param) | |
2611 | __attribute__malloc__ | |
aec46f14 AL |
2612 | __attribute__warn_unused_result__ |
2613 | __attribute__nonnull__(pTHX_2); | |
53c1dcc0 AL |
2614 | |
2615 | PERL_CALLCONV REGEXP* Perl_re_dup(pTHX_ const REGEXP* r, CLONE_PARAMS* param) | |
2616 | __attribute__malloc__ | |
aec46f14 AL |
2617 | __attribute__warn_unused_result__ |
2618 | __attribute__nonnull__(pTHX_2); | |
53c1dcc0 AL |
2619 | |
2620 | PERL_CALLCONV PerlIO* Perl_fp_dup(pTHX_ PerlIO* fp, char type, CLONE_PARAMS* param) | |
2621 | __attribute__malloc__ | |
aec46f14 AL |
2622 | __attribute__warn_unused_result__ |
2623 | __attribute__nonnull__(pTHX_3); | |
53c1dcc0 AL |
2624 | |
2625 | PERL_CALLCONV DIR* Perl_dirp_dup(pTHX_ DIR* dp) | |
2626 | __attribute__malloc__ | |
2627 | __attribute__warn_unused_result__; | |
2628 | ||
2629 | PERL_CALLCONV GP* Perl_gp_dup(pTHX_ GP* gp, CLONE_PARAMS* param) | |
2630 | __attribute__malloc__ | |
aec46f14 AL |
2631 | __attribute__warn_unused_result__ |
2632 | __attribute__nonnull__(pTHX_2); | |
53c1dcc0 AL |
2633 | |
2634 | PERL_CALLCONV MAGIC* Perl_mg_dup(pTHX_ MAGIC* mg, CLONE_PARAMS* param) | |
2635 | __attribute__malloc__ | |
2636 | __attribute__warn_unused_result__ | |
aec46f14 | 2637 | __attribute__nonnull__(pTHX_2); |
53c1dcc0 AL |
2638 | |
2639 | PERL_CALLCONV SV* Perl_sv_dup(pTHX_ SV* sstr, CLONE_PARAMS* param) | |
2640 | __attribute__malloc__ | |
2641 | __attribute__warn_unused_result__ | |
aec46f14 | 2642 | __attribute__nonnull__(pTHX_2); |
f54cb97a | 2643 | |
53c1dcc0 AL |
2644 | PERL_CALLCONV void Perl_rvpv_dup(pTHX_ SV* dstr, SV *sstr, CLONE_PARAMS* param) |
2645 | __attribute__nonnull__(pTHX_1) | |
aec46f14 AL |
2646 | __attribute__nonnull__(pTHX_2) |
2647 | __attribute__nonnull__(pTHX_3); | |
53c1dcc0 AL |
2648 | |
2649 | PERL_CALLCONV PTR_TBL_t* Perl_ptr_table_new(pTHX) | |
2650 | __attribute__malloc__ | |
2651 | __attribute__warn_unused_result__; | |
2652 | ||
2653 | PERL_CALLCONV void* Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *tbl, const void *sv) | |
2654 | __attribute__malloc__ | |
2655 | __attribute__warn_unused_result__ | |
2656 | __attribute__nonnull__(pTHX_1) | |
2657 | __attribute__nonnull__(pTHX_2); | |
2658 | ||
2659 | PERL_CALLCONV void Perl_ptr_table_store(pTHX_ PTR_TBL_t *tbl, const void *oldsv, void *newsv) | |
2660 | __attribute__nonnull__(pTHX_1) | |
2661 | __attribute__nonnull__(pTHX_3); | |
2662 | ||
4373e329 | 2663 | PERL_CALLCONV void Perl_ptr_table_split(pTHX_ PTR_TBL_t *tbl) |
abb2c242 | 2664 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2665 | |
690cf326 NIS |
2666 | PERL_CALLCONV void Perl_ptr_table_clear(pTHX_ PTR_TBL_t *tbl); |
2667 | PERL_CALLCONV void Perl_ptr_table_free(pTHX_ PTR_TBL_t *tbl); | |
504618e9 AL |
2668 | # if defined(HAVE_INTERP_INTERN) |
2669 | PERL_CALLCONV void Perl_sys_intern_dup(pTHX_ struct interp_intern* src, struct interp_intern* dst) | |
2670 | __attribute__nonnull__(pTHX_1) | |
2671 | __attribute__nonnull__(pTHX_2); | |
2672 | ||
ddacffcf SH |
2673 | # endif |
2674 | #endif | |
2675 | #if defined(HAVE_INTERP_INTERN) | |
3dbbd0f5 GS |
2676 | PERL_CALLCONV void Perl_sys_intern_clear(pTHX); |
2677 | PERL_CALLCONV void Perl_sys_intern_init(pTHX); | |
2678 | #endif | |
cae16f1a | 2679 | |
4373e329 | 2680 | PERL_CALLCONV char * Perl_custom_op_name(pTHX_ const OP* op) |
53c1dcc0 | 2681 | __attribute__warn_unused_result__ |
abb2c242 | 2682 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2683 | |
4373e329 | 2684 | PERL_CALLCONV char * Perl_custom_op_desc(pTHX_ const OP* op) |
53c1dcc0 | 2685 | __attribute__warn_unused_result__ |
abb2c242 | 2686 | __attribute__nonnull__(pTHX_1); |
cae16f1a | 2687 | |
f54cb97a | 2688 | |
f8c7b90f | 2689 | #if defined(PERL_OLD_COPY_ON_WRITE) |
aec46f14 AL |
2690 | PERL_CALLCONV int Perl_sv_release_IVX(pTHX_ SV *sv) |
2691 | __attribute__nonnull__(pTHX_1); | |
2692 | ||
765f542d NC |
2693 | #endif |
2694 | ||
68795e93 NIS |
2695 | PERL_CALLCONV void Perl_sv_nosharing(pTHX_ SV *); |
2696 | PERL_CALLCONV void Perl_sv_nolocking(pTHX_ SV *); | |
2697 | PERL_CALLCONV void Perl_sv_nounlocking(pTHX_ SV *); | |
62375a60 | 2698 | PERL_CALLCONV int Perl_nothreadhook(pTHX); |
1d7c1841 | 2699 | |
1d7c1841 | 2700 | END_EXTERN_C |
1d7c1841 | 2701 | |
0cb96387 | 2702 | #if defined(PERL_IN_DOOP_C) || defined(PERL_DECL_PROT) |
f54cb97a | 2703 | STATIC I32 S_do_trans_simple(pTHX_ SV *sv) |
53c1dcc0 | 2704 | __attribute__warn_unused_result__ |
abb2c242 | 2705 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2706 | |
2707 | STATIC I32 S_do_trans_count(pTHX_ SV *sv) | |
53c1dcc0 | 2708 | __attribute__warn_unused_result__ |
abb2c242 | 2709 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2710 | |
2711 | STATIC I32 S_do_trans_complex(pTHX_ SV *sv) | |
53c1dcc0 | 2712 | __attribute__warn_unused_result__ |
abb2c242 | 2713 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2714 | |
2715 | STATIC I32 S_do_trans_simple_utf8(pTHX_ SV *sv) | |
53c1dcc0 | 2716 | __attribute__warn_unused_result__ |
abb2c242 | 2717 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2718 | |
2719 | STATIC I32 S_do_trans_count_utf8(pTHX_ SV *sv) | |
53c1dcc0 | 2720 | __attribute__warn_unused_result__ |
abb2c242 | 2721 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
2722 | |
2723 | STATIC I32 S_do_trans_complex_utf8(pTHX_ SV *sv) | |
53c1dcc0 | 2724 | __attribute__warn_unused_result__ |
abb2c242 | 2725 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 2726 | |
cea2e8a9 | 2727 | #endif |
1d7c1841 | 2728 | |
0cb96387 | 2729 | #if defined(PERL_IN_GV_C) || defined(PERL_DECL_PROT) |
53c1dcc0 AL |
2730 | STATIC void S_gv_init_sv(pTHX_ GV *gv, I32 sv_type) |
2731 | __attribute__nonnull__(pTHX_1); | |
2732 | ||
a3b680e6 | 2733 | STATIC void S_require_errno(pTHX_ GV *gv) |
abb2c242 | 2734 | __attribute__nonnull__(pTHX_1); |
a3b680e6 | 2735 | |
864dbfa3 | 2736 | #endif |
1d7c1841 | 2737 | |
0cb96387 | 2738 | #if defined(PERL_IN_HV_C) || defined(PERL_DECL_PROT) |
53c1dcc0 AL |
2739 | STATIC void S_hsplit(pTHX_ HV *hv) |
2740 | __attribute__nonnull__(pTHX_1); | |
2741 | ||
3abe233e AL |
2742 | STATIC void S_hfreeentries(pTHX_ HV *hv) |
2743 | __attribute__nonnull__(pTHX_1); | |
2744 | ||
1df70142 | 2745 | STATIC HE* S_new_he(pTHX) |
53c1dcc0 | 2746 | __attribute__malloc__ |
1df70142 AL |
2747 | __attribute__warn_unused_result__; |
2748 | ||
1df70142 | 2749 | STATIC HEK* S_save_hek_flags(pTHX_ const char *str, I32 len, U32 hash, int flags) |
53c1dcc0 | 2750 | __attribute__malloc__ |
1df70142 AL |
2751 | __attribute__warn_unused_result__ |
2752 | __attribute__nonnull__(pTHX_1); | |
2753 | ||
2754 | STATIC void S_hv_magic_check(pTHX_ HV *hv, bool *needs_copy, bool *needs_store) | |
2755 | __attribute__nonnull__(pTHX_1) | |
2756 | __attribute__nonnull__(pTHX_2) | |
2757 | __attribute__nonnull__(pTHX_3); | |
2758 | ||
97ddebaf | 2759 | STATIC void S_unshare_hek_or_pvn(pTHX_ const HEK* hek, const char* str, I32 len, U32 hash); |
6e838c70 | 2760 | STATIC HEK* S_share_hek_flags(pTHX_ const char* sv, I32 len, U32 hash, int flags) |
1b6737cc AL |
2761 | __attribute__warn_unused_result__ |
2762 | __attribute__nonnull__(pTHX_1); | |
1df70142 | 2763 | |
f54cb97a | 2764 | STATIC void S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const char *msg) |
1df70142 AL |
2765 | __attribute__noreturn__ |
2766 | __attribute__nonnull__(pTHX_2) | |
2767 | __attribute__nonnull__(pTHX_4); | |
f54cb97a | 2768 | |
53c1dcc0 AL |
2769 | STATIC struct xpvhv_aux* S_hv_auxinit(pTHX_ HV *hv) |
2770 | __attribute__nonnull__(pTHX_1); | |
2771 | ||
aec46f14 AL |
2772 | STATIC SV* S_hv_delete_common(pTHX_ HV* tb, SV* keysv, const char* key, STRLEN klen, int k_flags, I32 d_flags, U32 hash); |
2773 | STATIC HE* S_hv_fetch_common(pTHX_ HV* tb, SV* keysv, const char* key, STRLEN klen, int flags, int action, SV* val, U32 hash); | |
864dbfa3 | 2774 | #endif |
1d7c1841 | 2775 | |
0cb96387 | 2776 | #if defined(PERL_IN_MG_C) || defined(PERL_DECL_PROT) |
504618e9 AL |
2777 | STATIC void S_save_magic(pTHX_ I32 mgs_ix, SV *sv) |
2778 | __attribute__nonnull__(pTHX_2); | |
2779 | ||
2780 | STATIC int S_magic_methpack(pTHX_ SV *sv, const MAGIC *mg, const char *meth) | |
2781 | __attribute__nonnull__(pTHX_1) | |
2782 | __attribute__nonnull__(pTHX_2) | |
2783 | __attribute__nonnull__(pTHX_3); | |
2784 | ||
2785 | STATIC int S_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, const char *meth, I32 f, int n, SV *val) | |
2786 | __attribute__nonnull__(pTHX_1) | |
2787 | __attribute__nonnull__(pTHX_2) | |
2788 | __attribute__nonnull__(pTHX_3); | |
2789 | ||
8772537c AL |
2790 | STATIC void S_restore_magic(pTHX_ const void *p) |
2791 | __attribute__nonnull__(pTHX_1); | |
2792 | ||
2793 | STATIC void S_unwind_handler_stack(pTHX_ const void *p) | |
2794 | __attribute__nonnull__(pTHX_1); | |
2795 | ||
2796 | ||
864dbfa3 | 2797 | #endif |
1d7c1841 | 2798 | |
0cb96387 | 2799 | #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT) |
504618e9 AL |
2800 | PERL_CALLCONV OP* Perl_ck_anoncode(pTHX_ OP *o) |
2801 | __attribute__warn_unused_result__ | |
2802 | __attribute__nonnull__(pTHX_1); | |
2803 | ||
2804 | PERL_CALLCONV OP* Perl_ck_bitop(pTHX_ OP *o) | |
2805 | __attribute__warn_unused_result__ | |
2806 | __attribute__nonnull__(pTHX_1); | |
2807 | ||
2808 | PERL_CALLCONV OP* Perl_ck_concat(pTHX_ OP *o) | |
2809 | __attribute__warn_unused_result__ | |
2810 | __attribute__nonnull__(pTHX_1); | |
2811 | ||
2812 | PERL_CALLCONV OP* Perl_ck_defined(pTHX_ OP *o) | |
2813 | __attribute__warn_unused_result__ | |
2814 | __attribute__nonnull__(pTHX_1); | |
2815 | ||
2816 | PERL_CALLCONV OP* Perl_ck_delete(pTHX_ OP *o) | |
2817 | __attribute__warn_unused_result__ | |
2818 | __attribute__nonnull__(pTHX_1); | |
2819 | ||
2820 | PERL_CALLCONV OP* Perl_ck_die(pTHX_ OP *o) | |
2821 | __attribute__warn_unused_result__ | |
2822 | __attribute__nonnull__(pTHX_1); | |
2823 | ||
2824 | PERL_CALLCONV OP* Perl_ck_eof(pTHX_ OP *o) | |
2825 | __attribute__warn_unused_result__ | |
2826 | __attribute__nonnull__(pTHX_1); | |
2827 | ||
2828 | PERL_CALLCONV OP* Perl_ck_eval(pTHX_ OP *o) | |
2829 | __attribute__warn_unused_result__ | |
2830 | __attribute__nonnull__(pTHX_1); | |
2831 | ||
2832 | PERL_CALLCONV OP* Perl_ck_exec(pTHX_ OP *o) | |
2833 | __attribute__warn_unused_result__ | |
2834 | __attribute__nonnull__(pTHX_1); | |
2835 | ||
2836 | PERL_CALLCONV OP* Perl_ck_exists(pTHX_ OP *o) | |
2837 | __attribute__warn_unused_result__ | |
2838 | __attribute__nonnull__(pTHX_1); | |
2839 | ||
2840 | PERL_CALLCONV OP* Perl_ck_exit(pTHX_ OP *o) | |
2841 | __attribute__warn_unused_result__ | |
2842 | __attribute__nonnull__(pTHX_1); | |
2843 | ||
2844 | PERL_CALLCONV OP* Perl_ck_ftst(pTHX_ OP *o) | |
2845 | __attribute__warn_unused_result__ | |
2846 | __attribute__nonnull__(pTHX_1); | |
2847 | ||
2848 | PERL_CALLCONV OP* Perl_ck_fun(pTHX_ OP *o) | |
2849 | __attribute__warn_unused_result__ | |
2850 | __attribute__nonnull__(pTHX_1); | |
2851 | ||
2852 | PERL_CALLCONV OP* Perl_ck_glob(pTHX_ OP *o) | |
2853 | __attribute__warn_unused_result__ | |
2854 | __attribute__nonnull__(pTHX_1); | |
2855 | ||
2856 | PERL_CALLCONV OP* Perl_ck_grep(pTHX_ OP *o) | |
2857 | __attribute__warn_unused_result__ | |
2858 | __attribute__nonnull__(pTHX_1); | |
2859 | ||
2860 | PERL_CALLCONV OP* Perl_ck_index(pTHX_ OP *o) | |
2861 | __attribute__warn_unused_result__ | |
2862 | __attribute__nonnull__(pTHX_1); | |
2863 | ||
2864 | PERL_CALLCONV OP* Perl_ck_join(pTHX_ OP *o) | |
2865 | __attribute__warn_unused_result__ | |
2866 | __attribute__nonnull__(pTHX_1); | |
2867 | ||
2868 | PERL_CALLCONV OP* Perl_ck_lengthconst(pTHX_ OP *o) | |
2869 | __attribute__warn_unused_result__ | |
2870 | __attribute__nonnull__(pTHX_1); | |
2871 | ||
2872 | PERL_CALLCONV OP* Perl_ck_lfun(pTHX_ OP *o) | |
2873 | __attribute__warn_unused_result__ | |
2874 | __attribute__nonnull__(pTHX_1); | |
2875 | ||
2876 | PERL_CALLCONV OP* Perl_ck_listiob(pTHX_ OP *o) | |
2877 | __attribute__warn_unused_result__ | |
2878 | __attribute__nonnull__(pTHX_1); | |
2879 | ||
2880 | PERL_CALLCONV OP* Perl_ck_match(pTHX_ OP *o) | |
2881 | __attribute__warn_unused_result__ | |
2882 | __attribute__nonnull__(pTHX_1); | |
2883 | ||
2884 | PERL_CALLCONV OP* Perl_ck_method(pTHX_ OP *o) | |
2885 | __attribute__warn_unused_result__ | |
2886 | __attribute__nonnull__(pTHX_1); | |
2887 | ||
2888 | PERL_CALLCONV OP* Perl_ck_null(pTHX_ OP *o) | |
2889 | __attribute__warn_unused_result__ | |
2890 | __attribute__nonnull__(pTHX_1); | |
2891 | ||
2892 | PERL_CALLCONV OP* Perl_ck_open(pTHX_ OP *o) | |
2893 | __attribute__warn_unused_result__ | |
2894 | __attribute__nonnull__(pTHX_1); | |
2895 | ||
2896 | PERL_CALLCONV OP* Perl_ck_repeat(pTHX_ OP *o) | |
2897 | __attribute__warn_unused_result__ | |
2898 | __attribute__nonnull__(pTHX_1); | |
2899 | ||
2900 | PERL_CALLCONV OP* Perl_ck_require(pTHX_ OP *o) | |
2901 | __attribute__warn_unused_result__ | |
2902 | __attribute__nonnull__(pTHX_1); | |
2903 | ||
2904 | PERL_CALLCONV OP* Perl_ck_retarget(pTHX_ OP *o) | |
2905 | __attribute__warn_unused_result__ | |
2906 | __attribute__nonnull__(pTHX_1); | |
2907 | ||
2908 | PERL_CALLCONV OP* Perl_ck_return(pTHX_ OP *o) | |
2909 | __attribute__warn_unused_result__ | |
2910 | __attribute__nonnull__(pTHX_1); | |
2911 | ||
2912 | PERL_CALLCONV OP* Perl_ck_rfun(pTHX_ OP *o) | |
2913 | __attribute__warn_unused_result__ | |
2914 | __attribute__nonnull__(pTHX_1); | |
2915 | ||
2916 | PERL_CALLCONV OP* Perl_ck_rvconst(pTHX_ OP *o) | |
2917 | __attribute__warn_unused_result__ | |
2918 | __attribute__nonnull__(pTHX_1); | |
2919 | ||
2920 | PERL_CALLCONV OP* Perl_ck_sassign(pTHX_ OP *o) | |
2921 | __attribute__warn_unused_result__ | |
2922 | __attribute__nonnull__(pTHX_1); | |
2923 | ||
2924 | PERL_CALLCONV OP* Perl_ck_select(pTHX_ OP *o) | |
2925 | __attribute__warn_unused_result__ | |
2926 | __attribute__nonnull__(pTHX_1); | |
2927 | ||
2928 | PERL_CALLCONV OP* Perl_ck_shift(pTHX_ OP *o) | |
2929 | __attribute__warn_unused_result__ | |
2930 | __attribute__nonnull__(pTHX_1); | |
2931 | ||
2932 | PERL_CALLCONV OP* Perl_ck_sort(pTHX_ OP *o) | |
2933 | __attribute__warn_unused_result__ | |
2934 | __attribute__nonnull__(pTHX_1); | |
2935 | ||
2936 | PERL_CALLCONV OP* Perl_ck_spair(pTHX_ OP *o) | |
2937 | __attribute__warn_unused_result__ | |
2938 | __attribute__nonnull__(pTHX_1); | |
2939 | ||
2940 | PERL_CALLCONV OP* Perl_ck_split(pTHX_ OP *o) | |
2941 | __attribute__warn_unused_result__ | |
2942 | __attribute__nonnull__(pTHX_1); | |
2943 | ||
2944 | PERL_CALLCONV OP* Perl_ck_subr(pTHX_ OP *o) | |
2945 | __attribute__warn_unused_result__ | |
2946 | __attribute__nonnull__(pTHX_1); | |
2947 | ||
2948 | PERL_CALLCONV OP* Perl_ck_substr(pTHX_ OP *o) | |
2949 | __attribute__warn_unused_result__ | |
2950 | __attribute__nonnull__(pTHX_1); | |
2951 | ||
2952 | PERL_CALLCONV OP* Perl_ck_svconst(pTHX_ OP *o) | |
2953 | __attribute__warn_unused_result__ | |
2954 | __attribute__nonnull__(pTHX_1); | |
2955 | ||
2956 | PERL_CALLCONV OP* Perl_ck_trunc(pTHX_ OP *o) | |
2957 | __attribute__warn_unused_result__ | |
2958 | __attribute__nonnull__(pTHX_1); | |
2959 | ||
2960 | PERL_CALLCONV OP* Perl_ck_unpack(pTHX_ OP *o) | |
2961 | __attribute__warn_unused_result__ | |
2962 | __attribute__nonnull__(pTHX_1); | |
2963 | ||
2964 | STATIC bool S_is_handle_constructor(pTHX_ const OP *o, I32 numargs) | |
2965 | __attribute__warn_unused_result__ | |
2966 | __attribute__nonnull__(pTHX_1); | |
2967 | ||
2968 | STATIC I32 S_is_list_assignment(pTHX_ const OP *o) | |
2969 | __attribute__warn_unused_result__; | |
2970 | ||
2971 | STATIC void S_cop_free(pTHX_ COP *cop) | |
2972 | __attribute__nonnull__(pTHX_1); | |
2973 | ||
cea2e8a9 | 2974 | STATIC OP* S_modkids(pTHX_ OP *o, I32 type); |
504618e9 AL |
2975 | STATIC OP* S_scalarboolean(pTHX_ OP *o) |
2976 | __attribute__nonnull__(pTHX_1); | |
2977 | ||
2978 | STATIC OP* S_newDEFSVOP(pTHX) | |
2979 | __attribute__warn_unused_result__; | |
2980 | ||
2981 | STATIC OP* S_new_logop(pTHX_ I32 type, I32 flags, OP **firstp, OP **otherp) | |
2982 | __attribute__warn_unused_result__ | |
2983 | __attribute__nonnull__(pTHX_3) | |
2984 | __attribute__nonnull__(pTHX_4); | |
2985 | ||
2986 | STATIC void S_simplify_sort(pTHX_ OP *o) | |
2987 | __attribute__nonnull__(pTHX_1); | |
2988 | ||
aec46f14 AL |
2989 | STATIC const char* S_gv_ename(pTHX_ GV *gv) |
2990 | __attribute__nonnull__(pTHX_1); | |
2991 | ||
2992 | STATIC bool S_scalar_mod_type(pTHX_ const OP *o, I32 type) | |
2993 | __attribute__nonnull__(pTHX_1); | |
2994 | ||
2995 | STATIC OP * S_my_kid(pTHX_ OP *o, OP *attrs, OP **imopsp) | |
2996 | __attribute__nonnull__(pTHX_3); | |
2997 | ||
2998 | STATIC OP * S_dup_attrlist(pTHX_ OP *o) | |
2999 | __attribute__nonnull__(pTHX_1); | |
3000 | ||
3001 | STATIC void S_apply_attrs(pTHX_ HV *stash, SV *target, OP *attrs, bool for_my) | |
3002 | __attribute__nonnull__(pTHX_1) | |
3003 | __attribute__nonnull__(pTHX_2); | |
3004 | ||
3005 | STATIC void S_apply_attrs_my(pTHX_ HV *stash, OP *target, OP *attrs, OP **imopsp) | |
3006 | __attribute__nonnull__(pTHX_1) | |
3007 | __attribute__nonnull__(pTHX_2) | |
3008 | __attribute__nonnull__(pTHX_4); | |
3009 | ||
504618e9 AL |
3010 | STATIC void S_bad_type(pTHX_ I32 n, const char *t, const char *name, const OP *kid) |
3011 | __attribute__nonnull__(pTHX_2) | |
3012 | __attribute__nonnull__(pTHX_3) | |
3013 | __attribute__nonnull__(pTHX_4); | |
3014 | ||
3015 | STATIC void S_no_bareword_allowed(pTHX_ const OP *o) | |
3016 | __attribute__nonnull__(pTHX_1); | |
3017 | ||
3018 | STATIC OP* S_no_fh_allowed(pTHX_ OP *o) | |
3019 | __attribute__warn_unused_result__ | |
3020 | __attribute__nonnull__(pTHX_1); | |
3021 | ||
3022 | STATIC OP* S_too_few_arguments(pTHX_ OP *o, const char* name) | |
3023 | __attribute__warn_unused_result__ | |
3024 | __attribute__nonnull__(pTHX_1) | |
3025 | __attribute__nonnull__(pTHX_2); | |
3026 | ||
3027 | STATIC OP* S_too_many_arguments(pTHX_ OP *o, const char* name) | |
3028 | __attribute__warn_unused_result__ | |
3029 | __attribute__nonnull__(pTHX_1) | |
3030 | __attribute__nonnull__(pTHX_2); | |
3031 | ||
c7e45529 AE |
3032 | #endif |
3033 | #if defined(PL_OP_SLAB_ALLOC) | |
504618e9 | 3034 | PERL_CALLCONV void* Perl_Slab_Alloc(pTHX_ int m, size_t sz) |
aec46f14 | 3035 | __attribute__malloc__ |
504618e9 AL |
3036 | __attribute__warn_unused_result__; |
3037 | ||
aec46f14 AL |
3038 | PERL_CALLCONV void Perl_Slab_Free(pTHX_ void *op) |
3039 | __attribute__nonnull__(pTHX_1); | |
3040 | ||
864dbfa3 | 3041 | #endif |
1d7c1841 | 3042 | |
0cb96387 | 3043 | #if defined(PERL_IN_PERL_C) || defined(PERL_DECL_PROT) |
cea2e8a9 | 3044 | STATIC void S_find_beginning(pTHX); |
aec46f14 AL |
3045 | STATIC void S_forbid_setid(pTHX_ const char * s) |
3046 | __attribute__nonnull__(pTHX_1); | |
3047 | ||
dd374669 | 3048 | STATIC void S_incpush(pTHX_ const char *dir, bool addsubdirs, bool addoldvers, bool usesep, bool canrelocate); |
cea2e8a9 GS |
3049 | STATIC void S_init_interp(pTHX); |
3050 | STATIC void S_init_ids(pTHX); | |
cea2e8a9 GS |
3051 | STATIC void S_init_lexer(pTHX); |
3052 | STATIC void S_init_main_stash(pTHX); | |
3053 | STATIC void S_init_perllib(pTHX); | |
aec46f14 AL |
3054 | STATIC void S_init_postdump_symbols(pTHX_ int argc, char **argv, char **env) |
3055 | __attribute__nonnull__(pTHX_2); | |
3056 | ||
cea2e8a9 | 3057 | STATIC void S_init_predump_symbols(pTHX); |
f54cb97a | 3058 | STATIC void S_my_exit_jump(pTHX) |
abb2c242 | 3059 | __attribute__noreturn__; |
f54cb97a | 3060 | |
cea2e8a9 | 3061 | STATIC void S_nuke_stacks(pTHX); |
aec46f14 AL |
3062 | STATIC void S_open_script(pTHX_ const char *scriptname, bool dosearch, SV *sv) |
3063 | __attribute__nonnull__(pTHX_1) | |
3064 | __attribute__nonnull__(pTHX_3); | |
3065 | ||
3066 | STATIC void S_usage(pTHX_ const char *name) | |
3067 | __attribute__nonnull__(pTHX_1); | |
3068 | ||
3069 | STATIC void S_validate_suid(pTHX_ const char *validarg, const char *scriptname) | |
3070 | __attribute__nonnull__(pTHX_1) | |
3071 | __attribute__nonnull__(pTHX_2); | |
3072 | ||
cea2e8a9 GS |
3073 | # if defined(IAMSUID) |
3074 | STATIC int S_fd_on_nosuid_fs(pTHX_ int fd); | |
3075 | # endif | |
14dd3ad8 | 3076 | STATIC void* S_parse_body(pTHX_ char **env, XSINIT_t xsinit); |
f54cb97a | 3077 | STATIC void S_run_body(pTHX_ I32 oldscope) |
abb2c242 | 3078 | __attribute__noreturn__; |
f54cb97a | 3079 | |
aec46f14 AL |
3080 | STATIC void S_call_body(pTHX_ const OP *myop, bool is_eval) |
3081 | __attribute__nonnull__(pTHX_1); | |
3082 | ||
3083 | STATIC void* S_call_list_body(pTHX_ CV *cv) | |
3084 | __attribute__nonnull__(pTHX_1); | |
3085 | ||
864dbfa3 | 3086 | #endif |
1d7c1841 | 3087 | |
0cb96387 | 3088 | #if defined(PERL_IN_PP_C) || defined(PERL_DECL_PROT) |
901017d6 | 3089 | STATIC SV* S_refto(pTHX_ SV* sv) |
aec46f14 AL |
3090 | __attribute__warn_unused_result__ |
3091 | __attribute__nonnull__(pTHX_1); | |
901017d6 | 3092 | |
a6ec74c1 JH |
3093 | #endif |
3094 | ||
3095 | #if defined(PERL_IN_PP_PACK_C) || defined(PERL_DECL_PROT) | |
aec46f14 AL |
3096 | STATIC I32 S_unpack_rec(pTHX_ struct tempsym* symptr, const char *s, const char *strbeg, const char *strend, const char **new_s) |
3097 | __attribute__nonnull__(pTHX_1) | |
3098 | __attribute__nonnull__(pTHX_2) | |
3099 | __attribute__nonnull__(pTHX_3) | |
3100 | __attribute__nonnull__(pTHX_4); | |
3101 | ||
3102 | STATIC SV ** S_pack_rec(pTHX_ SV *cat, struct tempsym* symptr, SV **beglist, SV **endlist) | |
3103 | __attribute__nonnull__(pTHX_1) | |
3104 | __attribute__nonnull__(pTHX_2) | |
3105 | __attribute__nonnull__(pTHX_3) | |
3106 | __attribute__nonnull__(pTHX_4); | |
3107 | ||
4373e329 | 3108 | STATIC SV* S_mul128(pTHX_ SV *sv, U8 m) |
abb2c242 | 3109 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 3110 | |
4373e329 | 3111 | STATIC I32 S_measure_struct(pTHX_ struct tempsym* symptr) |
abb2c242 | 3112 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 3113 | |
4373e329 | 3114 | STATIC bool S_next_symbol(pTHX_ struct tempsym* symptr) |
abb2c242 | 3115 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 3116 | |
4373e329 | 3117 | STATIC SV* S_is_an_int(pTHX_ const char *s, STRLEN l) |
1df70142 | 3118 | __attribute__warn_unused_result__ |
abb2c242 | 3119 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 3120 | |
4373e329 | 3121 | STATIC int S_div128(pTHX_ SV *pnum, bool *done) |
abb2c242 JH |
3122 | __attribute__nonnull__(pTHX_1) |
3123 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 3124 | |
4373e329 | 3125 | STATIC const char * S_group_end(pTHX_ const char *pat, const char *patend, char ender) |
abb2c242 JH |
3126 | __attribute__nonnull__(pTHX_1) |
3127 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 3128 | |
4373e329 | 3129 | STATIC const char * S_get_num(pTHX_ const char *ppat, I32 *lenptr) |
255164ba | 3130 | __attribute__warn_unused_result__ |
abb2c242 JH |
3131 | __attribute__nonnull__(pTHX_1) |
3132 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 3133 | |
aec46f14 AL |
3134 | STATIC bool S_need_utf8(const char *pat, const char *patend) |
3135 | __attribute__nonnull__(1) | |
3136 | __attribute__nonnull__(2); | |
3137 | ||
3138 | STATIC char S_first_symbol(const char *pat, const char *patend) | |
3139 | __attribute__nonnull__(1) | |
3140 | __attribute__nonnull__(2); | |
3141 | ||
864dbfa3 | 3142 | #endif |
1d7c1841 | 3143 | |
0cb96387 | 3144 | #if defined(PERL_IN_PP_CTL_C) || defined(PERL_DECL_PROT) |
901017d6 AL |
3145 | STATIC OP* S_docatch(pTHX_ OP *o) |
3146 | __attribute__warn_unused_result__; | |
3147 | ||
3148 | STATIC void S_docatch_body(pTHX); | |
3149 | STATIC OP* S_dofindlabel(pTHX_ OP *o, const char *label, OP **opstack, OP **oplimit) | |
aec46f14 AL |
3150 | __attribute__warn_unused_result__ |
3151 | __attribute__nonnull__(pTHX_1) | |
3152 | __attribute__nonnull__(pTHX_2) | |
3153 | __attribute__nonnull__(pTHX_3) | |
3154 | __attribute__nonnull__(pTHX_4); | |
901017d6 AL |
3155 | |
3156 | STATIC OP* S_doparseform(pTHX_ SV *sv) | |
aec46f14 AL |
3157 | __attribute__warn_unused_result__ |
3158 | __attribute__nonnull__(pTHX_1); | |
901017d6 AL |
3159 | |
3160 | STATIC bool S_num_overflow(NV value, I32 fldsize, I32 frcsize) | |
3161 | __attribute__warn_unused_result__; | |
3162 | ||
3163 | STATIC I32 S_dopoptoeval(pTHX_ I32 startingblock) | |
3164 | __attribute__warn_unused_result__; | |
3165 | ||
4373e329 | 3166 | STATIC I32 S_dopoptolabel(pTHX_ const char *label) |
901017d6 | 3167 | __attribute__warn_unused_result__ |
abb2c242 | 3168 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 3169 | |
901017d6 AL |
3170 | STATIC I32 S_dopoptoloop(pTHX_ I32 startingblock) |
3171 | __attribute__warn_unused_result__; | |
3172 | ||
3173 | STATIC I32 S_dopoptosub(pTHX_ I32 startingblock) | |
3174 | __attribute__warn_unused_result__; | |
3175 | ||
3176 | STATIC I32 S_dopoptosub_at(pTHX_ const PERL_CONTEXT* cxstk, I32 startingblock) | |
aec46f14 AL |
3177 | __attribute__warn_unused_result__ |
3178 | __attribute__nonnull__(pTHX_1); | |
901017d6 | 3179 | |
46c461b5 AL |
3180 | STATIC void S_save_lines(pTHX_ AV *array, SV *sv) |
3181 | __attribute__nonnull__(pTHX_2); | |
3182 | ||
901017d6 AL |
3183 | STATIC OP* S_doeval(pTHX_ int gimme, OP** startop, CV* outside, U32 seq) |
3184 | __attribute__warn_unused_result__; | |
3185 | ||
3186 | STATIC PerlIO * S_doopen_pm(pTHX_ const char *name, const char *mode) | |
aec46f14 AL |
3187 | __attribute__warn_unused_result__ |
3188 | __attribute__nonnull__(pTHX_1) | |
3189 | __attribute__nonnull__(pTHX_2); | |
901017d6 | 3190 | |
4373e329 | 3191 | STATIC bool S_path_is_absolute(pTHX_ const char *name) |
901017d6 | 3192 | __attribute__warn_unused_result__ |
abb2c242 | 3193 | __attribute__nonnull__(pTHX_1); |
f54cb97a | 3194 | |
864dbfa3 | 3195 | #endif |
1d7c1841 | 3196 | |
0cb96387 | 3197 | #if defined(PERL_IN_PP_HOT_C) || defined(PERL_DECL_PROT) |
a28509cc AL |
3198 | STATIC void S_do_oddball(pTHX_ HV *hash, SV **relem, SV **firstrelem) |
3199 | __attribute__nonnull__(pTHX_1) | |
3200 | __attribute__nonnull__(pTHX_2) | |
3201 | __attribute__nonnull__(pTHX_3); | |
3202 | ||
3203 | STATIC CV* S_get_db_sub(pTHX_ SV **svp, CV *cv) | |
3204 | __attribute__warn_unused_result__ | |
3205 | __attribute__nonnull__(pTHX_1) | |
3206 | __attribute__nonnull__(pTHX_2); | |
3207 | ||
3208 | STATIC SV* S_method_common(pTHX_ SV* meth, U32* hashp) | |
3209 | __attribute__warn_unused_result__ | |
3210 | __attribute__nonnull__(pTHX_1); | |
3211 | ||
864dbfa3 | 3212 | #endif |
1d7c1841 | 3213 | |
0cb96387 | 3214 | #if defined(PERL_IN_PP_SYS_C) || defined(PERL_DECL_PROT) |
b464bac0 AL |
3215 | STATIC OP* S_doform(pTHX_ CV *cv, GV *gv, OP *retop) |
3216 | __attribute__nonnull__(pTHX_1) | |
3217 | __attribute__nonnull__(pTHX_2) | |
3218 | __attribute__nonnull__(pTHX_3); | |
3219 | ||
3220 | STATIC int S_emulate_eaccess(pTHX_ const char* path, Mode_t mode) | |
b464bac0 AL |
3221 | __attribute__nonnull__(pTHX_1); |
3222 | ||
cea2e8a9 | 3223 | # if !defined(HAS_MKDIR) || !defined(HAS_RMDIR) |
b464bac0 AL |
3224 | STATIC int S_dooneliner(pTHX_ const char *cmd, const char *filename) |
3225 | __attribute__warn_unused_result__ | |
3226 | __attribute__nonnull__(pTHX_1) | |
3227 | __attribute__nonnull__(pTHX_2); | |
3228 | ||
cea2e8a9 | 3229 | # endif |
864dbfa3 | 3230 | #endif |
1d7c1841 | 3231 | |
0cb96387 | 3232 | #if defined(PERL_IN_REGCOMP_C) || defined(PERL_DECL_PROT) |
a28509cc AL |
3233 | STATIC regnode* S_reg(pTHX_ struct RExC_state_t *state, I32 paren, I32 *flagp) |
3234 | __attribute__nonnull__(pTHX_1) | |
3235 | __attribute__nonnull__(pTHX_3); | |
3236 | ||
3237 | STATIC regnode* S_reganode(pTHX_ struct RExC_state_t *state, U8 op, U32 arg) | |
3238 | __attribute__nonnull__(pTHX_1); | |
3239 | ||
3240 | STATIC regnode* S_regatom(pTHX_ struct RExC_state_t *state, I32 *flagp) | |
3241 | __attribute__nonnull__(pTHX_1) | |
3242 | __attribute__nonnull__(pTHX_2); | |
3243 | ||
3244 | STATIC regnode* S_regbranch(pTHX_ struct RExC_state_t *state, I32 *flagp, I32 first) | |
3245 | __attribute__nonnull__(pTHX_1) | |
3246 | __attribute__nonnull__(pTHX_2); | |
3247 | ||
3248 | STATIC void S_reguni(pTHX_ const struct RExC_state_t *state, UV uv, char *s, STRLEN *lenp) | |
3249 | __attribute__nonnull__(pTHX_1) | |
3250 | __attribute__nonnull__(pTHX_3) | |
3251 | __attribute__nonnull__(pTHX_4); | |
3252 | ||
3253 | STATIC regnode* S_regclass(pTHX_ struct RExC_state_t *state) | |
3254 | __attribute__nonnull__(pTHX_1); | |
3255 | ||
a3b680e6 | 3256 | STATIC I32 S_regcurly(pTHX_ const char *) |
abb2c242 JH |
3257 | __attribute__warn_unused_result__ |
3258 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 | 3259 | |
a28509cc AL |
3260 | STATIC regnode* S_reg_node(pTHX_ struct RExC_state_t *state, U8 op) |
3261 | __attribute__nonnull__(pTHX_1); | |
3262 | ||
3263 | STATIC regnode* S_regpiece(pTHX_ struct RExC_state_t *state, I32 *flagp) | |
3264 | __attribute__nonnull__(pTHX_1) | |
3265 | __attribute__nonnull__(pTHX_2); | |
3266 | ||
3267 | STATIC void S_reginsert(pTHX_ struct RExC_state_t *state, U8 op, regnode *opnd) | |
3268 | __attribute__nonnull__(pTHX_1) | |
3269 | __attribute__nonnull__(pTHX_3); | |
3270 | ||
3271 | STATIC void S_regoptail(pTHX_ struct RExC_state_t *state, regnode *p, regnode *val) | |
3272 | __attribute__nonnull__(pTHX_1) | |
3273 | __attribute__nonnull__(pTHX_2) | |
3274 | __attribute__nonnull__(pTHX_3); | |
3275 | ||
3276 | STATIC void S_regtail(pTHX_ struct RExC_state_t *state, regnode *p, regnode *val) | |
3277 | __attribute__nonnull__(pTHX_1) | |
3278 | __attribute__nonnull__(pTHX_2) | |
3279 | __attribute__nonnull__(pTHX_3); | |
3280 | ||
3281 | STATIC char* S_regwhite(pTHX_ char *p, const char *e) | |
3282 | __attribute__nonnull__(pTHX_1) | |
3283 | __attribute__nonnull__(pTHX_2); | |
3284 | ||
3285 | STATIC char* S_nextchar(pTHX_ struct RExC_state_t*) | |
3286 | __attribute__nonnull__(pTHX_1); | |
3287 | ||
8fa7f367 | 3288 | # ifdef DEBUGGING |
aec46f14 AL |
3289 | STATIC regnode* S_dumpuntil(pTHX_ regnode *start, regnode *node, regnode *last, SV* sv, I32 l) |
3290 | __attribute__nonnull__(pTHX_1) | |
3291 | __attribute__nonnull__(pTHX_2) | |
3292 | __attribute__nonnull__(pTHX_4); | |
3293 | ||
504618e9 AL |
3294 | STATIC void S_put_byte(pTHX_ SV* sv, int c) |
3295 | __attribute__nonnull__(pTHX_1); | |
3296 | ||
8fa7f367 | 3297 | # endif |
aec46f14 AL |
3298 | STATIC void S_scan_commit(pTHX_ struct RExC_state_t*, struct scan_data_t *data) |
3299 | __attribute__nonnull__(pTHX_1) | |
3300 | __attribute__nonnull__(pTHX_2); | |
3301 | ||
a28509cc AL |
3302 | STATIC void S_cl_anything(pTHX_ struct RExC_state_t*, struct regnode_charclass_class *cl) |
3303 | __attribute__nonnull__(pTHX_1) | |
3304 | __attribute__nonnull__(pTHX_2); | |
3305 | ||
3306 | STATIC int S_cl_is_anything(pTHX_ const struct regnode_charclass_class *cl) | |
3307 | __attribute__nonnull__(pTHX_1); | |
3308 | ||
3309 | STATIC void S_cl_init(pTHX_ struct RExC_state_t*, struct regnode_charclass_class *cl) | |
3310 | __attribute__nonnull__(pTHX_1) | |
3311 | __attribute__nonnull__(pTHX_2); | |
3312 | ||
3313 | STATIC void S_cl_init_zero(pTHX_ struct RExC_state_t*, struct regnode_charclass_class *cl) | |
3314 | __attribute__nonnull__(pTHX_1) | |
3315 | __attribute__nonnull__(pTHX_2); | |
3316 | ||
3317 | STATIC void S_cl_and(pTHX_ struct regnode_charclass_class *cl, const struct regnode_charclass_class *and_with) | |
46c461b5 AL |
3318 | __attribute__nonnull__(pTHX_1) |
3319 | __attribute__nonnull__(pTHX_2); | |
a28509cc AL |
3320 | |
3321 | STATIC void S_cl_or(pTHX_ struct RExC_state_t*, struct regnode_charclass_class *cl, const struct regnode_charclass_class *or_with) | |
3322 | __attribute__nonnull__(pTHX_1) | |
3323 | __attribute__nonnull__(pTHX_2) | |
3324 | __attribute__nonnull__(pTHX_3); | |
3325 | ||
aec46f14 AL |
3326 | STATIC I32 S_study_chunk(pTHX_ struct RExC_state_t* pRExC_state, regnode **scanp, I32 *deltap, regnode *last, struct scan_data_t *data, U32 flags, U32 depth) |
3327 | __attribute__nonnull__(pTHX_1) | |
3328 | __attribute__nonnull__(pTHX_2) | |
3329 | __attribute__nonnull__(pTHX_3) | |
9a957fbc | 3330 | __attribute__nonnull__(pTHX_4); |
aec46f14 AL |
3331 | |
3332 | STATIC I32 S_add_data(pTHX_ struct RExC_state_t*, I32 n, const char *s) | |
3333 | __attribute__nonnull__(pTHX_1) | |
3334 | __attribute__nonnull__(pTHX_3); | |
3335 | ||
f54cb97a | 3336 | STATIC void S_re_croak2(pTHX_ const char* pat1, const char* pat2, ...) |
46c461b5 AL |
3337 | __attribute__noreturn__ |
3338 | __attribute__nonnull__(pTHX_1) | |
3339 | __attribute__nonnull__(pTHX_2); | |
f54cb97a | 3340 | |
aec46f14 AL |
3341 | STATIC I32 S_regpposixcc(pTHX_ struct RExC_state_t*, I32 value) |
3342 | __attribute__nonnull__(pTHX_1); | |
3343 | ||
3344 | STATIC void S_checkposixcc(pTHX_ struct RExC_state_t*) | |
3345 | __attribute__nonnull__(pTHX_1); | |
3346 | ||
3347 | ||
3348 | STATIC I32 S_make_trie(pTHX_ struct RExC_state_t*, regnode *startbranch, regnode *first, regnode *last, regnode *tail, U32 flags) | |
3349 | __attribute__nonnull__(pTHX_1) | |
3350 | __attribute__nonnull__(pTHX_2) | |
3351 | __attribute__nonnull__(pTHX_3) | |
3352 | __attribute__nonnull__(pTHX_4) | |
3353 | __attribute__nonnull__(pTHX_5); | |
a3621e74 | 3354 | |
864dbfa3 | 3355 | #endif |
1d7c1841 | 3356 | |
0cb96387 | 3357 | #if defined(PERL_IN_REGEXEC_C) || defined(PERL_DECL_PROT) |
a3b680e6 | 3358 | STATIC I32 S_regmatch(pTHX_ regnode *prog) |
abb2c242 JH |
3359 | __attribute__warn_unused_result__ |
3360 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
3361 | |
3362 | STATIC I32 S_regrepeat(pTHX_ const regnode *p, I32 max) | |
abb2c242 JH |
3363 | __attribute__warn_unused_result__ |
3364 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
3365 | |
3366 | STATIC I32 S_regrepeat_hard(pTHX_ regnode *p, I32 max, I32 *lp) | |
abb2c242 JH |
3367 | __attribute__warn_unused_result__ |
3368 | __attribute__nonnull__(pTHX_1) | |
3369 | __attribute__nonnull__(pTHX_3); | |
a3b680e6 AL |
3370 | |
3371 | STATIC I32 S_regtry(pTHX_ regexp *prog, char *startpos) | |
46c461b5 AL |
3372 | __attribute__warn_unused_result__ |
3373 | __attribute__nonnull__(pTHX_1) | |
3374 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 AL |
3375 | |
3376 | STATIC bool S_reginclass(pTHX_ const regnode *n, const U8 *p, STRLEN *lenp, bool do_utf8sv_is_utf8) | |
abb2c242 JH |
3377 | __attribute__warn_unused_result__ |
3378 | __attribute__nonnull__(pTHX_1) | |
3379 | __attribute__nonnull__(pTHX_2); | |
a3b680e6 | 3380 | |
cea2e8a9 GS |
3381 | STATIC CHECKPOINT S_regcppush(pTHX_ I32 parenfloor); |
3382 | STATIC char* S_regcppop(pTHX); | |
3383 | STATIC char* S_regcp_set_to(pTHX_ I32 ss); | |
46c461b5 AL |
3384 | STATIC void S_cache_re(pTHX_ regexp *prog) |
3385 | __attribute__nonnull__(pTHX_1); | |
3386 | ||
a3b680e6 | 3387 | STATIC U8* S_reghop(pTHX_ U8 *pos, I32 off) |
aec46f14 AL |
3388 | __attribute__warn_unused_result__ |
3389 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
3390 | |
3391 | STATIC U8* S_reghop3(pTHX_ U8 *pos, I32 off, U8 *lim) | |
aec46f14 AL |
3392 | __attribute__warn_unused_result__ |
3393 | __attribute__nonnull__(pTHX_1) | |
3394 | __attribute__nonnull__(pTHX_3); | |
a3b680e6 AL |
3395 | |
3396 | STATIC U8* S_reghopmaybe(pTHX_ U8 *pos, I32 off) | |
aec46f14 AL |
3397 | __attribute__warn_unused_result__ |
3398 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 AL |
3399 | |
3400 | STATIC U8* S_reghopmaybe3(pTHX_ U8 *pos, I32 off, U8 *lim) | |
abb2c242 JH |
3401 | __attribute__warn_unused_result__ |
3402 | __attribute__nonnull__(pTHX_1) | |
3403 | __attribute__nonnull__(pTHX_3); | |
a3b680e6 AL |
3404 | |
3405 | STATIC char* S_find_byclass(pTHX_ regexp * prog, regnode *c, char *s, const char *strend, I32 norun) | |
abb2c242 JH |
3406 | __attribute__warn_unused_result__ |
3407 | __attribute__nonnull__(pTHX_1) | |
3408 | __attribute__nonnull__(pTHX_2) | |
3409 | __attribute__nonnull__(pTHX_3) | |
3410 | __attribute__nonnull__(pTHX_4); | |
a3b680e6 AL |
3411 | |
3412 | STATIC void S_to_utf8_substr(pTHX_ regexp * prog) | |
abb2c242 | 3413 | __attribute__nonnull__(pTHX_1); |
a3b680e6 AL |
3414 | |
3415 | STATIC void S_to_byte_substr(pTHX_ regexp * prog) | |
abb2c242 | 3416 | __attribute__nonnull__(pTHX_1); |
a3b680e6 | 3417 | |
864dbfa3 | 3418 | #endif |
1d7c1841 | 3419 | |
bd16a5f0 | 3420 | #if defined(PERL_IN_DUMP_C) || defined(PERL_DECL_PROT) |
53a2efa2 | 3421 | STATIC CV* S_deb_curcv(pTHX_ I32 ix); |
46c461b5 AL |
3422 | STATIC void S_debprof(pTHX_ const OP *o) |
3423 | __attribute__nonnull__(pTHX_1); | |
3424 | ||
864dbfa3 | 3425 | #endif |
1d7c1841 | 3426 | |
0cb96387 | 3427 | #if defined(PERL_IN_SCOPE_C) || defined(PERL_DECL_PROT) |
46c461b5 AL |
3428 | STATIC SV* S_save_scalar_at(pTHX_ SV **sptr) |
3429 | __attribute__nonnull__(pTHX_1); | |
3430 | ||
864dbfa3 | 3431 | #endif |
1d7c1841 | 3432 | |
e15faf7d NC |
3433 | #if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT) |
3434 | PERL_CALLCONV void Perl_sv_add_backref(pTHX_ SV *tsv, SV *sv) | |
3435 | __attribute__nonnull__(pTHX_1) | |
3436 | __attribute__nonnull__(pTHX_2); | |
3437 | ||
3438 | #endif | |
3439 | ||
0cb96387 | 3440 | #if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT) |
aec46f14 AL |
3441 | STATIC char * S_uiv_2buf(char *buf, IV iv, UV uv, int is_uv, char **peob) |
3442 | __attribute__warn_unused_result__ | |
3443 | __attribute__nonnull__(1) | |
3444 | __attribute__nonnull__(5); | |
3445 | ||
1b6737cc AL |
3446 | STATIC IV S_asIV(pTHX_ SV* sv) |
3447 | __attribute__warn_unused_result__ | |
3448 | __attribute__nonnull__(pTHX_1); | |
3449 | ||
3450 | STATIC UV S_asUV(pTHX_ SV* sv) | |
3451 | __attribute__warn_unused_result__ | |
3452 | __attribute__nonnull__(pTHX_1); | |
3453 | ||
3454 | STATIC void S_sv_unglob(pTHX_ SV* sv) | |
3455 | __attribute__nonnull__(pTHX_1); | |
3456 | ||
3457 | STATIC void S_not_a_number(pTHX_ SV *sv) | |
3458 | __attribute__nonnull__(pTHX_1); | |
3459 | ||
3460 | STATIC I32 S_visit(pTHX_ SVFUNC_t f, U32 flags, U32 mask) | |
3461 | __attribute__nonnull__(pTHX_1); | |
3462 | ||
e15faf7d | 3463 | STATIC void S_sv_del_backref(pTHX_ SV *target, SV *ref) |
1b6737cc AL |
3464 | __attribute__nonnull__(pTHX_1) |
3465 | __attribute__nonnull__(pTHX_2); | |
3466 | ||
be2ef075 NC |
3467 | STATIC SV * S_varname(pTHX_ GV *gv, const char gvtype, PADOFFSET targ, SV *keyname, I32 aindex, int subscript_type) |
3468 | __attribute__warn_unused_result__; | |
a3b680e6 | 3469 | |
8fa7f367 | 3470 | # ifdef DEBUGGING |
46c461b5 AL |
3471 | STATIC void S_del_sv(pTHX_ SV *p) |
3472 | __attribute__nonnull__(pTHX_1); | |
3473 | ||
cea2e8a9 | 3474 | # endif |
28e5dec8 | 3475 | # if !defined(NV_PRESERVES_UV) |
46c461b5 AL |
3476 | STATIC int S_sv_2iuv_non_preserve(pTHX_ SV *sv, I32 numtype) |
3477 | __attribute__nonnull__(pTHX_1); | |
3478 | ||
28e5dec8 | 3479 | # endif |
a3b680e6 | 3480 | STATIC I32 S_expect_number(pTHX_ char** pattern) |
abb2c242 JH |
3481 | __attribute__warn_unused_result__ |
3482 | __attribute__nonnull__(pTHX_1); | |
a3b680e6 | 3483 | |
9cbac4c7 | 3484 | # |
245d4a47 | 3485 | STATIC bool S_utf8_mg_pos(pTHX_ SV *sv, MAGIC **mgp, STRLEN **cachep, I32 i, I32 *offsetp, I32 uoff, const U8 **sp, const U8 *start, const U8 *send) |
abb2c242 JH |
3486 | __attribute__nonnull__(pTHX_1) |
3487 | __attribute__nonnull__(pTHX_2) | |
3488 | __attribute__nonnull__(pTHX_3) | |
3489 | __attribute__nonnull__(pTHX_5) | |
3490 | __attribute__nonnull__(pTHX_7) | |
3491 | __attribute__nonnull__(pTHX_8) | |
3492 | __attribute__nonnull__(pTHX_9); | |
a3b680e6 | 3493 | |
245d4a47 | 3494 | STATIC bool S_utf8_mg_pos_init(pTHX_ SV *sv, MAGIC **mgp, STRLEN **cachep, I32 i, I32 offsetp, const U8 *s, const U8 *start) |
abb2c242 JH |
3495 | __attribute__nonnull__(pTHX_1) |
3496 | __attribute__nonnull__(pTHX_2) | |
3497 | __attribute__nonnull__(pTHX_3) | |
3498 | __attribute__nonnull__(pTHX_6) | |
3499 | __attribute__nonnull__(pTHX_7); | |
a3b680e6 | 3500 | |
f8c7b90f | 3501 | #if defined(PERL_OLD_COPY_ON_WRITE) |
aec46f14 AL |
3502 | STATIC void S_sv_release_COW(pTHX_ SV *sv, const char *pvx, STRLEN len, SV *after) |
3503 | __attribute__nonnull__(pTHX_1) | |
3504 | __attribute__nonnull__(pTHX_2) | |
3505 | __attribute__nonnull__(pTHX_4); | |
3506 | ||
765f542d | 3507 | #endif |
cea2e8a9 | 3508 | #endif |
1d7c1841 | 3509 | |
0cb96387 | 3510 | #if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT) |
cea2e8a9 GS |
3511 | STATIC void S_check_uni(pTHX); |
3512 | STATIC void S_force_next(pTHX_ I32 type); | |
46c461b5 AL |
3513 | STATIC char* S_force_version(pTHX_ char *start, int guessing) |
3514 | __attribute__nonnull__(pTHX_1); | |
3515 | ||
3516 | STATIC char* S_force_word(pTHX_ char *start, int token, int check_keyword, int allow_pack, int allow_tick) | |
3517 | __attribute__nonnull__(pTHX_1); | |
3518 | ||
3519 | STATIC SV* S_tokeq(pTHX_ SV *sv) | |
3520 | __attribute__nonnull__(pTHX_1); | |
3521 | ||
8eceec63 | 3522 | STATIC int S_pending_ident(pTHX); |
f54cb97a | 3523 | STATIC char* S_scan_const(pTHX_ char *start) |
46c461b5 | 3524 | __attribute__warn_unused_result__ |
abb2c242 | 3525 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
3526 | |
3527 | STATIC char* S_scan_formline(pTHX_ char *s) | |
46c461b5 | 3528 | __attribute__warn_unused_result__ |
abb2c242 | 3529 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
3530 | |
3531 | STATIC char* S_scan_heredoc(pTHX_ char *s) | |
46c461b5 | 3532 | __attribute__warn_unused_result__ |
abb2c242 | 3533 | __attribute__nonnull__(pTHX_1); |
f54cb97a AL |
3534 | |
3535 | STATIC char* S_scan_ident(pTHX_ char *s, const char *send, char *dest, STRLEN destlen, I32 ck_uni) | |
abb2c242 JH |
3536 | __attribute__nonnull__(pTHX_1) |
3537 | __attribute__nonnull__(pTHX_2) | |
3538 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 3539 | |
46c461b5 AL |
3540 | STATIC char* S_scan_inputsymbol(pTHX_ char *start) |
3541 | __attribute__warn_unused_result__ | |
3542 | __attribute__nonnull__(pTHX_1); | |
3543 | ||
3544 | STATIC char* S_scan_pat(pTHX_ char *start, I32 type) | |
3545 | __attribute__warn_unused_result__ | |
3546 | __attribute__nonnull__(pTHX_1); | |
3547 | ||
3548 | STATIC char* S_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims) | |
3549 | __attribute__warn_unused_result__ | |
3550 | __attribute__nonnull__(pTHX_1); | |
3551 | ||
3552 | STATIC char* S_scan_subst(pTHX_ char *start) | |
3553 | __attribute__warn_unused_result__ | |
3554 | __attribute__nonnull__(pTHX_1); | |
3555 | ||
3556 | STATIC char* S_scan_trans(pTHX_ char *start) | |
3557 | __attribute__warn_unused_result__ | |
3558 | __attribute__nonnull__(pTHX_1); | |
3559 | ||
3560 | STATIC char* S_scan_word(pTHX_ char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp) | |
3561 | __attribute__nonnull__(pTHX_1) | |
3562 | __attribute__nonnull__(pTHX_2) | |
3563 | __attribute__nonnull__(pTHX_5); | |
3564 | ||
3565 | STATIC char* S_skipspace(pTHX_ char *s) | |
3566 | __attribute__warn_unused_result__ | |
3567 | __attribute__nonnull__(pTHX_1); | |
3568 | ||
3569 | STATIC char* S_swallow_bom(pTHX_ U8 *s) | |
3570 | __attribute__warn_unused_result__ | |
3571 | __attribute__nonnull__(pTHX_1); | |
3572 | ||
f54cb97a | 3573 | STATIC void S_checkcomma(pTHX_ char *s, const char *name, const char *what) |
abb2c242 JH |
3574 | __attribute__nonnull__(pTHX_1) |
3575 | __attribute__nonnull__(pTHX_2) | |
3576 | __attribute__nonnull__(pTHX_3); | |
f54cb97a | 3577 | |
46c461b5 AL |
3578 | STATIC void S_force_ident(pTHX_ const char *s, int kind) |
3579 | __attribute__nonnull__(pTHX_1); | |
3580 | ||
3581 | STATIC void S_incline(pTHX_ char *s) | |
3582 | __attribute__nonnull__(pTHX_1); | |
3583 | ||
3584 | STATIC int S_intuit_method(pTHX_ char *s, GV *gv) | |