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