Commit | Line | Data |
---|---|---|
d8294a4d NC |
1 | /* -*- buffer-read-only: t -*- |
2 | * | |
4bdc353c JH |
3 | * proto.h |
4 | * | |
e6906430 | 5 | * Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
31ab2e0d | 6 | * 2000, 2001, 2002, 2003, 2004, 2005, by Larry Wall and others |
4bdc353c JH |
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 | */ | |
cea2e8a9 | 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); |
065cbbe5 | 25 | PERL_CALLCONV void perl_construct(PerlInterpreter* interp) |
24c2fff4 NC |
26 | __attribute__nonnull__(1); |
27 | ||
065cbbe5 | 28 | PERL_CALLCONV int perl_destruct(PerlInterpreter* interp) |
24c2fff4 NC |
29 | __attribute__nonnull__(1); |
30 | ||
065cbbe5 | 31 | PERL_CALLCONV void perl_free(PerlInterpreter* interp) |
24c2fff4 NC |
32 | __attribute__nonnull__(1); |
33 | ||
065cbbe5 | 34 | PERL_CALLCONV int perl_run(PerlInterpreter* interp) |
24c2fff4 NC |
35 | __attribute__nonnull__(1); |
36 | ||
1d7c1841 | 37 | PERL_CALLCONV int perl_parse(PerlInterpreter* interp, XSINIT_t xsinit, int argc, char** argv, char** env); |
e4057cfc 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 | ||
065cbbe5 | 48 | PERL_CALLCONV Malloc_t Perl_malloc(MEM_SIZE nbytes) |
24c2fff4 NC |
49 | __attribute__malloc__ |
50 | __attribute__warn_unused_result__; | |
51 | ||
065cbbe5 | 52 | PERL_CALLCONV Malloc_t Perl_calloc(MEM_SIZE elements, MEM_SIZE size) |
24c2fff4 NC |
53 | __attribute__malloc__ |
54 | __attribute__warn_unused_result__; | |
55 | ||
065cbbe5 | 56 | PERL_CALLCONV Malloc_t Perl_realloc(Malloc_t where, MEM_SIZE nbytes) |
24c2fff4 NC |
57 | __attribute__malloc__ |
58 | __attribute__warn_unused_result__; | |
59 | ||
1d7c1841 | 60 | PERL_CALLCONV Free_t Perl_mfree(Malloc_t where); |
cae6d0e5 | 61 | #if defined(MYMALLOC) |
481da01c AL |
62 | PERL_CALLCONV MEM_SIZE Perl_malloced_size(void *p) |
63 | __attribute__warn_unused_result__; | |
64 | ||
1d7c1841 GS |
65 | #endif |
66 | ||
ba869deb GS |
67 | PERL_CALLCONV void* Perl_get_context(void); |
68 | PERL_CALLCONV void Perl_set_context(void *thx); | |
69 | ||
1d7c1841 GS |
70 | END_EXTERN_C |
71 | ||
72 | /* functions with flag 'n' should come before here */ | |
1d7c1841 | 73 | START_EXTERN_C |
1d7c1841 GS |
74 | # include "pp_proto.h" |
75 | PERL_CALLCONV SV* Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir); | |
76 | PERL_CALLCONV bool Perl_Gv_AMupdate(pTHX_ HV* stash); | |
32251b26 | 77 | PERL_CALLCONV CV* Perl_gv_handler(pTHX_ HV* stash, I32 id); |
1d7c1841 GS |
78 | PERL_CALLCONV OP* Perl_append_elem(pTHX_ I32 optype, OP* head, OP* tail); |
79 | PERL_CALLCONV OP* Perl_append_list(pTHX_ I32 optype, LISTOP* first, LISTOP* last); | |
80 | PERL_CALLCONV I32 Perl_apply(pTHX_ I32 type, SV** mark, SV** sp); | |
48b1b78b | 81 | PERL_CALLCONV void Perl_apply_attrs_string(pTHX_ char *stashpv, CV *cv, char *attrstr, STRLEN len); |
4bdc353c JH |
82 | PERL_CALLCONV SV* Perl_avhv_delete_ent(pTHX_ AV *ar, SV* keysv, I32 flags, U32 hash); |
83 | PERL_CALLCONV bool Perl_avhv_exists_ent(pTHX_ AV *ar, SV* keysv, U32 hash); | |
84 | PERL_CALLCONV SV** Perl_avhv_fetch_ent(pTHX_ AV *ar, SV* keysv, I32 lval, U32 hash); | |
85 | PERL_CALLCONV SV** Perl_avhv_store_ent(pTHX_ AV *ar, SV* keysv, SV* val, U32 hash); | |
86 | PERL_CALLCONV HE* Perl_avhv_iternext(pTHX_ AV *ar); | |
87 | PERL_CALLCONV SV* Perl_avhv_iterval(pTHX_ AV *ar, HE* entry); | |
88 | PERL_CALLCONV HV* Perl_avhv_keys(pTHX_ AV *ar); | |
1d7c1841 | 89 | PERL_CALLCONV void Perl_av_clear(pTHX_ AV* ar); |
4f1e9d25 | 90 | PERL_CALLCONV SV* Perl_av_delete(pTHX_ AV* ar, I32 key, I32 flags); |
8c18bf38 AL |
91 | PERL_CALLCONV bool Perl_av_exists(pTHX_ AV* ar, I32 key) |
92 | __attribute__warn_unused_result__; | |
93 | ||
94 | PERL_CALLCONV void Perl_av_extend(pTHX_ AV* ar, I32 key) | |
95 | __attribute__nonnull__(pTHX_1); | |
96 | ||
97 | PERL_CALLCONV AV* Perl_av_fake(pTHX_ I32 size, SV** svp) | |
98 | __attribute__warn_unused_result__ | |
99 | __attribute__nonnull__(pTHX_2); | |
100 | ||
101 | PERL_CALLCONV SV** Perl_av_fetch(pTHX_ AV* ar, I32 key, I32 lval) | |
102 | __attribute__warn_unused_result__; | |
103 | ||
1d7c1841 | 104 | PERL_CALLCONV void Perl_av_fill(pTHX_ AV* ar, I32 fill); |
8c18bf38 AL |
105 | PERL_CALLCONV I32 Perl_av_len(pTHX_ AV* ar) |
106 | __attribute__warn_unused_result__; | |
107 | ||
108 | PERL_CALLCONV AV* Perl_av_make(pTHX_ I32 size, SV** svp) | |
109 | __attribute__warn_unused_result__ | |
110 | __attribute__nonnull__(pTHX_2); | |
111 | ||
4f1e9d25 | 112 | PERL_CALLCONV SV* Perl_av_pop(pTHX_ AV* ar); |
1d7c1841 GS |
113 | PERL_CALLCONV void Perl_av_push(pTHX_ AV* ar, SV* val); |
114 | PERL_CALLCONV void Perl_av_reify(pTHX_ AV* ar); | |
8c18bf38 AL |
115 | PERL_CALLCONV SV* Perl_av_shift(pTHX_ AV* ar) |
116 | __attribute__warn_unused_result__; | |
117 | ||
1d7c1841 GS |
118 | PERL_CALLCONV SV** Perl_av_store(pTHX_ AV* ar, I32 key, SV* val); |
119 | PERL_CALLCONV void Perl_av_undef(pTHX_ AV* ar); | |
120 | PERL_CALLCONV void Perl_av_unshift(pTHX_ AV* ar, I32 num); | |
8c18bf38 AL |
121 | PERL_CALLCONV OP* Perl_bind_match(pTHX_ I32 type, OP* left, OP* pat) |
122 | __attribute__warn_unused_result__ | |
123 | __attribute__nonnull__(pTHX_2) | |
124 | __attribute__nonnull__(pTHX_3); | |
125 | ||
126 | PERL_CALLCONV OP* Perl_block_end(pTHX_ I32 floor, OP* seq) | |
127 | __attribute__warn_unused_result__; | |
128 | ||
129 | PERL_CALLCONV I32 Perl_block_gimme(pTHX) | |
130 | __attribute__warn_unused_result__; | |
131 | ||
132 | PERL_CALLCONV int Perl_block_start(pTHX_ int full) | |
133 | __attribute__warn_unused_result__; | |
134 | ||
1d7c1841 | 135 | PERL_CALLCONV void Perl_boot_core_UNIVERSAL(pTHX); |
36ed5425 | 136 | PERL_CALLCONV void Perl_boot_core_PerlIO(pTHX); |
8c18bf38 AL |
137 | PERL_CALLCONV void Perl_call_list(pTHX_ I32 oldscope, AV* av_list) |
138 | __attribute__nonnull__(pTHX_2); | |
139 | ||
065cbbe5 | 140 | PERL_CALLCONV bool Perl_cando(pTHX_ Mode_t mode, Uid_t effective, const Stat_t* statbufp) |
8c18bf38 | 141 | __attribute__warn_unused_result__ |
24c2fff4 NC |
142 | __attribute__nonnull__(pTHX_3); |
143 | ||
0188be2e AL |
144 | PERL_CALLCONV U32 Perl_cast_ulong(pTHX_ NV f) |
145 | __attribute__warn_unused_result__; | |
146 | ||
147 | PERL_CALLCONV I32 Perl_cast_i32(pTHX_ NV f) | |
148 | __attribute__warn_unused_result__; | |
149 | ||
150 | PERL_CALLCONV IV Perl_cast_iv(pTHX_ NV f) | |
151 | __attribute__warn_unused_result__; | |
152 | ||
153 | PERL_CALLCONV UV Perl_cast_uv(pTHX_ NV f) | |
154 | __attribute__warn_unused_result__; | |
155 | ||
cea2e8a9 | 156 | #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP) |
0188be2e AL |
157 | PERL_CALLCONV I32 Perl_my_chsize(pTHX_ int fd, Off_t length) |
158 | __attribute__warn_unused_result__; | |
159 | ||
cea2e8a9 | 160 | #endif |
4bdc353c JH |
161 | #if defined(USE_5005THREADS) |
162 | PERL_CALLCONV MAGIC* Perl_condpair_magic(pTHX_ SV *sv); | |
163 | #endif | |
0188be2e AL |
164 | PERL_CALLCONV OP* Perl_convert(pTHX_ I32 optype, I32 flags, OP* o) |
165 | __attribute__warn_unused_result__; | |
166 | ||
24c2fff4 NC |
167 | PERL_CALLCONV void Perl_croak(pTHX_ const char* pat, ...) |
168 | __attribute__noreturn__ | |
065cbbe5 | 169 | __attribute__format__(__printf__,pTHX_1,pTHX_2); |
24c2fff4 NC |
170 | |
171 | PERL_CALLCONV void Perl_vcroak(pTHX_ const char* pat, va_list* args) | |
172 | __attribute__noreturn__; | |
173 | ||
cea2e8a9 | 174 | #if defined(PERL_IMPLICIT_CONTEXT) |
24c2fff4 NC |
175 | PERL_CALLCONV void Perl_croak_nocontext(const char* pat, ...) |
176 | __attribute__noreturn__ | |
065cbbe5 | 177 | __attribute__format__(__printf__,1,2); |
24c2fff4 | 178 | |
894356b3 | 179 | PERL_CALLCONV OP* Perl_die_nocontext(const char* pat, ...) |
065cbbe5 | 180 | __attribute__format__(__printf__,1,2); |
24c2fff4 | 181 | |
894356b3 | 182 | PERL_CALLCONV void Perl_deb_nocontext(const char* pat, ...) |
065cbbe5 | 183 | __attribute__format__(__printf__,1,2); |
24c2fff4 | 184 | |
894356b3 | 185 | PERL_CALLCONV char* Perl_form_nocontext(const char* pat, ...) |
065cbbe5 | 186 | __attribute__format__(__printf__,1,2); |
24c2fff4 | 187 | |
d2560b70 | 188 | PERL_CALLCONV void Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...); |
894356b3 | 189 | PERL_CALLCONV SV* Perl_mess_nocontext(const char* pat, ...) |
065cbbe5 | 190 | __attribute__format__(__printf__,1,2); |
24c2fff4 | 191 | |
894356b3 | 192 | PERL_CALLCONV void Perl_warn_nocontext(const char* pat, ...) |
065cbbe5 | 193 | __attribute__format__(__printf__,1,2); |
24c2fff4 | 194 | |
894356b3 | 195 | PERL_CALLCONV void Perl_warner_nocontext(U32 err, const char* pat, ...) |
065cbbe5 | 196 | __attribute__format__(__printf__,2,3); |
24c2fff4 | 197 | |
894356b3 | 198 | PERL_CALLCONV SV* Perl_newSVpvf_nocontext(const char* pat, ...) |
065cbbe5 | 199 | __attribute__format__(__printf__,1,2); |
24c2fff4 | 200 | |
894356b3 | 201 | PERL_CALLCONV void Perl_sv_catpvf_nocontext(SV* sv, const char* pat, ...) |
065cbbe5 | 202 | __attribute__format__(__printf__,2,3); |
24c2fff4 | 203 | |
894356b3 | 204 | PERL_CALLCONV void Perl_sv_setpvf_nocontext(SV* sv, const char* pat, ...) |
065cbbe5 | 205 | __attribute__format__(__printf__,2,3); |
24c2fff4 | 206 | |
894356b3 | 207 | PERL_CALLCONV void Perl_sv_catpvf_mg_nocontext(SV* sv, const char* pat, ...) |
065cbbe5 | 208 | __attribute__format__(__printf__,2,3); |
24c2fff4 | 209 | |
894356b3 | 210 | PERL_CALLCONV void Perl_sv_setpvf_mg_nocontext(SV* sv, const char* pat, ...) |
065cbbe5 | 211 | __attribute__format__(__printf__,2,3); |
24c2fff4 | 212 | |
894356b3 | 213 | PERL_CALLCONV int Perl_fprintf_nocontext(PerlIO* stream, const char* fmt, ...) |
065cbbe5 | 214 | __attribute__format__(__printf__,2,3); |
24c2fff4 | 215 | |
b0316773 | 216 | PERL_CALLCONV int Perl_printf_nocontext(const char* fmt, ...) |
065cbbe5 | 217 | __attribute__format__(__printf__,1,2); |
24c2fff4 | 218 | |
0cb96387 | 219 | #endif |
8c18bf38 AL |
220 | PERL_CALLCONV void Perl_cv_ckproto(pTHX_ CV* cv, GV* gv, char* p) |
221 | __attribute__nonnull__(pTHX_1); | |
222 | ||
065cbbe5 | 223 | PERL_CALLCONV CV* Perl_cv_clone(pTHX_ CV* proto) |
24c2fff4 NC |
224 | __attribute__nonnull__(pTHX_1); |
225 | ||
1d7c1841 GS |
226 | PERL_CALLCONV SV* Perl_cv_const_sv(pTHX_ CV* cv); |
227 | PERL_CALLCONV SV* Perl_op_const_sv(pTHX_ OP* o, CV* cv); | |
228 | PERL_CALLCONV void Perl_cv_undef(pTHX_ CV* cv); | |
229 | PERL_CALLCONV void Perl_cx_dump(pTHX_ PERL_CONTEXT* cs); | |
230 | PERL_CALLCONV SV* Perl_filter_add(pTHX_ filter_t funcp, SV* datasv); | |
231 | PERL_CALLCONV void Perl_filter_del(pTHX_ filter_t funcp); | |
232 | PERL_CALLCONV I32 Perl_filter_read(pTHX_ int idx, SV* buffer, int maxlen); | |
065cbbe5 | 233 | PERL_CALLCONV char** Perl_get_op_descs(pTHX) |
8c18bf38 | 234 | __attribute__warn_unused_result__ |
24c2fff4 NC |
235 | __attribute__pure__; |
236 | ||
065cbbe5 | 237 | PERL_CALLCONV char** Perl_get_op_names(pTHX) |
8c18bf38 | 238 | __attribute__warn_unused_result__ |
24c2fff4 NC |
239 | __attribute__pure__; |
240 | ||
065cbbe5 | 241 | PERL_CALLCONV char* Perl_get_no_modify(pTHX) |
8c18bf38 | 242 | __attribute__warn_unused_result__ |
24c2fff4 NC |
243 | __attribute__pure__; |
244 | ||
065cbbe5 | 245 | PERL_CALLCONV U32* Perl_get_opargs(pTHX) |
8c18bf38 | 246 | __attribute__warn_unused_result__ |
24c2fff4 NC |
247 | __attribute__pure__; |
248 | ||
065cbbe5 | 249 | PERL_CALLCONV PPADDR_t* Perl_get_ppaddr(pTHX) |
8c18bf38 | 250 | __attribute__warn_unused_result__ |
24c2fff4 NC |
251 | __attribute__pure__; |
252 | ||
8c18bf38 AL |
253 | PERL_CALLCONV I32 Perl_cxinc(pTHX) |
254 | __attribute__warn_unused_result__; | |
255 | ||
894356b3 | 256 | PERL_CALLCONV void Perl_deb(pTHX_ const char* pat, ...) |
065cbbe5 | 257 | __attribute__format__(__printf__,pTHX_1,pTHX_2); |
24c2fff4 | 258 | |
1d7c1841 GS |
259 | PERL_CALLCONV void Perl_vdeb(pTHX_ const char* pat, va_list* args); |
260 | PERL_CALLCONV void Perl_debprofdump(pTHX); | |
065cbbe5 | 261 | PERL_CALLCONV I32 Perl_debop(pTHX_ OP* o) |
24c2fff4 NC |
262 | __attribute__nonnull__(pTHX_1); |
263 | ||
1d7c1841 GS |
264 | PERL_CALLCONV I32 Perl_debstack(pTHX); |
265 | PERL_CALLCONV I32 Perl_debstackptrs(pTHX); | |
065cbbe5 | 266 | PERL_CALLCONV char* Perl_delimcpy(pTHX_ char* to, char* toend, char* from, char* fromend, int delim, I32* retlen) |
24c2fff4 NC |
267 | __attribute__nonnull__(pTHX_1) |
268 | __attribute__nonnull__(pTHX_2) | |
269 | __attribute__nonnull__(pTHX_3) | |
270 | __attribute__nonnull__(pTHX_4) | |
271 | __attribute__nonnull__(pTHX_6); | |
272 | ||
065cbbe5 | 273 | PERL_CALLCONV void Perl_deprecate(pTHX_ char* s) |
24c2fff4 NC |
274 | __attribute__nonnull__(pTHX_1); |
275 | ||
065cbbe5 | 276 | PERL_CALLCONV void Perl_deprecate_old(pTHX_ char* s) |
24c2fff4 NC |
277 | __attribute__nonnull__(pTHX_1); |
278 | ||
894356b3 | 279 | PERL_CALLCONV OP* Perl_die(pTHX_ const char* pat, ...) |
065cbbe5 | 280 | __attribute__format__(__printf__,pTHX_1,pTHX_2); |
24c2fff4 | 281 | |
1d7c1841 GS |
282 | PERL_CALLCONV OP* Perl_vdie(pTHX_ const char* pat, va_list* args); |
283 | PERL_CALLCONV OP* Perl_die_where(pTHX_ char* message, STRLEN msglen); | |
284 | PERL_CALLCONV void Perl_dounwind(pTHX_ I32 cxix); | |
285 | PERL_CALLCONV bool Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp); | |
286 | PERL_CALLCONV bool Perl_do_aexec5(pTHX_ SV* really, SV** mark, SV** sp, int fd, int flag); | |
065cbbe5 | 287 | PERL_CALLCONV int Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int mode) |
24c2fff4 NC |
288 | __attribute__nonnull__(pTHX_1); |
289 | ||
065cbbe5 | 290 | PERL_CALLCONV void Perl_do_chop(pTHX_ SV* asv, SV* sv) |
24c2fff4 NC |
291 | __attribute__nonnull__(pTHX_1) |
292 | __attribute__nonnull__(pTHX_2); | |
293 | ||
065cbbe5 | 294 | PERL_CALLCONV bool Perl_do_close(pTHX_ GV* gv, bool not_implicit) |
24c2fff4 NC |
295 | __attribute__nonnull__(pTHX_1); |
296 | ||
065cbbe5 | 297 | PERL_CALLCONV bool Perl_do_eof(pTHX_ GV* gv) |
24c2fff4 NC |
298 | __attribute__nonnull__(pTHX_1); |
299 | ||
065cbbe5 | 300 | PERL_CALLCONV bool Perl_do_exec(pTHX_ char* cmd) |
24c2fff4 NC |
301 | __attribute__nonnull__(pTHX_1); |
302 | ||
54725af6 GS |
303 | #if defined(WIN32) |
304 | PERL_CALLCONV int Perl_do_aspawn(pTHX_ SV* really, SV** mark, SV** sp); | |
305 | PERL_CALLCONV int Perl_do_spawn(pTHX_ char* cmd); | |
306 | PERL_CALLCONV int Perl_do_spawn_nowait(pTHX_ char* cmd); | |
307 | #endif | |
864dbfa3 | 308 | #if !defined(WIN32) |
1d7c1841 | 309 | PERL_CALLCONV bool Perl_do_exec3(pTHX_ char* cmd, int fd, int flag); |
864dbfa3 | 310 | #endif |
1d7c1841 | 311 | PERL_CALLCONV void Perl_do_execfree(pTHX); |
864dbfa3 | 312 | #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM) |
1d7c1841 GS |
313 | PERL_CALLCONV I32 Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp); |
314 | PERL_CALLCONV I32 Perl_do_ipcget(pTHX_ I32 optype, SV** mark, SV** sp); | |
315 | PERL_CALLCONV I32 Perl_do_msgrcv(pTHX_ SV** mark, SV** sp); | |
316 | PERL_CALLCONV I32 Perl_do_msgsnd(pTHX_ SV** mark, SV** sp); | |
317 | PERL_CALLCONV I32 Perl_do_semop(pTHX_ SV** mark, SV** sp); | |
318 | PERL_CALLCONV I32 Perl_do_shmio(pTHX_ I32 optype, SV** mark, SV** sp); | |
0cb96387 | 319 | #endif |
24c2fff4 NC |
320 | PERL_CALLCONV void Perl_do_join(pTHX_ SV* sv, SV* del, SV** mark, SV** sp) |
321 | __attribute__nonnull__(pTHX_1) | |
322 | __attribute__nonnull__(pTHX_2) | |
323 | __attribute__nonnull__(pTHX_3) | |
324 | __attribute__nonnull__(pTHX_4); | |
325 | ||
1d7c1841 GS |
326 | PERL_CALLCONV OP* Perl_do_kv(pTHX); |
327 | PERL_CALLCONV bool Perl_do_open(pTHX_ GV* gv, char* name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp); | |
328 | PERL_CALLCONV bool Perl_do_open9(pTHX_ GV *gv, char *name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO *supplied_fp, SV *svs, I32 num); | |
a567e93b | 329 | PERL_CALLCONV bool Perl_do_openn(pTHX_ GV *gv, char *name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO *supplied_fp, SV **svp, I32 num); |
1d7c1841 GS |
330 | PERL_CALLCONV void Perl_do_pipe(pTHX_ SV* sv, GV* rgv, GV* wgv); |
331 | PERL_CALLCONV bool Perl_do_print(pTHX_ SV* sv, PerlIO* fp); | |
332 | PERL_CALLCONV OP* Perl_do_readline(pTHX); | |
333 | PERL_CALLCONV I32 Perl_do_chomp(pTHX_ SV* sv); | |
334 | PERL_CALLCONV bool Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence); | |
335 | PERL_CALLCONV void Perl_do_sprintf(pTHX_ SV* sv, I32 len, SV** sarg); | |
336 | PERL_CALLCONV Off_t Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence); | |
337 | PERL_CALLCONV Off_t Perl_do_tell(pTHX_ GV* gv); | |
338 | PERL_CALLCONV I32 Perl_do_trans(pTHX_ SV* sv); | |
065cbbe5 | 339 | PERL_CALLCONV UV Perl_do_vecget(pTHX_ SV* sv, I32 offset, I32 size) |
24c2fff4 NC |
340 | __attribute__nonnull__(pTHX_1); |
341 | ||
065cbbe5 | 342 | PERL_CALLCONV void Perl_do_vecset(pTHX_ SV* sv) |
24c2fff4 NC |
343 | __attribute__nonnull__(pTHX_1); |
344 | ||
1d7c1841 GS |
345 | PERL_CALLCONV void Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right); |
346 | PERL_CALLCONV OP* Perl_dofile(pTHX_ OP* term); | |
347 | PERL_CALLCONV I32 Perl_dowantarray(pTHX); | |
348 | PERL_CALLCONV void Perl_dump_all(pTHX); | |
349 | PERL_CALLCONV void Perl_dump_eval(pTHX); | |
864dbfa3 | 350 | #if defined(DUMP_FDS) |
1d7c1841 | 351 | PERL_CALLCONV void Perl_dump_fds(pTHX_ char* s); |
0cb96387 | 352 | #endif |
1d7c1841 GS |
353 | PERL_CALLCONV void Perl_dump_form(pTHX_ GV* gv); |
354 | PERL_CALLCONV void Perl_gv_dump(pTHX_ GV* gv); | |
355 | PERL_CALLCONV void Perl_op_dump(pTHX_ OP* arg); | |
356 | PERL_CALLCONV void Perl_pmop_dump(pTHX_ PMOP* pm); | |
357 | PERL_CALLCONV void Perl_dump_packsubs(pTHX_ HV* stash); | |
24c2fff4 NC |
358 | PERL_CALLCONV void Perl_dump_sub(pTHX_ GV* gv) |
359 | __attribute__nonnull__(pTHX_1); | |
360 | ||
1d7c1841 GS |
361 | PERL_CALLCONV void Perl_fbm_compile(pTHX_ SV* sv, U32 flags); |
362 | PERL_CALLCONV char* Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlesv, U32 flags); | |
363 | PERL_CALLCONV char* Perl_find_script(pTHX_ char *scriptname, bool dosearch, char **search_ext, I32 flags); | |
4bdc353c JH |
364 | #if defined(USE_5005THREADS) |
365 | PERL_CALLCONV PADOFFSET Perl_find_threadsv(pTHX_ const char *name); | |
366 | #endif | |
065cbbe5 | 367 | PERL_CALLCONV OP* Perl_force_list(pTHX_ OP* arg) |
24c2fff4 NC |
368 | __attribute__nonnull__(pTHX_1); |
369 | ||
065cbbe5 | 370 | PERL_CALLCONV OP* Perl_fold_constants(pTHX_ OP* arg) |
24c2fff4 NC |
371 | __attribute__nonnull__(pTHX_1); |
372 | ||
894356b3 | 373 | PERL_CALLCONV char* Perl_form(pTHX_ const char* pat, ...) |
065cbbe5 | 374 | __attribute__format__(__printf__,pTHX_1,pTHX_2); |
24c2fff4 | 375 | |
1d7c1841 GS |
376 | PERL_CALLCONV char* Perl_vform(pTHX_ const char* pat, va_list* args); |
377 | PERL_CALLCONV void Perl_free_tmps(pTHX); | |
378 | PERL_CALLCONV OP* Perl_gen_constant_list(pTHX_ OP* o); | |
864dbfa3 | 379 | #if !defined(HAS_GETENV_LEN) |
4f1e9d25 AL |
380 | PERL_CALLCONV char* Perl_getenv_len(pTHX_ const char* key, unsigned long *len) |
381 | __attribute__nonnull__(pTHX_1) | |
382 | __attribute__nonnull__(pTHX_2); | |
383 | ||
0cb96387 | 384 | #endif |
1d7c1841 GS |
385 | PERL_CALLCONV void Perl_gp_free(pTHX_ GV* gv); |
386 | PERL_CALLCONV GP* Perl_gp_ref(pTHX_ GP* gp); | |
0188be2e AL |
387 | PERL_CALLCONV GV* Perl_gv_AVadd(pTHX_ GV* gv) |
388 | __attribute__nonnull__(pTHX_1); | |
389 | ||
390 | PERL_CALLCONV GV* Perl_gv_HVadd(pTHX_ GV* gv) | |
391 | __attribute__nonnull__(pTHX_1); | |
392 | ||
393 | PERL_CALLCONV GV* Perl_gv_IOadd(pTHX_ GV* gv) | |
394 | __attribute__nonnull__(pTHX_1); | |
395 | ||
e4057cfc AL |
396 | PERL_CALLCONV GV* Perl_gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method) |
397 | __attribute__warn_unused_result__ | |
398 | __attribute__nonnull__(pTHX_2); | |
399 | ||
1d7c1841 GS |
400 | PERL_CALLCONV void Perl_gv_check(pTHX_ HV* stash); |
401 | PERL_CALLCONV void Perl_gv_efullname(pTHX_ SV* sv, GV* gv); | |
3c71ae1e | 402 | /* PERL_CALLCONV void gv_efullname3(pTHX_ SV* sv, GV* gv, const char* prefix); */ |
43693395 | 403 | PERL_CALLCONV void Perl_gv_efullname4(pTHX_ SV* sv, GV* gv, const char* prefix, bool keepmain); |
0188be2e AL |
404 | PERL_CALLCONV GV* Perl_gv_fetchfile(pTHX_ const char* name) |
405 | __attribute__nonnull__(pTHX_1); | |
406 | ||
1d7c1841 | 407 | PERL_CALLCONV GV* Perl_gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); |
2d8263b8 | 408 | PERL_CALLCONV GV* Perl_gv_fetchmeth_autoload(pTHX_ HV* stash, const char* name, STRLEN len, I32 level); |
1d7c1841 GS |
409 | PERL_CALLCONV GV* Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name); |
410 | PERL_CALLCONV GV* Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload); | |
411 | PERL_CALLCONV GV* Perl_gv_fetchpv(pTHX_ const char* name, I32 add, I32 sv_type); | |
412 | PERL_CALLCONV void Perl_gv_fullname(pTHX_ SV* sv, GV* gv); | |
3c71ae1e | 413 | /* PERL_CALLCONV void gv_fullname3(pTHX_ SV* sv, GV* gv, const char* prefix); */ |
43693395 | 414 | PERL_CALLCONV void Perl_gv_fullname4(pTHX_ SV* sv, GV* gv, const char* prefix, bool keepmain); |
0188be2e AL |
415 | PERL_CALLCONV void Perl_gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi) |
416 | __attribute__nonnull__(pTHX_1) | |
0188be2e AL |
417 | __attribute__nonnull__(pTHX_3); |
418 | ||
1d7c1841 GS |
419 | PERL_CALLCONV HV* Perl_gv_stashpv(pTHX_ const char* name, I32 create); |
420 | PERL_CALLCONV HV* Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 create); | |
421 | PERL_CALLCONV HV* Perl_gv_stashsv(pTHX_ SV* sv, I32 create); | |
422 | PERL_CALLCONV void Perl_hv_clear(pTHX_ HV* tb); | |
423 | PERL_CALLCONV void Perl_hv_delayfree_ent(pTHX_ HV* hv, HE* entry); | |
da58a35d | 424 | PERL_CALLCONV SV* Perl_hv_delete(pTHX_ HV* tb, const char* key, I32 klen, I32 flags); |
1d7c1841 | 425 | PERL_CALLCONV SV* Perl_hv_delete_ent(pTHX_ HV* tb, SV* key, I32 flags, U32 hash); |
62cc1c5f AL |
426 | PERL_CALLCONV bool Perl_hv_exists(pTHX_ HV* tb, const char* key, I32 klen) |
427 | __attribute__warn_unused_result__; | |
428 | ||
429 | PERL_CALLCONV bool Perl_hv_exists_ent(pTHX_ HV* tb, SV* key, U32 hash) | |
430 | __attribute__warn_unused_result__; | |
431 | ||
da58a35d | 432 | PERL_CALLCONV SV** Perl_hv_fetch(pTHX_ HV* tb, const char* key, I32 klen, I32 lval); |
1d7c1841 | 433 | PERL_CALLCONV HE* Perl_hv_fetch_ent(pTHX_ HV* tb, SV* key, I32 lval, U32 hash); |
8c18bf38 AL |
434 | PERL_CALLCONV void Perl_hv_free_ent(pTHX_ HV* hv, HE* entry) |
435 | __attribute__nonnull__(pTHX_1); | |
436 | ||
437 | PERL_CALLCONV I32 Perl_hv_iterinit(pTHX_ HV* tb) | |
438 | __attribute__nonnull__(pTHX_1); | |
439 | ||
440 | PERL_CALLCONV char* Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen) | |
441 | __attribute__warn_unused_result__ | |
442 | __attribute__nonnull__(pTHX_1) | |
443 | __attribute__nonnull__(pTHX_2); | |
444 | ||
445 | PERL_CALLCONV SV* Perl_hv_iterkeysv(pTHX_ HE* entry) | |
446 | __attribute__warn_unused_result__ | |
447 | __attribute__nonnull__(pTHX_1); | |
448 | ||
449 | PERL_CALLCONV HE* Perl_hv_iternext(pTHX_ HV* tb) | |
450 | __attribute__warn_unused_result__ | |
451 | __attribute__nonnull__(pTHX_1); | |
452 | ||
453 | PERL_CALLCONV SV* Perl_hv_iternextsv(pTHX_ HV* hv, char** key, I32* retlen) | |
454 | __attribute__warn_unused_result__ | |
455 | __attribute__nonnull__(pTHX_1) | |
456 | __attribute__nonnull__(pTHX_2) | |
457 | __attribute__nonnull__(pTHX_3); | |
458 | ||
459 | PERL_CALLCONV HE* Perl_hv_iternext_flags(pTHX_ HV* tb, I32 flags) | |
460 | __attribute__warn_unused_result__ | |
461 | __attribute__nonnull__(pTHX_1); | |
462 | ||
463 | PERL_CALLCONV SV* Perl_hv_iterval(pTHX_ HV* tb, HE* entry) | |
464 | __attribute__warn_unused_result__ | |
465 | __attribute__nonnull__(pTHX_1) | |
466 | __attribute__nonnull__(pTHX_2); | |
467 | ||
468 | PERL_CALLCONV void Perl_hv_ksplit(pTHX_ HV* hv, IV newmax) | |
469 | __attribute__nonnull__(pTHX_1); | |
470 | ||
1d7c1841 | 471 | PERL_CALLCONV void Perl_hv_magic(pTHX_ HV* hv, GV* gv, int how); |
da58a35d | 472 | PERL_CALLCONV SV** Perl_hv_store(pTHX_ HV* tb, const char* key, I32 klen, SV* val, U32 hash); |
1d7c1841 | 473 | PERL_CALLCONV HE* Perl_hv_store_ent(pTHX_ HV* tb, SV* key, SV* val, U32 hash); |
e16e2ff8 | 474 | PERL_CALLCONV SV** Perl_hv_store_flags(pTHX_ HV* tb, const char* key, I32 klen, SV* val, U32 hash, int flags); |
1d7c1841 | 475 | PERL_CALLCONV void Perl_hv_undef(pTHX_ HV* tb); |
065cbbe5 | 476 | PERL_CALLCONV I32 Perl_ibcmp(pTHX_ const char* a, const char* b, I32 len) |
24c2fff4 NC |
477 | __attribute__pure__ |
478 | __attribute__nonnull__(pTHX_1) | |
479 | __attribute__nonnull__(pTHX_2); | |
480 | ||
065cbbe5 | 481 | PERL_CALLCONV I32 Perl_ibcmp_locale(pTHX_ const char* a, const char* b, I32 len) |
24c2fff4 NC |
482 | __attribute__pure__ |
483 | __attribute__nonnull__(pTHX_1) | |
484 | __attribute__nonnull__(pTHX_2); | |
485 | ||
065cbbe5 | 486 | 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) |
24c2fff4 NC |
487 | __attribute__nonnull__(pTHX_1) |
488 | __attribute__nonnull__(pTHX_5); | |
489 | ||
490 | PERL_CALLCONV bool Perl_ingroup(pTHX_ Gid_t testgid, Uid_t effective) | |
491 | __attribute__warn_unused_result__; | |
492 | ||
065cbbe5 | 493 | PERL_CALLCONV void Perl_init_argv_symbols(pTHX_ int argc, char **argv) |
24c2fff4 NC |
494 | __attribute__nonnull__(pTHX_2); |
495 | ||
1d7c1841 GS |
496 | PERL_CALLCONV void Perl_init_debugger(pTHX); |
497 | PERL_CALLCONV void Perl_init_stacks(pTHX); | |
e72cf795 | 498 | PERL_CALLCONV void Perl_init_tm(pTHX_ struct tm *ptm); |
1d7c1841 | 499 | PERL_CALLCONV U32 Perl_intro_my(pTHX); |
065cbbe5 | 500 | PERL_CALLCONV char* Perl_instr(pTHX_ const char* big, const char* little) |
481da01c | 501 | __attribute__warn_unused_result__ |
24c2fff4 NC |
502 | __attribute__pure__ |
503 | __attribute__nonnull__(pTHX_1) | |
504 | __attribute__nonnull__(pTHX_2); | |
505 | ||
481da01c AL |
506 | PERL_CALLCONV bool Perl_io_close(pTHX_ IO* io, bool not_implicit) |
507 | __attribute__warn_unused_result__ | |
508 | __attribute__nonnull__(pTHX_1); | |
509 | ||
510 | PERL_CALLCONV OP* Perl_invert(pTHX_ OP* cmd) | |
511 | __attribute__warn_unused_result__; | |
512 | ||
24c2fff4 | 513 | PERL_CALLCONV bool Perl_is_gv_magical(pTHX_ char *name, STRLEN len, U32 flags) |
a2592645 NC |
514 | __attribute__warn_unused_result__ |
515 | __attribute__nonnull__(pTHX_1); | |
24c2fff4 NC |
516 | |
517 | PERL_CALLCONV I32 Perl_is_lvalue_sub(pTHX) | |
518 | __attribute__warn_unused_result__; | |
519 | ||
520 | PERL_CALLCONV U32 Perl_to_uni_upper_lc(pTHX_ U32 c) | |
521 | __attribute__warn_unused_result__ | |
522 | __attribute__pure__; | |
523 | ||
524 | PERL_CALLCONV U32 Perl_to_uni_title_lc(pTHX_ U32 c) | |
525 | __attribute__warn_unused_result__ | |
526 | __attribute__pure__; | |
527 | ||
528 | PERL_CALLCONV U32 Perl_to_uni_lower_lc(pTHX_ U32 c) | |
529 | __attribute__warn_unused_result__ | |
530 | __attribute__pure__; | |
531 | ||
532 | PERL_CALLCONV bool Perl_is_uni_alnum(pTHX_ UV c) | |
533 | __attribute__warn_unused_result__ | |
534 | __attribute__pure__; | |
535 | ||
536 | PERL_CALLCONV bool Perl_is_uni_alnumc(pTHX_ UV c) | |
537 | __attribute__warn_unused_result__ | |
538 | __attribute__pure__; | |
539 | ||
540 | PERL_CALLCONV bool Perl_is_uni_idfirst(pTHX_ UV c) | |
541 | __attribute__warn_unused_result__ | |
542 | __attribute__pure__; | |
543 | ||
544 | PERL_CALLCONV bool Perl_is_uni_alpha(pTHX_ UV c) | |
545 | __attribute__warn_unused_result__ | |
546 | __attribute__pure__; | |
547 | ||
548 | PERL_CALLCONV bool Perl_is_uni_ascii(pTHX_ UV c) | |
549 | __attribute__warn_unused_result__ | |
550 | __attribute__pure__; | |
551 | ||
552 | PERL_CALLCONV bool Perl_is_uni_space(pTHX_ UV c) | |
553 | __attribute__warn_unused_result__ | |
554 | __attribute__pure__; | |
555 | ||
556 | PERL_CALLCONV bool Perl_is_uni_cntrl(pTHX_ UV c) | |
557 | __attribute__warn_unused_result__ | |
558 | __attribute__pure__; | |
559 | ||
560 | PERL_CALLCONV bool Perl_is_uni_graph(pTHX_ UV c) | |
561 | __attribute__warn_unused_result__ | |
562 | __attribute__pure__; | |
563 | ||
564 | PERL_CALLCONV bool Perl_is_uni_digit(pTHX_ UV c) | |
565 | __attribute__warn_unused_result__ | |
566 | __attribute__pure__; | |
567 | ||
568 | PERL_CALLCONV bool Perl_is_uni_upper(pTHX_ UV c) | |
569 | __attribute__warn_unused_result__ | |
570 | __attribute__pure__; | |
571 | ||
572 | PERL_CALLCONV bool Perl_is_uni_lower(pTHX_ UV c) | |
573 | __attribute__warn_unused_result__ | |
574 | __attribute__pure__; | |
575 | ||
576 | PERL_CALLCONV bool Perl_is_uni_print(pTHX_ UV c) | |
577 | __attribute__warn_unused_result__ | |
578 | __attribute__pure__; | |
579 | ||
580 | PERL_CALLCONV bool Perl_is_uni_punct(pTHX_ UV c) | |
581 | __attribute__warn_unused_result__ | |
582 | __attribute__pure__; | |
583 | ||
584 | PERL_CALLCONV bool Perl_is_uni_xdigit(pTHX_ UV c) | |
585 | __attribute__warn_unused_result__ | |
586 | __attribute__pure__; | |
587 | ||
065cbbe5 | 588 | PERL_CALLCONV UV Perl_to_uni_upper(pTHX_ UV c, U8 *p, STRLEN *lenp) |
24c2fff4 NC |
589 | __attribute__nonnull__(pTHX_2) |
590 | __attribute__nonnull__(pTHX_3); | |
591 | ||
065cbbe5 | 592 | PERL_CALLCONV UV Perl_to_uni_title(pTHX_ UV c, U8 *p, STRLEN *lenp) |
24c2fff4 NC |
593 | __attribute__nonnull__(pTHX_2) |
594 | __attribute__nonnull__(pTHX_3); | |
595 | ||
065cbbe5 | 596 | PERL_CALLCONV UV Perl_to_uni_lower(pTHX_ UV c, U8 *p, STRLEN *lenp) |
24c2fff4 NC |
597 | __attribute__nonnull__(pTHX_2) |
598 | __attribute__nonnull__(pTHX_3); | |
599 | ||
065cbbe5 | 600 | PERL_CALLCONV UV Perl_to_uni_fold(pTHX_ UV c, U8 *p, STRLEN *lenp) |
24c2fff4 NC |
601 | __attribute__nonnull__(pTHX_2) |
602 | __attribute__nonnull__(pTHX_3); | |
603 | ||
604 | PERL_CALLCONV bool Perl_is_uni_alnum_lc(pTHX_ UV c) | |
605 | __attribute__warn_unused_result__ | |
606 | __attribute__pure__; | |
607 | ||
608 | PERL_CALLCONV bool Perl_is_uni_alnumc_lc(pTHX_ UV c) | |
609 | __attribute__warn_unused_result__ | |
610 | __attribute__pure__; | |
611 | ||
612 | PERL_CALLCONV bool Perl_is_uni_idfirst_lc(pTHX_ UV c) | |
613 | __attribute__warn_unused_result__ | |
614 | __attribute__pure__; | |
615 | ||
616 | PERL_CALLCONV bool Perl_is_uni_alpha_lc(pTHX_ UV c) | |
617 | __attribute__warn_unused_result__ | |
618 | __attribute__pure__; | |
619 | ||
620 | PERL_CALLCONV bool Perl_is_uni_ascii_lc(pTHX_ UV c) | |
621 | __attribute__warn_unused_result__ | |
622 | __attribute__pure__; | |
623 | ||
624 | PERL_CALLCONV bool Perl_is_uni_space_lc(pTHX_ UV c) | |
625 | __attribute__warn_unused_result__ | |
626 | __attribute__pure__; | |
627 | ||
628 | PERL_CALLCONV bool Perl_is_uni_cntrl_lc(pTHX_ UV c) | |
629 | __attribute__warn_unused_result__ | |
630 | __attribute__pure__; | |
631 | ||
632 | PERL_CALLCONV bool Perl_is_uni_graph_lc(pTHX_ UV c) | |
633 | __attribute__warn_unused_result__ | |
634 | __attribute__pure__; | |
635 | ||
636 | PERL_CALLCONV bool Perl_is_uni_digit_lc(pTHX_ UV c) | |
637 | __attribute__warn_unused_result__ | |
638 | __attribute__pure__; | |
639 | ||
640 | PERL_CALLCONV bool Perl_is_uni_upper_lc(pTHX_ UV c) | |
641 | __attribute__warn_unused_result__ | |
642 | __attribute__pure__; | |
643 | ||
644 | PERL_CALLCONV bool Perl_is_uni_lower_lc(pTHX_ UV c) | |
645 | __attribute__warn_unused_result__ | |
646 | __attribute__pure__; | |
647 | ||
648 | PERL_CALLCONV bool Perl_is_uni_print_lc(pTHX_ UV c) | |
649 | __attribute__warn_unused_result__ | |
650 | __attribute__pure__; | |
651 | ||
652 | PERL_CALLCONV bool Perl_is_uni_punct_lc(pTHX_ UV c) | |
653 | __attribute__warn_unused_result__ | |
654 | __attribute__pure__; | |
655 | ||
656 | PERL_CALLCONV bool Perl_is_uni_xdigit_lc(pTHX_ UV c) | |
657 | __attribute__warn_unused_result__ | |
658 | __attribute__pure__; | |
659 | ||
065cbbe5 | 660 | PERL_CALLCONV STRLEN Perl_is_utf8_char(pTHX_ U8 *p) |
24c2fff4 NC |
661 | __attribute__nonnull__(pTHX_1); |
662 | ||
065cbbe5 | 663 | PERL_CALLCONV bool Perl_is_utf8_string_loc(pTHX_ U8 *s, STRLEN len, U8 **p) |
0612e869 NC |
664 | __attribute__nonnull__(pTHX_1) |
665 | __attribute__nonnull__(pTHX_3); | |
d7a71dc3 | 666 | |
0612e869 | 667 | PERL_CALLCONV bool Perl_is_utf8_string(pTHX_ U8 *s, STRLEN len) |
d7a71dc3 | 668 | __attribute__nonnull__(pTHX_1); |
24c2fff4 | 669 | |
065cbbe5 | 670 | PERL_CALLCONV bool Perl_is_utf8_alnum(pTHX_ U8 *p) |
228fe6e6 | 671 | __attribute__warn_unused_result__ |
24c2fff4 NC |
672 | __attribute__nonnull__(pTHX_1); |
673 | ||
065cbbe5 | 674 | PERL_CALLCONV bool Perl_is_utf8_alnumc(pTHX_ U8 *p) |
228fe6e6 | 675 | __attribute__warn_unused_result__ |
24c2fff4 NC |
676 | __attribute__nonnull__(pTHX_1); |
677 | ||
065cbbe5 | 678 | PERL_CALLCONV bool Perl_is_utf8_idfirst(pTHX_ U8 *p) |
228fe6e6 | 679 | __attribute__warn_unused_result__ |
24c2fff4 NC |
680 | __attribute__nonnull__(pTHX_1); |
681 | ||
065cbbe5 | 682 | PERL_CALLCONV bool Perl_is_utf8_idcont(pTHX_ U8 *p) |
228fe6e6 | 683 | __attribute__warn_unused_result__ |
24c2fff4 NC |
684 | __attribute__nonnull__(pTHX_1); |
685 | ||
065cbbe5 | 686 | PERL_CALLCONV bool Perl_is_utf8_alpha(pTHX_ U8 *p) |
228fe6e6 | 687 | __attribute__warn_unused_result__ |
24c2fff4 NC |
688 | __attribute__nonnull__(pTHX_1); |
689 | ||
065cbbe5 | 690 | PERL_CALLCONV bool Perl_is_utf8_ascii(pTHX_ U8 *p) |
228fe6e6 | 691 | __attribute__warn_unused_result__ |
24c2fff4 NC |
692 | __attribute__nonnull__(pTHX_1); |
693 | ||
065cbbe5 | 694 | PERL_CALLCONV bool Perl_is_utf8_space(pTHX_ U8 *p) |
228fe6e6 | 695 | __attribute__warn_unused_result__ |
24c2fff4 NC |
696 | __attribute__nonnull__(pTHX_1); |
697 | ||
065cbbe5 | 698 | PERL_CALLCONV bool Perl_is_utf8_cntrl(pTHX_ U8 *p) |
228fe6e6 | 699 | __attribute__warn_unused_result__ |
24c2fff4 NC |
700 | __attribute__nonnull__(pTHX_1); |
701 | ||
065cbbe5 | 702 | PERL_CALLCONV bool Perl_is_utf8_digit(pTHX_ U8 *p) |
228fe6e6 | 703 | __attribute__warn_unused_result__ |
24c2fff4 NC |
704 | __attribute__nonnull__(pTHX_1); |
705 | ||
065cbbe5 | 706 | PERL_CALLCONV bool Perl_is_utf8_graph(pTHX_ U8 *p) |
228fe6e6 | 707 | __attribute__warn_unused_result__ |
24c2fff4 NC |
708 | __attribute__nonnull__(pTHX_1); |
709 | ||
065cbbe5 | 710 | PERL_CALLCONV bool Perl_is_utf8_upper(pTHX_ U8 *p) |
228fe6e6 | 711 | __attribute__warn_unused_result__ |
24c2fff4 NC |
712 | __attribute__nonnull__(pTHX_1); |
713 | ||
065cbbe5 | 714 | PERL_CALLCONV bool Perl_is_utf8_lower(pTHX_ U8 *p) |
228fe6e6 | 715 | __attribute__warn_unused_result__ |
24c2fff4 NC |
716 | __attribute__nonnull__(pTHX_1); |
717 | ||
065cbbe5 | 718 | PERL_CALLCONV bool Perl_is_utf8_print(pTHX_ U8 *p) |
228fe6e6 | 719 | __attribute__warn_unused_result__ |
24c2fff4 NC |
720 | __attribute__nonnull__(pTHX_1); |
721 | ||
065cbbe5 | 722 | PERL_CALLCONV bool Perl_is_utf8_punct(pTHX_ U8 *p) |
228fe6e6 | 723 | __attribute__warn_unused_result__ |
24c2fff4 NC |
724 | __attribute__nonnull__(pTHX_1); |
725 | ||
065cbbe5 | 726 | PERL_CALLCONV bool Perl_is_utf8_xdigit(pTHX_ U8 *p) |
228fe6e6 | 727 | __attribute__warn_unused_result__ |
24c2fff4 NC |
728 | __attribute__nonnull__(pTHX_1); |
729 | ||
065cbbe5 | 730 | PERL_CALLCONV bool Perl_is_utf8_mark(pTHX_ U8 *p) |
228fe6e6 | 731 | __attribute__warn_unused_result__ |
24c2fff4 NC |
732 | __attribute__nonnull__(pTHX_1); |
733 | ||
065cbbe5 | 734 | PERL_CALLCONV OP* Perl_jmaybe(pTHX_ OP* arg) |
24c2fff4 NC |
735 | __attribute__nonnull__(pTHX_1); |
736 | ||
065cbbe5 | 737 | PERL_CALLCONV I32 Perl_keyword(pTHX_ char* d, I32 len) |
24c2fff4 NC |
738 | __attribute__pure__ |
739 | __attribute__nonnull__(pTHX_1); | |
740 | ||
1d7c1841 GS |
741 | PERL_CALLCONV void Perl_leave_scope(pTHX_ I32 base); |
742 | PERL_CALLCONV void Perl_lex_end(pTHX); | |
743 | PERL_CALLCONV void Perl_lex_start(pTHX_ SV* line); | |
93c66552 DM |
744 | PERL_CALLCONV void Perl_op_null(pTHX_ OP* o); |
745 | PERL_CALLCONV void Perl_op_clear(pTHX_ OP* o); | |
1d7c1841 GS |
746 | PERL_CALLCONV OP* Perl_linklist(pTHX_ OP* o); |
747 | PERL_CALLCONV OP* Perl_list(pTHX_ OP* o); | |
748 | PERL_CALLCONV OP* Perl_listkids(pTHX_ OP* o); | |
d2560b70 | 749 | PERL_CALLCONV void Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...); |
e4783991 | 750 | PERL_CALLCONV void Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args); |
1d7c1841 | 751 | PERL_CALLCONV OP* Perl_localize(pTHX_ OP* arg, I32 lexical); |
24c2fff4 NC |
752 | PERL_CALLCONV I32 Perl_looks_like_number(pTHX_ SV* sv) |
753 | __attribute__warn_unused_result__ | |
754 | __attribute__nonnull__(pTHX_1); | |
755 | ||
756 | PERL_CALLCONV UV Perl_grok_bin(pTHX_ char* start, STRLEN* len, I32* flags, NV *result) | |
757 | __attribute__nonnull__(pTHX_1) | |
758 | __attribute__nonnull__(pTHX_2) | |
759 | __attribute__nonnull__(pTHX_3); | |
760 | ||
761 | PERL_CALLCONV UV Perl_grok_hex(pTHX_ char* start, STRLEN* len, I32* flags, NV *result) | |
762 | __attribute__nonnull__(pTHX_1) | |
763 | __attribute__nonnull__(pTHX_2) | |
764 | __attribute__nonnull__(pTHX_3); | |
765 | ||
766 | PERL_CALLCONV int Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep) | |
767 | __attribute__nonnull__(pTHX_1); | |
768 | ||
62cc1c5f AL |
769 | PERL_CALLCONV bool Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send) |
770 | __attribute__warn_unused_result__; | |
771 | ||
8c18bf38 | 772 | PERL_CALLCONV UV Perl_grok_oct(pTHX_ char* start, STRLEN* len_p, I32* flags, NV *result); |
1d7c1841 GS |
773 | PERL_CALLCONV int Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg); |
774 | PERL_CALLCONV int Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg); | |
775 | PERL_CALLCONV int Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg); | |
776 | PERL_CALLCONV int Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg); | |
777 | PERL_CALLCONV int Perl_magic_existspack(pTHX_ SV* sv, MAGIC* mg); | |
778 | PERL_CALLCONV int Perl_magic_freeregexp(pTHX_ SV* sv, MAGIC* mg); | |
d460ef45 | 779 | PERL_CALLCONV int Perl_magic_freeovrld(pTHX_ SV* sv, MAGIC* mg); |
1d7c1841 | 780 | PERL_CALLCONV int Perl_magic_get(pTHX_ SV* sv, MAGIC* mg); |
4f1e9d25 AL |
781 | PERL_CALLCONV int Perl_magic_getarylen(pTHX_ SV* sv, MAGIC* mg) |
782 | __attribute__nonnull__(pTHX_1) | |
783 | __attribute__nonnull__(pTHX_2); | |
784 | ||
1d7c1841 GS |
785 | PERL_CALLCONV int Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg); |
786 | PERL_CALLCONV int Perl_magic_getglob(pTHX_ SV* sv, MAGIC* mg); | |
787 | PERL_CALLCONV int Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg); | |
788 | PERL_CALLCONV int Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg); | |
789 | PERL_CALLCONV int Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg); | |
790 | PERL_CALLCONV int Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg); | |
791 | PERL_CALLCONV int Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg); | |
792 | PERL_CALLCONV int Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg); | |
793 | PERL_CALLCONV int Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg); | |
794 | PERL_CALLCONV int Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg); | |
795 | PERL_CALLCONV U32 Perl_magic_len(pTHX_ SV* sv, MAGIC* mg); | |
4bdc353c JH |
796 | #if defined(USE_5005THREADS) |
797 | PERL_CALLCONV int Perl_magic_mutexfree(pTHX_ SV* sv, MAGIC* mg); | |
798 | #endif | |
1d7c1841 GS |
799 | PERL_CALLCONV int Perl_magic_nextpack(pTHX_ SV* sv, MAGIC* mg, SV* key); |
800 | PERL_CALLCONV U32 Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg); | |
801 | PERL_CALLCONV int Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg); | |
24c2fff4 NC |
802 | PERL_CALLCONV int Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg) |
803 | __attribute__noreturn__; | |
804 | ||
1d7c1841 GS |
805 | PERL_CALLCONV int Perl_magic_set(pTHX_ SV* sv, MAGIC* mg); |
806 | PERL_CALLCONV int Perl_magic_setamagic(pTHX_ SV* sv, MAGIC* mg); | |
807 | PERL_CALLCONV int Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg); | |
808 | PERL_CALLCONV int Perl_magic_setbm(pTHX_ SV* sv, MAGIC* mg); | |
809 | PERL_CALLCONV int Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg); | |
864dbfa3 | 810 | #if defined(USE_LOCALE_COLLATE) |
1d7c1841 | 811 | PERL_CALLCONV int Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg); |
864dbfa3 | 812 | #endif |
1d7c1841 GS |
813 | PERL_CALLCONV int Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg); |
814 | PERL_CALLCONV int Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg); | |
815 | PERL_CALLCONV int Perl_magic_setfm(pTHX_ SV* sv, MAGIC* mg); | |
816 | PERL_CALLCONV int Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg); | |
817 | PERL_CALLCONV int Perl_magic_setglob(pTHX_ SV* sv, MAGIC* mg); | |
818 | PERL_CALLCONV int Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg); | |
819 | PERL_CALLCONV int Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg); | |
820 | PERL_CALLCONV int Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg); | |
821 | PERL_CALLCONV int Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg); | |
5835a535 | 822 | PERL_CALLCONV int Perl_magic_setregexp(pTHX_ SV* sv, MAGIC* mg); |
1d7c1841 GS |
823 | PERL_CALLCONV int Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg); |
824 | PERL_CALLCONV int Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg); | |
825 | PERL_CALLCONV int Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg); | |
826 | PERL_CALLCONV int Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg); | |
827 | PERL_CALLCONV int Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg); | |
323eb6b5 | 828 | PERL_CALLCONV int Perl_magic_setutf8(pTHX_ SV* sv, MAGIC* mg); |
1d7c1841 GS |
829 | PERL_CALLCONV int Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg); |
830 | PERL_CALLCONV U32 Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg); | |
831 | PERL_CALLCONV int Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg); | |
832 | PERL_CALLCONV void Perl_magicname(pTHX_ char* sym, char* name, I32 namlen); | |
833 | PERL_CALLCONV void Perl_markstack_grow(pTHX); | |
864dbfa3 | 834 | #if defined(USE_LOCALE_COLLATE) |
1d7c1841 | 835 | PERL_CALLCONV char* Perl_mem_collxfrm(pTHX_ const char* s, STRLEN len, STRLEN* xlen); |
0cb96387 | 836 | #endif |
894356b3 | 837 | PERL_CALLCONV SV* Perl_mess(pTHX_ const char* pat, ...) |
065cbbe5 | 838 | __attribute__format__(__printf__,pTHX_1,pTHX_2); |
24c2fff4 | 839 | |
1d7c1841 GS |
840 | PERL_CALLCONV SV* Perl_vmess(pTHX_ const char* pat, va_list* args); |
841 | PERL_CALLCONV void Perl_qerror(pTHX_ SV* err); | |
2a5a0c38 | 842 | PERL_CALLCONV void Perl_sortsv(pTHX_ SV ** array, size_t num_elts, SVCOMPARE_t cmp); |
1d7c1841 GS |
843 | PERL_CALLCONV int Perl_mg_clear(pTHX_ SV* sv); |
844 | PERL_CALLCONV int Perl_mg_copy(pTHX_ SV* sv, SV* nsv, const char* key, I32 klen); | |
845 | PERL_CALLCONV MAGIC* Perl_mg_find(pTHX_ SV* sv, int type); | |
846 | PERL_CALLCONV int Perl_mg_free(pTHX_ SV* sv); | |
847 | PERL_CALLCONV int Perl_mg_get(pTHX_ SV* sv); | |
848 | PERL_CALLCONV U32 Perl_mg_length(pTHX_ SV* sv); | |
849 | PERL_CALLCONV void Perl_mg_magical(pTHX_ SV* sv); | |
850 | PERL_CALLCONV int Perl_mg_set(pTHX_ SV* sv); | |
8fb26106 | 851 | PERL_CALLCONV I32 Perl_mg_size(pTHX_ SV* sv); |
e72cf795 | 852 | PERL_CALLCONV void Perl_mini_mktime(pTHX_ struct tm *pm); |
1d7c1841 | 853 | PERL_CALLCONV OP* Perl_mod(pTHX_ OP* o, I32 type); |
16fe6d59 | 854 | PERL_CALLCONV int Perl_mode_from_discipline(pTHX_ SV* discp); |
1d7c1841 | 855 | PERL_CALLCONV char* Perl_moreswitches(pTHX_ char* s); |
065cbbe5 | 856 | PERL_CALLCONV OP* Perl_my(pTHX_ OP* o) |
24c2fff4 NC |
857 | __attribute__nonnull__(pTHX_1); |
858 | ||
065cbbe5 | 859 | PERL_CALLCONV NV Perl_my_atof(pTHX_ const char *s) |
24c2fff4 NC |
860 | __attribute__nonnull__(pTHX_1); |
861 | ||
2253333f | 862 | #if (!defined(HAS_MEMCPY) && !defined(HAS_BCOPY)) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY) && !defined(HAS_SAFE_BCOPY)) |
065cbbe5 | 863 | PERL_CALLCONV char* Perl_my_bcopy(const char* from, char* to, I32 len) |
24c2fff4 NC |
864 | __attribute__nonnull__(1) |
865 | __attribute__nonnull__(2); | |
866 | ||
5f05dabc | 867 | #endif |
a0d0e21e | 868 | #if !defined(HAS_BZERO) && !defined(HAS_MEMSET) |
065cbbe5 | 869 | PERL_CALLCONV char* Perl_my_bzero(char* loc, I32 len) |
24c2fff4 NC |
870 | __attribute__nonnull__(1); |
871 | ||
864dbfa3 | 872 | #endif |
24c2fff4 NC |
873 | PERL_CALLCONV void Perl_my_exit(pTHX_ U32 status) |
874 | __attribute__noreturn__; | |
875 | ||
876 | PERL_CALLCONV void Perl_my_failure_exit(pTHX) | |
877 | __attribute__noreturn__; | |
878 | ||
1d7c1841 | 879 | PERL_CALLCONV I32 Perl_my_fflush_all(pTHX); |
52e18b1f GS |
880 | PERL_CALLCONV Pid_t Perl_my_fork(void); |
881 | PERL_CALLCONV void Perl_atfork_lock(void); | |
882 | PERL_CALLCONV void Perl_atfork_unlock(void); | |
1d7c1841 | 883 | PERL_CALLCONV I32 Perl_my_lstat(pTHX); |
5f05dabc | 884 | #if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP) |
065cbbe5 | 885 | PERL_CALLCONV I32 Perl_my_memcmp(const char* s1, const char* s2, I32 len) |
24c2fff4 NC |
886 | __attribute__pure__ |
887 | __attribute__nonnull__(1) | |
888 | __attribute__nonnull__(2); | |
889 | ||
a0d0e21e | 890 | #endif |
fc36a67e | 891 | #if !defined(HAS_MEMSET) |
065cbbe5 | 892 | PERL_CALLCONV void* Perl_my_memset(char* loc, I32 ch, I32 len) |
24c2fff4 NC |
893 | __attribute__nonnull__(1); |
894 | ||
864dbfa3 | 895 | #endif |
1d7c1841 GS |
896 | PERL_CALLCONV I32 Perl_my_pclose(pTHX_ PerlIO* ptr); |
897 | PERL_CALLCONV PerlIO* Perl_my_popen(pTHX_ char* cmd, char* mode); | |
c60e0e09 | 898 | PERL_CALLCONV PerlIO* Perl_my_popen_list(pTHX_ char* mode, int n, SV ** args); |
1d7c1841 GS |
899 | PERL_CALLCONV void Perl_my_setenv(pTHX_ char* nam, char* val); |
900 | PERL_CALLCONV I32 Perl_my_stat(pTHX); | |
b3c85772 | 901 | PERL_CALLCONV char * Perl_my_strftime(pTHX_ char *fmt, int sec, int min, int hour, int mday, int mon, int year, int wday, int yday, int isdst); |
864dbfa3 | 902 | #if defined(MYSWAP) |
065cbbe5 | 903 | PERL_CALLCONV short Perl_my_swap(pTHX_ short s) |
24c2fff4 NC |
904 | __attribute__malloc__ |
905 | __attribute__warn_unused_result__ | |
906 | __attribute__pure__; | |
907 | ||
065cbbe5 | 908 | PERL_CALLCONV long Perl_my_htonl(pTHX_ long l) |
24c2fff4 NC |
909 | __attribute__malloc__ |
910 | __attribute__warn_unused_result__ | |
911 | __attribute__pure__; | |
912 | ||
065cbbe5 | 913 | PERL_CALLCONV long Perl_my_ntohl(pTHX_ long l) |
24c2fff4 NC |
914 | __attribute__malloc__ |
915 | __attribute__warn_unused_result__ | |
916 | __attribute__pure__; | |
917 | ||
0cb96387 | 918 | #endif |
1d7c1841 | 919 | PERL_CALLCONV void Perl_my_unexec(pTHX); |
24c2fff4 NC |
920 | PERL_CALLCONV OP* Perl_newANONLIST(pTHX_ OP* o) |
921 | __attribute__malloc__ | |
922 | __attribute__warn_unused_result__; | |
923 | ||
924 | PERL_CALLCONV OP* Perl_newANONHASH(pTHX_ OP* o) | |
925 | __attribute__malloc__ | |
926 | __attribute__warn_unused_result__; | |
927 | ||
1d7c1841 | 928 | PERL_CALLCONV OP* Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block); |
24c2fff4 NC |
929 | PERL_CALLCONV OP* Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right) |
930 | __attribute__malloc__ | |
931 | __attribute__warn_unused_result__; | |
932 | ||
933 | PERL_CALLCONV OP* Perl_newCONDOP(pTHX_ I32 flags, OP* expr, OP* trueop, OP* falseop) | |
934 | __attribute__malloc__ | |
935 | __attribute__warn_unused_result__; | |
936 | ||
beab0874 | 937 | PERL_CALLCONV CV* Perl_newCONSTSUB(pTHX_ HV* stash, char* name, SV* sv); |
1d7c1841 | 938 | PERL_CALLCONV void Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block); |
24c2fff4 NC |
939 | PERL_CALLCONV OP* Perl_newFOROP(pTHX_ I32 flags, char* label, line_t forline, OP* sclr, OP* expr, OP*block, OP*cont) |
940 | __attribute__malloc__ | |
941 | __attribute__warn_unused_result__; | |
942 | ||
943 | PERL_CALLCONV OP* Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP* left, OP* right) | |
944 | __attribute__malloc__ | |
945 | __attribute__warn_unused_result__; | |
946 | ||
947 | PERL_CALLCONV OP* Perl_newLOOPEX(pTHX_ I32 type, OP* label) | |
948 | __attribute__malloc__ | |
949 | __attribute__warn_unused_result__; | |
950 | ||
951 | PERL_CALLCONV OP* Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block) | |
952 | __attribute__malloc__ | |
953 | __attribute__warn_unused_result__; | |
954 | ||
065cbbe5 | 955 | PERL_CALLCONV OP* Perl_newNULLLIST(pTHX) |
24c2fff4 NC |
956 | __attribute__malloc__ |
957 | __attribute__warn_unused_result__; | |
958 | ||
959 | PERL_CALLCONV OP* Perl_newOP(pTHX_ I32 optype, I32 flags) | |
960 | __attribute__malloc__ | |
961 | __attribute__warn_unused_result__; | |
962 | ||
963 | PERL_CALLCONV void Perl_newPROG(pTHX_ OP* o) | |
964 | __attribute__nonnull__(pTHX_1); | |
965 | ||
966 | PERL_CALLCONV OP* Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right) | |
967 | __attribute__malloc__ | |
968 | __attribute__warn_unused_result__; | |
969 | ||
970 | PERL_CALLCONV OP* Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop) | |
971 | __attribute__malloc__ | |
972 | __attribute__warn_unused_result__; | |
973 | ||
974 | PERL_CALLCONV OP* Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o) | |
975 | __attribute__malloc__ | |
976 | __attribute__warn_unused_result__; | |
977 | ||
1d7c1841 | 978 | PERL_CALLCONV CV* Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block); |
065cbbe5 | 979 | PERL_CALLCONV CV* Perl_newXS(pTHX_ char* name, XSUBADDR_t f, char* filename) |
24c2fff4 NC |
980 | __attribute__nonnull__(pTHX_1) |
981 | __attribute__nonnull__(pTHX_3); | |
982 | ||
983 | PERL_CALLCONV AV* Perl_newAV(pTHX) | |
984 | __attribute__malloc__ | |
985 | __attribute__warn_unused_result__; | |
986 | ||
065cbbe5 | 987 | PERL_CALLCONV OP* Perl_newAVREF(pTHX_ OP* o) |
24c2fff4 NC |
988 | __attribute__malloc__ |
989 | __attribute__warn_unused_result__ | |
990 | __attribute__nonnull__(pTHX_1); | |
991 | ||
992 | PERL_CALLCONV OP* Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last) | |
993 | __attribute__malloc__ | |
994 | __attribute__warn_unused_result__; | |
995 | ||
996 | PERL_CALLCONV OP* Perl_newCVREF(pTHX_ I32 flags, OP* o) | |
997 | __attribute__malloc__ | |
998 | __attribute__warn_unused_result__; | |
999 | ||
1000 | PERL_CALLCONV OP* Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv) | |
1001 | __attribute__malloc__ | |
1002 | __attribute__warn_unused_result__; | |
1003 | ||
1004 | PERL_CALLCONV GV* Perl_newGVgen(pTHX_ char* pack) | |
1005 | __attribute__malloc__ | |
1006 | __attribute__warn_unused_result__; | |
1007 | ||
1008 | PERL_CALLCONV OP* Perl_newGVREF(pTHX_ I32 type, OP* o) | |
1009 | __attribute__malloc__ | |
1010 | __attribute__warn_unused_result__; | |
1011 | ||
065cbbe5 | 1012 | PERL_CALLCONV OP* Perl_newHVREF(pTHX_ OP* o) |
24c2fff4 NC |
1013 | __attribute__malloc__ |
1014 | __attribute__warn_unused_result__ | |
1015 | __attribute__nonnull__(pTHX_1); | |
1016 | ||
1017 | PERL_CALLCONV HV* Perl_newHV(pTHX) | |
1018 | __attribute__malloc__ | |
1019 | __attribute__warn_unused_result__; | |
1020 | ||
1021 | PERL_CALLCONV HV* Perl_newHVhv(pTHX_ HV* hv) | |
1022 | __attribute__malloc__ | |
1023 | __attribute__warn_unused_result__; | |
1024 | ||
1025 | PERL_CALLCONV IO* Perl_newIO(pTHX) | |
1026 | __attribute__malloc__ | |
1027 | __attribute__warn_unused_result__; | |
1028 | ||
1029 | PERL_CALLCONV OP* Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last) | |
1030 | __attribute__malloc__ | |
1031 | __attribute__warn_unused_result__; | |
1032 | ||
1033 | PERL_CALLCONV OP* Perl_newPADOP(pTHX_ I32 type, I32 flags, SV* sv) | |
1034 | __attribute__malloc__ | |
1035 | __attribute__warn_unused_result__; | |
1036 | ||
1037 | PERL_CALLCONV OP* Perl_newPMOP(pTHX_ I32 type, I32 flags) | |
1038 | __attribute__malloc__ | |
1039 | __attribute__warn_unused_result__; | |
1040 | ||
1041 | PERL_CALLCONV OP* Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv) | |
1042 | __attribute__malloc__ | |
1043 | __attribute__warn_unused_result__; | |
1044 | ||
1045 | PERL_CALLCONV SV* Perl_newRV(pTHX_ SV* pref) | |
1046 | __attribute__malloc__ | |
4996ee04 AL |
1047 | __attribute__warn_unused_result__ |
1048 | __attribute__nonnull__(pTHX_1); | |
24c2fff4 | 1049 | |
065cbbe5 | 1050 | PERL_CALLCONV SV* Perl_newRV_noinc(pTHX_ SV *sv) |
24c2fff4 NC |
1051 | __attribute__malloc__ |
1052 | __attribute__warn_unused_result__ | |
1053 | __attribute__nonnull__(pTHX_1); | |
1054 | ||
1055 | PERL_CALLCONV SV* Perl_newSV(pTHX_ STRLEN len) | |
1056 | __attribute__malloc__ | |
1057 | __attribute__warn_unused_result__; | |
1058 | ||
065cbbe5 | 1059 | PERL_CALLCONV OP* Perl_newSVREF(pTHX_ OP* o) |
24c2fff4 NC |
1060 | __attribute__malloc__ |
1061 | __attribute__warn_unused_result__ | |
1062 | __attribute__nonnull__(pTHX_1); | |
1063 | ||
065cbbe5 | 1064 | PERL_CALLCONV OP* Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv) |
24c2fff4 NC |
1065 | __attribute__malloc__ |
1066 | __attribute__warn_unused_result__ | |
1067 | __attribute__nonnull__(pTHX_3); | |
1068 | ||
1069 | PERL_CALLCONV SV* Perl_newSViv(pTHX_ IV i) | |
1070 | __attribute__malloc__ | |
1071 | __attribute__warn_unused_result__; | |
1072 | ||
1073 | PERL_CALLCONV SV* Perl_newSVuv(pTHX_ UV u) | |
1074 | __attribute__malloc__ | |
1075 | __attribute__warn_unused_result__; | |
1076 | ||
1077 | PERL_CALLCONV SV* Perl_newSVnv(pTHX_ NV n) | |
1078 | __attribute__malloc__ | |
1079 | __attribute__warn_unused_result__; | |
1080 | ||
1081 | PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char* s, STRLEN len) | |
1082 | __attribute__malloc__ | |
1083 | __attribute__warn_unused_result__; | |
1084 | ||
1085 | PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char* s, STRLEN len) | |
1086 | __attribute__malloc__ | |
1087 | __attribute__warn_unused_result__; | |
1088 | ||
1089 | PERL_CALLCONV SV* Perl_newSVpvn_share(pTHX_ const char* s, I32 len, U32 hash) | |
1090 | __attribute__malloc__ | |
1091 | __attribute__warn_unused_result__; | |
1092 | ||
894356b3 | 1093 | PERL_CALLCONV SV* Perl_newSVpvf(pTHX_ const char* pat, ...) |
24c2fff4 NC |
1094 | __attribute__malloc__ |
1095 | __attribute__warn_unused_result__ | |
065cbbe5 | 1096 | __attribute__format__(__printf__,pTHX_1,pTHX_2); |
24c2fff4 | 1097 | |
1d7c1841 | 1098 | PERL_CALLCONV SV* Perl_vnewSVpvf(pTHX_ const char* pat, va_list* args); |
24c2fff4 NC |
1099 | PERL_CALLCONV SV* Perl_newSVrv(pTHX_ SV* rv, const char* classname) |
1100 | __attribute__malloc__ | |
4f1e9d25 AL |
1101 | __attribute__warn_unused_result__ |
1102 | __attribute__nonnull__(pTHX_1); | |
24c2fff4 NC |
1103 | |
1104 | PERL_CALLCONV SV* Perl_newSVsv(pTHX_ SV* old) | |
1105 | __attribute__malloc__ | |
1106 | __attribute__warn_unused_result__; | |
1107 | ||
1108 | PERL_CALLCONV OP* Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first) | |
1109 | __attribute__malloc__ | |
1110 | __attribute__warn_unused_result__; | |
1111 | ||
1112 | PERL_CALLCONV OP* Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, I32 whileline, OP* expr, OP* block, OP* cont) | |
1113 | __attribute__malloc__ | |
1114 | __attribute__warn_unused_result__; | |
1115 | ||
1116 | ||
1117 | PERL_CALLCONV PERL_SI* Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems) | |
1118 | __attribute__malloc__ | |
1119 | __attribute__warn_unused_result__; | |
1d7c1841 | 1120 | |
33426ec1 | 1121 | PERL_CALLCONV char* Perl_scan_vstring(pTHX_ char *vstr, SV *sv); |
1d7c1841 | 1122 | PERL_CALLCONV PerlIO* Perl_nextargv(pTHX_ GV* gv); |
065cbbe5 | 1123 | PERL_CALLCONV char* Perl_ninstr(pTHX_ const char* big, const char* bigend, const char* little, const char* lend) |
24c2fff4 NC |
1124 | __attribute__pure__; |
1125 | ||
1126 | PERL_CALLCONV OP* Perl_oopsCV(pTHX_ OP* o) | |
1127 | __attribute__noreturn__; | |
1128 | ||
1d7c1841 GS |
1129 | PERL_CALLCONV void Perl_op_free(pTHX_ OP* arg); |
1130 | PERL_CALLCONV void Perl_package(pTHX_ OP* o); | |
1131 | PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype); | |
065cbbe5 | 1132 | PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ char* name) |
24c2fff4 NC |
1133 | __attribute__nonnull__(pTHX_1); |
1134 | ||
065cbbe5 | 1135 | PERL_CALLCONV PADOFFSET Perl_pad_findmy(pTHX_ char* name) |
24c2fff4 NC |
1136 | __attribute__nonnull__(pTHX_1); |
1137 | ||
065cbbe5 | 1138 | PERL_CALLCONV OP* Perl_oopsAV(pTHX_ OP* o) |
228fe6e6 | 1139 | __attribute__warn_unused_result__ |
24c2fff4 NC |
1140 | __attribute__nonnull__(pTHX_1); |
1141 | ||
065cbbe5 | 1142 | PERL_CALLCONV OP* Perl_oopsHV(pTHX_ OP* o) |
228fe6e6 | 1143 | __attribute__warn_unused_result__ |
24c2fff4 NC |
1144 | __attribute__nonnull__(pTHX_1); |
1145 | ||
9755d405 | 1146 | PERL_CALLCONV void Perl_pad_leavemy(pTHX); |
1d7c1841 GS |
1147 | PERL_CALLCONV SV* Perl_pad_sv(pTHX_ PADOFFSET po); |
1148 | PERL_CALLCONV void Perl_pad_free(pTHX_ PADOFFSET po); | |
1149 | PERL_CALLCONV void Perl_pad_reset(pTHX); | |
9755d405 | 1150 | PERL_CALLCONV void Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust); |
1d7c1841 | 1151 | PERL_CALLCONV void Perl_peep(pTHX_ OP* o); |
ae154d6d | 1152 | PERL_CALLCONV PerlIO* Perl_start_glob(pTHX_ SV* pattern, IO *io); |
4bdc353c JH |
1153 | #if defined(USE_5005THREADS) |
1154 | PERL_CALLCONV struct perl_thread* Perl_new_struct_thread(pTHX_ struct perl_thread *t); | |
1155 | #endif | |
59bd0823 | 1156 | #if defined(USE_REENTRANT_API) |
10bc17b6 | 1157 | PERL_CALLCONV void Perl_reentrant_size(pTHX); |
59bd0823 | 1158 | PERL_CALLCONV void Perl_reentrant_init(pTHX); |
10bc17b6 | 1159 | PERL_CALLCONV void Perl_reentrant_free(pTHX); |
c803eecc | 1160 | PERL_CALLCONV void* Perl_reentrant_retry(const char*, ...); |
59bd0823 | 1161 | #endif |
1d7c1841 | 1162 | PERL_CALLCONV void Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr); |
065cbbe5 | 1163 | PERL_CALLCONV I32 Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv) |
24c2fff4 NC |
1164 | __attribute__nonnull__(pTHX_1) |
1165 | __attribute__nonnull__(pTHX_3); | |
1166 | ||
065cbbe5 | 1167 | PERL_CALLCONV I32 Perl_call_method(pTHX_ const char* methname, I32 flags) |
24c2fff4 NC |
1168 | __attribute__nonnull__(pTHX_1); |
1169 | ||
065cbbe5 | 1170 | PERL_CALLCONV I32 Perl_call_pv(pTHX_ const char* sub_name, I32 flags) |
24c2fff4 NC |
1171 | __attribute__nonnull__(pTHX_1); |
1172 | ||
1d7c1841 | 1173 | PERL_CALLCONV I32 Perl_call_sv(pTHX_ SV* sv, I32 flags); |
ce08f86c | 1174 | PERL_CALLCONV void Perl_despatch_signals(pTHX); |
065cbbe5 | 1175 | PERL_CALLCONV SV* Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error) |
24c2fff4 NC |
1176 | __attribute__nonnull__(pTHX_1); |
1177 | ||
065cbbe5 | 1178 | PERL_CALLCONV I32 Perl_eval_sv(pTHX_ SV* sv, I32 flags) |
24c2fff4 NC |
1179 | __attribute__nonnull__(pTHX_1); |
1180 | ||
065cbbe5 | 1181 | PERL_CALLCONV SV* Perl_get_sv(pTHX_ const char* name, I32 create) |
24c2fff4 NC |
1182 | __attribute__nonnull__(pTHX_1); |
1183 | ||
065cbbe5 | 1184 | PERL_CALLCONV AV* Perl_get_av(pTHX_ const char* name, I32 create) |
24c2fff4 NC |
1185 | __attribute__nonnull__(pTHX_1); |
1186 | ||
1d7c1841 GS |
1187 | PERL_CALLCONV HV* Perl_get_hv(pTHX_ const char* name, I32 create); |
1188 | PERL_CALLCONV CV* Perl_get_cv(pTHX_ const char* name, I32 create); | |
1189 | PERL_CALLCONV int Perl_init_i18nl10n(pTHX_ int printwarn); | |
1190 | PERL_CALLCONV int Perl_init_i18nl14n(pTHX_ int printwarn); | |
4f1e9d25 | 1191 | PERL_CALLCONV void Perl_new_collate(pTHX_ char* newcoll); |
065cbbe5 | 1192 | PERL_CALLCONV void Perl_new_ctype(pTHX_ char* newctype) |
24c2fff4 NC |
1193 | __attribute__nonnull__(pTHX_1); |
1194 | ||
4f1e9d25 | 1195 | PERL_CALLCONV void Perl_new_numeric(pTHX_ char* newcoll); |
1d7c1841 GS |
1196 | PERL_CALLCONV void Perl_set_numeric_local(pTHX); |
1197 | PERL_CALLCONV void Perl_set_numeric_radix(pTHX); | |
1198 | PERL_CALLCONV void Perl_set_numeric_standard(pTHX); | |
065cbbe5 | 1199 | PERL_CALLCONV void Perl_require_pv(pTHX_ const char* pv) |
24c2fff4 NC |
1200 | __attribute__nonnull__(pTHX_1); |
1201 | ||
18529408 | 1202 | PERL_CALLCONV void Perl_pack_cat(pTHX_ SV *cat, char *pat, char *patend, SV **beglist, SV **endlist, SV ***next_in_list, U32 flags); |
f3479639 | 1203 | PERL_CALLCONV void Perl_packlist(pTHX_ SV *cat, char *pat, char *patend, SV **beglist, SV **endlist); |
1d7c1841 | 1204 | PERL_CALLCONV void Perl_pidgone(pTHX_ Pid_t pid, int status); |
065cbbe5 | 1205 | PERL_CALLCONV void Perl_pmflag(pTHX_ U32* pmfl, int ch) |
24c2fff4 NC |
1206 | __attribute__nonnull__(pTHX_1); |
1207 | ||
065cbbe5 | 1208 | PERL_CALLCONV OP* Perl_pmruntime(pTHX_ OP* pm, OP* expr, OP* repl) |
24c2fff4 NC |
1209 | __attribute__nonnull__(pTHX_1) |
1210 | __attribute__nonnull__(pTHX_2); | |
1211 | ||
065cbbe5 | 1212 | PERL_CALLCONV OP* Perl_pmtrans(pTHX_ OP* o, OP* expr, OP* repl) |
24c2fff4 NC |
1213 | __attribute__nonnull__(pTHX_1) |
1214 | __attribute__nonnull__(pTHX_2); | |
1215 | ||
1d7c1841 GS |
1216 | PERL_CALLCONV OP* Perl_pop_return(pTHX); |
1217 | PERL_CALLCONV void Perl_pop_scope(pTHX); | |
1218 | PERL_CALLCONV OP* Perl_prepend_elem(pTHX_ I32 optype, OP* head, OP* tail); | |
1219 | PERL_CALLCONV void Perl_push_return(pTHX_ OP* o); | |
1220 | PERL_CALLCONV void Perl_push_scope(pTHX); | |
1221 | PERL_CALLCONV OP* Perl_ref(pTHX_ OP* o, I32 type); | |
1222 | PERL_CALLCONV OP* Perl_refkids(pTHX_ OP* o, I32 type); | |
065cbbe5 | 1223 | PERL_CALLCONV void Perl_regdump(pTHX_ regexp* r) |
24c2fff4 NC |
1224 | __attribute__nonnull__(pTHX_1); |
1225 | ||
9e55ce06 | 1226 | PERL_CALLCONV SV* Perl_regclass_swash(pTHX_ struct regnode *n, bool doinit, SV **listsvp, SV **altsvp); |
065cbbe5 | 1227 | PERL_CALLCONV I32 Perl_pregexec(pTHX_ regexp* prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, U32 nosave) |
24c2fff4 NC |
1228 | __attribute__nonnull__(pTHX_1) |
1229 | __attribute__nonnull__(pTHX_2) | |
1230 | __attribute__nonnull__(pTHX_3) | |
1231 | __attribute__nonnull__(pTHX_4) | |
1232 | __attribute__nonnull__(pTHX_6); | |
1233 | ||
1d7c1841 | 1234 | PERL_CALLCONV void Perl_pregfree(pTHX_ struct regexp* r); |
065cbbe5 | 1235 | PERL_CALLCONV regexp* Perl_pregcomp(pTHX_ char* exp, char* xend, PMOP* pm) |
24c2fff4 NC |
1236 | __attribute__nonnull__(pTHX_1) |
1237 | __attribute__nonnull__(pTHX_2) | |
1238 | __attribute__nonnull__(pTHX_3); | |
1239 | ||
1d7c1841 GS |
1240 | 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); |
1241 | PERL_CALLCONV SV* Perl_re_intuit_string(pTHX_ regexp* prog); | |
8c18bf38 AL |
1242 | PERL_CALLCONV I32 Perl_regexec_flags(pTHX_ regexp* prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, void* data, U32 flags) |
1243 | __attribute__nonnull__(pTHX_1) | |
1244 | __attribute__nonnull__(pTHX_2) | |
1245 | __attribute__nonnull__(pTHX_3) | |
1246 | __attribute__nonnull__(pTHX_4); | |
1247 | ||
228fe6e6 AL |
1248 | PERL_CALLCONV regnode* Perl_regnext(pTHX_ regnode* p) |
1249 | __attribute__warn_unused_result__ | |
1250 | __attribute__nonnull__(pTHX_1); | |
1251 | ||
1d7c1841 | 1252 | PERL_CALLCONV void Perl_regprop(pTHX_ SV* sv, regnode* o); |
065cbbe5 | 1253 | PERL_CALLCONV void Perl_repeatcpy(pTHX_ char* to, const char* from, I32 len, I32 count) |
24c2fff4 NC |
1254 | __attribute__nonnull__(pTHX_1) |
1255 | __attribute__nonnull__(pTHX_2); | |
1256 | ||
065cbbe5 | 1257 | PERL_CALLCONV char* Perl_rninstr(pTHX_ const char* big, const char* bigend, const char* little, const char* lend) |
8c18bf38 AL |
1258 | __attribute__pure__ |
1259 | __attribute__nonnull__(pTHX_1) | |
1260 | __attribute__nonnull__(pTHX_2) | |
1261 | __attribute__nonnull__(pTHX_3) | |
1262 | __attribute__nonnull__(pTHX_4); | |
24c2fff4 | 1263 | |
1d7c1841 GS |
1264 | PERL_CALLCONV Sighandler_t Perl_rsignal(pTHX_ int i, Sighandler_t t); |
1265 | PERL_CALLCONV int Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t); | |
1266 | PERL_CALLCONV int Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* t2); | |
1267 | PERL_CALLCONV Sighandler_t Perl_rsignal_state(pTHX_ int i); | |
8c18bf38 AL |
1268 | PERL_CALLCONV void Perl_rxres_free(pTHX_ void** rsp) |
1269 | __attribute__nonnull__(pTHX_1); | |
1270 | ||
1271 | PERL_CALLCONV void Perl_rxres_restore(pTHX_ void** rsp, REGEXP* prx) | |
1272 | __attribute__nonnull__(pTHX_1) | |
1273 | __attribute__nonnull__(pTHX_2); | |
1274 | ||
1275 | PERL_CALLCONV void Perl_rxres_save(pTHX_ void** rsp, REGEXP* prx) | |
1276 | __attribute__nonnull__(pTHX_1) | |
1277 | __attribute__nonnull__(pTHX_2); | |
1278 | ||
cea2e8a9 | 1279 | #if !defined(HAS_RENAME) |
065cbbe5 | 1280 | PERL_CALLCONV I32 Perl_same_dirent(pTHX_ char* a, char* b) |
24c2fff4 NC |
1281 | __attribute__nonnull__(pTHX_1) |
1282 | __attribute__nonnull__(pTHX_2); | |
1283 | ||
0cb96387 | 1284 | #endif |
0188be2e AL |
1285 | PERL_CALLCONV char* Perl_savepv(pTHX_ const char* pv) |
1286 | __attribute__malloc__ | |
1287 | __attribute__warn_unused_result__ | |
1288 | __attribute__nonnull__(pTHX_1); | |
1289 | ||
1290 | PERL_CALLCONV char* Perl_savepvn(pTHX_ const char* pv, I32 len) | |
1291 | __attribute__malloc__ | |
1292 | __attribute__warn_unused_result__ | |
1293 | __attribute__nonnull__(pTHX_1); | |
1294 | ||
1295 | PERL_CALLCONV char* Perl_savesharedpv(pTHX_ const char* pv) | |
1296 | __attribute__malloc__ | |
1297 | __attribute__warn_unused_result__; | |
1298 | ||
1d7c1841 | 1299 | PERL_CALLCONV void Perl_savestack_grow(pTHX); |
f3479639 | 1300 | PERL_CALLCONV void Perl_savestack_grow_cnt(pTHX_ I32 need); |
1d7c1841 GS |
1301 | PERL_CALLCONV void Perl_save_aelem(pTHX_ AV* av, I32 idx, SV **sptr); |
1302 | PERL_CALLCONV I32 Perl_save_alloc(pTHX_ I32 size, I32 pad); | |
1303 | PERL_CALLCONV void Perl_save_aptr(pTHX_ AV** aptr); | |
1304 | PERL_CALLCONV AV* Perl_save_ary(pTHX_ GV* gv); | |
4f4e7967 | 1305 | PERL_CALLCONV void Perl_save_bool(pTHX_ bool* boolp); |
1d7c1841 GS |
1306 | PERL_CALLCONV void Perl_save_clearsv(pTHX_ SV** svp); |
1307 | PERL_CALLCONV void Perl_save_delete(pTHX_ HV* hv, char* key, I32 klen); | |
1308 | PERL_CALLCONV void Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p); | |
1309 | PERL_CALLCONV void Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p); | |
1310 | PERL_CALLCONV void Perl_save_freesv(pTHX_ SV* sv); | |
1311 | PERL_CALLCONV void Perl_save_freeop(pTHX_ OP* o); | |
1312 | PERL_CALLCONV void Perl_save_freepv(pTHX_ char* pv); | |
1313 | PERL_CALLCONV void Perl_save_generic_svref(pTHX_ SV** sptr); | |
f4dd75d9 | 1314 | PERL_CALLCONV void Perl_save_generic_pvref(pTHX_ char** str); |
05ec9bb3 | 1315 | PERL_CALLCONV void Perl_save_shared_pvref(pTHX_ char** str); |
1d7c1841 GS |
1316 | PERL_CALLCONV void Perl_save_gp(pTHX_ GV* gv, I32 empty); |
1317 | PERL_CALLCONV HV* Perl_save_hash(pTHX_ GV* gv); | |
1318 | PERL_CALLCONV void Perl_save_helem(pTHX_ HV* hv, SV *key, SV **sptr); | |
24c2fff4 NC |
1319 | PERL_CALLCONV void Perl_save_hints(pTHX) |
1320 | __attribute__noreturn__; | |
1321 | ||
1d7c1841 GS |
1322 | PERL_CALLCONV void Perl_save_hptr(pTHX_ HV** hptr); |
1323 | PERL_CALLCONV void Perl_save_I16(pTHX_ I16* intp); | |
1324 | PERL_CALLCONV void Perl_save_I32(pTHX_ I32* intp); | |
1325 | PERL_CALLCONV void Perl_save_I8(pTHX_ I8* bytep); | |
1326 | PERL_CALLCONV void Perl_save_int(pTHX_ int* intp); | |
1327 | PERL_CALLCONV void Perl_save_item(pTHX_ SV* item); | |
1328 | PERL_CALLCONV void Perl_save_iv(pTHX_ IV* iv); | |
1329 | PERL_CALLCONV void Perl_save_list(pTHX_ SV** sarg, I32 maxsarg); | |
1330 | PERL_CALLCONV void Perl_save_long(pTHX_ long* longp); | |
26d9b02f | 1331 | PERL_CALLCONV void Perl_save_mortalizesv(pTHX_ SV* sv); |
1d7c1841 GS |
1332 | PERL_CALLCONV void Perl_save_nogv(pTHX_ GV* gv); |
1333 | PERL_CALLCONV void Perl_save_op(pTHX); | |
1334 | PERL_CALLCONV SV* Perl_save_scalar(pTHX_ GV* gv); | |
1335 | PERL_CALLCONV void Perl_save_pptr(pTHX_ char** pptr); | |
1336 | PERL_CALLCONV void Perl_save_vptr(pTHX_ void* pptr); | |
1337 | PERL_CALLCONV void Perl_save_re_context(pTHX); | |
c3564e5c | 1338 | PERL_CALLCONV void Perl_save_padsv(pTHX_ PADOFFSET off); |
1d7c1841 GS |
1339 | PERL_CALLCONV void Perl_save_sptr(pTHX_ SV** sptr); |
1340 | PERL_CALLCONV SV* Perl_save_svref(pTHX_ SV** sptr); | |
24c2fff4 NC |
1341 | PERL_CALLCONV SV** Perl_save_threadsv(pTHX_ PADOFFSET i) |
1342 | __attribute__noreturn__; | |
1343 | ||
1d7c1841 GS |
1344 | PERL_CALLCONV OP* Perl_sawparens(pTHX_ OP* o); |
1345 | PERL_CALLCONV OP* Perl_scalar(pTHX_ OP* o); | |
1346 | PERL_CALLCONV OP* Perl_scalarkids(pTHX_ OP* o); | |
1347 | PERL_CALLCONV OP* Perl_scalarseq(pTHX_ OP* o); | |
1348 | PERL_CALLCONV OP* Perl_scalarvoid(pTHX_ OP* o); | |
ba210ebe JH |
1349 | PERL_CALLCONV NV Perl_scan_bin(pTHX_ char* start, STRLEN len, STRLEN* retlen); |
1350 | PERL_CALLCONV NV Perl_scan_hex(pTHX_ char* start, STRLEN len, STRLEN* retlen); | |
b73d6f50 | 1351 | PERL_CALLCONV char* Perl_scan_num(pTHX_ char* s, YYSTYPE *lvalp); |
ba210ebe | 1352 | PERL_CALLCONV NV Perl_scan_oct(pTHX_ char* start, STRLEN len, STRLEN* retlen); |
1d7c1841 GS |
1353 | PERL_CALLCONV OP* Perl_scope(pTHX_ OP* o); |
1354 | PERL_CALLCONV char* Perl_screaminstr(pTHX_ SV* bigsv, SV* littlesv, I32 start_shift, I32 end_shift, I32 *state, I32 last); | |
864dbfa3 | 1355 | #if !defined(VMS) |
1d7c1841 | 1356 | PERL_CALLCONV I32 Perl_setenv_getix(pTHX_ char* nam); |
0cb96387 | 1357 | #endif |
1d7c1841 | 1358 | PERL_CALLCONV void Perl_setdefout(pTHX_ GV* gv); |
1d7c1841 GS |
1359 | PERL_CALLCONV HEK* Perl_share_hek(pTHX_ const char* sv, I32 len, U32 hash); |
1360 | PERL_CALLCONV Signal_t Perl_sighandler(int sig); | |
676a8eb5 | 1361 | PERL_CALLCONV Signal_t Perl_csighandler(int sig); |
065cbbe5 | 1362 | PERL_CALLCONV SV** Perl_stack_grow(pTHX_ SV** sp, SV**p, int n) |
24c2fff4 NC |
1363 | __attribute__nonnull__(pTHX_1) |
1364 | __attribute__nonnull__(pTHX_2); | |
1365 | ||
8c18bf38 AL |
1366 | PERL_CALLCONV I32 Perl_start_subparse(pTHX_ I32 is_format, U32 flags) |
1367 | __attribute__warn_unused_result__; | |
1368 | ||
1d7c1841 | 1369 | PERL_CALLCONV void Perl_sub_crush_depth(pTHX_ CV* cv); |
065cbbe5 | 1370 | PERL_CALLCONV bool Perl_sv_2bool(pTHX_ SV* sv) |
24c2fff4 NC |
1371 | __attribute__nonnull__(pTHX_1); |
1372 | ||
1373 | PERL_CALLCONV CV* Perl_sv_2cv(pTHX_ SV* sv, HV** st, GV** gvp, I32 lref) | |
1374 | __attribute__nonnull__(pTHX_1); | |
1375 | ||
1376 | PERL_CALLCONV IO* Perl_sv_2io(pTHX_ SV* sv) | |
1377 | __attribute__nonnull__(pTHX_1); | |
1378 | ||
1379 | PERL_CALLCONV IV Perl_sv_2iv(pTHX_ SV* sv) | |
1380 | __attribute__nonnull__(pTHX_1); | |
1381 | ||
1382 | PERL_CALLCONV SV* Perl_sv_2mortal(pTHX_ SV* sv) | |
1383 | __attribute__nonnull__(pTHX_1); | |
1384 | ||
1385 | PERL_CALLCONV NV Perl_sv_2nv(pTHX_ SV* sv) | |
1386 | __attribute__nonnull__(pTHX_1); | |
1387 | ||
065cbbe5 | 1388 | /* PERL_CALLCONV char* sv_2pv(pTHX_ SV* sv, STRLEN* lp) |
4996ee04 | 1389 | __attribute__nonnull__(pTHX_1); */ |
24c2fff4 | 1390 | |
065cbbe5 | 1391 | PERL_CALLCONV char* Perl_sv_2pvutf8(pTHX_ SV* sv, STRLEN* lp) |
4996ee04 | 1392 | __attribute__nonnull__(pTHX_1); |
24c2fff4 | 1393 | |
065cbbe5 | 1394 | PERL_CALLCONV char* Perl_sv_2pvbyte(pTHX_ SV* sv, STRLEN* lp) |
4996ee04 | 1395 | __attribute__nonnull__(pTHX_1); |
24c2fff4 | 1396 | |
065cbbe5 | 1397 | PERL_CALLCONV char* Perl_sv_pvn_nomg(pTHX_ SV* sv, STRLEN* lp) |
4996ee04 | 1398 | __attribute__nonnull__(pTHX_1); |
24c2fff4 | 1399 | |
065cbbe5 | 1400 | PERL_CALLCONV UV Perl_sv_2uv(pTHX_ SV* sv) |
24c2fff4 NC |
1401 | __attribute__nonnull__(pTHX_1); |
1402 | ||
065cbbe5 | 1403 | PERL_CALLCONV IV Perl_sv_iv(pTHX_ SV* sv) |
24c2fff4 NC |
1404 | __attribute__nonnull__(pTHX_1); |
1405 | ||
065cbbe5 | 1406 | PERL_CALLCONV UV Perl_sv_uv(pTHX_ SV* sv) |
24c2fff4 NC |
1407 | __attribute__nonnull__(pTHX_1); |
1408 | ||
065cbbe5 | 1409 | PERL_CALLCONV NV Perl_sv_nv(pTHX_ SV* sv) |
24c2fff4 NC |
1410 | __attribute__nonnull__(pTHX_1); |
1411 | ||
065cbbe5 | 1412 | PERL_CALLCONV char* Perl_sv_pvn(pTHX_ SV *sv, STRLEN *len) |
24c2fff4 NC |
1413 | __attribute__nonnull__(pTHX_1) |
1414 | __attribute__nonnull__(pTHX_2); | |
1415 | ||
065cbbe5 | 1416 | PERL_CALLCONV char* Perl_sv_pvutf8n(pTHX_ SV *sv, STRLEN *len) |
24c2fff4 NC |
1417 | __attribute__nonnull__(pTHX_1) |
1418 | __attribute__nonnull__(pTHX_2); | |
1419 | ||
065cbbe5 | 1420 | PERL_CALLCONV char* Perl_sv_pvbyten(pTHX_ SV *sv, STRLEN *len) |
24c2fff4 NC |
1421 | __attribute__nonnull__(pTHX_1) |
1422 | __attribute__nonnull__(pTHX_2); | |
1423 | ||
1424 | PERL_CALLCONV I32 Perl_sv_true(pTHX_ SV *sv) | |
1425 | __attribute__nonnull__(pTHX_1); | |
1426 | ||
1427 | PERL_CALLCONV void Perl_sv_add_arena(pTHX_ char* ptr, U32 size, U32 flags) | |
1428 | __attribute__nonnull__(pTHX_1); | |
1429 | ||
1430 | PERL_CALLCONV int Perl_sv_backoff(pTHX_ SV* sv) | |
1431 | __attribute__nonnull__(pTHX_1); | |
1432 | ||
1433 | PERL_CALLCONV SV* Perl_sv_bless(pTHX_ SV* sv, HV* stash) | |
1434 | __attribute__nonnull__(pTHX_1) | |
1435 | __attribute__nonnull__(pTHX_2); | |
1436 | ||
894356b3 | 1437 | PERL_CALLCONV void Perl_sv_catpvf(pTHX_ SV* sv, const char* pat, ...) |
24c2fff4 NC |
1438 | __attribute__format__(__printf__,pTHX_2,pTHX_3) |
1439 | __attribute__nonnull__(pTHX_1); | |
1440 | ||
1441 | PERL_CALLCONV void Perl_sv_vcatpvf(pTHX_ SV* sv, const char* pat, va_list* args) | |
1442 | __attribute__nonnull__(pTHX_1); | |
1443 | ||
1444 | PERL_CALLCONV void Perl_sv_catpv(pTHX_ SV* sv, const char* ptr) | |
1445 | __attribute__nonnull__(pTHX_1); | |
1446 | ||
1447 | /* PERL_CALLCONV void sv_catpvn(pTHX_ SV* sv, const char* ptr, STRLEN len) | |
1448 | __attribute__nonnull__(pTHX_1); */ | |
1449 | ||
1450 | /* PERL_CALLCONV void sv_catsv(pTHX_ SV* dsv, SV* ssv) | |
1451 | __attribute__nonnull__(pTHX_1); */ | |
1452 | ||
1453 | PERL_CALLCONV void Perl_sv_chop(pTHX_ SV* sv, char* ptr) | |
1454 | __attribute__nonnull__(pTHX_1); | |
1455 | ||
5226ed68 | 1456 | PERL_CALLCONV I32 Perl_sv_clean_all(pTHX); |
1d7c1841 | 1457 | PERL_CALLCONV void Perl_sv_clean_objs(pTHX); |
24c2fff4 NC |
1458 | PERL_CALLCONV void Perl_sv_clear(pTHX_ SV* sv) |
1459 | __attribute__nonnull__(pTHX_1); | |
1460 | ||
1461 | PERL_CALLCONV I32 Perl_sv_cmp(pTHX_ SV* sv1, SV* sv2) | |
1462 | __attribute__nonnull__(pTHX_1) | |
1463 | __attribute__nonnull__(pTHX_2); | |
1464 | ||
1465 | PERL_CALLCONV I32 Perl_sv_cmp_locale(pTHX_ SV* sv1, SV* sv2) | |
1466 | __attribute__nonnull__(pTHX_1) | |
1467 | __attribute__nonnull__(pTHX_2); | |
1468 | ||
864dbfa3 | 1469 | #if defined(USE_LOCALE_COLLATE) |
24c2fff4 | 1470 | PERL_CALLCONV char* Perl_sv_collxfrm(pTHX_ SV* sv, STRLEN* nxp) |
228fe6e6 AL |
1471 | __attribute__nonnull__(pTHX_1) |
1472 | __attribute__nonnull__(pTHX_2); | |
24c2fff4 | 1473 | |
0cb96387 | 1474 | #endif |
065cbbe5 | 1475 | PERL_CALLCONV OP* Perl_sv_compile_2op(pTHX_ SV* sv, OP** startp, char* code, PAD** padp) |
24c2fff4 NC |
1476 | __attribute__nonnull__(pTHX_1) |
1477 | __attribute__nonnull__(pTHX_2) | |
1478 | __attribute__nonnull__(pTHX_3) | |
1479 | __attribute__nonnull__(pTHX_4); | |
1480 | ||
065cbbe5 | 1481 | PERL_CALLCONV int Perl_getcwd_sv(pTHX_ SV* sv) |
24c2fff4 NC |
1482 | __attribute__nonnull__(pTHX_1); |
1483 | ||
1484 | PERL_CALLCONV void Perl_sv_dec(pTHX_ SV* sv) | |
1485 | __attribute__nonnull__(pTHX_1); | |
1486 | ||
1487 | PERL_CALLCONV void Perl_sv_dump(pTHX_ SV* sv) | |
1488 | __attribute__nonnull__(pTHX_1); | |
1489 | ||
065cbbe5 | 1490 | PERL_CALLCONV bool Perl_sv_derived_from(pTHX_ SV* sv, const char* name) |
8c18bf38 | 1491 | __attribute__warn_unused_result__ |
24c2fff4 NC |
1492 | __attribute__nonnull__(pTHX_1) |
1493 | __attribute__nonnull__(pTHX_2); | |
1494 | ||
065cbbe5 | 1495 | PERL_CALLCONV I32 Perl_sv_eq(pTHX_ SV* sv1, SV* sv2) |
24c2fff4 NC |
1496 | __attribute__nonnull__(pTHX_1) |
1497 | __attribute__nonnull__(pTHX_2); | |
1498 | ||
1d7c1841 GS |
1499 | PERL_CALLCONV void Perl_sv_free(pTHX_ SV* sv); |
1500 | PERL_CALLCONV void Perl_sv_free_arenas(pTHX); | |
065cbbe5 | 1501 | PERL_CALLCONV char* Perl_sv_gets(pTHX_ SV* sv, PerlIO* fp, I32 append) |
24c2fff4 NC |
1502 | __attribute__nonnull__(pTHX_1) |
1503 | __attribute__nonnull__(pTHX_2); | |
1504 | ||
065cbbe5 | 1505 | PERL_CALLCONV char* Perl_sv_grow(pTHX_ SV* sv, STRLEN newlen) |
24c2fff4 NC |
1506 | __attribute__nonnull__(pTHX_1); |
1507 | ||
1508 | PERL_CALLCONV void Perl_sv_inc(pTHX_ SV* sv) | |
1509 | __attribute__nonnull__(pTHX_1); | |
1510 | ||
065cbbe5 | 1511 | PERL_CALLCONV void Perl_sv_insert(pTHX_ SV* bigsv, STRLEN offset, STRLEN len, char* little, STRLEN littlelen) |
24c2fff4 NC |
1512 | __attribute__nonnull__(pTHX_1) |
1513 | __attribute__nonnull__(pTHX_4); | |
1514 | ||
1515 | PERL_CALLCONV int Perl_sv_isa(pTHX_ SV* sv, const char* name) | |
1516 | __attribute__nonnull__(pTHX_1); | |
1517 | ||
1518 | PERL_CALLCONV int Perl_sv_isobject(pTHX_ SV* sv) | |
1519 | __attribute__nonnull__(pTHX_1); | |
1520 | ||
a2592645 NC |
1521 | PERL_CALLCONV STRLEN Perl_sv_len(pTHX_ SV* sv); |
1522 | PERL_CALLCONV STRLEN Perl_sv_len_utf8(pTHX_ SV* sv); | |
24c2fff4 NC |
1523 | PERL_CALLCONV void Perl_sv_magic(pTHX_ SV* sv, SV* obj, int how, const char* name, I32 namlen) |
1524 | __attribute__nonnull__(pTHX_1); | |
1525 | ||
1526 | PERL_CALLCONV MAGIC * Perl_sv_magicext(pTHX_ SV* sv, SV* obj, int how, MGVTBL *vtbl, const char* name, I32 namlen) | |
1527 | __attribute__nonnull__(pTHX_1); | |
1528 | ||
065cbbe5 | 1529 | PERL_CALLCONV SV* Perl_sv_mortalcopy(pTHX_ SV* oldsv) |
4f1e9d25 AL |
1530 | __attribute__malloc__ |
1531 | __attribute__warn_unused_result__; | |
24c2fff4 NC |
1532 | |
1533 | PERL_CALLCONV SV* Perl_sv_newmortal(pTHX) | |
1534 | __attribute__warn_unused_result__; | |
1535 | ||
1d7c1841 GS |
1536 | PERL_CALLCONV SV* Perl_sv_newref(pTHX_ SV* sv); |
1537 | PERL_CALLCONV char* Perl_sv_peek(pTHX_ SV* sv); | |
481da01c AL |
1538 | PERL_CALLCONV void Perl_sv_pos_u2b(pTHX_ SV* sv, I32* offsetp, I32* lenp) |
1539 | __attribute__nonnull__(pTHX_2); | |
1540 | ||
1541 | PERL_CALLCONV void Perl_sv_pos_b2u(pTHX_ SV* sv, I32* offsetp) | |
1542 | __attribute__nonnull__(pTHX_2); | |
1543 | ||
af3c7592 | 1544 | /* PERL_CALLCONV char* sv_pvn_force(pTHX_ SV* sv, STRLEN* lp); */ |
dc26be07 GS |
1545 | PERL_CALLCONV char* Perl_sv_pvutf8n_force(pTHX_ SV* sv, STRLEN* lp); |
1546 | PERL_CALLCONV char* Perl_sv_pvbyten_force(pTHX_ SV* sv, STRLEN* lp); | |
6a18f72d | 1547 | PERL_CALLCONV char* Perl_sv_recode_to_utf8(pTHX_ SV* sv, SV *encoding); |
e33c26d0 | 1548 | PERL_CALLCONV bool Perl_sv_cat_decode(pTHX_ SV* dsv, SV *encoding, SV *ssv, int *offset, char* tstr, int tlen); |
8c18bf38 AL |
1549 | PERL_CALLCONV char* Perl_sv_reftype(pTHX_ SV* sv, int ob) |
1550 | __attribute__warn_unused_result__ | |
1551 | __attribute__nonnull__(pTHX_1); | |
1552 | ||
1553 | PERL_CALLCONV void Perl_sv_replace(pTHX_ SV* sv, SV* nsv) | |
1554 | __attribute__nonnull__(pTHX_1) | |
1555 | __attribute__nonnull__(pTHX_2); | |
1556 | ||
1d7c1841 | 1557 | PERL_CALLCONV void Perl_sv_report_used(pTHX); |
547d29e4 AL |
1558 | PERL_CALLCONV void Perl_sv_reset(pTHX_ char* s, HV* stash) |
1559 | __attribute__nonnull__(pTHX_1); | |
1560 | ||
894356b3 | 1561 | PERL_CALLCONV void Perl_sv_setpvf(pTHX_ SV* sv, const char* pat, ...) |
065cbbe5 | 1562 | __attribute__format__(__printf__,pTHX_2,pTHX_3); |
24c2fff4 | 1563 | |
1d7c1841 GS |
1564 | PERL_CALLCONV void Perl_sv_vsetpvf(pTHX_ SV* sv, const char* pat, va_list* args); |
1565 | PERL_CALLCONV void Perl_sv_setiv(pTHX_ SV* sv, IV num); | |
547d29e4 AL |
1566 | PERL_CALLCONV void Perl_sv_setpviv(pTHX_ SV* sv, IV num) |
1567 | __attribute__nonnull__(pTHX_1); | |
1568 | ||
1d7c1841 GS |
1569 | PERL_CALLCONV void Perl_sv_setuv(pTHX_ SV* sv, UV num); |
1570 | PERL_CALLCONV void Perl_sv_setnv(pTHX_ SV* sv, NV num); | |
1571 | PERL_CALLCONV SV* Perl_sv_setref_iv(pTHX_ SV* rv, const char* classname, IV iv); | |
e1c57cef | 1572 | PERL_CALLCONV SV* Perl_sv_setref_uv(pTHX_ SV* rv, const char* classname, UV uv); |
1d7c1841 GS |
1573 | PERL_CALLCONV SV* Perl_sv_setref_nv(pTHX_ SV* rv, const char* classname, NV nv); |
1574 | PERL_CALLCONV SV* Perl_sv_setref_pv(pTHX_ SV* rv, const char* classname, void* pv); | |
4f1e9d25 AL |
1575 | PERL_CALLCONV SV* Perl_sv_setref_pvn(pTHX_ SV* rv, const char* classname, char* pv, STRLEN n) |
1576 | __attribute__nonnull__(pTHX_3); | |
1577 | ||
1d7c1841 | 1578 | PERL_CALLCONV void Perl_sv_setpv(pTHX_ SV* sv, const char* ptr); |
065cbbe5 | 1579 | PERL_CALLCONV void Perl_sv_setpvn(pTHX_ SV* sv, const char* ptr, STRLEN len) |
24c2fff4 NC |
1580 | __attribute__nonnull__(pTHX_1); |
1581 | ||
af3c7592 | 1582 | /* PERL_CALLCONV void sv_setsv(pTHX_ SV* dsv, SV* ssv); */ |
1d7c1841 | 1583 | PERL_CALLCONV void Perl_sv_taint(pTHX_ SV* sv); |
e4057cfc AL |
1584 | PERL_CALLCONV bool Perl_sv_tainted(pTHX_ SV* sv) |
1585 | __attribute__warn_unused_result__; | |
1586 | ||
24c2fff4 NC |
1587 | PERL_CALLCONV int Perl_sv_unmagic(pTHX_ SV* sv, int type) |
1588 | __attribute__nonnull__(pTHX_1); | |
1589 | ||
1590 | PERL_CALLCONV void Perl_sv_unref(pTHX_ SV* sv) | |
1591 | __attribute__nonnull__(pTHX_1); | |
1592 | ||
1593 | PERL_CALLCONV void Perl_sv_unref_flags(pTHX_ SV* sv, U32 flags) | |
1594 | __attribute__nonnull__(pTHX_1); | |
1595 | ||
1596 | PERL_CALLCONV void Perl_sv_untaint(pTHX_ SV* sv) | |
1597 | __attribute__nonnull__(pTHX_1); | |
1598 | ||
1599 | PERL_CALLCONV bool Perl_sv_upgrade(pTHX_ SV* sv, U32 mt) | |
1600 | __attribute__nonnull__(pTHX_1); | |
1601 | ||
1602 | PERL_CALLCONV void Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len) | |
1603 | __attribute__nonnull__(pTHX_1); | |
1604 | ||
1605 | PERL_CALLCONV void Perl_sv_vcatpvfn(pTHX_ SV* sv, const char* pat, STRLEN patlen, va_list* args, SV** svargs, I32 svmax, bool *maybe_tainted) | |
1606 | __attribute__nonnull__(pTHX_1) | |
1607 | __attribute__nonnull__(pTHX_2); | |
1608 | ||
1609 | PERL_CALLCONV void Perl_sv_vsetpvfn(pTHX_ SV* sv, const char* pat, STRLEN patlen, va_list* args, SV** svargs, I32 svmax, bool *maybe_tainted) | |
1610 | __attribute__nonnull__(pTHX_1) | |
1611 | __attribute__nonnull__(pTHX_2); | |
1612 | ||
1571675a | 1613 | PERL_CALLCONV NV Perl_str_to_version(pTHX_ SV *sv); |
1d7c1841 | 1614 | PERL_CALLCONV SV* Perl_swash_init(pTHX_ char* pkg, char* name, SV* listsv, I32 minbits, I32 none); |
3568d838 | 1615 | PERL_CALLCONV UV Perl_swash_fetch(pTHX_ SV *sv, U8 *ptr, bool do_utf8); |
1d7c1841 | 1616 | PERL_CALLCONV void Perl_taint_env(pTHX); |
4f1e9d25 AL |
1617 | PERL_CALLCONV void Perl_taint_proper(pTHX_ const char* f, const char* s) |
1618 | __attribute__nonnull__(pTHX_2); | |
1619 | ||
24c2fff4 NC |
1620 | PERL_CALLCONV UV Perl_to_utf8_case(pTHX_ U8 *p, U8* ustrp, STRLEN *lenp, SV **swash, char *normal, char *special) |
1621 | __attribute__nonnull__(pTHX_1) | |
1622 | __attribute__nonnull__(pTHX_2); | |
1623 | ||
1624 | PERL_CALLCONV UV Perl_to_utf8_lower(pTHX_ U8 *p, U8* ustrp, STRLEN *lenp) | |
1625 | __attribute__nonnull__(pTHX_1) | |
1626 | __attribute__nonnull__(pTHX_2); | |
1627 | ||
1628 | PERL_CALLCONV UV Perl_to_utf8_upper(pTHX_ U8 *p, U8* ustrp, STRLEN *lenp) | |
1629 | __attribute__nonnull__(pTHX_1) | |
1630 | __attribute__nonnull__(pTHX_2); | |
1631 | ||
1632 | PERL_CALLCONV UV Perl_to_utf8_title(pTHX_ U8 *p, U8* ustrp, STRLEN *lenp) | |
1633 | __attribute__nonnull__(pTHX_1) | |
1634 | __attribute__nonnull__(pTHX_2); | |
1635 | ||
1636 | PERL_CALLCONV UV Perl_to_utf8_fold(pTHX_ U8 *p, U8* ustrp, STRLEN *lenp) | |
1637 | __attribute__nonnull__(pTHX_1) | |
1638 | __attribute__nonnull__(pTHX_2); | |
1639 | ||
864dbfa3 | 1640 | #if defined(UNLINK_ALL_VERSIONS) |
1d7c1841 | 1641 | PERL_CALLCONV I32 Perl_unlnk(pTHX_ char* f); |
864dbfa3 | 1642 | #endif |
4bdc353c JH |
1643 | #if defined(USE_5005THREADS) |
1644 | PERL_CALLCONV void Perl_unlock_condpair(pTHX_ void* svv); | |
1645 | #endif | |
18529408 | 1646 | PERL_CALLCONV I32 Perl_unpack_str(pTHX_ char *pat, char *patend, char *s, char *strbeg, char *strend, char **new_s, I32 ocnt, U32 flags); |
f3479639 | 1647 | PERL_CALLCONV I32 Perl_unpackstring(pTHX_ char *pat, char *patend, char *s, char *strend, U32 flags); |
1d7c1841 GS |
1648 | PERL_CALLCONV void Perl_unsharepvn(pTHX_ const char* sv, I32 len, U32 hash); |
1649 | PERL_CALLCONV void Perl_unshare_hek(pTHX_ HEK* hek); | |
efb84706 | 1650 | PERL_CALLCONV void Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop, OP* arg); |
dea0fc0b JH |
1651 | PERL_CALLCONV U8* Perl_utf16_to_utf8(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen); |
1652 | PERL_CALLCONV U8* Perl_utf16_to_utf8_reversed(pTHX_ U8* p, U8 *d, I32 bytelen, I32 *newlen); | |
065cbbe5 | 1653 | PERL_CALLCONV STRLEN Perl_utf8_length(pTHX_ U8* s, U8 *e) |
8c18bf38 | 1654 | __attribute__warn_unused_result__ |
24c2fff4 NC |
1655 | __attribute__pure__ |
1656 | __attribute__nonnull__(pTHX_1) | |
1657 | __attribute__nonnull__(pTHX_2); | |
1658 | ||
065cbbe5 | 1659 | PERL_CALLCONV IV Perl_utf8_distance(pTHX_ U8 *a, U8 *b) |
8c18bf38 | 1660 | __attribute__warn_unused_result__ |
24c2fff4 NC |
1661 | __attribute__pure__ |
1662 | __attribute__nonnull__(pTHX_1) | |
1663 | __attribute__nonnull__(pTHX_2); | |
1664 | ||
065cbbe5 | 1665 | PERL_CALLCONV U8* Perl_utf8_hop(pTHX_ U8 *s, I32 off) |
8c18bf38 | 1666 | __attribute__warn_unused_result__ |
24c2fff4 NC |
1667 | __attribute__pure__ |
1668 | __attribute__nonnull__(pTHX_1); | |
1669 | ||
065cbbe5 | 1670 | PERL_CALLCONV U8* Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *len) |
24c2fff4 NC |
1671 | __attribute__nonnull__(pTHX_1) |
1672 | __attribute__nonnull__(pTHX_2); | |
1673 | ||
f9a63242 | 1674 | PERL_CALLCONV U8* Perl_bytes_from_utf8(pTHX_ U8 *s, STRLEN *len, bool *is_utf8); |
1e72252a | 1675 | PERL_CALLCONV U8* Perl_bytes_to_utf8(pTHX_ U8 *s, STRLEN *len); |
9041c2e3 NIS |
1676 | PERL_CALLCONV UV Perl_utf8_to_uvchr(pTHX_ U8 *s, STRLEN* retlen); |
1677 | PERL_CALLCONV UV Perl_utf8_to_uvuni(pTHX_ U8 *s, STRLEN* retlen); | |
1678 | PERL_CALLCONV UV Perl_utf8n_to_uvchr(pTHX_ U8 *s, STRLEN curlen, STRLEN* retlen, U32 flags); | |
1679 | PERL_CALLCONV UV Perl_utf8n_to_uvuni(pTHX_ U8 *s, STRLEN curlen, STRLEN* retlen, U32 flags); | |
065cbbe5 | 1680 | PERL_CALLCONV U8* Perl_uvchr_to_utf8(pTHX_ U8 *d, UV uv) |
24c2fff4 NC |
1681 | __attribute__nonnull__(pTHX_1); |
1682 | ||
065cbbe5 | 1683 | PERL_CALLCONV U8* Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv) |
24c2fff4 NC |
1684 | __attribute__nonnull__(pTHX_1); |
1685 | ||
065cbbe5 | 1686 | PERL_CALLCONV U8* Perl_uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags) |
24c2fff4 NC |
1687 | __attribute__nonnull__(pTHX_1); |
1688 | ||
065cbbe5 | 1689 | PERL_CALLCONV U8* Perl_uvuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags) |
24c2fff4 NC |
1690 | __attribute__nonnull__(pTHX_1); |
1691 | ||
e6b2e755 | 1692 | PERL_CALLCONV char* Perl_pv_uni_display(pTHX_ SV *dsv, U8 *spv, STRLEN len, STRLEN pvlim, UV flags); |
8c18bf38 AL |
1693 | PERL_CALLCONV char* Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim, UV flags) |
1694 | __attribute__warn_unused_result__; | |
1695 | ||
1d7c1841 GS |
1696 | PERL_CALLCONV void Perl_vivify_defelem(pTHX_ SV* sv); |
1697 | PERL_CALLCONV void Perl_vivify_ref(pTHX_ SV* sv, U32 to_what); | |
1698 | PERL_CALLCONV I32 Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags); | |
f8bb70a6 | 1699 | PERL_CALLCONV U32 Perl_parse_unicode_opts(pTHX_ char **popt); |
26776375 | 1700 | PERL_CALLCONV U32 Perl_seed(pTHX); |
4e58e0cf | 1701 | PERL_CALLCONV UV Perl_get_hash_seed(pTHX); |
bc37a18f | 1702 | PERL_CALLCONV void Perl_report_evil_fh(pTHX_ GV *gv, IO *io, I32 op); |
1d7c1841 | 1703 | PERL_CALLCONV void Perl_report_uninit(pTHX); |
894356b3 | 1704 | PERL_CALLCONV void Perl_warn(pTHX_ const char* pat, ...) |
065cbbe5 | 1705 | __attribute__format__(__printf__,pTHX_1,pTHX_2); |
24c2fff4 | 1706 | |
1d7c1841 | 1707 | PERL_CALLCONV void Perl_vwarn(pTHX_ const char* pat, va_list* args); |
894356b3 | 1708 | PERL_CALLCONV void Perl_warner(pTHX_ U32 err, const char* pat, ...) |
065cbbe5 | 1709 | __attribute__format__(__printf__,pTHX_2,pTHX_3); |
24c2fff4 | 1710 | |
1d7c1841 GS |
1711 | PERL_CALLCONV void Perl_vwarner(pTHX_ U32 err, const char* pat, va_list* args); |
1712 | PERL_CALLCONV void Perl_watch(pTHX_ char** addr); | |
1713 | PERL_CALLCONV I32 Perl_whichsig(pTHX_ char* sig); | |
1324178b | 1714 | PERL_CALLCONV void Perl_write_to_stderr(pTHX_ const char* message, int msglen); |
1d7c1841 | 1715 | PERL_CALLCONV int Perl_yyerror(pTHX_ char* s); |
dba4d153 JH |
1716 | #ifdef USE_PURE_BISON |
1717 | PERL_CALLCONV int Perl_yylex_r(pTHX_ YYSTYPE *lvalp, int *lcharp); | |
864dbfa3 | 1718 | #endif |
48cf72c8 | 1719 | PERL_CALLCONV int Perl_yylex(pTHX); |
1d7c1841 GS |
1720 | PERL_CALLCONV int Perl_yyparse(pTHX); |
1721 | PERL_CALLCONV int Perl_yywarn(pTHX_ char* s); | |
cea2e8a9 | 1722 | #if defined(MYMALLOC) |
1d7c1841 | 1723 | PERL_CALLCONV void Perl_dump_mstats(pTHX_ char* s); |
827e134a | 1724 | PERL_CALLCONV int Perl_get_mstats(pTHX_ perl_mstats_t *buf, int buflen, int level); |
0cb96387 | 1725 | #endif |
065cbbe5 | 1726 | PERL_CALLCONV Malloc_t Perl_safesysmalloc(MEM_SIZE nbytes) |
24c2fff4 NC |
1727 | __attribute__malloc__ |
1728 | __attribute__warn_unused_result__; | |
1729 | ||
065cbbe5 | 1730 | PERL_CALLCONV Malloc_t Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size) |
24c2fff4 NC |
1731 | __attribute__malloc__ |
1732 | __attribute__warn_unused_result__; | |
1733 | ||
065cbbe5 | 1734 | PERL_CALLCONV Malloc_t Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes) |
24c2fff4 NC |
1735 | __attribute__malloc__ |
1736 | __attribute__warn_unused_result__; | |
1737 | ||
1d7c1841 | 1738 | PERL_CALLCONV Free_t Perl_safesysfree(Malloc_t where); |
cea2e8a9 | 1739 | #if defined(PERL_GLOBAL_STRUCT) |
1d7c1841 GS |
1740 | PERL_CALLCONV struct perl_vars * Perl_GetVars(pTHX); |
1741 | #endif | |
1742 | PERL_CALLCONV int Perl_runops_standard(pTHX); | |
1743 | PERL_CALLCONV int Perl_runops_debug(pTHX); | |
4bdc353c JH |
1744 | #if defined(USE_5005THREADS) |
1745 | PERL_CALLCONV SV* Perl_sv_lock(pTHX_ SV *sv); | |
1746 | #endif | |
894356b3 | 1747 | PERL_CALLCONV void Perl_sv_catpvf_mg(pTHX_ SV *sv, const char* pat, ...) |
065cbbe5 | 1748 | __attribute__format__(__printf__,pTHX_2,pTHX_3); |
24c2fff4 | 1749 | |
1d7c1841 GS |
1750 | PERL_CALLCONV void Perl_sv_vcatpvf_mg(pTHX_ SV* sv, const char* pat, va_list* args); |
1751 | PERL_CALLCONV void Perl_sv_catpv_mg(pTHX_ SV *sv, const char *ptr); | |
1752 | PERL_CALLCONV void Perl_sv_catpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len); | |
1753 | PERL_CALLCONV void Perl_sv_catsv_mg(pTHX_ SV *dstr, SV *sstr); | |
894356b3 | 1754 | PERL_CALLCONV void Perl_sv_setpvf_mg(pTHX_ SV *sv, const char* pat, ...) |
065cbbe5 | 1755 | __attribute__format__(__printf__,pTHX_2,pTHX_3); |
24c2fff4 | 1756 | |
1d7c1841 GS |
1757 | PERL_CALLCONV void Perl_sv_vsetpvf_mg(pTHX_ SV* sv, const char* pat, va_list* args); |
1758 | PERL_CALLCONV void Perl_sv_setiv_mg(pTHX_ SV *sv, IV i); | |
547d29e4 AL |
1759 | PERL_CALLCONV void Perl_sv_setpviv_mg(pTHX_ SV *sv, IV iv) |
1760 | __attribute__nonnull__(pTHX_1); | |
1761 | ||
1d7c1841 GS |
1762 | PERL_CALLCONV void Perl_sv_setuv_mg(pTHX_ SV *sv, UV u); |
1763 | PERL_CALLCONV void Perl_sv_setnv_mg(pTHX_ SV *sv, NV num); | |
1764 | PERL_CALLCONV void Perl_sv_setpv_mg(pTHX_ SV *sv, const char *ptr); | |
1765 | PERL_CALLCONV void Perl_sv_setpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len); | |
1766 | PERL_CALLCONV void Perl_sv_setsv_mg(pTHX_ SV *dstr, SV *sstr); | |
1767 | PERL_CALLCONV void Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len); | |
1768 | PERL_CALLCONV MGVTBL* Perl_get_vtbl(pTHX_ int vtbl_id); | |
e6abe6d8 | 1769 | PERL_CALLCONV char* Perl_pv_display(pTHX_ SV *dsv, char *pv, STRLEN cur, STRLEN len, STRLEN pvlim); |
894356b3 | 1770 | PERL_CALLCONV void Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...) |
4f1e9d25 AL |
1771 | __attribute__format__(__printf__,pTHX_3,pTHX_4) |
1772 | __attribute__nonnull__(pTHX_2); | |
1773 | ||
1774 | PERL_CALLCONV void Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args) | |
1775 | __attribute__nonnull__(pTHX_2); | |
1776 | ||
1777 | PERL_CALLCONV void Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, char *name, GV *sv) | |
1778 | __attribute__nonnull__(pTHX_2); | |
1779 | ||
1780 | PERL_CALLCONV void Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, char *name, GV *sv) | |
1781 | __attribute__nonnull__(pTHX_2); | |
1782 | ||
1783 | PERL_CALLCONV void Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, char *name, HV *sv) | |
1784 | __attribute__nonnull__(pTHX_2); | |
1785 | ||
1786 | PERL_CALLCONV void Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim) | |
1787 | __attribute__nonnull__(pTHX_2); | |
1788 | ||
1789 | PERL_CALLCONV void Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, OP *o) | |
1790 | __attribute__nonnull__(pTHX_2); | |
1791 | ||
1792 | PERL_CALLCONV void Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, PMOP *pm) | |
1793 | __attribute__nonnull__(pTHX_2); | |
1794 | ||
1795 | PERL_CALLCONV void Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim) | |
1796 | __attribute__nonnull__(pTHX_2); | |
1797 | ||
1d7c1841 | 1798 | PERL_CALLCONV void Perl_magic_dump(pTHX_ MAGIC *mg); |
14dd3ad8 | 1799 | #if defined(PERL_FLEXIBLE_EXCEPTIONS) |
1d7c1841 GS |
1800 | PERL_CALLCONV void* Perl_default_protect(pTHX_ volatile JMPENV *je, int *excpt, protect_body_t body, ...); |
1801 | PERL_CALLCONV void* Perl_vdefault_protect(pTHX_ volatile JMPENV *je, int *excpt, protect_body_t body, va_list *args); | |
14dd3ad8 | 1802 | #endif |
1d7c1841 GS |
1803 | PERL_CALLCONV void Perl_reginitcolors(pTHX); |
1804 | PERL_CALLCONV char* Perl_sv_2pv_nolen(pTHX_ SV* sv); | |
dc26be07 GS |
1805 | PERL_CALLCONV char* Perl_sv_2pvutf8_nolen(pTHX_ SV* sv); |
1806 | PERL_CALLCONV char* Perl_sv_2pvbyte_nolen(pTHX_ SV* sv); | |
e4a519ba AL |
1807 | /* PERL_CALLCONV char* sv_pv(pTHX_ SV *sv) |
1808 | __attribute__warn_unused_result__ | |
1809 | __attribute__nonnull__(pTHX_1); */ | |
1810 | ||
1811 | /* PERL_CALLCONV char* sv_pvutf8(pTHX_ SV *sv) | |
1812 | __attribute__warn_unused_result__ | |
1813 | __attribute__nonnull__(pTHX_1); */ | |
1814 | ||
1815 | /* PERL_CALLCONV char* sv_pvbyte(pTHX_ SV *sv) | |
1816 | __attribute__warn_unused_result__ | |
1817 | __attribute__nonnull__(pTHX_1); */ | |
1818 | ||
1819 | /* PERL_CALLCONV STRLEN sv_utf8_upgrade(pTHX_ SV *sv) | |
1820 | __attribute__nonnull__(pTHX_1); */ | |
1821 | ||
1822 | PERL_CALLCONV bool Perl_sv_utf8_downgrade(pTHX_ SV *sv, bool fail_ok) | |
1823 | __attribute__nonnull__(pTHX_1); | |
1824 | ||
1825 | PERL_CALLCONV void Perl_sv_utf8_encode(pTHX_ SV *sv) | |
1826 | __attribute__nonnull__(pTHX_1); | |
1827 | ||
1828 | PERL_CALLCONV bool Perl_sv_utf8_decode(pTHX_ SV *sv) | |
1829 | __attribute__nonnull__(pTHX_1); | |
1830 | ||
1831 | PERL_CALLCONV void Perl_sv_force_normal(pTHX_ SV *sv) | |
1832 | __attribute__nonnull__(pTHX_1); | |
1833 | ||
1834 | PERL_CALLCONV void Perl_sv_force_normal_flags(pTHX_ SV *sv, U32 flags) | |
1835 | __attribute__nonnull__(pTHX_1); | |
1836 | ||
1d7c1841 | 1837 | PERL_CALLCONV void Perl_tmps_grow(pTHX_ I32 n); |
e4a519ba AL |
1838 | PERL_CALLCONV SV* Perl_sv_rvweaken(pTHX_ SV *sv) |
1839 | __attribute__nonnull__(pTHX_1); | |
1840 | ||
1841 | PERL_CALLCONV int Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg) | |
1842 | __attribute__nonnull__(pTHX_1) | |
1843 | __attribute__nonnull__(pTHX_2); | |
1844 | ||
1d7c1841 GS |
1845 | PERL_CALLCONV OP* Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block); |
1846 | PERL_CALLCONV CV* Perl_newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block); | |
24c2fff4 NC |
1847 | PERL_CALLCONV void Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block) |
1848 | __attribute__noreturn__; | |
1849 | ||
065cbbe5 | 1850 | PERL_CALLCONV OP * Perl_my_attrs(pTHX_ OP *o, OP *attrs) |
24c2fff4 NC |
1851 | __attribute__nonnull__(pTHX_1); |
1852 | ||
1d7c1841 GS |
1853 | PERL_CALLCONV void Perl_boot_core_xsutils(pTHX); |
1854 | #if defined(USE_ITHREADS) | |
0188be2e AL |
1855 | PERL_CALLCONV PERL_CONTEXT* Perl_cx_dup(pTHX_ PERL_CONTEXT* cx, I32 ix, I32 max, CLONE_PARAMS* param) |
1856 | __attribute__malloc__ | |
1857 | __attribute__warn_unused_result__; | |
1858 | ||
1859 | PERL_CALLCONV PERL_SI* Perl_si_dup(pTHX_ PERL_SI* si, CLONE_PARAMS* param) | |
1860 | __attribute__malloc__ | |
1861 | __attribute__warn_unused_result__; | |
1862 | ||
1863 | PERL_CALLCONV ANY* Perl_ss_dup(pTHX_ PerlInterpreter* proto_perl, CLONE_PARAMS* param) | |
1864 | __attribute__malloc__ | |
1865 | __attribute__warn_unused_result__ | |
1866 | __attribute__nonnull__(pTHX_1); | |
1867 | ||
1868 | PERL_CALLCONV void* Perl_any_dup(pTHX_ void* v, PerlInterpreter* proto_perl) | |
1869 | __attribute__malloc__ | |
1870 | __attribute__warn_unused_result__ | |
1871 | __attribute__nonnull__(pTHX_2); | |
1872 | ||
1873 | PERL_CALLCONV HE* Perl_he_dup(pTHX_ HE* e, bool shared, CLONE_PARAMS* param) | |
1874 | __attribute__malloc__ | |
1875 | __attribute__warn_unused_result__; | |
1876 | ||
1877 | PERL_CALLCONV REGEXP* Perl_re_dup(pTHX_ REGEXP* r, CLONE_PARAMS* param) | |
1878 | __attribute__malloc__ | |
1879 | __attribute__warn_unused_result__; | |
1880 | ||
1881 | PERL_CALLCONV PerlIO* Perl_fp_dup(pTHX_ PerlIO* fp, char type, CLONE_PARAMS* param) | |
1882 | __attribute__malloc__ | |
1883 | __attribute__warn_unused_result__; | |
1884 | ||
1885 | PERL_CALLCONV DIR* Perl_dirp_dup(pTHX_ DIR* dp) | |
1886 | __attribute__malloc__ | |
1887 | __attribute__warn_unused_result__; | |
1888 | ||
1889 | PERL_CALLCONV GP* Perl_gp_dup(pTHX_ GP* gp, CLONE_PARAMS* param) | |
1890 | __attribute__malloc__ | |
1891 | __attribute__warn_unused_result__; | |
1892 | ||
1893 | PERL_CALLCONV MAGIC* Perl_mg_dup(pTHX_ MAGIC* mg, CLONE_PARAMS* param) | |
1894 | __attribute__malloc__ | |
1895 | __attribute__warn_unused_result__ | |
1896 | __attribute__nonnull__(pTHX_1); | |
1897 | ||
1898 | PERL_CALLCONV SV* Perl_sv_dup(pTHX_ SV* sstr, CLONE_PARAMS* param) | |
1899 | __attribute__malloc__ | |
1900 | __attribute__warn_unused_result__ | |
1901 | __attribute__nonnull__(pTHX_1); | |
1902 | ||
1903 | PERL_CALLCONV void Perl_rvpv_dup(pTHX_ SV* dstr, SV *sstr, CLONE_PARAMS* param) | |
1904 | __attribute__nonnull__(pTHX_1) | |
1905 | __attribute__nonnull__(pTHX_2); | |
1906 | ||
1d7c1841 | 1907 | #if defined(HAVE_INTERP_INTERN) |
547d29e4 AL |
1908 | PERL_CALLCONV void Perl_sys_intern_dup(pTHX_ struct interp_intern* src, struct interp_intern* dst) |
1909 | __attribute__nonnull__(pTHX_1) | |
1910 | __attribute__nonnull__(pTHX_2); | |
1911 | ||
1d7c1841 | 1912 | #endif |
0188be2e AL |
1913 | PERL_CALLCONV PTR_TBL_t* Perl_ptr_table_new(pTHX) |
1914 | __attribute__malloc__ | |
1915 | __attribute__warn_unused_result__; | |
1916 | ||
065cbbe5 | 1917 | PERL_CALLCONV void* Perl_ptr_table_fetch(pTHX_ PTR_TBL_t *tbl, void *sv) |
0188be2e AL |
1918 | __attribute__malloc__ |
1919 | __attribute__warn_unused_result__ | |
24c2fff4 NC |
1920 | __attribute__nonnull__(pTHX_1) |
1921 | __attribute__nonnull__(pTHX_2); | |
1922 | ||
065cbbe5 | 1923 | PERL_CALLCONV void Perl_ptr_table_store(pTHX_ PTR_TBL_t *tbl, void *oldsv, void *newsv) |
0188be2e AL |
1924 | __attribute__nonnull__(pTHX_1) |
1925 | __attribute__nonnull__(pTHX_3); | |
24c2fff4 | 1926 | |
065cbbe5 | 1927 | PERL_CALLCONV void Perl_ptr_table_split(pTHX_ PTR_TBL_t *tbl) |
24c2fff4 NC |
1928 | __attribute__nonnull__(pTHX_1); |
1929 | ||
690cf326 NIS |
1930 | PERL_CALLCONV void Perl_ptr_table_clear(pTHX_ PTR_TBL_t *tbl); |
1931 | PERL_CALLCONV void Perl_ptr_table_free(pTHX_ PTR_TBL_t *tbl); | |
864dbfa3 | 1932 | #endif |
3dbbd0f5 GS |
1933 | #if defined(HAVE_INTERP_INTERN) |
1934 | PERL_CALLCONV void Perl_sys_intern_clear(pTHX); | |
1935 | PERL_CALLCONV void Perl_sys_intern_init(pTHX); | |
1936 | #endif | |
cae16f1a | 1937 | |
065cbbe5 | 1938 | PERL_CALLCONV char * Perl_custom_op_name(pTHX_ OP* op) |
0188be2e | 1939 | __attribute__warn_unused_result__ |
24c2fff4 NC |
1940 | __attribute__nonnull__(pTHX_1); |
1941 | ||
065cbbe5 | 1942 | PERL_CALLCONV char * Perl_custom_op_desc(pTHX_ OP* op) |
0188be2e | 1943 | __attribute__warn_unused_result__ |
24c2fff4 NC |
1944 | __attribute__nonnull__(pTHX_1); |
1945 | ||
cae16f1a | 1946 | |
68795e93 NIS |
1947 | PERL_CALLCONV void Perl_sv_nosharing(pTHX_ SV *); |
1948 | PERL_CALLCONV void Perl_sv_nolocking(pTHX_ SV *); | |
1949 | PERL_CALLCONV void Perl_sv_nounlocking(pTHX_ SV *); | |
62375a60 | 1950 | PERL_CALLCONV int Perl_nothreadhook(pTHX); |
1d7c1841 | 1951 | |
1d7c1841 | 1952 | END_EXTERN_C |
1d7c1841 | 1953 | |
4bdc353c JH |
1954 | #if defined(PERL_IN_AV_C) || defined(PERL_DECL_PROT) |
1955 | STATIC I32 S_avhv_index_sv(pTHX_ SV* sv); | |
1956 | STATIC I32 S_avhv_index(pTHX_ AV* av, SV* sv, U32 hash); | |
1957 | #endif | |
1958 | ||
0cb96387 | 1959 | #if defined(PERL_IN_DOOP_C) || defined(PERL_DECL_PROT) |
24c2fff4 | 1960 | STATIC I32 S_do_trans_simple(pTHX_ SV *sv) |
0188be2e | 1961 | __attribute__warn_unused_result__ |
24c2fff4 NC |
1962 | __attribute__nonnull__(pTHX_1); |
1963 | ||
1964 | STATIC I32 S_do_trans_count(pTHX_ SV *sv) | |
0188be2e | 1965 | __attribute__warn_unused_result__ |
24c2fff4 NC |
1966 | __attribute__nonnull__(pTHX_1); |
1967 | ||
1968 | STATIC I32 S_do_trans_complex(pTHX_ SV *sv) | |
0188be2e | 1969 | __attribute__warn_unused_result__ |
24c2fff4 NC |
1970 | __attribute__nonnull__(pTHX_1); |
1971 | ||
1972 | STATIC I32 S_do_trans_simple_utf8(pTHX_ SV *sv) | |
0188be2e | 1973 | __attribute__warn_unused_result__ |
24c2fff4 NC |
1974 | __attribute__nonnull__(pTHX_1); |
1975 | ||
1976 | STATIC I32 S_do_trans_count_utf8(pTHX_ SV *sv) | |
0188be2e | 1977 | __attribute__warn_unused_result__ |
24c2fff4 NC |
1978 | __attribute__nonnull__(pTHX_1); |
1979 | ||
1980 | STATIC I32 S_do_trans_complex_utf8(pTHX_ SV *sv) | |
0188be2e | 1981 | __attribute__warn_unused_result__ |
24c2fff4 NC |
1982 | __attribute__nonnull__(pTHX_1); |
1983 | ||
cea2e8a9 | 1984 | #endif |
1d7c1841 | 1985 | |
0cb96387 | 1986 | #if defined(PERL_IN_GV_C) || defined(PERL_DECL_PROT) |
0188be2e AL |
1987 | STATIC void S_gv_init_sv(pTHX_ GV *gv, I32 sv_type) |
1988 | __attribute__nonnull__(pTHX_1); | |
1989 | ||
8c18bf38 AL |
1990 | STATIC void S_require_errno(pTHX_ GV *gv) |
1991 | __attribute__nonnull__(pTHX_1); | |
1992 | ||
864dbfa3 | 1993 | #endif |
1d7c1841 | 1994 | |
0cb96387 | 1995 | #if defined(PERL_IN_HV_C) || defined(PERL_DECL_PROT) |
0188be2e AL |
1996 | STATIC void S_hsplit(pTHX_ HV *hv) |
1997 | __attribute__nonnull__(pTHX_1); | |
1998 | ||
e4a519ba AL |
1999 | STATIC void S_hfreeentries(pTHX_ HV *hv) |
2000 | __attribute__nonnull__(pTHX_1); | |
2001 | ||
228fe6e6 | 2002 | STATIC HE* S_new_he(pTHX) |
0188be2e | 2003 | __attribute__malloc__ |
228fe6e6 AL |
2004 | __attribute__warn_unused_result__; |
2005 | ||
2006 | STATIC void S_del_he(pTHX_ HE *p) | |
2007 | __attribute__nonnull__(pTHX_1); | |
2008 | ||
2009 | STATIC HEK* S_save_hek_flags(pTHX_ const char *str, I32 len, U32 hash, int flags) | |
0188be2e | 2010 | __attribute__malloc__ |
228fe6e6 AL |
2011 | __attribute__warn_unused_result__ |
2012 | __attribute__nonnull__(pTHX_1); | |
2013 | ||
2014 | STATIC void S_hv_magic_check(pTHX_ HV *hv, bool *needs_copy, bool *needs_store) | |
2015 | __attribute__nonnull__(pTHX_1) | |
2016 | __attribute__nonnull__(pTHX_2) | |
2017 | __attribute__nonnull__(pTHX_3); | |
2018 | ||
481da01c | 2019 | STATIC void S_unshare_hek_or_pvn(pTHX_ HEK* hek, const char* str, I32 len, U32 hash); |
228fe6e6 AL |
2020 | STATIC HEK* S_share_hek_flags(pTHX_ const char* sv, I32 len, U32 hash, int flags) |
2021 | __attribute__warn_unused_result__; | |
2022 | ||
24c2fff4 | 2023 | STATIC void S_hv_notallowed(pTHX_ int flags, const char *key, I32 klen, const char *msg) |
228fe6e6 AL |
2024 | __attribute__noreturn__ |
2025 | __attribute__nonnull__(pTHX_2) | |
2026 | __attribute__nonnull__(pTHX_4); | |
24c2fff4 | 2027 | |
864dbfa3 | 2028 | #endif |
1d7c1841 | 2029 | |
0cb96387 | 2030 | #if defined(PERL_IN_MG_C) || defined(PERL_DECL_PROT) |
547d29e4 AL |
2031 | STATIC void S_save_magic(pTHX_ I32 mgs_ix, SV *sv) |
2032 | __attribute__nonnull__(pTHX_2); | |
2033 | ||
2034 | STATIC int S_magic_methpack(pTHX_ SV *sv, const MAGIC *mg, const char *meth) | |
2035 | __attribute__nonnull__(pTHX_1) | |
2036 | __attribute__nonnull__(pTHX_2) | |
2037 | __attribute__nonnull__(pTHX_3); | |
2038 | ||
2039 | STATIC int S_magic_methcall(pTHX_ SV *sv, const MAGIC *mg, const char *meth, I32 f, int n, SV *val) | |
2040 | __attribute__nonnull__(pTHX_1) | |
2041 | __attribute__nonnull__(pTHX_2) | |
2042 | __attribute__nonnull__(pTHX_3); | |
2043 | ||
4f1e9d25 AL |
2044 | STATIC void S_restore_magic(pTHX_ const void *p) |
2045 | __attribute__nonnull__(pTHX_1); | |
2046 | ||
2047 | STATIC void S_unwind_handler_stack(pTHX_ const void *p) | |
2048 | __attribute__nonnull__(pTHX_1); | |
2049 | ||
2050 | ||
864dbfa3 | 2051 | #endif |
1d7c1841 | 2052 | |
0cb96387 | 2053 | #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT) |
547d29e4 AL |
2054 | STATIC bool S_is_handle_constructor(pTHX_ const OP *o, I32 numargs) |
2055 | __attribute__warn_unused_result__ | |
2056 | __attribute__nonnull__(pTHX_1); | |
2057 | ||
2058 | STATIC I32 S_is_list_assignment(pTHX_ const OP *o) | |
2059 | __attribute__warn_unused_result__; | |
2060 | ||
2061 | STATIC void S_cop_free(pTHX_ COP *cop) | |
2062 | __attribute__nonnull__(pTHX_1); | |
2063 | ||
cea2e8a9 | 2064 | STATIC OP* S_modkids(pTHX_ OP *o, I32 type); |
547d29e4 AL |
2065 | STATIC OP* S_scalarboolean(pTHX_ OP *o) |
2066 | __attribute__nonnull__(pTHX_1); | |
2067 | ||
2068 | STATIC OP* S_newDEFSVOP(pTHX) | |
2069 | __attribute__warn_unused_result__; | |
2070 | ||
2071 | STATIC OP* S_new_logop(pTHX_ I32 type, I32 flags, OP **firstp, OP **otherp) | |
2072 | __attribute__warn_unused_result__ | |
2073 | __attribute__nonnull__(pTHX_3) | |
2074 | __attribute__nonnull__(pTHX_4); | |
2075 | ||
2076 | STATIC void S_simplify_sort(pTHX_ OP *o) | |
2077 | __attribute__nonnull__(pTHX_1); | |
2078 | ||
db1c9db1 | 2079 | STATIC const char* S_gv_ename(pTHX_ GV *gv); |
c501bbfe | 2080 | STATIC bool S_scalar_mod_type(pTHX_ const OP *o, I32 type); |
95f0a2f1 | 2081 | STATIC OP * S_my_kid(pTHX_ OP *o, OP *attrs, OP **imopsp); |
09bef843 | 2082 | STATIC OP * S_dup_attrlist(pTHX_ OP *o); |
95f0a2f1 SB |
2083 | STATIC void S_apply_attrs(pTHX_ HV *stash, SV *target, OP *attrs, bool for_my); |
2084 | STATIC void S_apply_attrs_my(pTHX_ HV *stash, OP *target, OP *attrs, OP **imopsp); | |
547d29e4 AL |
2085 | STATIC void S_bad_type(pTHX_ I32 n, const char *t, const char *name, const OP *kid) |
2086 | __attribute__nonnull__(pTHX_2) | |
2087 | __attribute__nonnull__(pTHX_3) | |
2088 | __attribute__nonnull__(pTHX_4); | |
2089 | ||
2090 | STATIC void S_no_bareword_allowed(pTHX_ const OP *o) | |
2091 | __attribute__nonnull__(pTHX_1); | |
2092 | ||
2093 | STATIC OP* S_no_fh_allowed(pTHX_ OP *o) | |
2094 | __attribute__warn_unused_result__ | |
2095 | __attribute__nonnull__(pTHX_1); | |
2096 | ||
2097 | STATIC OP* S_too_few_arguments(pTHX_ OP *o, const char* name) | |
2098 | __attribute__warn_unused_result__ | |
2099 | __attribute__nonnull__(pTHX_1) | |
2100 | __attribute__nonnull__(pTHX_2); | |
2101 | ||
2102 | STATIC OP* S_too_many_arguments(pTHX_ OP *o, const char* name) | |
2103 | __attribute__warn_unused_result__ | |
2104 | __attribute__nonnull__(pTHX_1) | |
2105 | __attribute__nonnull__(pTHX_2); | |
2106 | ||
aa39c176 JH |
2107 | #endif |
2108 | #if defined(PL_OP_SLAB_ALLOC) | |
547d29e4 AL |
2109 | PERL_CALLCONV void* Perl_Slab_Alloc(pTHX_ int m, size_t sz) |
2110 | __attribute__warn_unused_result__; | |
2111 | ||
aa39c176 | 2112 | PERL_CALLCONV void Perl_Slab_Free(pTHX_ void *op); |
864dbfa3 | 2113 | #endif |
1d7c1841 | 2114 | |
0cb96387 | 2115 | #if defined(PERL_IN_PERL_C) || defined(PERL_DECL_PROT) |
cea2e8a9 | 2116 | STATIC void S_find_beginning(pTHX); |
0473add9 AL |
2117 | STATIC void S_forbid_setid(pTHX_ const char * s); |
2118 | STATIC void S_incpush(pTHX_ const char *dir, bool addsubdirs, bool addoldvers, bool usesep); | |
cea2e8a9 GS |
2119 | STATIC void S_init_interp(pTHX); |
2120 | STATIC void S_init_ids(pTHX); | |
cea2e8a9 GS |
2121 | STATIC void S_init_lexer(pTHX); |
2122 | STATIC void S_init_main_stash(pTHX); | |
2123 | STATIC void S_init_perllib(pTHX); | |
2124 | STATIC void S_init_postdump_symbols(pTHX_ int, char **, char **); | |
2125 | STATIC void S_init_predump_symbols(pTHX); | |
24c2fff4 NC |
2126 | STATIC void S_my_exit_jump(pTHX) |
2127 | __attribute__noreturn__; | |
2128 | ||
cea2e8a9 | 2129 | STATIC void S_nuke_stacks(pTHX); |
0473add9 AL |
2130 | STATIC void S_open_script(pTHX_ const char *scriptname, bool dosearch, SV *sv); |
2131 | STATIC void S_usage(pTHX_ const char *name); | |
c05e0e2f | 2132 | STATIC void S_validate_suid(pTHX_ const char *validarg, const char *scriptname); |
cea2e8a9 GS |
2133 | # if defined(IAMSUID) |
2134 | STATIC int S_fd_on_nosuid_fs(pTHX_ int fd); | |
2135 | # endif | |
14dd3ad8 | 2136 | STATIC void* S_parse_body(pTHX_ char **env, XSINIT_t xsinit); |
24c2fff4 NC |
2137 | STATIC void S_run_body(pTHX_ I32 oldscope) |
2138 | __attribute__noreturn__; | |
2139 | ||
0473add9 | 2140 | STATIC void S_call_body(pTHX_ const OP *myop, bool is_eval); |
14dd3ad8 GS |
2141 | STATIC void* S_call_list_body(pTHX_ CV *cv); |
2142 | #if defined(PERL_FLEXIBLE_EXCEPTIONS) | |
2143 | STATIC void* S_vparse_body(pTHX_ va_list args); | |
2144 | STATIC void* S_vrun_body(pTHX_ va_list args); | |
2145 | STATIC void* S_vcall_body(pTHX_ va_list args); | |
2146 | STATIC void* S_vcall_list_body(pTHX_ va_list args); | |
2147 | #endif | |
4bdc353c JH |
2148 | # if defined(USE_5005THREADS) |
2149 | STATIC struct perl_thread * S_init_main_thread(pTHX); | |
2150 | # endif | |
864dbfa3 | 2151 | #endif |
1d7c1841 | 2152 | |
0cb96387 | 2153 | #if defined(PERL_IN_PP_C) || defined(PERL_DECL_PROT) |
62cc1c5f AL |
2154 | STATIC SV* S_refto(pTHX_ SV* sv) |
2155 | __attribute__warn_unused_result__; | |
2156 | ||
a6ec74c1 JH |
2157 | #endif |
2158 | ||
2159 | #if defined(PERL_IN_PP_PACK_C) || defined(PERL_DECL_PROT) | |
cf168e39 WL |
2160 | STATIC I32 S_unpack_rec(pTHX_ tempsym_t* symptr, char *s, char *strbeg, char *strend, char **new_s); |
2161 | STATIC SV ** S_pack_rec(pTHX_ SV *cat, tempsym_t* symptr, SV **beglist, SV **endlist); | |
065cbbe5 | 2162 | STATIC SV* S_mul128(pTHX_ SV *sv, U8 m) |
24c2fff4 NC |
2163 | __attribute__nonnull__(pTHX_1); |
2164 | ||
065cbbe5 | 2165 | STATIC I32 S_measure_struct(pTHX_ tempsym_t* symptr) |
24c2fff4 NC |
2166 | __attribute__nonnull__(pTHX_1); |
2167 | ||
065cbbe5 | 2168 | STATIC char * S_group_end(pTHX_ char *pat, char *patend, char ender) |
24c2fff4 NC |
2169 | __attribute__nonnull__(pTHX_1) |
2170 | __attribute__nonnull__(pTHX_2); | |
2171 | ||
065cbbe5 | 2172 | STATIC char * S_get_num(pTHX_ char *ppat, I32 *) |
24c2fff4 NC |
2173 | __attribute__nonnull__(pTHX_1) |
2174 | __attribute__nonnull__(pTHX_2); | |
2175 | ||
065cbbe5 | 2176 | STATIC bool S_next_symbol(pTHX_ tempsym_t* symptr) |
24c2fff4 NC |
2177 | __attribute__nonnull__(pTHX_1); |
2178 | ||
cf168e39 | 2179 | STATIC void S_doencodes(pTHX_ SV* sv, char* s, I32 len); |
065cbbe5 | 2180 | STATIC SV* S_is_an_int(pTHX_ char *s, STRLEN l) |
228fe6e6 | 2181 | __attribute__warn_unused_result__ |
24c2fff4 NC |
2182 | __attribute__nonnull__(pTHX_1); |
2183 | ||
065cbbe5 | 2184 | STATIC int S_div128(pTHX_ SV *pnum, bool *done) |
24c2fff4 NC |
2185 | __attribute__nonnull__(pTHX_1) |
2186 | __attribute__nonnull__(pTHX_2); | |
2187 | ||
864dbfa3 | 2188 | #endif |
1d7c1841 | 2189 | |
0cb96387 | 2190 | #if defined(PERL_IN_PP_CTL_C) || defined(PERL_DECL_PROT) |
62cc1c5f AL |
2191 | STATIC OP* S_docatch(pTHX_ OP *o) |
2192 | __attribute__warn_unused_result__; | |
2193 | ||
2194 | STATIC void S_docatch_body(pTHX); | |
14dd3ad8 GS |
2195 | #if defined(PERL_FLEXIBLE_EXCEPTIONS) |
2196 | STATIC void* S_vdocatch_body(pTHX_ va_list args); | |
2197 | #endif | |
62cc1c5f AL |
2198 | STATIC OP* S_dofindlabel(pTHX_ OP *o, const char *label, OP **opstack, OP **oplimit) |
2199 | __attribute__warn_unused_result__; | |
2200 | ||
2201 | STATIC OP* S_doparseform(pTHX_ SV *sv) | |
2202 | __attribute__warn_unused_result__; | |
2203 | ||
2204 | STATIC bool S_num_overflow(NV value, I32 fldsize, I32 frcsize) | |
2205 | __attribute__warn_unused_result__; | |
2206 | ||
2207 | STATIC I32 S_dopoptoeval(pTHX_ I32 startingblock) | |
2208 | __attribute__warn_unused_result__; | |
2209 | ||
065cbbe5 | 2210 | STATIC I32 S_dopoptolabel(pTHX_ const char *label) |
62cc1c5f | 2211 | __attribute__warn_unused_result__ |
24c2fff4 NC |
2212 | __attribute__nonnull__(pTHX_1); |
2213 | ||
62cc1c5f AL |
2214 | STATIC I32 S_dopoptoloop(pTHX_ I32 startingblock) |
2215 | __attribute__warn_unused_result__; | |
2216 | ||
2217 | STATIC I32 S_dopoptosub(pTHX_ I32 startingblock) | |
2218 | __attribute__warn_unused_result__; | |
2219 | ||
2220 | STATIC I32 S_dopoptosub_at(pTHX_ const PERL_CONTEXT* cxstk, I32 startingblock) | |
2221 | __attribute__warn_unused_result__; | |
2222 | ||
cea2e8a9 | 2223 | STATIC void S_save_lines(pTHX_ AV *array, SV *sv); |
62cc1c5f AL |
2224 | STATIC OP* S_doeval(pTHX_ int gimme, OP** startop, CV* outside, U32 seq) |
2225 | __attribute__warn_unused_result__; | |
2226 | ||
2227 | STATIC PerlIO * S_doopen_pm(pTHX_ const char *name, const char *mode) | |
2228 | __attribute__warn_unused_result__; | |
2229 | ||
065cbbe5 | 2230 | STATIC bool S_path_is_absolute(pTHX_ const char *name) |
62cc1c5f | 2231 | __attribute__warn_unused_result__ |
24c2fff4 NC |
2232 | __attribute__nonnull__(pTHX_1); |
2233 | ||
864dbfa3 | 2234 | #endif |
1d7c1841 | 2235 | |
0cb96387 | 2236 | #if defined(PERL_IN_PP_HOT_C) || defined(PERL_DECL_PROT) |
4bdc353c | 2237 | STATIC int S_do_maybe_phash(pTHX_ AV *ary, SV **lelem, SV **firstlelem, SV **relem, SV **lastrelem); |
e4057cfc AL |
2238 | STATIC void S_do_oddball(pTHX_ HV *hash, SV **relem, SV **firstrelem) |
2239 | __attribute__nonnull__(pTHX_1) | |
2240 | __attribute__nonnull__(pTHX_2) | |
2241 | __attribute__nonnull__(pTHX_3); | |
2242 | ||
2243 | STATIC CV* S_get_db_sub(pTHX_ SV **svp, CV *cv) | |
2244 | __attribute__warn_unused_result__ | |
2245 | __attribute__nonnull__(pTHX_1) | |
2246 | __attribute__nonnull__(pTHX_2); | |
2247 | ||
2248 | STATIC SV* S_method_common(pTHX_ SV* meth, U32* hashp) | |
2249 | __attribute__warn_unused_result__ | |
2250 | __attribute__nonnull__(pTHX_1); | |
2251 | ||
864dbfa3 | 2252 | #endif |
1d7c1841 | 2253 | |
0cb96387 | 2254 | #if defined(PERL_IN_PP_SYS_C) || defined(PERL_DECL_PROT) |
481da01c AL |
2255 | STATIC OP* S_doform(pTHX_ CV *cv, GV *gv, OP *retop) |
2256 | __attribute__nonnull__(pTHX_1) | |
2257 | __attribute__nonnull__(pTHX_2) | |
2258 | __attribute__nonnull__(pTHX_3); | |
2259 | ||
2260 | STATIC int S_emulate_eaccess(pTHX_ const char* path, Mode_t mode) | |
481da01c AL |
2261 | __attribute__nonnull__(pTHX_1); |
2262 | ||
cea2e8a9 | 2263 | # if !defined(HAS_MKDIR) || !defined(HAS_RMDIR) |
481da01c AL |
2264 | STATIC int S_dooneliner(pTHX_ const char *cmd, const char *filename) |
2265 | __attribute__warn_unused_result__ | |
2266 | __attribute__nonnull__(pTHX_1) | |
2267 | __attribute__nonnull__(pTHX_2); | |
2268 | ||
cea2e8a9 | 2269 | # endif |
864dbfa3 | 2270 | #endif |
1d7c1841 | 2271 | |
0cb96387 | 2272 | #if defined(PERL_IN_REGCOMP_C) || defined(PERL_DECL_PROT) |
e4057cfc AL |
2273 | STATIC regnode* S_reg(pTHX_ struct RExC_state_t *state, I32 paren, I32 *flagp) |
2274 | __attribute__nonnull__(pTHX_1) | |
2275 | __attribute__nonnull__(pTHX_3); | |
2276 | ||
2277 | STATIC regnode* S_reganode(pTHX_ struct RExC_state_t *state, U8 op, U32 arg) | |
2278 | __attribute__nonnull__(pTHX_1); | |
2279 | ||
2280 | STATIC regnode* S_regatom(pTHX_ struct RExC_state_t *state, I32 *flagp) | |
2281 | __attribute__nonnull__(pTHX_1) | |
2282 | __attribute__nonnull__(pTHX_2); | |
2283 | ||
2284 | STATIC regnode* S_regbranch(pTHX_ struct RExC_state_t *state, I32 *flagp, I32 first) | |
2285 | __attribute__nonnull__(pTHX_1) | |
2286 | __attribute__nonnull__(pTHX_2); | |
2287 | ||
2288 | STATIC void S_reguni(pTHX_ const struct RExC_state_t *state, UV uv, char *s, STRLEN *lenp) | |
2289 | __attribute__nonnull__(pTHX_1) | |
2290 | __attribute__nonnull__(pTHX_3) | |
2291 | __attribute__nonnull__(pTHX_4); | |
2292 | ||
2293 | STATIC regnode* S_regclass(pTHX_ struct RExC_state_t *state) | |
2294 | __attribute__nonnull__(pTHX_1); | |
2295 | ||
8c18bf38 AL |
2296 | STATIC I32 S_regcurly(pTHX_ const char *) |
2297 | __attribute__warn_unused_result__ | |
2298 | __attribute__nonnull__(pTHX_1); | |
2299 | ||
e4057cfc AL |
2300 | STATIC regnode* S_reg_node(pTHX_ struct RExC_state_t *state, U8 op) |
2301 | __attribute__nonnull__(pTHX_1); | |
2302 | ||
2303 | STATIC regnode* S_regpiece(pTHX_ struct RExC_state_t *state, I32 *flagp) | |
2304 | __attribute__nonnull__(pTHX_1) | |
2305 | __attribute__nonnull__(pTHX_2); | |
2306 | ||
2307 | STATIC void S_reginsert(pTHX_ struct RExC_state_t *state, U8 op, regnode *opnd) | |
2308 | __attribute__nonnull__(pTHX_1) | |
2309 | __attribute__nonnull__(pTHX_3); | |
2310 | ||
2311 | STATIC void S_regoptail(pTHX_ struct RExC_state_t *state, regnode *p, regnode *val) | |
2312 | __attribute__nonnull__(pTHX_1) | |
2313 | __attribute__nonnull__(pTHX_2) | |
2314 | __attribute__nonnull__(pTHX_3); | |
2315 | ||
2316 | STATIC void S_regtail(pTHX_ struct RExC_state_t *state, regnode *p, regnode *val) | |
2317 | __attribute__nonnull__(pTHX_1) | |
2318 | __attribute__nonnull__(pTHX_2) | |
2319 | __attribute__nonnull__(pTHX_3); | |
2320 | ||
2321 | STATIC char* S_regwhite(pTHX_ char *p, const char *e) | |
2322 | __attribute__nonnull__(pTHX_1) | |
2323 | __attribute__nonnull__(pTHX_2); | |
2324 | ||
2325 | STATIC char* S_nextchar(pTHX_ struct RExC_state_t*) | |
2326 | __attribute__nonnull__(pTHX_1); | |
2327 | ||
8fa7f367 | 2328 | # ifdef DEBUGGING |
cea2e8a9 | 2329 | STATIC regnode* S_dumpuntil(pTHX_ regnode *start, regnode *node, regnode *last, SV* sv, I32 l); |
547d29e4 AL |
2330 | STATIC void S_put_byte(pTHX_ SV* sv, int c) |
2331 | __attribute__nonnull__(pTHX_1); | |
2332 | ||
8fa7f367 | 2333 | # endif |
830247a4 | 2334 | STATIC void S_scan_commit(pTHX_ struct RExC_state_t*, struct scan_data_t *data); |
e4057cfc AL |
2335 | STATIC void S_cl_anything(pTHX_ struct RExC_state_t*, struct regnode_charclass_class *cl) |
2336 | __attribute__nonnull__(pTHX_1) | |
2337 | __attribute__nonnull__(pTHX_2); | |
2338 | ||
2339 | STATIC int S_cl_is_anything(pTHX_ const struct regnode_charclass_class *cl) | |
2340 | __attribute__nonnull__(pTHX_1); | |
2341 | ||
2342 | STATIC void S_cl_init(pTHX_ struct RExC_state_t*, struct regnode_charclass_class *cl) | |
2343 | __attribute__nonnull__(pTHX_1) | |
2344 | __attribute__nonnull__(pTHX_2); | |
2345 | ||
2346 | STATIC void S_cl_init_zero(pTHX_ struct RExC_state_t*, struct regnode_charclass_class *cl) | |
2347 | __attribute__nonnull__(pTHX_1) | |
2348 | __attribute__nonnull__(pTHX_2); | |
2349 | ||
2350 | STATIC void S_cl_and(pTHX_ struct regnode_charclass_class *cl, const struct regnode_charclass_class *and_with) | |
2351 | __attribute__nonnull__(pTHX_1); | |
2352 | ||
2353 | STATIC void S_cl_or(pTHX_ struct RExC_state_t*, struct regnode_charclass_class *cl, const struct regnode_charclass_class *or_with) | |
2354 | __attribute__nonnull__(pTHX_1) | |
2355 | __attribute__nonnull__(pTHX_2) | |
2356 | __attribute__nonnull__(pTHX_3); | |
2357 | ||
830247a4 | 2358 | STATIC I32 S_study_chunk(pTHX_ struct RExC_state_t*, regnode **scanp, I32 *deltap, regnode *last, struct scan_data_t *data, U32 flags); |
a00f3e00 | 2359 | STATIC I32 S_add_data(pTHX_ struct RExC_state_t*, I32 n, const char *s); |
24c2fff4 NC |
2360 | STATIC void S_re_croak2(pTHX_ const char* pat1, const char* pat2, ...) |
2361 | __attribute__noreturn__; | |
2362 | ||
830247a4 IZ |
2363 | STATIC I32 S_regpposixcc(pTHX_ struct RExC_state_t*, I32 value); |
2364 | STATIC void S_checkposixcc(pTHX_ struct RExC_state_t*); | |
864dbfa3 | 2365 | #endif |
1d7c1841 | 2366 | |
0cb96387 | 2367 | #if defined(PERL_IN_REGEXEC_C) || defined(PERL_DECL_PROT) |
8c18bf38 AL |
2368 | STATIC I32 S_regmatch(pTHX_ regnode *prog) |
2369 | __attribute__warn_unused_result__ | |
2370 | __attribute__nonnull__(pTHX_1); | |
2371 | ||
2372 | STATIC I32 S_regrepeat(pTHX_ const regnode *p, I32 max) | |
2373 | __attribute__warn_unused_result__ | |
2374 | __attribute__nonnull__(pTHX_1); | |
2375 | ||
2376 | STATIC I32 S_regrepeat_hard(pTHX_ regnode *p, I32 max, I32 *lp) | |
2377 | __attribute__warn_unused_result__ | |
2378 | __attribute__nonnull__(pTHX_1) | |
2379 | __attribute__nonnull__(pTHX_3); | |
2380 | ||
2381 | STATIC I32 S_regtry(pTHX_ regexp *prog, char *startpos) | |
2382 | __attribute__warn_unused_result__; | |
2383 | ||
2384 | STATIC bool S_reginclass(pTHX_ const regnode *n, const U8 *p, STRLEN *lenp, bool do_utf8sv_is_utf8) | |
2385 | __attribute__warn_unused_result__ | |
2386 | __attribute__nonnull__(pTHX_1) | |
2387 | __attribute__nonnull__(pTHX_2); | |
2388 | ||
cea2e8a9 GS |
2389 | STATIC CHECKPOINT S_regcppush(pTHX_ I32 parenfloor); |
2390 | STATIC char* S_regcppop(pTHX); | |
2391 | STATIC char* S_regcp_set_to(pTHX_ I32 ss); | |
2392 | STATIC void S_cache_re(pTHX_ regexp *prog); | |
8c18bf38 AL |
2393 | STATIC U8* S_reghop(pTHX_ U8 *pos, I32 off) |
2394 | __attribute__warn_unused_result__; | |
2395 | ||
2396 | STATIC U8* S_reghop3(pTHX_ U8 *pos, I32 off, U8 *lim) | |
2397 | __attribute__warn_unused_result__; | |
2398 | ||
2399 | STATIC U8* S_reghopmaybe(pTHX_ U8 *pos, I32 off) | |
2400 | __attribute__warn_unused_result__; | |
2401 | ||
2402 | STATIC U8* S_reghopmaybe3(pTHX_ U8 *pos, I32 off, U8 *lim) | |
2403 | __attribute__warn_unused_result__ | |
2404 | __attribute__nonnull__(pTHX_1) | |
2405 | __attribute__nonnull__(pTHX_3); | |
2406 | ||
2407 | STATIC char* S_find_byclass(pTHX_ regexp * prog, regnode *c, char *s, const char *strend, I32 norun) | |
2408 | __attribute__warn_unused_result__ | |
2409 | __attribute__nonnull__(pTHX_1) | |
2410 | __attribute__nonnull__(pTHX_2) | |
2411 | __attribute__nonnull__(pTHX_3) | |
2412 | __attribute__nonnull__(pTHX_4); | |
2413 | ||
2414 | STATIC void S_to_utf8_substr(pTHX_ regexp * prog) | |
2415 | __attribute__nonnull__(pTHX_1); | |
2416 | ||
2417 | STATIC void S_to_byte_substr(pTHX_ regexp * prog) | |
2418 | __attribute__nonnull__(pTHX_1); | |
2419 | ||
864dbfa3 | 2420 | #endif |
1d7c1841 | 2421 | |
bd16a5f0 | 2422 | #if defined(PERL_IN_DUMP_C) || defined(PERL_DECL_PROT) |
53a2efa2 | 2423 | STATIC CV* S_deb_curcv(pTHX_ I32 ix); |
c05e0e2f | 2424 | STATIC void S_debprof(pTHX_ const OP *o); |
864dbfa3 | 2425 | #endif |
1d7c1841 | 2426 | |
0cb96387 | 2427 | #if defined(PERL_IN_SCOPE_C) || defined(PERL_DECL_PROT) |
cea2e8a9 | 2428 | STATIC SV* S_save_scalar_at(pTHX_ SV **sptr); |
864dbfa3 | 2429 | #endif |
1d7c1841 | 2430 | |
0cb96387 | 2431 | #if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT) |
4f1e9d25 AL |
2432 | STATIC IV S_asIV(pTHX_ SV* sv) |
2433 | __attribute__warn_unused_result__ | |
2434 | __attribute__nonnull__(pTHX_1); | |
2435 | ||
2436 | STATIC UV S_asUV(pTHX_ SV* sv) | |
2437 | __attribute__warn_unused_result__ | |
2438 | __attribute__nonnull__(pTHX_1); | |
2439 | ||
cea2e8a9 GS |
2440 | STATIC XPVIV* S_new_xiv(pTHX); |
2441 | STATIC XPVNV* S_new_xnv(pTHX); | |
2442 | STATIC XPV* S_new_xpv(pTHX); | |
932e9ff9 VB |
2443 | STATIC XPVIV* S_new_xpviv(pTHX); |
2444 | STATIC XPVNV* S_new_xpvnv(pTHX); | |
2445 | STATIC XPVCV* S_new_xpvcv(pTHX); | |
2446 | STATIC XPVAV* S_new_xpvav(pTHX); | |
2447 | STATIC XPVHV* S_new_xpvhv(pTHX); | |
2448 | STATIC XPVMG* S_new_xpvmg(pTHX); | |
69ddb3b9 | 2449 | STATIC XPVGV* S_new_xpvgv(pTHX); |
932e9ff9 VB |
2450 | STATIC XPVLV* S_new_xpvlv(pTHX); |
2451 | STATIC XPVBM* S_new_xpvbm(pTHX); | |
cea2e8a9 GS |
2452 | STATIC XRV* S_new_xrv(pTHX); |
2453 | STATIC void S_del_xiv(pTHX_ XPVIV* p); | |
2454 | STATIC void S_del_xnv(pTHX_ XPVNV* p); | |
2455 | STATIC void S_del_xpv(pTHX_ XPV* p); | |
932e9ff9 VB |
2456 | STATIC void S_del_xpviv(pTHX_ XPVIV* p); |
2457 | STATIC void S_del_xpvnv(pTHX_ XPVNV* p); | |
2458 | STATIC void S_del_xpvcv(pTHX_ XPVCV* p); | |
2459 | STATIC void S_del_xpvav(pTHX_ XPVAV* p); | |
2460 | STATIC void S_del_xpvhv(pTHX_ XPVHV* p); | |
2461 | STATIC void S_del_xpvmg(pTHX_ XPVMG* p); | |
69ddb3b9 | 2462 | STATIC void S_del_xpvgv(pTHX_ XPVGV* p); |
932e9ff9 VB |
2463 | STATIC void S_del_xpvlv(pTHX_ XPVLV* p); |
2464 | STATIC void S_del_xpvbm(pTHX_ XPVBM* p); | |
cea2e8a9 | 2465 | STATIC void S_del_xrv(pTHX_ XRV* p); |
4f1e9d25 AL |
2466 | STATIC void S_sv_unglob(pTHX_ SV* sv) |
2467 | __attribute__nonnull__(pTHX_1); | |
2468 | ||
2469 | STATIC void S_not_a_number(pTHX_ SV *sv) | |
2470 | __attribute__nonnull__(pTHX_1); | |
2471 | ||
2472 | STATIC I32 S_visit(pTHX_ SVFUNC_t f, U32 flags, U32 mask) | |
2473 | __attribute__nonnull__(pTHX_1); | |
2474 | ||
2475 | STATIC void S_sv_add_backref(pTHX_ SV *tsv, SV *sv) | |
2476 | __attribute__nonnull__(pTHX_1) | |
2477 | __attribute__nonnull__(pTHX_2); | |
2478 | ||
2479 | STATIC void S_sv_del_backref(pTHX_ SV *sv) | |
2480 | __attribute__nonnull__(pTHX_1); | |
2481 | ||
8fa7f367 | 2482 | # ifdef DEBUGGING |
cea2e8a9 GS |
2483 | STATIC void S_del_sv(pTHX_ SV *p); |
2484 | # endif | |
28e5dec8 | 2485 | # if !defined(NV_PRESERVES_UV) |
28e5dec8 JH |
2486 | STATIC int S_sv_2iuv_non_preserve(pTHX_ SV *sv, I32 numtype); |
2487 | # endif | |
8c18bf38 AL |
2488 | STATIC I32 S_expect_number(pTHX_ char** pattern) |
2489 | __attribute__warn_unused_result__ | |
2490 | __attribute__nonnull__(pTHX_1); | |
2491 | ||
9cbac4c7 | 2492 | # |
c06c673c | 2493 | 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) |
8c18bf38 AL |
2494 | __attribute__nonnull__(pTHX_1) |
2495 | __attribute__nonnull__(pTHX_2) | |
2496 | __attribute__nonnull__(pTHX_3) | |
2497 | __attribute__nonnull__(pTHX_5) | |
2498 | __attribute__nonnull__(pTHX_7) | |
2499 | __attribute__nonnull__(pTHX_8) | |
2500 | __attribute__nonnull__(pTHX_9); | |
2501 | ||
c06c673c | 2502 | STATIC bool S_utf8_mg_pos_init(pTHX_ SV *sv, MAGIC **mgp, STRLEN **cachep, I32 i, I32 offsetp, const U8 *s, const U8 *start) |
8c18bf38 AL |
2503 | __attribute__nonnull__(pTHX_1) |
2504 | __attribute__nonnull__(pTHX_2) | |
2505 | __attribute__nonnull__(pTHX_3) | |
2506 | __attribute__nonnull__(pTHX_6) | |
2507 | __attribute__nonnull__(pTHX_7); | |
2508 | ||
cea2e8a9 | 2509 | #endif |
1d7c1841 | 2510 | |
0cb96387 | 2511 | #if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT) |
cea2e8a9 GS |
2512 | STATIC void S_check_uni(pTHX); |
2513 | STATIC void S_force_next(pTHX_ I32 type); | |
e759cc13 | 2514 | STATIC char* S_force_version(pTHX_ char *start, int guessing); |
cea2e8a9 GS |
2515 | STATIC char* S_force_word(pTHX_ char *start, int token, int check_keyword, int allow_pack, int allow_tick); |
2516 | STATIC SV* S_tokeq(pTHX_ SV *sv); | |
8eceec63 | 2517 | STATIC int S_pending_ident(pTHX); |
24c2fff4 NC |
2518 | STATIC char* S_scan_const(pTHX_ char *start) |
2519 | __attribute__nonnull__(pTHX_1); | |
2520 | ||
2521 | STATIC char* S_scan_formline(pTHX_ char *s) | |
2522 | __attribute__nonnull__(pTHX_1); | |
2523 | ||
2524 | STATIC char* S_scan_heredoc(pTHX_ char *s) | |
2525 | __attribute__nonnull__(pTHX_1); | |
2526 | ||
2527 | STATIC char* S_scan_ident(pTHX_ char *s, const char *send, char *dest, STRLEN destlen, I32 ck_uni) | |
2528 | __attribute__nonnull__(pTHX_1) | |
2529 | __attribute__nonnull__(pTHX_2) | |
2530 | __attribute__nonnull__(pTHX_3); | |
2531 | ||
cea2e8a9 GS |
2532 | STATIC char* S_scan_inputsymbol(pTHX_ char *start); |
2533 | STATIC char* S_scan_pat(pTHX_ char *start, I32 type); | |
09bef843 | 2534 | STATIC char* S_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims); |
cea2e8a9 GS |
2535 | STATIC char* S_scan_subst(pTHX_ char *start); |
2536 | STATIC char* S_scan_trans(pTHX_ char *start); | |
2537 | STATIC char* S_scan_word(pTHX_ char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp); | |
2538 | STATIC char* S_skipspace(pTHX_ char *s); | |
78ae23f5 | 2539 | STATIC char* S_swallow_bom(pTHX_ U8 *s); |
24c2fff4 NC |
2540 | STATIC void S_checkcomma(pTHX_ char *s, const char *name, const char *what) |
2541 | __attribute__nonnull__(pTHX_1) | |
2542 | __attribute__nonnull__(pTHX_2) | |
2543 | __attribute__nonnull__(pTHX_3); | |
2544 | ||
a00f3e00 | 2545 | STATIC void S_force_ident(pTHX_ const char *s, int kind); |
cea2e8a9 GS |
2546 | STATIC void S_incline(pTHX_ char *s); |
2547 | STATIC int S_intuit_method(pTHX_ char *s, GV *gv); | |
2548 | STATIC int S_intuit_more(pTHX_ char *s); | |
1d7c1841 | 2549 | STATIC I32 S_lop(pTHX_ I32 f, int x, char *s); |
24c2fff4 NC |
2550 | STATIC void S_missingterm(pTHX_ char *s) |
2551 | __attribute__noreturn__; | |
2552 | ||
a00f3e00 | 2553 | STATIC void S_no_op(pTHX_ const char *what, char *s); |
cea2e8a9 GS |
2554 | STATIC void S_set_csh(pTHX); |
2555 | STATIC I32 S_sublex_done(pTHX); | |
2556 | STATIC I32 S_sublex_push(pTHX); | |
2557 | STATIC I32 S_sublex_start(pTHX); | |
2558 | STATIC char * S_filter_gets(pTHX_ SV *sv, PerlIO *fp, STRLEN append); | |
1f49be52 AL |
2559 | STATIC HV * S_find_in_my_stash(pTHX_ const char *pkgname, I32 len); |
2560 | STATIC SV* S_new_constant(pTHX_ const char *s, STRLEN len, const char *key, SV *sv, SV *pv, const char *type); | |
8fa7f367 | 2561 | # if defined(DEBUGGING) |
a00f3e00 | 2562 | STATIC int S_tokereport(pTHX_ const char *s, I32 rv); |
8fa7f367 | 2563 | # endif |
cea2e8a9 GS |
2564 | STATIC int S_ao(pTHX_ int toketype); |
2565 | STATIC void S_depcom(pTHX); | |
a00f3e00 | 2566 | STATIC const char* S_incl_perldb(pTHX); |
155aba94 | 2567 | #if 0 |
cea2e8a9 GS |
2568 | STATIC I32 S_utf16_textfilter(pTHX_ int idx, SV *sv, int maxlen); |
2569 | STATIC I32 S_utf16rev_textfilter(pTHX_ int idx, SV *sv, int maxlen); | |
155aba94 | 2570 | #endif |
c39cd008 GS |
2571 | # if defined(PERL_CR_FILTER) |
2572 | STATIC I32 S_cr_textfilter(pTHX_ int idx, SV *sv, int maxlen); | |
cea2e8a9 | 2573 | # endif |
864dbfa3 | 2574 | #endif |
1d7c1841 | 2575 | |
0cb96387 | 2576 | #if defined(PERL_IN_UNIVERSAL_C) || defined(PERL_DECL_PROT) |
eb1102fc | 2577 | STATIC SV* S_isa_lookup(pTHX_ HV *stash, const char *name, HV *name_stash, int len, int level); |
864dbfa3 | 2578 | #endif |
1d7c1841 | 2579 | |
2d31dd6a | 2580 | #if defined(PERL_IN_LOCALE_C) || defined(PERL_DECL_PROT) |
4f1e9d25 AL |
2581 | STATIC char* S_stdize_locale(pTHX_ char* locs) |
2582 | __attribute__nonnull__(pTHX_1); | |
2583 | ||
2d31dd6a NIS |
2584 | #endif |
2585 | ||
2586 | #if defined(PERL_IN_UTIL_C) || defined(PERL_DECL_PROT) | |
4f1e9d25 AL |
2587 | STATIC COP* S_closest_cop(pTHX_ COP *cop, const OP *o) |
2588 | __attribute__nonnull__(pTHX_1); | |
2589 | ||
cea2e8a9 | 2590 | STATIC SV* S_mess_alloc(pTHX); |
864dbfa3 | 2591 | #endif |
1d7c1841 | 2592 | |
750300e4 JH |
2593 | #if defined(PERL_IN_NUMERIC_C) || defined(PERL_DECL_PROT) |
2594 | STATIC NV S_mulexp10(NV value, I32 exponent); | |
2595 | #endif | |
2596 | ||
d7a71dc3 NC |
2597 | #if defined(PERL_IN_UTF8_C) || defined(PERL_DECL_PROT) |
2598 | STATIC STRLEN S_is_utf8_char_slow(pTHX_ const U8 *s, const STRLEN len) | |
2599 | __attribute__nonnull__(pTHX_1); | |
2600 | ||
2601 | #endif | |
2602 | ||
902f5b58 JH |
2603 | START_EXTERN_C |
2604 | ||
065cbbe5 | 2605 | PERL_CALLCONV void Perl_sv_setsv_flags(pTHX_ SV* dsv, SV* ssv, I32 flags) |
24c2fff4 NC |
2606 | __attribute__nonnull__(pTHX_1); |
2607 | ||
065cbbe5 | 2608 | PERL_CALLCONV void Perl_sv_catpvn_flags(pTHX_ SV* sv, const char* ptr, STRLEN len, I32 flags) |
24c2fff4 NC |
2609 | __attribute__nonnull__(pTHX_1) |
2610 | __attribute__nonnull__(pTHX_2); | |
2611 | ||
065cbbe5 | 2612 | PERL_CALLCONV void Perl_sv_catsv_flags(pTHX_ SV* dsv, SV* ssv, I32 flags) |
24c2fff4 NC |
2613 | __attribute__nonnull__(pTHX_1); |
2614 | ||
065cbbe5 | 2615 | PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade_flags(pTHX_ SV *sv, I32 flags) |
24c2fff4 NC |
2616 | __attribute__nonnull__(pTHX_1); |
2617 | ||
291a7e74 | 2618 | PERL_CALLCONV char* Perl_sv_pvn_force_flags(pTHX_ SV* sv, STRLEN* lp, I32 flags); |
065cbbe5 | 2619 | PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV* sv, STRLEN* lp, I32 flags) |
24c2fff4 NC |
2620 | __attribute__nonnull__(pTHX_1); |
2621 | ||
065cbbe5 | 2622 | PERL_CALLCONV void Perl_sv_copypv(pTHX_ SV* dsv, SV* ssv) |
24c2fff4 NC |
2623 | __attribute__nonnull__(pTHX_1) |
2624 | __attribute__nonnull__(pTHX_2); | |
2625 | ||
065cbbe5 | 2626 | PERL_CALLCONV char* Perl_my_atof2(pTHX_ const char *s, NV* value) |
24c2fff4 NC |
2627 | __attribute__nonnull__(pTHX_1) |
2628 | __attribute__nonnull__(pTHX_2); | |
2629 | ||
706e3e0f | 2630 | PERL_CALLCONV int Perl_my_socketpair(int family, int type, int protocol, int fd[2]); |
902f5b58 | 2631 | |
e87a358a | 2632 | #if defined(USE_PERLIO) && !defined(USE_SFIO) |
4996ee04 AL |
2633 | PERL_CALLCONV int Perl_PerlIO_close(pTHX_ PerlIO *f); |
2634 | PERL_CALLCONV int Perl_PerlIO_fill(pTHX_ PerlIO *f); | |
2635 | PERL_CALLCONV int Perl_PerlIO_fileno(pTHX_ PerlIO *f); | |
2636 | PERL_CALLCONV int Perl_PerlIO_eof(pTHX_ PerlIO *f); | |
2637 | PERL_CALLCONV int Perl_PerlIO_error(pTHX_ PerlIO *f); | |
2638 | PERL_CALLCONV int Perl_PerlIO_flush(pTHX_ PerlIO *f); | |
2639 | PERL_CALLCONV void Perl_PerlIO_clearerr(pTHX_ PerlIO *f); | |
2640 | PERL_CALLCONV void Perl_PerlIO_set_cnt(pTHX_ PerlIO *f, int cnt); | |
2641 | PERL_CALLCONV void Perl_PerlIO_set_ptrcnt(pTHX_ PerlIO *f, STDCHAR *ptr, int cnt) | |
2642 | __attribute__nonnull__(pTHX_2); | |
2643 | ||
2644 | PERL_CALLCONV void Perl_PerlIO_setlinebuf(pTHX_ PerlIO *f); | |
2645 | PERL_CALLCONV SSize_t Perl_PerlIO_read(pTHX_ PerlIO *f, void *buf, Size_t count) | |
2646 | __attribute__nonnull__(pTHX_2); | |
2647 | ||
2648 | PERL_CALLCONV SSize_t Perl_PerlIO_write(pTHX_ PerlIO *f, const void *buf, Size_t count) | |
2649 | __attribute__nonnull__(pTHX_2); | |
2650 | ||
2651 | PERL_CALLCONV SSize_t Perl_PerlIO_unread(pTHX_ PerlIO *f, const void *buf, Size_t count) | |
2652 | __attribute__nonnull__(pTHX_2); | |
2653 | ||
2654 | PERL_CALLCONV Off_t Perl_PerlIO_tell(pTHX_ PerlIO *f); | |
2655 | PERL_CALLCONV int Perl_PerlIO_seek(pTHX_ PerlIO *f, Off_t offset, int whence); | |
2656 | ||
2657 | PERL_CALLCONV STDCHAR * Perl_PerlIO_get_base(pTHX_ PerlIO *f); | |
2658 | PERL_CALLCONV STDCHAR * Perl_PerlIO_get_ptr(pTHX_ PerlIO *f); | |
2659 | PERL_CALLCONV int Perl_PerlIO_get_bufsiz(pTHX_ PerlIO *f); | |
2660 | PERL_CALLCONV int Perl_PerlIO_get_cnt(pTHX_ PerlIO *f); | |
e87a358a NIS |
2661 | |
2662 | PERL_CALLCONV PerlIO * Perl_PerlIO_stdin(pTHX); | |
2663 | PERL_CALLCONV PerlIO * Perl_PerlIO_stdout(pTHX); | |
2664 | PERL_CALLCONV PerlIO * Perl_PerlIO_stderr(pTHX); | |
2665 | #endif /* PERLIO_LAYERS */ | |
582ed04c | 2666 | |
bbb1cf39 JH |
2667 | PERL_CALLCONV void Perl_deb_stack_all(pTHX); |
2668 | #ifdef PERL_IN_DEB_C | |
e4a519ba AL |
2669 | STATIC void S_deb_stack_n(pTHX_ SV** stack_base, I32 stack_min, I32 stack_max, I32 mark_min, I32 mark_max) |
2670 | __attribute__nonnull__(pTHX_1); | |
2671 | ||
bbb1cf39 JH |
2672 | #endif |
2673 | ||
4996ee04 AL |
2674 | PERL_CALLCONV PADLIST* Perl_pad_new(pTHX_ int flags) |
2675 | __attribute__malloc__ | |
2676 | __attribute__warn_unused_result__; | |
2677 | ||
e4a519ba AL |
2678 | PERL_CALLCONV void Perl_pad_undef(pTHX_ CV* cv) |
2679 | __attribute__nonnull__(pTHX_1); | |
2680 | ||
065cbbe5 | 2681 | PERL_CALLCONV PADOFFSET Perl_pad_add_name(pTHX_ char *name, HV* typestash, HV* ourstash, bool clone) |
24c2fff4 NC |
2682 | __attribute__nonnull__(pTHX_1); |
2683 | ||
e4a519ba AL |
2684 | PERL_CALLCONV PADOFFSET Perl_pad_add_anon(pTHX_ SV* sv, OPCODE op_type) |
2685 | __attribute__nonnull__(pTHX_1); | |
2686 | ||
4996ee04 AL |
2687 | PERL_CALLCONV void Perl_pad_check_dup(pTHX_ char* name, bool is_our, HV* ourstash) |
2688 | __attribute__nonnull__(pTHX_1) | |
2689 | __attribute__nonnull__(pTHX_3); | |
2690 | ||
9755d405 | 2691 | #ifdef DEBUGGING |
4996ee04 AL |
2692 | PERL_CALLCONV void Perl_pad_setsv(pTHX_ PADOFFSET po, SV* sv) |
2693 | __attribute__nonnull__(pTHX_2); | |
2694 | ||
9755d405 JH |
2695 | #endif |
2696 | PERL_CALLCONV void Perl_pad_block_start(pTHX_ int full); | |
2697 | PERL_CALLCONV void Perl_pad_tidy(pTHX_ padtidy_type type); | |
4996ee04 AL |
2698 | PERL_CALLCONV void Perl_do_dump_pad(pTHX_ I32 level, PerlIO *file, PADLIST *padlist, int full) |
2699 | __attribute__nonnull__(pTHX_2); | |
2700 | ||
2701 | PERL_CALLCONV void Perl_pad_fixup_inner_anons(pTHX_ PADLIST *padlist, CV *old_cv, CV *new_cv) | |
2702 | __attribute__nonnull__(pTHX_1); | |
2703 | ||
2704 | ||
2705 | PERL_CALLCONV void Perl_pad_push(pTHX_ PADLIST *padlist, int depth, int has_args) | |
2706 | __attribute__nonnull__(pTHX_1); | |
9755d405 | 2707 | |
62cc1c5f AL |
2708 | PERL_CALLCONV HV* Perl_pad_compname_type(pTHX_ const PADOFFSET po) |
2709 | __attribute__warn_unused_result__; | |
2710 | ||
9755d405 JH |
2711 | |
2712 | #if defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT) | |
c05e0e2f | 2713 | STATIC PADOFFSET S_pad_findlex(pTHX_ const char* name, PADOFFSET newoff, const CV* innercv); |
9755d405 | 2714 | # if defined(DEBUGGING) |
4996ee04 AL |
2715 | STATIC void S_cv_dump(pTHX_ const CV *cv, const char *title) |
2716 | __attribute__nonnull__(pTHX_1) | |
2717 | __attribute__nonnull__(pTHX_2); | |
2718 | ||
9755d405 JH |
2719 | # endif |
2720 | STATIC CV* S_cv_clone2(pTHX_ CV *proto, CV *outside); | |
2721 | #endif | |
8c18bf38 AL |
2722 | PERL_CALLCONV CV* Perl_find_runcv(pTHX_ U32 *db_seqp) |
2723 | __attribute__warn_unused_result__; | |
2724 | ||
73c86719 | 2725 | PERL_CALLCONV void Perl_free_tied_hv_pool(pTHX); |
1aa6899f JH |
2726 | #if defined(DEBUGGING) |
2727 | PERL_CALLCONV int Perl_get_debug_opts(pTHX_ char **s); | |
2728 | #endif | |
9755d405 JH |
2729 | |
2730 | ||
bbb1cf39 | 2731 | |
902f5b58 | 2732 | |
481da01c AL |
2733 | PERL_CALLCONV void Perl_hv_clear_placeholders(pTHX_ HV* hb) |
2734 | __attribute__nonnull__(pTHX_1); | |
2735 | ||
704547c4 | 2736 | |
a2613b60 NC |
2737 | #if defined(PERL_IN_HV_C) || defined(PERL_DECL_PROT) |
2738 | STATIC SV* S_hv_delete_common(pTHX_ HV* tb, SV* key_sv, const char* key, STRLEN klen, int k_flags, I32 d_flags, U32 hash); | |
2739 | STATIC HE* S_hv_fetch_common(pTHX_ HV* tb, SV* key_sv, const char* key, STRLEN klen, int flags, int action, SV* val, U32 hash); | |
2740 | #endif | |
481da01c AL |
2741 | PERL_CALLCONV SV* Perl_hv_scalar(pTHX_ HV* hv) |
2742 | __attribute__warn_unused_result__ | |
2743 | __attribute__nonnull__(pTHX_1); | |
2744 | ||
4996ee04 AL |
2745 | PERL_CALLCONV SV* Perl_magic_scalarpack(pTHX_ HV* hv, MAGIC* mg) |
2746 | __attribute__nonnull__(pTHX_1) | |
2747 | __attribute__nonnull__(pTHX_2); | |
2748 | ||
59679316 | 2749 | |
3f61fe7e NC |
2750 | #if defined(DEBUGGING) |
2751 | PERL_CALLCONV int Perl_get_debug_opts_flags(pTHX_ char **s, int flags); | |
2752 | #endif | |
46330ab1 NC |
2753 | |
2754 | PERL_CALLCONV void Perl_op_refcnt_lock(pTHX); | |
2755 | PERL_CALLCONV void Perl_op_refcnt_unlock(pTHX); | |
0188be2e AL |
2756 | PERL_CALLCONV char* Perl_savesvpv(pTHX_ SV* sv) |
2757 | __attribute__malloc__ | |
2758 | __attribute__warn_unused_result__ | |
2759 | __attribute__nonnull__(pTHX_1); | |
2760 | ||
04851bb3 | 2761 | |
cc3ea0aa NC |
2762 | #ifdef PERL_NEED_MY_HTOLE16 |
2763 | PERL_CALLCONV U16 Perl_my_htole16(U16 n); | |
2764 | #endif | |
2765 | #ifdef PERL_NEED_MY_LETOH16 | |
2766 | PERL_CALLCONV U16 Perl_my_letoh16(U16 n); | |
2767 | #endif | |
2768 | #ifdef PERL_NEED_MY_HTOBE16 | |
2769 | PERL_CALLCONV U16 Perl_my_htobe16(U16 n); | |
2770 | #endif | |
2771 | #ifdef PERL_NEED_MY_BETOH16 | |
2772 | PERL_CALLCONV U16 Perl_my_betoh16(U16 n); | |
2773 | #endif | |
2774 | #ifdef PERL_NEED_MY_HTOLE32 | |
2775 | PERL_CALLCONV U32 Perl_my_htole32(U32 n); | |
2776 | #endif | |
2777 | #ifdef PERL_NEED_MY_LETOH32 | |
2778 | PERL_CALLCONV U32 Perl_my_letoh32(U32 n); | |
2779 | #endif | |
2780 | #ifdef PERL_NEED_MY_HTOBE32 | |
2781 | PERL_CALLCONV U32 Perl_my_htobe32(U32 n); | |
2782 | #endif | |
2783 | #ifdef PERL_NEED_MY_BETOH32 | |
2784 | PERL_CALLCONV U32 Perl_my_betoh32(U32 n); | |
2785 | #endif | |
2786 | #ifdef PERL_NEED_MY_HTOLE64 | |
2787 | PERL_CALLCONV U64 Perl_my_htole64(U64 n); | |
2788 | #endif | |
2789 | #ifdef PERL_NEED_MY_LETOH64 | |
2790 | PERL_CALLCONV U64 Perl_my_letoh64(U64 n); | |
2791 | #endif | |
2792 | #ifdef PERL_NEED_MY_HTOBE64 | |
2793 | PERL_CALLCONV U64 Perl_my_htobe64(U64 n); | |
2794 | #endif | |
2795 | #ifdef PERL_NEED_MY_BETOH64 | |
2796 | PERL_CALLCONV U64 Perl_my_betoh64(U64 n); | |
2797 | #endif | |
2798 | ||
2799 | #ifdef PERL_NEED_MY_HTOLES | |
2800 | PERL_CALLCONV short Perl_my_htoles(short n); | |
2801 | #endif | |
2802 | #ifdef PERL_NEED_MY_LETOHS | |
2803 | PERL_CALLCONV short Perl_my_letohs(short n); | |
2804 | #endif | |
2805 | #ifdef PERL_NEED_MY_HTOBES | |
2806 | PERL_CALLCONV short Perl_my_htobes(short n); | |
2807 | #endif | |
2808 | #ifdef PERL_NEED_MY_BETOHS | |
2809 | PERL_CALLCONV short Perl_my_betohs(short n); | |
2810 | #endif | |
2811 | #ifdef PERL_NEED_MY_HTOLEI | |
2812 | PERL_CALLCONV int Perl_my_htolei(int n); | |
2813 | #endif | |
2814 | #ifdef PERL_NEED_MY_LETOHI | |
2815 | PERL_CALLCONV int Perl_my_letohi(int n); | |
2816 | #endif | |
2817 | #ifdef PERL_NEED_MY_HTOBEI | |
2818 | PERL_CALLCONV int Perl_my_htobei(int n); | |
2819 | #endif | |
2820 | #ifdef PERL_NEED_MY_BETOHI | |
2821 | PERL_CALLCONV int Perl_my_betohi(int n); | |
2822 | #endif | |
2823 | #ifdef PERL_NEED_MY_HTOLEL | |
2824 | PERL_CALLCONV long Perl_my_htolel(long n); | |
2825 | #endif | |
2826 | #ifdef PERL_NEED_MY_LETOHL | |
2827 | PERL_CALLCONV long Perl_my_letohl(long n); | |
2828 | #endif | |
2829 | #ifdef PERL_NEED_MY_HTOBEL | |
2830 | PERL_CALLCONV long Perl_my_htobel(long n); | |
2831 | #endif | |
2832 | #ifdef PERL_NEED_MY_BETOHL | |
2833 | PERL_CALLCONV long Perl_my_betohl(long n); | |
2834 | #endif | |
2835 | ||
e4a519ba AL |
2836 | PERL_CALLCONV void Perl_my_swabn(void* ptr, int n) |
2837 | __attribute__nonnull__(1); | |
2838 | ||
cc3ea0aa | 2839 | |
547d29e4 AL |
2840 | #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT) |
2841 | PERL_CALLCONV OP* Perl_ck_anoncode(pTHX_ OP *o) | |
2842 | __attribute__warn_unused_result__ | |
2843 | __attribute__nonnull__(pTHX_1); | |
2844 | ||
2845 | PERL_CALLCONV OP* Perl_ck_bitop(pTHX_ OP *o) | |
2846 | __attribute__warn_unused_result__ | |
2847 | __attribute__nonnull__(pTHX_1); | |
2848 | ||
2849 | PERL_CALLCONV OP* Perl_ck_concat(pTHX_ OP *o) | |
2850 | __attribute__warn_unused_result__ | |
2851 | __attribute__nonnull__(pTHX_1); | |
2852 | ||
2853 | PERL_CALLCONV OP* Perl_ck_defined(pTHX_ OP *o) | |
2854 | __attribute__warn_unused_result__ | |
2855 | __attribute__nonnull__(pTHX_1); | |
2856 | ||
2857 | PERL_CALLCONV OP* Perl_ck_delete(pTHX_ OP *o) | |
2858 | __attribute__warn_unused_result__ | |
2859 | __attribute__nonnull__(pTHX_1); | |
2860 | ||
2861 | PERL_CALLCONV OP* Perl_ck_die(pTHX_ OP *o) | |
2862 | __attribute__warn_unused_result__ | |
2863 | __attribute__nonnull__(pTHX_1); | |
2864 | ||
2865 | PERL_CALLCONV OP* Perl_ck_eof(pTHX_ OP *o) | |
2866 | __attribute__warn_unused_result__ | |
2867 | __attribute__nonnull__(pTHX_1); | |
2868 | ||
2869 | PERL_CALLCONV OP* Perl_ck_eval(pTHX_ OP *o) | |
2870 | __attribute__warn_unused_result__ | |
2871 | __attribute__nonnull__(pTHX_1); | |
2872 | ||
2873 | PERL_CALLCONV OP* Perl_ck_exec(pTHX_ OP *o) | |
2874 | __attribute__warn_unused_result__ | |
2875 | __attribute__nonnull__(pTHX_1); | |
2876 | ||
2877 | PERL_CALLCONV OP* Perl_ck_exists(pTHX_ OP *o) | |
2878 | __attribute__warn_unused_result__ | |
2879 | __attribute__nonnull__(pTHX_1); | |
2880 | ||
2881 | PERL_CALLCONV OP* Perl_ck_exit(pTHX_ OP *o) | |
2882 | __attribute__warn_unused_result__ | |
2883 | __attribute__nonnull__(pTHX_1); | |
2884 | ||
2885 | PERL_CALLCONV OP* Perl_ck_ftst(pTHX_ OP *o) | |
2886 | __attribute__warn_unused_result__ | |
2887 | __attribute__nonnull__(pTHX_1); | |
2888 | ||
2889 | PERL_CALLCONV OP* Perl_ck_fun(pTHX_ OP *o) | |
2890 | __attribute__warn_unused_result__ | |
2891 | __attribute__nonnull__(pTHX_1); | |
2892 | ||
2893 | PERL_CALLCONV OP* Perl_ck_glob(pTHX_ OP *o) | |
2894 | __attribute__warn_unused_result__ | |
2895 | __attribute__nonnull__(pTHX_1); | |
2896 | ||
2897 | PERL_CALLCONV OP* Perl_ck_grep(pTHX_ OP *o) | |
2898 | __attribute__warn_unused_result__ | |
2899 | __attribute__nonnull__(pTHX_1); | |
2900 | ||
2901 | PERL_CALLCONV OP* Perl_ck_index(pTHX_ OP *o) | |
2902 | __attribute__warn_unused_result__ | |
2903 | __attribute__nonnull__(pTHX_1); | |
2904 | ||
2905 | PERL_CALLCONV OP* Perl_ck_join(pTHX_ OP *o) | |
2906 | __attribute__warn_unused_result__ | |
2907 | __attribute__nonnull__(pTHX_1); | |
2908 | ||
2909 | PERL_CALLCONV OP* Perl_ck_lengthconst(pTHX_ OP *o) | |
2910 | __attribute__warn_unused_result__ | |
2911 | __attribute__nonnull__(pTHX_1); | |
2912 | ||
2913 | PERL_CALLCONV OP* Perl_ck_lfun(pTHX_ OP *o) | |
2914 | __attribute__warn_unused_result__ | |
2915 | __attribute__nonnull__(pTHX_1); | |
2916 | ||
2917 | PERL_CALLCONV OP* Perl_ck_listiob(pTHX_ OP *o) | |
2918 | __attribute__warn_unused_result__ | |
2919 | __attribute__nonnull__(pTHX_1); | |
2920 | ||
2921 | PERL_CALLCONV OP* Perl_ck_match(pTHX_ OP *o) | |
2922 | __attribute__warn_unused_result__ | |
2923 | __attribute__nonnull__(pTHX_1); | |
2924 | ||
2925 | PERL_CALLCONV OP* Perl_ck_method(pTHX_ OP *o) | |
2926 | __attribute__warn_unused_result__ | |
2927 | __attribute__nonnull__(pTHX_1); | |
2928 | ||
2929 | PERL_CALLCONV OP* Perl_ck_null(pTHX_ OP *o) | |
2930 | __attribute__warn_unused_result__ | |
2931 | __attribute__nonnull__(pTHX_1); | |
2932 | ||
2933 | PERL_CALLCONV OP* Perl_ck_open(pTHX_ OP *o) | |
2934 | __attribute__warn_unused_result__ | |
2935 | __attribute__nonnull__(pTHX_1); | |
2936 | ||
2937 | PERL_CALLCONV OP* Perl_ck_repeat(pTHX_ OP *o) | |
2938 | __attribute__warn_unused_result__ | |
2939 | __attribute__nonnull__(pTHX_1); | |
2940 | ||
2941 | PERL_CALLCONV OP* Perl_ck_require(pTHX_ OP *o) | |
2942 | __attribute__warn_unused_result__ | |
2943 | __attribute__nonnull__(pTHX_1); | |
2944 | ||
547d29e4 AL |
2945 | PERL_CALLCONV OP* Perl_ck_return(pTHX_ OP *o) |
2946 | __attribute__warn_unused_result__ | |
2947 | __attribute__nonnull__(pTHX_1); | |
2948 | ||
2949 | PERL_CALLCONV OP* Perl_ck_rfun(pTHX_ OP *o) | |
2950 | __attribute__warn_unused_result__ | |
2951 | __attribute__nonnull__(pTHX_1); | |
2952 | ||
2953 | PERL_CALLCONV OP* Perl_ck_rvconst(pTHX_ OP *o) | |
2954 | __attribute__warn_unused_result__ | |
2955 | __attribute__nonnull__(pTHX_1); | |
2956 | ||
2957 | PERL_CALLCONV OP* Perl_ck_sassign(pTHX_ OP *o) | |
2958 | __attribute__warn_unused_result__ | |
2959 | __attribute__nonnull__(pTHX_1); | |
2960 | ||
2961 | PERL_CALLCONV OP* Perl_ck_select(pTHX_ OP *o) | |
2962 | __attribute__warn_unused_result__ | |
2963 | __attribute__nonnull__(pTHX_1); | |
2964 | ||
2965 | PERL_CALLCONV OP* Perl_ck_shift(pTHX_ OP *o) | |
2966 | __attribute__warn_unused_result__ | |
2967 | __attribute__nonnull__(pTHX_1); | |
2968 | ||
2969 | PERL_CALLCONV OP* Perl_ck_sort(pTHX_ OP *o) | |
2970 | __attribute__warn_unused_result__ | |
2971 | __attribute__nonnull__(pTHX_1); | |
2972 | ||
2973 | PERL_CALLCONV OP* Perl_ck_spair(pTHX_ OP *o) | |
2974 | __attribute__warn_unused_result__ | |
2975 | __attribute__nonnull__(pTHX_1); | |
2976 | ||
2977 | PERL_CALLCONV OP* Perl_ck_split(pTHX_ OP *o) | |
2978 | __attribute__warn_unused_result__ | |
2979 | __attribute__nonnull__(pTHX_1); | |
2980 | ||
2981 | PERL_CALLCONV OP* Perl_ck_subr(pTHX_ OP *o) | |
2982 | __attribute__warn_unused_result__ | |
2983 | __attribute__nonnull__(pTHX_1); | |
2984 | ||
2985 | PERL_CALLCONV OP* Perl_ck_substr(pTHX_ OP *o) | |
2986 | __attribute__warn_unused_result__ | |
2987 | __attribute__nonnull__(pTHX_1); | |
2988 | ||
2989 | PERL_CALLCONV OP* Perl_ck_svconst(pTHX_ OP *o) | |
2990 | __attribute__warn_unused_result__ | |
2991 | __attribute__nonnull__(pTHX_1); | |
2992 | ||
2993 | PERL_CALLCONV OP* Perl_ck_trunc(pTHX_ OP *o) | |
2994 | __attribute__warn_unused_result__ | |
2995 | __attribute__nonnull__(pTHX_1); | |
2996 | ||
547d29e4 AL |
2997 | #endif |
2998 | ||
0612e869 NC |
2999 | PERL_CALLCONV bool Perl_is_utf8_string_loclen(pTHX_ const U8 *s, STRLEN len, const U8 **ep, STRLEN *el) |
3000 | __attribute__nonnull__(pTHX_1); | |
3001 | ||
4996ee04 AL |
3002 | PERL_CALLCONV SV* Perl_newSVhek(pTHX_ const HEK *hek) |
3003 | __attribute__malloc__ | |
e4a519ba | 3004 | __attribute__warn_unused_result__; |
4996ee04 | 3005 | |
585f2c41 NC |
3006 | PERL_CALLCONV bool Perl_stashpv_hvname_match(pTHX_ const COP *cop, const HV *hv) |
3007 | __attribute__warn_unused_result__ | |
3008 | __attribute__nonnull__(pTHX_1) | |
3009 | __attribute__nonnull__(pTHX_2); | |
3010 | ||
0612e869 | 3011 | |
8bbf20a9 NC |
3012 | #ifdef DEBUG_LEAKING_SCALARS_FORK_DUMP |
3013 | PERL_CALLCONV void Perl_dump_sv_child(pTHX_ SV *sv); | |
3014 | #endif | |
3015 | ||
4c58c75a NC |
3016 | PERL_CALLCONV void Perl_offer_nice_chunk(pTHX_ void *chunk, U32 chunk_size) |
3017 | __attribute__nonnull__(pTHX_1); | |
3018 | ||
3019 | ||
704547c4 | 3020 | END_EXTERN_C |
228fe6e6 AL |
3021 | /* |
3022 | * ex: set ts=8 sts=4 sw=4 noet: | |
3023 | */ | |
d8294a4d | 3024 | /* ex: set ro: */ |