2 * !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
3 * This file is autogenerated from data in embed.pl. Edit that file
4 * and run 'make regen_headers' to effect changes.
7 #if defined(PERL_OBJECT)
10 VIRTUAL SV* Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int dir);
11 VIRTUAL bool Perl_Gv_AMupdate(pTHX_ HV* stash);
12 VIRTUAL OP* Perl_append_elem(pTHX_ I32 optype, OP* head, OP* tail);
13 VIRTUAL OP* Perl_append_list(pTHX_ I32 optype, LISTOP* first, LISTOP* last);
14 VIRTUAL I32 Perl_apply(pTHX_ I32 type, SV** mark, SV** sp);
15 VIRTUAL void Perl_assertref(pTHX_ OP* o);
16 VIRTUAL bool Perl_avhv_exists_ent(pTHX_ AV *ar, SV* keysv, U32 hash);
17 VIRTUAL SV** Perl_avhv_fetch_ent(pTHX_ AV *ar, SV* keysv, I32 lval, U32 hash);
18 VIRTUAL HE* Perl_avhv_iternext(pTHX_ AV *ar);
19 VIRTUAL SV* Perl_avhv_iterval(pTHX_ AV *ar, HE* entry);
20 VIRTUAL HV* Perl_avhv_keys(pTHX_ AV *ar);
21 VIRTUAL void Perl_av_clear(pTHX_ AV* ar);
22 VIRTUAL void Perl_av_extend(pTHX_ AV* ar, I32 key);
23 VIRTUAL AV* Perl_av_fake(pTHX_ I32 size, SV** svp);
24 VIRTUAL SV** Perl_av_fetch(pTHX_ AV* ar, I32 key, I32 lval);
25 VIRTUAL void Perl_av_fill(pTHX_ AV* ar, I32 fill);
26 VIRTUAL I32 Perl_av_len(pTHX_ AV* ar);
27 VIRTUAL AV* Perl_av_make(pTHX_ I32 size, SV** svp);
28 VIRTUAL SV* Perl_av_pop(pTHX_ AV* ar);
29 VIRTUAL void Perl_av_push(pTHX_ AV* ar, SV* val);
30 VIRTUAL void Perl_av_reify(pTHX_ AV* ar);
31 VIRTUAL SV* Perl_av_shift(pTHX_ AV* ar);
32 VIRTUAL SV** Perl_av_store(pTHX_ AV* ar, I32 key, SV* val);
33 VIRTUAL void Perl_av_undef(pTHX_ AV* ar);
34 VIRTUAL void Perl_av_unshift(pTHX_ AV* ar, I32 num);
35 VIRTUAL OP* Perl_bind_match(pTHX_ I32 type, OP* left, OP* pat);
36 VIRTUAL OP* Perl_block_end(pTHX_ I32 floor, OP* seq);
37 VIRTUAL I32 Perl_block_gimme(pTHX);
38 VIRTUAL int Perl_block_start(pTHX_ int full);
39 VIRTUAL void Perl_boot_core_UNIVERSAL(pTHX);
40 VIRTUAL void Perl_call_list(pTHX_ I32 oldscope, AV* av_list);
41 VIRTUAL I32 Perl_cando(pTHX_ I32 bit, I32 effective, Stat_t* statbufp);
42 VIRTUAL U32 Perl_cast_ulong(pTHX_ NV f);
43 VIRTUAL I32 Perl_cast_i32(pTHX_ NV f);
44 VIRTUAL IV Perl_cast_iv(pTHX_ NV f);
45 VIRTUAL UV Perl_cast_uv(pTHX_ NV f);
46 #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
47 VIRTUAL I32 Perl_my_chsize(pTHX_ int fd, Off_t length);
49 #if defined(USE_THREADS)
50 VIRTUAL MAGIC* Perl_condpair_magic(pTHX_ SV *sv);
52 VIRTUAL OP* Perl_convert(pTHX_ I32 optype, I32 flags, OP* o);
53 VIRTUAL void Perl_croak(pTHX_ const char* pat, ...) __attribute__((noreturn));
54 #if defined(PERL_IMPLICIT_CONTEXT)
55 VIRTUAL void Perl_croak_nocontext(const char* pat, ...) __attribute__((noreturn));
56 VIRTUAL OP* Perl_die_nocontext(const char* pat, ...);
57 VIRTUAL char* Perl_form_nocontext(const char* pat, ...);
58 VIRTUAL void Perl_warn_nocontext(const char* pat, ...);
59 VIRTUAL SV* Perl_newSVpvf_nocontext(const char* pat, ...);
60 VIRTUAL void Perl_sv_catpvf_nocontext(SV* sv, const char* pat, ...);
61 VIRTUAL void Perl_sv_setpvf_nocontext(SV* sv, const char* pat, ...);
62 VIRTUAL void Perl_sv_catpvf_mg_nocontext(SV* sv, const char* pat, ...);
63 VIRTUAL void Perl_sv_setpvf_mg_nocontext(SV* sv, const char* pat, ...);
65 VIRTUAL void Perl_cv_ckproto(pTHX_ CV* cv, GV* gv, char* p);
66 VIRTUAL CV* Perl_cv_clone(pTHX_ CV* proto);
67 VIRTUAL SV* Perl_cv_const_sv(pTHX_ CV* cv);
68 VIRTUAL SV* Perl_op_const_sv(pTHX_ OP* o, CV* cv);
69 VIRTUAL void Perl_cv_undef(pTHX_ CV* cv);
70 VIRTUAL void Perl_cx_dump(pTHX_ PERL_CONTEXT* cs);
71 VIRTUAL SV* Perl_filter_add(pTHX_ filter_t funcp, SV* datasv);
72 VIRTUAL void Perl_filter_del(pTHX_ filter_t funcp);
73 VIRTUAL I32 Perl_filter_read(pTHX_ int idx, SV* buffer, int maxlen);
74 VIRTUAL char** Perl_get_op_descs(pTHX);
75 VIRTUAL char** Perl_get_op_names(pTHX);
76 VIRTUAL char* Perl_get_no_modify(pTHX);
77 VIRTUAL U32* Perl_get_opargs(pTHX);
78 VIRTUAL PPADDR_t* Perl_get_ppaddr(pTHX);
79 VIRTUAL I32 Perl_cxinc(pTHX);
80 VIRTUAL void Perl_deb(pTHX_ const char* pat, ...);
81 VIRTUAL void Perl_deb_growlevel(pTHX);
82 VIRTUAL void Perl_debprofdump(pTHX);
83 VIRTUAL I32 Perl_debop(pTHX_ OP* o);
84 VIRTUAL I32 Perl_debstack(pTHX);
85 VIRTUAL I32 Perl_debstackptrs(pTHX);
86 VIRTUAL char* Perl_delimcpy(pTHX_ char* to, char* toend, char* from, char* fromend, int delim, I32* retlen);
87 VIRTUAL void Perl_deprecate(pTHX_ char* s);
88 VIRTUAL OP* Perl_die(pTHX_ const char* pat, ...);
89 VIRTUAL OP* Perl_die_where(pTHX_ char* message, STRLEN msglen);
90 VIRTUAL void Perl_dounwind(pTHX_ I32 cxix);
91 VIRTUAL bool Perl_do_aexec(pTHX_ SV* really, SV** mark, SV** sp);
92 VIRTUAL int Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int flag);
93 VIRTUAL void Perl_do_chop(pTHX_ SV* asv, SV* sv);
94 VIRTUAL bool Perl_do_close(pTHX_ GV* gv, bool not_implicit);
95 VIRTUAL bool Perl_do_eof(pTHX_ GV* gv);
96 VIRTUAL bool Perl_do_exec(pTHX_ char* cmd);
98 VIRTUAL bool Perl_do_exec3(pTHX_ char* cmd, int fd, int flag);
100 VIRTUAL void Perl_do_execfree(pTHX);
101 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
102 VIRTUAL I32 Perl_do_ipcctl(pTHX_ I32 optype, SV** mark, SV** sp);
103 VIRTUAL I32 Perl_do_ipcget(pTHX_ I32 optype, SV** mark, SV** sp);
104 VIRTUAL I32 Perl_do_msgrcv(pTHX_ SV** mark, SV** sp);
105 VIRTUAL I32 Perl_do_msgsnd(pTHX_ SV** mark, SV** sp);
106 VIRTUAL I32 Perl_do_semop(pTHX_ SV** mark, SV** sp);
107 VIRTUAL I32 Perl_do_shmio(pTHX_ I32 optype, SV** mark, SV** sp);
109 VIRTUAL void Perl_do_join(pTHX_ SV* sv, SV* del, SV** mark, SV** sp);
110 VIRTUAL OP* Perl_do_kv(pTHX);
111 VIRTUAL bool Perl_do_open(pTHX_ GV* gv, char* name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp);
112 VIRTUAL void Perl_do_pipe(pTHX_ SV* sv, GV* rgv, GV* wgv);
113 VIRTUAL bool Perl_do_print(pTHX_ SV* sv, PerlIO* fp);
114 VIRTUAL OP* Perl_do_readline(pTHX);
115 VIRTUAL I32 Perl_do_chomp(pTHX_ SV* sv);
116 VIRTUAL bool Perl_do_seek(pTHX_ GV* gv, Off_t pos, int whence);
117 VIRTUAL void Perl_do_sprintf(pTHX_ SV* sv, I32 len, SV** sarg);
118 VIRTUAL Off_t Perl_do_sysseek(pTHX_ GV* gv, Off_t pos, int whence);
119 VIRTUAL Off_t Perl_do_tell(pTHX_ GV* gv);
120 VIRTUAL I32 Perl_do_trans(pTHX_ SV* sv);
121 VIRTUAL void Perl_do_vecset(pTHX_ SV* sv);
122 VIRTUAL void Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right);
123 VIRTUAL OP* Perl_dofile(pTHX_ OP* term);
124 VIRTUAL I32 Perl_dowantarray(pTHX);
125 VIRTUAL void Perl_dump_all(pTHX);
126 VIRTUAL void Perl_dump_eval(pTHX);
127 #if defined(DUMP_FDS)
128 VIRTUAL void Perl_dump_fds(pTHX_ char* s);
130 VIRTUAL void Perl_dump_form(pTHX_ GV* gv);
131 VIRTUAL void Perl_gv_dump(pTHX_ GV* gv);
132 VIRTUAL void Perl_op_dump(pTHX_ OP* arg);
133 VIRTUAL void Perl_pmop_dump(pTHX_ PMOP* pm);
134 VIRTUAL void Perl_dump_packsubs(pTHX_ HV* stash);
135 VIRTUAL void Perl_dump_sub(pTHX_ GV* gv);
136 VIRTUAL void Perl_fbm_compile(pTHX_ SV* sv, U32 flags);
137 VIRTUAL char* Perl_fbm_instr(pTHX_ unsigned char* big, unsigned char* bigend, SV* littlesv, U32 flags);
138 VIRTUAL char* Perl_find_script(pTHX_ char *scriptname, bool dosearch, char **search_ext, I32 flags);
139 #if defined(USE_THREADS)
140 VIRTUAL PADOFFSET Perl_find_threadsv(pTHX_ const char *name);
142 VIRTUAL OP* Perl_force_list(pTHX_ OP* arg);
143 VIRTUAL OP* Perl_fold_constants(pTHX_ OP* arg);
144 VIRTUAL char* Perl_form(pTHX_ const char* pat, ...);
145 VIRTUAL void Perl_free_tmps(pTHX);
146 VIRTUAL OP* Perl_gen_constant_list(pTHX_ OP* o);
147 #if !defined(HAS_GETENV_LEN)
148 VIRTUAL char* Perl_getenv_len(pTHX_ char* key, unsigned long *len);
150 VIRTUAL void Perl_gp_free(pTHX_ GV* gv);
151 VIRTUAL GP* Perl_gp_ref(pTHX_ GP* gp);
152 VIRTUAL GV* Perl_gv_AVadd(pTHX_ GV* gv);
153 VIRTUAL GV* Perl_gv_HVadd(pTHX_ GV* gv);
154 VIRTUAL GV* Perl_gv_IOadd(pTHX_ GV* gv);
155 VIRTUAL GV* Perl_gv_autoload4(pTHX_ HV* stash, const char* name, STRLEN len, I32 method);
156 VIRTUAL void Perl_gv_check(pTHX_ HV* stash);
157 VIRTUAL void Perl_gv_efullname(pTHX_ SV* sv, GV* gv);
158 VIRTUAL void Perl_gv_efullname3(pTHX_ SV* sv, GV* gv, const char* prefix);
159 VIRTUAL GV* Perl_gv_fetchfile(pTHX_ const char* name);
160 VIRTUAL GV* Perl_gv_fetchmeth(pTHX_ HV* stash, const char* name, STRLEN len, I32 level);
161 VIRTUAL GV* Perl_gv_fetchmethod(pTHX_ HV* stash, const char* name);
162 VIRTUAL GV* Perl_gv_fetchmethod_autoload(pTHX_ HV* stash, const char* name, I32 autoload);
163 VIRTUAL GV* Perl_gv_fetchpv(pTHX_ const char* name, I32 add, I32 sv_type);
164 VIRTUAL void Perl_gv_fullname(pTHX_ SV* sv, GV* gv);
165 VIRTUAL void Perl_gv_fullname3(pTHX_ SV* sv, GV* gv, const char* prefix);
166 VIRTUAL void Perl_gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi);
167 VIRTUAL HV* Perl_gv_stashpv(pTHX_ const char* name, I32 create);
168 VIRTUAL HV* Perl_gv_stashpvn(pTHX_ const char* name, U32 namelen, I32 create);
169 VIRTUAL HV* Perl_gv_stashsv(pTHX_ SV* sv, I32 create);
170 VIRTUAL void Perl_hv_clear(pTHX_ HV* tb);
171 VIRTUAL void Perl_hv_delayfree_ent(pTHX_ HV* hv, HE* entry);
172 VIRTUAL SV* Perl_hv_delete(pTHX_ HV* tb, const char* key, U32 klen, I32 flags);
173 VIRTUAL SV* Perl_hv_delete_ent(pTHX_ HV* tb, SV* key, I32 flags, U32 hash);
174 VIRTUAL bool Perl_hv_exists(pTHX_ HV* tb, const char* key, U32 klen);
175 VIRTUAL bool Perl_hv_exists_ent(pTHX_ HV* tb, SV* key, U32 hash);
176 VIRTUAL SV** Perl_hv_fetch(pTHX_ HV* tb, const char* key, U32 klen, I32 lval);
177 VIRTUAL HE* Perl_hv_fetch_ent(pTHX_ HV* tb, SV* key, I32 lval, U32 hash);
178 VIRTUAL void Perl_hv_free_ent(pTHX_ HV* hv, HE* entry);
179 VIRTUAL I32 Perl_hv_iterinit(pTHX_ HV* tb);
180 VIRTUAL char* Perl_hv_iterkey(pTHX_ HE* entry, I32* retlen);
181 VIRTUAL SV* Perl_hv_iterkeysv(pTHX_ HE* entry);
182 VIRTUAL HE* Perl_hv_iternext(pTHX_ HV* tb);
183 VIRTUAL SV* Perl_hv_iternextsv(pTHX_ HV* hv, char** key, I32* retlen);
184 VIRTUAL SV* Perl_hv_iterval(pTHX_ HV* tb, HE* entry);
185 VIRTUAL void Perl_hv_ksplit(pTHX_ HV* hv, IV newmax);
186 VIRTUAL void Perl_hv_magic(pTHX_ HV* hv, GV* gv, int how);
187 VIRTUAL SV** Perl_hv_store(pTHX_ HV* tb, const char* key, U32 klen, SV* val, U32 hash);
188 VIRTUAL HE* Perl_hv_store_ent(pTHX_ HV* tb, SV* key, SV* val, U32 hash);
189 VIRTUAL void Perl_hv_undef(pTHX_ HV* tb);
190 VIRTUAL I32 Perl_ibcmp(pTHX_ const char* a, const char* b, I32 len);
191 VIRTUAL I32 Perl_ibcmp_locale(pTHX_ const char* a, const char* b, I32 len);
192 VIRTUAL I32 Perl_ingroup(pTHX_ I32 testgid, I32 effective);
193 VIRTUAL void Perl_init_stacks(pTHX);
194 VIRTUAL U32 Perl_intro_my(pTHX);
195 VIRTUAL char* Perl_instr(pTHX_ const char* big, const char* little);
196 VIRTUAL bool Perl_io_close(pTHX_ IO* io);
197 VIRTUAL OP* Perl_invert(pTHX_ OP* cmd);
198 VIRTUAL bool Perl_is_uni_alnum(pTHX_ U32 c);
199 VIRTUAL bool Perl_is_uni_alnumc(pTHX_ U32 c);
200 VIRTUAL bool Perl_is_uni_idfirst(pTHX_ U32 c);
201 VIRTUAL bool Perl_is_uni_alpha(pTHX_ U32 c);
202 VIRTUAL bool Perl_is_uni_ascii(pTHX_ U32 c);
203 VIRTUAL bool Perl_is_uni_space(pTHX_ U32 c);
204 VIRTUAL bool Perl_is_uni_cntrl(pTHX_ U32 c);
205 VIRTUAL bool Perl_is_uni_graph(pTHX_ U32 c);
206 VIRTUAL bool Perl_is_uni_digit(pTHX_ U32 c);
207 VIRTUAL bool Perl_is_uni_upper(pTHX_ U32 c);
208 VIRTUAL bool Perl_is_uni_lower(pTHX_ U32 c);
209 VIRTUAL bool Perl_is_uni_print(pTHX_ U32 c);
210 VIRTUAL bool Perl_is_uni_punct(pTHX_ U32 c);
211 VIRTUAL bool Perl_is_uni_xdigit(pTHX_ U32 c);
212 VIRTUAL U32 Perl_to_uni_upper(pTHX_ U32 c);
213 VIRTUAL U32 Perl_to_uni_title(pTHX_ U32 c);
214 VIRTUAL U32 Perl_to_uni_lower(pTHX_ U32 c);
215 VIRTUAL bool Perl_is_uni_alnum_lc(pTHX_ U32 c);
216 VIRTUAL bool Perl_is_uni_alnumc_lc(pTHX_ U32 c);
217 VIRTUAL bool Perl_is_uni_idfirst_lc(pTHX_ U32 c);
218 VIRTUAL bool Perl_is_uni_alpha_lc(pTHX_ U32 c);
219 VIRTUAL bool Perl_is_uni_ascii_lc(pTHX_ U32 c);
220 VIRTUAL bool Perl_is_uni_space_lc(pTHX_ U32 c);
221 VIRTUAL bool Perl_is_uni_cntrl_lc(pTHX_ U32 c);
222 VIRTUAL bool Perl_is_uni_graph_lc(pTHX_ U32 c);
223 VIRTUAL bool Perl_is_uni_digit_lc(pTHX_ U32 c);
224 VIRTUAL bool Perl_is_uni_upper_lc(pTHX_ U32 c);
225 VIRTUAL bool Perl_is_uni_lower_lc(pTHX_ U32 c);
226 VIRTUAL bool Perl_is_uni_print_lc(pTHX_ U32 c);
227 VIRTUAL bool Perl_is_uni_punct_lc(pTHX_ U32 c);
228 VIRTUAL bool Perl_is_uni_xdigit_lc(pTHX_ U32 c);
229 VIRTUAL U32 Perl_to_uni_upper_lc(pTHX_ U32 c);
230 VIRTUAL U32 Perl_to_uni_title_lc(pTHX_ U32 c);
231 VIRTUAL U32 Perl_to_uni_lower_lc(pTHX_ U32 c);
232 VIRTUAL bool Perl_is_utf8_alnum(pTHX_ U8 *p);
233 VIRTUAL bool Perl_is_utf8_alnumc(pTHX_ U8 *p);
234 VIRTUAL bool Perl_is_utf8_idfirst(pTHX_ U8 *p);
235 VIRTUAL bool Perl_is_utf8_alpha(pTHX_ U8 *p);
236 VIRTUAL bool Perl_is_utf8_ascii(pTHX_ U8 *p);
237 VIRTUAL bool Perl_is_utf8_space(pTHX_ U8 *p);
238 VIRTUAL bool Perl_is_utf8_cntrl(pTHX_ U8 *p);
239 VIRTUAL bool Perl_is_utf8_digit(pTHX_ U8 *p);
240 VIRTUAL bool Perl_is_utf8_graph(pTHX_ U8 *p);
241 VIRTUAL bool Perl_is_utf8_upper(pTHX_ U8 *p);
242 VIRTUAL bool Perl_is_utf8_lower(pTHX_ U8 *p);
243 VIRTUAL bool Perl_is_utf8_print(pTHX_ U8 *p);
244 VIRTUAL bool Perl_is_utf8_punct(pTHX_ U8 *p);
245 VIRTUAL bool Perl_is_utf8_xdigit(pTHX_ U8 *p);
246 VIRTUAL bool Perl_is_utf8_mark(pTHX_ U8 *p);
247 VIRTUAL OP* Perl_jmaybe(pTHX_ OP* arg);
248 VIRTUAL I32 Perl_keyword(pTHX_ char* d, I32 len);
249 VIRTUAL void Perl_leave_scope(pTHX_ I32 base);
250 VIRTUAL void Perl_lex_end(pTHX);
251 VIRTUAL void Perl_lex_start(pTHX_ SV* line);
252 VIRTUAL OP* Perl_linklist(pTHX_ OP* o);
253 VIRTUAL OP* Perl_list(pTHX_ OP* o);
254 VIRTUAL OP* Perl_listkids(pTHX_ OP* o);
255 VIRTUAL OP* Perl_localize(pTHX_ OP* arg, I32 lexical);
256 VIRTUAL I32 Perl_looks_like_number(pTHX_ SV* sv);
257 VIRTUAL int Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg);
258 VIRTUAL int Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg);
259 VIRTUAL int Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg);
260 VIRTUAL int Perl_magic_clearsig(pTHX_ SV* sv, MAGIC* mg);
261 VIRTUAL int Perl_magic_existspack(pTHX_ SV* sv, MAGIC* mg);
262 VIRTUAL int Perl_magic_freeregexp(pTHX_ SV* sv, MAGIC* mg);
263 VIRTUAL int Perl_magic_get(pTHX_ SV* sv, MAGIC* mg);
264 VIRTUAL int Perl_magic_getarylen(pTHX_ SV* sv, MAGIC* mg);
265 VIRTUAL int Perl_magic_getdefelem(pTHX_ SV* sv, MAGIC* mg);
266 VIRTUAL int Perl_magic_getglob(pTHX_ SV* sv, MAGIC* mg);
267 VIRTUAL int Perl_magic_getnkeys(pTHX_ SV* sv, MAGIC* mg);
268 VIRTUAL int Perl_magic_getpack(pTHX_ SV* sv, MAGIC* mg);
269 VIRTUAL int Perl_magic_getpos(pTHX_ SV* sv, MAGIC* mg);
270 VIRTUAL int Perl_magic_getsig(pTHX_ SV* sv, MAGIC* mg);
271 VIRTUAL int Perl_magic_getsubstr(pTHX_ SV* sv, MAGIC* mg);
272 VIRTUAL int Perl_magic_gettaint(pTHX_ SV* sv, MAGIC* mg);
273 VIRTUAL int Perl_magic_getuvar(pTHX_ SV* sv, MAGIC* mg);
274 VIRTUAL int Perl_magic_getvec(pTHX_ SV* sv, MAGIC* mg);
275 VIRTUAL U32 Perl_magic_len(pTHX_ SV* sv, MAGIC* mg);
276 #if defined(USE_THREADS)
277 VIRTUAL int Perl_magic_mutexfree(pTHX_ SV* sv, MAGIC* mg);
279 VIRTUAL int Perl_magic_nextpack(pTHX_ SV* sv, MAGIC* mg, SV* key);
280 VIRTUAL U32 Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg);
281 VIRTUAL int Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg);
282 VIRTUAL int Perl_magic_set(pTHX_ SV* sv, MAGIC* mg);
283 VIRTUAL int Perl_magic_setamagic(pTHX_ SV* sv, MAGIC* mg);
284 VIRTUAL int Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg);
285 VIRTUAL int Perl_magic_setbm(pTHX_ SV* sv, MAGIC* mg);
286 VIRTUAL int Perl_magic_setdbline(pTHX_ SV* sv, MAGIC* mg);
287 #if defined(USE_LOCALE_COLLATE)
288 VIRTUAL int Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg);
290 VIRTUAL int Perl_magic_setdefelem(pTHX_ SV* sv, MAGIC* mg);
291 VIRTUAL int Perl_magic_setenv(pTHX_ SV* sv, MAGIC* mg);
292 VIRTUAL int Perl_magic_setfm(pTHX_ SV* sv, MAGIC* mg);
293 VIRTUAL int Perl_magic_setisa(pTHX_ SV* sv, MAGIC* mg);
294 VIRTUAL int Perl_magic_setglob(pTHX_ SV* sv, MAGIC* mg);
295 VIRTUAL int Perl_magic_setmglob(pTHX_ SV* sv, MAGIC* mg);
296 VIRTUAL int Perl_magic_setnkeys(pTHX_ SV* sv, MAGIC* mg);
297 VIRTUAL int Perl_magic_setpack(pTHX_ SV* sv, MAGIC* mg);
298 VIRTUAL int Perl_magic_setpos(pTHX_ SV* sv, MAGIC* mg);
299 VIRTUAL int Perl_magic_setsig(pTHX_ SV* sv, MAGIC* mg);
300 VIRTUAL int Perl_magic_setsubstr(pTHX_ SV* sv, MAGIC* mg);
301 VIRTUAL int Perl_magic_settaint(pTHX_ SV* sv, MAGIC* mg);
302 VIRTUAL int Perl_magic_setuvar(pTHX_ SV* sv, MAGIC* mg);
303 VIRTUAL int Perl_magic_setvec(pTHX_ SV* sv, MAGIC* mg);
304 VIRTUAL int Perl_magic_set_all_env(pTHX_ SV* sv, MAGIC* mg);
305 VIRTUAL U32 Perl_magic_sizepack(pTHX_ SV* sv, MAGIC* mg);
306 VIRTUAL int Perl_magic_wipepack(pTHX_ SV* sv, MAGIC* mg);
307 VIRTUAL void Perl_magicname(pTHX_ char* sym, char* name, I32 namlen);
308 #if defined(MYMALLOC)
309 VIRTUAL MEM_SIZE Perl_malloced_size(void *p);
311 VIRTUAL void Perl_markstack_grow(pTHX);
312 #if defined(USE_LOCALE_COLLATE)
313 VIRTUAL char* Perl_mem_collxfrm(pTHX_ const char* s, STRLEN len, STRLEN* xlen);
315 VIRTUAL SV* Perl_mess(pTHX_ const char* pat, va_list* args);
316 VIRTUAL int Perl_mg_clear(pTHX_ SV* sv);
317 VIRTUAL int Perl_mg_copy(pTHX_ SV* sv, SV* nsv, const char* key, I32 klen);
318 VIRTUAL MAGIC* Perl_mg_find(pTHX_ SV* sv, int type);
319 VIRTUAL int Perl_mg_free(pTHX_ SV* sv);
320 VIRTUAL int Perl_mg_get(pTHX_ SV* sv);
321 VIRTUAL U32 Perl_mg_length(pTHX_ SV* sv);
322 VIRTUAL void Perl_mg_magical(pTHX_ SV* sv);
323 VIRTUAL int Perl_mg_set(pTHX_ SV* sv);
324 VIRTUAL I32 Perl_mg_size(pTHX_ SV* sv);
325 VIRTUAL OP* Perl_mod(pTHX_ OP* o, I32 type);
326 VIRTUAL char* Perl_moreswitches(pTHX_ char* s);
327 VIRTUAL OP* Perl_my(pTHX_ OP* o);
328 VIRTUAL NV Perl_my_atof(pTHX_ const char *s);
329 #if !defined(HAS_BCOPY) || !defined(HAS_SAFE_BCOPY)
330 VIRTUAL char* Perl_my_bcopy(pTHX_ const char* from, char* to, I32 len);
332 #if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
333 VIRTUAL char* Perl_my_bzero(pTHX_ char* loc, I32 len);
335 VIRTUAL void Perl_my_exit(pTHX_ U32 status) __attribute__((noreturn));
336 VIRTUAL void Perl_my_failure_exit(pTHX) __attribute__((noreturn));
337 VIRTUAL I32 Perl_my_fflush_all(pTHX);
338 VIRTUAL I32 Perl_my_lstat(pTHX);
339 #if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP)
340 VIRTUAL I32 Perl_my_memcmp(pTHX_ const char* s1, const char* s2, I32 len);
342 #if !defined(HAS_MEMSET)
343 VIRTUAL void* Perl_my_memset(pTHX_ char* loc, I32 ch, I32 len);
345 #if !defined(PERL_OBJECT)
346 VIRTUAL I32 Perl_my_pclose(pTHX_ PerlIO* ptr);
347 VIRTUAL PerlIO* Perl_my_popen(pTHX_ char* cmd, char* mode);
349 VIRTUAL void Perl_my_setenv(pTHX_ char* nam, char* val);
350 VIRTUAL I32 Perl_my_stat(pTHX);
352 VIRTUAL short Perl_my_swap(pTHX_ short s);
353 VIRTUAL long Perl_my_htonl(pTHX_ long l);
354 VIRTUAL long Perl_my_ntohl(pTHX_ long l);
356 VIRTUAL void Perl_my_unexec(pTHX);
357 VIRTUAL OP* Perl_newANONLIST(pTHX_ OP* o);
358 VIRTUAL OP* Perl_newANONHASH(pTHX_ OP* o);
359 VIRTUAL OP* Perl_newANONSUB(pTHX_ I32 floor, OP* proto, OP* block);
360 VIRTUAL OP* Perl_newASSIGNOP(pTHX_ I32 flags, OP* left, I32 optype, OP* right);
361 VIRTUAL OP* Perl_newCONDOP(pTHX_ I32 flags, OP* expr, OP* trueop, OP* falseop);
362 VIRTUAL void Perl_newCONSTSUB(pTHX_ HV* stash, char* name, SV* sv);
363 VIRTUAL void Perl_newFORM(pTHX_ I32 floor, OP* o, OP* block);
364 VIRTUAL OP* Perl_newFOROP(pTHX_ I32 flags, char* label, line_t forline, OP* sclr, OP* expr, OP*block, OP*cont);
365 VIRTUAL OP* Perl_newLOGOP(pTHX_ I32 optype, I32 flags, OP* left, OP* right);
366 VIRTUAL OP* Perl_newLOOPEX(pTHX_ I32 type, OP* label);
367 VIRTUAL OP* Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP* expr, OP* block);
368 VIRTUAL OP* Perl_newNULLLIST(pTHX);
369 VIRTUAL OP* Perl_newOP(pTHX_ I32 optype, I32 flags);
370 VIRTUAL void Perl_newPROG(pTHX_ OP* o);
371 VIRTUAL OP* Perl_newRANGE(pTHX_ I32 flags, OP* left, OP* right);
372 VIRTUAL OP* Perl_newSLICEOP(pTHX_ I32 flags, OP* subscript, OP* listop);
373 VIRTUAL OP* Perl_newSTATEOP(pTHX_ I32 flags, char* label, OP* o);
374 VIRTUAL CV* Perl_newSUB(pTHX_ I32 floor, OP* o, OP* proto, OP* block);
375 VIRTUAL CV* Perl_newXS(pTHX_ char* name, XSUBADDR_t f, char* filename);
376 VIRTUAL AV* Perl_newAV(pTHX);
377 VIRTUAL OP* Perl_newAVREF(pTHX_ OP* o);
378 VIRTUAL OP* Perl_newBINOP(pTHX_ I32 type, I32 flags, OP* first, OP* last);
379 VIRTUAL OP* Perl_newCVREF(pTHX_ I32 flags, OP* o);
380 VIRTUAL OP* Perl_newGVOP(pTHX_ I32 type, I32 flags, GV* gv);
381 VIRTUAL GV* Perl_newGVgen(pTHX_ char* pack);
382 VIRTUAL OP* Perl_newGVREF(pTHX_ I32 type, OP* o);
383 VIRTUAL OP* Perl_newHVREF(pTHX_ OP* o);
384 VIRTUAL HV* Perl_newHV(pTHX);
385 VIRTUAL HV* Perl_newHVhv(pTHX_ HV* hv);
386 VIRTUAL IO* Perl_newIO(pTHX);
387 VIRTUAL OP* Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last);
388 VIRTUAL OP* Perl_newPMOP(pTHX_ I32 type, I32 flags);
389 VIRTUAL OP* Perl_newPVOP(pTHX_ I32 type, I32 flags, char* pv);
390 VIRTUAL SV* Perl_newRV(pTHX_ SV* pref);
391 VIRTUAL SV* Perl_newRV_noinc(pTHX_ SV *sv);
392 VIRTUAL SV* Perl_newSV(pTHX_ STRLEN len);
393 VIRTUAL OP* Perl_newSVREF(pTHX_ OP* o);
394 VIRTUAL OP* Perl_newSVOP(pTHX_ I32 type, I32 flags, SV* sv);
395 VIRTUAL SV* Perl_newSViv(pTHX_ IV i);
396 VIRTUAL SV* Perl_newSVnv(pTHX_ NV n);
397 VIRTUAL SV* Perl_newSVpv(pTHX_ const char* s, STRLEN len);
398 VIRTUAL SV* Perl_newSVpvn(pTHX_ const char* s, STRLEN len);
399 VIRTUAL SV* Perl_newSVpvf(pTHX_ const char* pat, ...);
400 VIRTUAL SV* Perl_newSVrv(pTHX_ SV* rv, const char* classname);
401 VIRTUAL SV* Perl_newSVsv(pTHX_ SV* old);
402 VIRTUAL OP* Perl_newUNOP(pTHX_ I32 type, I32 flags, OP* first);
403 VIRTUAL OP* Perl_newWHILEOP(pTHX_ I32 flags, I32 debuggable, LOOP* loop, I32 whileline, OP* expr, OP* block, OP* cont);
404 #if defined(USE_THREADS)
405 VIRTUAL struct perl_thread* Perl_new_struct_thread(pTHX_ struct perl_thread *t);
407 VIRTUAL PERL_SI* Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems);
408 VIRTUAL PerlIO* Perl_nextargv(pTHX_ GV* gv);
409 VIRTUAL char* Perl_ninstr(pTHX_ const char* big, const char* bigend, const char* little, const char* lend);
410 VIRTUAL OP* Perl_oopsCV(pTHX_ OP* o);
411 VIRTUAL void Perl_op_free(pTHX_ OP* arg);
412 VIRTUAL void Perl_package(pTHX_ OP* o);
413 VIRTUAL PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
414 VIRTUAL PADOFFSET Perl_pad_allocmy(pTHX_ char* name);
415 VIRTUAL PADOFFSET Perl_pad_findmy(pTHX_ char* name);
416 VIRTUAL OP* Perl_oopsAV(pTHX_ OP* o);
417 VIRTUAL OP* Perl_oopsHV(pTHX_ OP* o);
418 VIRTUAL void Perl_pad_leavemy(pTHX_ I32 fill);
419 VIRTUAL SV* Perl_pad_sv(pTHX_ PADOFFSET po);
420 VIRTUAL void Perl_pad_free(pTHX_ PADOFFSET po);
421 VIRTUAL void Perl_pad_reset(pTHX);
422 VIRTUAL void Perl_pad_swipe(pTHX_ PADOFFSET po);
423 VIRTUAL void Perl_peep(pTHX_ OP* o);
424 #if defined(PERL_OBJECT)
425 VIRTUAL void perl_construct(void);
426 VIRTUAL void perl_destruct(void);
427 VIRTUAL void perl_free(void);
428 VIRTUAL int perl_run(void);
429 VIRTUAL int perl_parse(XSINIT_t xsinit, int argc, char** argv, char** env);
431 VIRTUAL PerlInterpreter* perl_alloc(void);
432 VIRTUAL void perl_construct(PerlInterpreter* sv_interp);
433 VIRTUAL void perl_destruct(PerlInterpreter* sv_interp);
434 VIRTUAL void perl_free(PerlInterpreter* sv_interp);
435 VIRTUAL int perl_run(PerlInterpreter* sv_interp);
436 VIRTUAL int perl_parse(PerlInterpreter* sv_interp, XSINIT_t xsinit, int argc, char** argv, char** env);
438 VIRTUAL void Perl_call_atexit(pTHX_ ATEXIT_t fn, void *ptr);
439 VIRTUAL I32 Perl_call_argv(pTHX_ const char* sub_name, I32 flags, char** argv);
440 VIRTUAL I32 Perl_call_method(pTHX_ const char* methname, I32 flags);
441 VIRTUAL I32 Perl_call_pv(pTHX_ const char* sub_name, I32 flags);
442 VIRTUAL I32 Perl_call_sv(pTHX_ SV* sv, I32 flags);
443 VIRTUAL SV* Perl_eval_pv(pTHX_ const char* p, I32 croak_on_error);
444 VIRTUAL I32 Perl_eval_sv(pTHX_ SV* sv, I32 flags);
445 VIRTUAL SV* Perl_get_sv(pTHX_ const char* name, I32 create);
446 VIRTUAL AV* Perl_get_av(pTHX_ const char* name, I32 create);
447 VIRTUAL HV* Perl_get_hv(pTHX_ const char* name, I32 create);
448 VIRTUAL CV* Perl_get_cv(pTHX_ const char* name, I32 create);
449 VIRTUAL int Perl_init_i18nl10n(pTHX_ int printwarn);
450 VIRTUAL int Perl_init_i18nl14n(pTHX_ int printwarn);
451 VIRTUAL void Perl_new_collate(pTHX_ const char* newcoll);
452 VIRTUAL void Perl_new_ctype(pTHX_ const char* newctype);
453 VIRTUAL void Perl_new_numeric(pTHX_ const char* newcoll);
454 VIRTUAL void Perl_set_numeric_local(pTHX);
455 VIRTUAL void Perl_set_numeric_radix(pTHX);
456 VIRTUAL void Perl_set_numeric_standard(pTHX);
457 VIRTUAL void Perl_require_pv(pTHX_ const char* pv);
458 VIRTUAL void Perl_pidgone(pTHX_ int pid, int status);
459 VIRTUAL void Perl_pmflag(pTHX_ U16* pmfl, int ch);
460 VIRTUAL OP* Perl_pmruntime(pTHX_ OP* pm, OP* expr, OP* repl);
461 VIRTUAL OP* Perl_pmtrans(pTHX_ OP* o, OP* expr, OP* repl);
462 VIRTUAL OP* Perl_pop_return(pTHX);
463 VIRTUAL void Perl_pop_scope(pTHX);
464 VIRTUAL OP* Perl_prepend_elem(pTHX_ I32 optype, OP* head, OP* tail);
465 VIRTUAL void Perl_push_return(pTHX_ OP* o);
466 VIRTUAL void Perl_push_scope(pTHX);
467 VIRTUAL OP* Perl_ref(pTHX_ OP* o, I32 type);
468 VIRTUAL OP* Perl_refkids(pTHX_ OP* o, I32 type);
469 VIRTUAL void Perl_regdump(pTHX_ regexp* r);
470 VIRTUAL I32 Perl_pregexec(pTHX_ regexp* prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, U32 nosave);
471 VIRTUAL void Perl_pregfree(pTHX_ struct regexp* r);
472 VIRTUAL regexp* Perl_pregcomp(pTHX_ char* exp, char* xend, PMOP* pm);
473 VIRTUAL char* Perl_re_intuit_start(pTHX_ regexp* prog, SV* sv, char* strpos, char* strend, U32 flags, struct re_scream_pos_data_s *data);
474 VIRTUAL SV* Perl_re_intuit_string(pTHX_ regexp* prog);
475 VIRTUAL I32 Perl_regexec_flags(pTHX_ regexp* prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, void* data, U32 flags);
476 VIRTUAL regnode* Perl_regnext(pTHX_ regnode* p);
477 VIRTUAL void Perl_regprop(pTHX_ SV* sv, regnode* o);
478 VIRTUAL void Perl_repeatcpy(pTHX_ char* to, const char* from, I32 len, I32 count);
479 VIRTUAL char* Perl_rninstr(pTHX_ const char* big, const char* bigend, const char* little, const char* lend);
480 VIRTUAL Sighandler_t Perl_rsignal(pTHX_ int i, Sighandler_t t);
481 VIRTUAL int Perl_rsignal_restore(pTHX_ int i, Sigsave_t* t);
482 VIRTUAL int Perl_rsignal_save(pTHX_ int i, Sighandler_t t1, Sigsave_t* t2);
483 VIRTUAL Sighandler_t Perl_rsignal_state(pTHX_ int i);
484 VIRTUAL void Perl_rxres_free(pTHX_ void** rsp);
485 VIRTUAL void Perl_rxres_restore(pTHX_ void** rsp, REGEXP* prx);
486 VIRTUAL void Perl_rxres_save(pTHX_ void** rsp, REGEXP* prx);
487 #if !defined(HAS_RENAME)
488 VIRTUAL I32 Perl_same_dirent(pTHX_ char* a, char* b);
490 VIRTUAL char* Perl_savepv(pTHX_ const char* sv);
491 VIRTUAL char* Perl_savepvn(pTHX_ const char* sv, I32 len);
492 VIRTUAL void Perl_savestack_grow(pTHX);
493 VIRTUAL void Perl_save_aelem(pTHX_ AV* av, I32 idx, SV **sptr);
494 VIRTUAL I32 Perl_save_alloc(pTHX_ I32 size, I32 pad);
495 VIRTUAL void Perl_save_aptr(pTHX_ AV** aptr);
496 VIRTUAL AV* Perl_save_ary(pTHX_ GV* gv);
497 VIRTUAL void Perl_save_clearsv(pTHX_ SV** svp);
498 VIRTUAL void Perl_save_delete(pTHX_ HV* hv, char* key, I32 klen);
499 VIRTUAL void Perl_save_destructor(pTHX_ DESTRUCTORFUNC_t f, void* p);
500 VIRTUAL void Perl_save_freesv(pTHX_ SV* sv);
501 VIRTUAL void Perl_save_freeop(pTHX_ OP* o);
502 VIRTUAL void Perl_save_freepv(pTHX_ char* pv);
503 VIRTUAL void Perl_save_generic_svref(pTHX_ SV** sptr);
504 VIRTUAL void Perl_save_gp(pTHX_ GV* gv, I32 empty);
505 VIRTUAL HV* Perl_save_hash(pTHX_ GV* gv);
506 VIRTUAL void Perl_save_helem(pTHX_ HV* hv, SV *key, SV **sptr);
507 VIRTUAL void Perl_save_hints(pTHX);
508 VIRTUAL void Perl_save_hptr(pTHX_ HV** hptr);
509 VIRTUAL void Perl_save_I16(pTHX_ I16* intp);
510 VIRTUAL void Perl_save_I32(pTHX_ I32* intp);
511 VIRTUAL void Perl_save_int(pTHX_ int* intp);
512 VIRTUAL void Perl_save_item(pTHX_ SV* item);
513 VIRTUAL void Perl_save_iv(pTHX_ IV* iv);
514 VIRTUAL void Perl_save_list(pTHX_ SV** sarg, I32 maxsarg);
515 VIRTUAL void Perl_save_long(pTHX_ long* longp);
516 VIRTUAL void Perl_save_nogv(pTHX_ GV* gv);
517 VIRTUAL void Perl_save_op(pTHX);
518 VIRTUAL SV* Perl_save_scalar(pTHX_ GV* gv);
519 VIRTUAL void Perl_save_pptr(pTHX_ char** pptr);
520 VIRTUAL void Perl_save_re_context(pTHX);
521 VIRTUAL void Perl_save_sptr(pTHX_ SV** sptr);
522 VIRTUAL SV* Perl_save_svref(pTHX_ SV** sptr);
523 VIRTUAL SV** Perl_save_threadsv(pTHX_ PADOFFSET i);
524 VIRTUAL OP* Perl_sawparens(pTHX_ OP* o);
525 VIRTUAL OP* Perl_scalar(pTHX_ OP* o);
526 VIRTUAL OP* Perl_scalarkids(pTHX_ OP* o);
527 VIRTUAL OP* Perl_scalarseq(pTHX_ OP* o);
528 VIRTUAL OP* Perl_scalarvoid(pTHX_ OP* o);
529 VIRTUAL UV Perl_scan_bin(pTHX_ char* start, I32 len, I32* retlen);
530 VIRTUAL UV Perl_scan_hex(pTHX_ char* start, I32 len, I32* retlen);
531 VIRTUAL char* Perl_scan_num(pTHX_ char* s);
532 VIRTUAL UV Perl_scan_oct(pTHX_ char* start, I32 len, I32* retlen);
533 VIRTUAL OP* Perl_scope(pTHX_ OP* o);
534 VIRTUAL char* Perl_screaminstr(pTHX_ SV* bigsv, SV* littlesv, I32 start_shift, I32 end_shift, I32 *state, I32 last);
536 VIRTUAL I32 Perl_setenv_getix(pTHX_ char* nam);
538 VIRTUAL void Perl_setdefout(pTHX_ GV* gv);
539 VIRTUAL char* Perl_sharepvn(pTHX_ const char* sv, I32 len, U32 hash);
540 VIRTUAL HEK* Perl_share_hek(pTHX_ const char* sv, I32 len, U32 hash);
541 VIRTUAL Signal_t Perl_sighandler(int sig);
542 VIRTUAL SV** Perl_stack_grow(pTHX_ SV** sp, SV**p, int n);
543 VIRTUAL I32 Perl_start_subparse(pTHX_ I32 is_format, U32 flags);
544 VIRTUAL void Perl_sub_crush_depth(pTHX_ CV* cv);
545 VIRTUAL bool Perl_sv_2bool(pTHX_ SV* sv);
546 VIRTUAL CV* Perl_sv_2cv(pTHX_ SV* sv, HV** st, GV** gvp, I32 lref);
547 VIRTUAL IO* Perl_sv_2io(pTHX_ SV* sv);
548 VIRTUAL IV Perl_sv_2iv(pTHX_ SV* sv);
549 VIRTUAL SV* Perl_sv_2mortal(pTHX_ SV* sv);
550 VIRTUAL NV Perl_sv_2nv(pTHX_ SV* sv);
551 VIRTUAL char* Perl_sv_2pv(pTHX_ SV* sv, STRLEN* lp);
552 VIRTUAL UV Perl_sv_2uv(pTHX_ SV* sv);
553 VIRTUAL IV Perl_sv_iv(pTHX_ SV* sv);
554 VIRTUAL UV Perl_sv_uv(pTHX_ SV* sv);
555 VIRTUAL NV Perl_sv_nv(pTHX_ SV* sv);
556 VIRTUAL char* Perl_sv_pvn(pTHX_ SV *sv, STRLEN *len);
557 VIRTUAL I32 Perl_sv_true(pTHX_ SV *sv);
558 VIRTUAL void Perl_sv_add_arena(pTHX_ char* ptr, U32 size, U32 flags);
559 VIRTUAL int Perl_sv_backoff(pTHX_ SV* sv);
560 VIRTUAL SV* Perl_sv_bless(pTHX_ SV* sv, HV* stash);
561 VIRTUAL void Perl_sv_catpvf(pTHX_ SV* sv, const char* pat, ...);
562 VIRTUAL void Perl_sv_catpv(pTHX_ SV* sv, const char* ptr);
563 VIRTUAL void Perl_sv_catpvn(pTHX_ SV* sv, const char* ptr, STRLEN len);
564 VIRTUAL void Perl_sv_catsv(pTHX_ SV* dsv, SV* ssv);
565 VIRTUAL void Perl_sv_chop(pTHX_ SV* sv, char* ptr);
566 VIRTUAL void Perl_sv_clean_all(pTHX);
567 VIRTUAL void Perl_sv_clean_objs(pTHX);
568 VIRTUAL void Perl_sv_clear(pTHX_ SV* sv);
569 VIRTUAL I32 Perl_sv_cmp(pTHX_ SV* sv1, SV* sv2);
570 VIRTUAL I32 Perl_sv_cmp_locale(pTHX_ SV* sv1, SV* sv2);
571 #if defined(USE_LOCALE_COLLATE)
572 VIRTUAL char* Perl_sv_collxfrm(pTHX_ SV* sv, STRLEN* nxp);
574 VIRTUAL OP* Perl_sv_compile_2op(pTHX_ SV* sv, OP** startp, char* code, AV** avp);
575 VIRTUAL void Perl_sv_dec(pTHX_ SV* sv);
576 VIRTUAL void Perl_sv_dump(pTHX_ SV* sv);
577 VIRTUAL bool Perl_sv_derived_from(pTHX_ SV* sv, const char* name);
578 VIRTUAL I32 Perl_sv_eq(pTHX_ SV* sv1, SV* sv2);
579 VIRTUAL void Perl_sv_free(pTHX_ SV* sv);
580 VIRTUAL void Perl_sv_free_arenas(pTHX);
581 VIRTUAL char* Perl_sv_gets(pTHX_ SV* sv, PerlIO* fp, I32 append);
582 VIRTUAL char* Perl_sv_grow(pTHX_ SV* sv, STRLEN newlen);
583 VIRTUAL void Perl_sv_inc(pTHX_ SV* sv);
584 VIRTUAL void Perl_sv_insert(pTHX_ SV* bigsv, STRLEN offset, STRLEN len, char* little, STRLEN littlelen);
585 VIRTUAL int Perl_sv_isa(pTHX_ SV* sv, const char* name);
586 VIRTUAL int Perl_sv_isobject(pTHX_ SV* sv);
587 VIRTUAL STRLEN Perl_sv_len(pTHX_ SV* sv);
588 VIRTUAL STRLEN Perl_sv_len_utf8(pTHX_ SV* sv);
589 VIRTUAL void Perl_sv_magic(pTHX_ SV* sv, SV* obj, int how, const char* name, I32 namlen);
590 VIRTUAL SV* Perl_sv_mortalcopy(pTHX_ SV* oldsv);
591 VIRTUAL SV* Perl_sv_newmortal(pTHX);
592 VIRTUAL SV* Perl_sv_newref(pTHX_ SV* sv);
593 VIRTUAL char* Perl_sv_peek(pTHX_ SV* sv);
594 VIRTUAL void Perl_sv_pos_u2b(pTHX_ SV* sv, I32* offsetp, I32* lenp);
595 VIRTUAL void Perl_sv_pos_b2u(pTHX_ SV* sv, I32* offsetp);
596 VIRTUAL char* Perl_sv_pvn_force(pTHX_ SV* sv, STRLEN* lp);
597 VIRTUAL char* Perl_sv_reftype(pTHX_ SV* sv, int ob);
598 VIRTUAL void Perl_sv_replace(pTHX_ SV* sv, SV* nsv);
599 VIRTUAL void Perl_sv_report_used(pTHX);
600 VIRTUAL void Perl_sv_reset(pTHX_ char* s, HV* stash);
601 VIRTUAL void Perl_sv_setpvf(pTHX_ SV* sv, const char* pat, ...);
602 VIRTUAL void Perl_sv_setiv(pTHX_ SV* sv, IV num);
603 VIRTUAL void Perl_sv_setpviv(pTHX_ SV* sv, IV num);
604 VIRTUAL void Perl_sv_setuv(pTHX_ SV* sv, UV num);
605 VIRTUAL void Perl_sv_setnv(pTHX_ SV* sv, NV num);
606 VIRTUAL SV* Perl_sv_setref_iv(pTHX_ SV* rv, const char* classname, IV iv);
607 VIRTUAL SV* Perl_sv_setref_nv(pTHX_ SV* rv, const char* classname, NV nv);
608 VIRTUAL SV* Perl_sv_setref_pv(pTHX_ SV* rv, const char* classname, void* pv);
609 VIRTUAL SV* Perl_sv_setref_pvn(pTHX_ SV* rv, const char* classname, char* pv, STRLEN n);
610 VIRTUAL void Perl_sv_setpv(pTHX_ SV* sv, const char* ptr);
611 VIRTUAL void Perl_sv_setpvn(pTHX_ SV* sv, const char* ptr, STRLEN len);
612 VIRTUAL void Perl_sv_setsv(pTHX_ SV* dsv, SV* ssv);
613 VIRTUAL void Perl_sv_taint(pTHX_ SV* sv);
614 VIRTUAL bool Perl_sv_tainted(pTHX_ SV* sv);
615 VIRTUAL int Perl_sv_unmagic(pTHX_ SV* sv, int type);
616 VIRTUAL void Perl_sv_unref(pTHX_ SV* sv);
617 VIRTUAL void Perl_sv_untaint(pTHX_ SV* sv);
618 VIRTUAL bool Perl_sv_upgrade(pTHX_ SV* sv, U32 mt);
619 VIRTUAL void Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len);
620 VIRTUAL void Perl_sv_vcatpvfn(pTHX_ SV* sv, const char* pat, STRLEN patlen, va_list* args, SV** svargs, I32 svmax, bool *used_locale);
621 VIRTUAL void Perl_sv_vsetpvfn(pTHX_ SV* sv, const char* pat, STRLEN patlen, va_list* args, SV** svargs, I32 svmax, bool *used_locale);
622 VIRTUAL SV* Perl_swash_init(pTHX_ char* pkg, char* name, SV* listsv, I32 minbits, I32 none);
623 VIRTUAL UV Perl_swash_fetch(pTHX_ SV *sv, U8 *ptr);
624 VIRTUAL void Perl_taint_env(pTHX);
625 VIRTUAL void Perl_taint_proper(pTHX_ const char* f, char* s);
626 VIRTUAL UV Perl_to_utf8_lower(pTHX_ U8 *p);
627 VIRTUAL UV Perl_to_utf8_upper(pTHX_ U8 *p);
628 VIRTUAL UV Perl_to_utf8_title(pTHX_ U8 *p);
629 #if defined(UNLINK_ALL_VERSIONS)
630 VIRTUAL I32 Perl_unlnk(pTHX_ char* f);
632 #if defined(USE_THREADS)
633 VIRTUAL void Perl_unlock_condpair(pTHX_ void* svv);
635 VIRTUAL void Perl_unsharepvn(pTHX_ const char* sv, I32 len, U32 hash);
636 VIRTUAL void Perl_unshare_hek(pTHX_ HEK* hek);
637 VIRTUAL void Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* id, OP* arg);
638 VIRTUAL U8* Perl_utf16_to_utf8(pTHX_ U16* p, U8 *d, I32 bytelen);
639 VIRTUAL U8* Perl_utf16_to_utf8_reversed(pTHX_ U16* p, U8 *d, I32 bytelen);
640 VIRTUAL I32 Perl_utf8_distance(pTHX_ U8 *a, U8 *b);
641 VIRTUAL U8* Perl_utf8_hop(pTHX_ U8 *s, I32 off);
642 VIRTUAL UV Perl_utf8_to_uv(pTHX_ U8 *s, I32* retlen);
643 VIRTUAL U8* Perl_uv_to_utf8(pTHX_ U8 *d, UV uv);
644 VIRTUAL void Perl_vivify_defelem(pTHX_ SV* sv);
645 VIRTUAL void Perl_vivify_ref(pTHX_ SV* sv, U32 to_what);
646 VIRTUAL I32 Perl_wait4pid(pTHX_ int pid, int* statusp, int flags);
647 VIRTUAL void Perl_warn(pTHX_ const char* pat, ...);
648 VIRTUAL void Perl_warner(pTHX_ U32 err, const char* pat, ...);
649 VIRTUAL void Perl_watch(pTHX_ char** addr);
650 VIRTUAL I32 Perl_whichsig(pTHX_ char* sig);
651 VIRTUAL int Perl_yyerror(pTHX_ char* s);
652 #if defined(USE_PURE_BISON)
653 VIRTUAL int Perl_yylex(pTHX_ YYSTYPE *lvalp, int *lcharp);
655 VIRTUAL int Perl_yylex(pTHX);
657 VIRTUAL int Perl_yyparse(pTHX);
658 VIRTUAL int Perl_yywarn(pTHX_ char* s);
659 #if defined(MYMALLOC)
660 VIRTUAL void Perl_dump_mstats(pTHX_ char* s);
661 VIRTUAL Malloc_t Perl_malloc(MEM_SIZE nbytes);
662 VIRTUAL Malloc_t Perl_calloc(MEM_SIZE elements, MEM_SIZE size);
663 VIRTUAL Malloc_t Perl_realloc(Malloc_t where, MEM_SIZE nbytes);
664 VIRTUAL Free_t Perl_mfree(Malloc_t where);
666 VIRTUAL Malloc_t Perl_safesysmalloc(MEM_SIZE nbytes);
667 VIRTUAL Malloc_t Perl_safesyscalloc(MEM_SIZE elements, MEM_SIZE size);
668 VIRTUAL Malloc_t Perl_safesysrealloc(Malloc_t where, MEM_SIZE nbytes);
669 VIRTUAL Free_t Perl_safesysfree(Malloc_t where);
670 #if defined(LEAKTEST)
671 VIRTUAL Malloc_t Perl_safexmalloc(I32 x, MEM_SIZE size);
672 VIRTUAL Malloc_t Perl_safexcalloc(I32 x, MEM_SIZE elements, MEM_SIZE size);
673 VIRTUAL Malloc_t Perl_safexrealloc(Malloc_t where, MEM_SIZE size);
674 VIRTUAL void Perl_safexfree(Malloc_t where);
676 #if defined(PERL_GLOBAL_STRUCT)
677 VIRTUAL struct perl_vars * Perl_GetVars(pTHX);
679 VIRTUAL int Perl_runops_standard(pTHX);
680 VIRTUAL int Perl_runops_debug(pTHX);
681 VIRTUAL void Perl_sv_catpvf_mg(pTHX_ SV *sv, const char* pat, ...);
682 VIRTUAL void Perl_sv_catpv_mg(pTHX_ SV *sv, const char *ptr);
683 VIRTUAL void Perl_sv_catpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len);
684 VIRTUAL void Perl_sv_catsv_mg(pTHX_ SV *dstr, SV *sstr);
685 VIRTUAL void Perl_sv_setpvf_mg(pTHX_ SV *sv, const char* pat, ...);
686 VIRTUAL void Perl_sv_setiv_mg(pTHX_ SV *sv, IV i);
687 VIRTUAL void Perl_sv_setpviv_mg(pTHX_ SV *sv, IV iv);
688 VIRTUAL void Perl_sv_setuv_mg(pTHX_ SV *sv, UV u);
689 VIRTUAL void Perl_sv_setnv_mg(pTHX_ SV *sv, NV num);
690 VIRTUAL void Perl_sv_setpv_mg(pTHX_ SV *sv, const char *ptr);
691 VIRTUAL void Perl_sv_setpvn_mg(pTHX_ SV *sv, const char *ptr, STRLEN len);
692 VIRTUAL void Perl_sv_setsv_mg(pTHX_ SV *dstr, SV *sstr);
693 VIRTUAL void Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len);
694 VIRTUAL MGVTBL* Perl_get_vtbl(pTHX_ int vtbl_id);
695 VIRTUAL char* Perl_pv_display(pTHX_ SV *sv, char *pv, STRLEN cur, STRLEN len, STRLEN pvlim);
696 VIRTUAL void Perl_dump_indent(pTHX_ I32 level, PerlIO *file, const char* pat, ...);
697 VIRTUAL void Perl_do_gv_dump(pTHX_ I32 level, PerlIO *file, char *name, GV *sv);
698 VIRTUAL void Perl_do_gvgv_dump(pTHX_ I32 level, PerlIO *file, char *name, GV *sv);
699 VIRTUAL void Perl_do_hv_dump(pTHX_ I32 level, PerlIO *file, char *name, HV *sv);
700 VIRTUAL void Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, MAGIC *mg, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
701 VIRTUAL void Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, OP *o);
702 VIRTUAL void Perl_do_pmop_dump(pTHX_ I32 level, PerlIO *file, PMOP *pm);
703 VIRTUAL void Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim);
704 VIRTUAL void Perl_magic_dump(pTHX_ MAGIC *mg);
705 VIRTUAL void* Perl_default_protect(pTHX_ int *excpt, protect_body_t body, ...);
706 VIRTUAL void Perl_reginitcolors(pTHX);
707 VIRTUAL char* Perl_sv_2pv_nolen(pTHX_ SV* sv);
708 VIRTUAL char* Perl_sv_pv(pTHX_ SV *sv);
709 VIRTUAL void Perl_sv_force_normal(pTHX_ SV *sv);
710 VIRTUAL void Perl_tmps_grow(pTHX_ I32 n);
711 VIRTUAL SV* Perl_sv_rvweaken(pTHX_ SV *sv);
712 VIRTUAL int Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg);
713 #if defined(PERL_OBJECT)
716 #if defined(PERL_IN_AV_C) || defined(PERL_DECL_PROT)
717 STATIC I32 S_avhv_index_sv(pTHX_ SV* sv);
719 #if defined(PERL_IN_DOOP_C) || defined(PERL_DECL_PROT)
720 STATIC I32 S_do_trans_CC_simple(pTHX_ SV *sv);
721 STATIC I32 S_do_trans_CC_count(pTHX_ SV *sv);
722 STATIC I32 S_do_trans_CC_complex(pTHX_ SV *sv);
723 STATIC I32 S_do_trans_UU_simple(pTHX_ SV *sv);
724 STATIC I32 S_do_trans_UU_count(pTHX_ SV *sv);
725 STATIC I32 S_do_trans_UU_complex(pTHX_ SV *sv);
726 STATIC I32 S_do_trans_UC_simple(pTHX_ SV *sv);
727 STATIC I32 S_do_trans_CU_simple(pTHX_ SV *sv);
728 STATIC I32 S_do_trans_UC_trivial(pTHX_ SV *sv);
729 STATIC I32 S_do_trans_CU_trivial(pTHX_ SV *sv);
731 #if defined(PERL_IN_GV_C) || defined(PERL_DECL_PROT)
732 STATIC void S_gv_init_sv(pTHX_ GV *gv, I32 sv_type);
734 #if defined(PERL_IN_HV_C) || defined(PERL_DECL_PROT)
735 STATIC void S_hsplit(pTHX_ HV *hv);
736 STATIC void S_hfreeentries(pTHX_ HV *hv);
737 STATIC void S_more_he(pTHX);
738 STATIC HE* S_new_he(pTHX);
739 STATIC void S_del_he(pTHX_ HE *p);
740 STATIC HEK* S_save_hek(pTHX_ const char *str, I32 len, U32 hash);
741 STATIC void S_hv_magic_check(pTHX_ HV *hv, bool *needs_copy, bool *needs_store);
743 #if defined(PERL_IN_MG_C) || defined(PERL_DECL_PROT)
744 STATIC void S_save_magic(pTHX_ I32 mgs_ix, SV *sv);
745 STATIC int S_magic_methpack(pTHX_ SV *sv, MAGIC *mg, char *meth);
746 STATIC int S_magic_methcall(pTHX_ SV *sv, MAGIC *mg, char *meth, I32 f, int n, SV *val);
748 #if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
749 STATIC I32 S_list_assignment(pTHX_ OP *o);
750 STATIC void S_bad_type(pTHX_ I32 n, char *t, char *name, OP *kid);
751 STATIC void S_cop_free(pTHX_ COP *cop);
752 STATIC OP* S_modkids(pTHX_ OP *o, I32 type);
753 STATIC void S_no_bareword_allowed(pTHX_ OP *o);
754 STATIC OP* S_no_fh_allowed(pTHX_ OP *o);
755 STATIC OP* S_scalarboolean(pTHX_ OP *o);
756 STATIC OP* S_too_few_arguments(pTHX_ OP *o, char* name);
757 STATIC OP* S_too_many_arguments(pTHX_ OP *o, char* name);
758 STATIC void S_null(pTHX_ OP* o);
759 STATIC PADOFFSET S_pad_findlex(pTHX_ char* name, PADOFFSET newoff, U32 seq, CV* startcv, I32 cx_ix, I32 saweval, U32 flags);
760 STATIC OP* S_newDEFSVOP(pTHX);
761 STATIC OP* S_new_logop(pTHX_ I32 type, I32 flags, OP **firstp, OP **otherp);
762 STATIC void S_simplify_sort(pTHX_ OP *o);
763 STATIC bool S_is_handle_constructor(pTHX_ OP *o, I32 argnum);
764 STATIC char* S_gv_ename(pTHX_ GV *gv);
765 STATIC CV* S_cv_clone2(pTHX_ CV *proto, CV *outside);
766 STATIC bool S_scalar_mod_type(pTHX_ OP *o, I32 type);
767 # if defined(PL_OP_SLAB_ALLOC)
768 STATIC void* S_Slab_Alloc(pTHX_ int m, size_t sz);
771 #if defined(PERL_IN_PERL_C) || defined(PERL_DECL_PROT)
772 STATIC void S_find_beginning(pTHX);
773 STATIC void S_forbid_setid(pTHX_ char *);
774 STATIC void S_incpush(pTHX_ char *, int);
775 STATIC void S_init_interp(pTHX);
776 STATIC void S_init_ids(pTHX);
777 STATIC void S_init_debugger(pTHX);
778 STATIC void S_init_lexer(pTHX);
779 STATIC void S_init_main_stash(pTHX);
780 STATIC void S_init_perllib(pTHX);
781 STATIC void S_init_postdump_symbols(pTHX_ int, char **, char **);
782 STATIC void S_init_predump_symbols(pTHX);
783 STATIC void S_my_exit_jump(pTHX) __attribute__((noreturn));
784 STATIC void S_nuke_stacks(pTHX);
785 STATIC void S_open_script(pTHX_ char *, bool, SV *, int *fd);
786 STATIC void S_usage(pTHX_ char *);
787 STATIC void S_validate_suid(pTHX_ char *, char*, int);
788 # if defined(IAMSUID)
789 STATIC int S_fd_on_nosuid_fs(pTHX_ int fd);
791 STATIC void* S_parse_body(pTHX_ va_list args);
792 STATIC void* S_run_body(pTHX_ va_list args);
793 STATIC void* S_call_body(pTHX_ va_list args);
794 STATIC void S_call_xbody(pTHX_ OP *myop, int is_eval);
795 STATIC void* S_call_list_body(pTHX_ va_list args);
796 # if defined(USE_THREADS)
797 STATIC struct perl_thread * S_init_main_thread(pTHX);
800 #if defined(PERL_IN_PP_C) || defined(PERL_DECL_PROT)
801 STATIC void S_doencodes(pTHX_ SV* sv, char* s, I32 len);
802 STATIC SV* S_refto(pTHX_ SV* sv);
803 STATIC U32 S_seed(pTHX);
804 STATIC SV* S_mul128(pTHX_ SV *sv, U8 m);
805 STATIC SV* S_is_an_int(pTHX_ char *s, STRLEN l);
806 STATIC int S_div128(pTHX_ SV *pnum, bool *done);
808 #if defined(PERL_IN_PP_CTL_C) || defined(PERL_DECL_PROT)
809 STATIC OP* S_docatch(pTHX_ OP *o);
810 STATIC void* S_docatch_body(pTHX_ va_list args);
811 STATIC OP* S_dofindlabel(pTHX_ OP *o, char *label, OP **opstack, OP **oplimit);
812 STATIC void S_doparseform(pTHX_ SV *sv);
813 STATIC I32 S_dopoptoeval(pTHX_ I32 startingblock);
814 STATIC I32 S_dopoptolabel(pTHX_ char *label);
815 STATIC I32 S_dopoptoloop(pTHX_ I32 startingblock);
816 STATIC I32 S_dopoptosub(pTHX_ I32 startingblock);
817 STATIC I32 S_dopoptosub_at(pTHX_ PERL_CONTEXT* cxstk, I32 startingblock);
818 STATIC void S_free_closures(pTHX);
819 STATIC void S_save_lines(pTHX_ AV *array, SV *sv);
820 STATIC OP* S_doeval(pTHX_ int gimme, OP** startop);
821 STATIC PerlIO * S_doopen_pmc(pTHX_ const char *name, const char *mode);
822 STATIC void S_qsortsv(pTHX_ SV ** array, size_t num_elts, SVCOMPARE_t f);
824 #if defined(PERL_IN_PP_HOT_C) || defined(PERL_DECL_PROT)
825 STATIC CV* S_get_db_sub(pTHX_ SV **svp, CV *cv);
827 #if defined(PERL_IN_PP_SYS_C) || defined(PERL_DECL_PROT)
828 STATIC OP* S_doform(pTHX_ CV *cv, GV *gv, OP *retop);
829 STATIC int S_emulate_eaccess(pTHX_ const char* path, int mode);
830 # if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
831 STATIC int S_dooneliner(pTHX_ char *cmd, char *filename);
834 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_DECL_PROT)
835 STATIC regnode* S_reg(pTHX_ I32, I32 *);
836 STATIC regnode* S_reganode(pTHX_ U8, U32);
837 STATIC regnode* S_regatom(pTHX_ I32 *);
838 STATIC regnode* S_regbranch(pTHX_ I32 *, I32);
839 STATIC void S_regc(pTHX_ U8, char *);
840 STATIC void S_reguni(pTHX_ UV, char *, I32*);
841 STATIC regnode* S_regclass(pTHX);
842 STATIC regnode* S_regclassutf8(pTHX);
843 STATIC I32 S_regcurly(pTHX_ char *);
844 STATIC regnode* S_reg_node(pTHX_ U8);
845 STATIC regnode* S_regpiece(pTHX_ I32 *);
846 STATIC void S_reginsert(pTHX_ U8, regnode *);
847 STATIC void S_regoptail(pTHX_ regnode *, regnode *);
848 STATIC void S_regtail(pTHX_ regnode *, regnode *);
849 STATIC char* S_regwhite(pTHX_ char *, char *);
850 STATIC char* S_nextchar(pTHX);
851 STATIC regnode* S_dumpuntil(pTHX_ regnode *start, regnode *node, regnode *last, SV* sv, I32 l);
852 STATIC void S_scan_commit(pTHX_ scan_data_t *data);
853 STATIC I32 S_study_chunk(pTHX_ regnode **scanp, I32 *deltap, regnode *last, scan_data_t *data, U32 flags);
854 STATIC I32 S_add_data(pTHX_ I32 n, char *s);
855 STATIC void S_re_croak2(pTHX_ const char* pat1, const char* pat2, ...) __attribute__((noreturn));
856 STATIC I32 S_regpposixcc(pTHX_ I32 value);
857 STATIC void S_checkposixcc(pTHX);
859 #if defined(PERL_IN_REGEXEC_C) || defined(PERL_DECL_PROT)
860 STATIC I32 S_regmatch(pTHX_ regnode *prog);
861 STATIC I32 S_regrepeat(pTHX_ regnode *p, I32 max);
862 STATIC I32 S_regrepeat_hard(pTHX_ regnode *p, I32 max, I32 *lp);
863 STATIC I32 S_regtry(pTHX_ regexp *prog, char *startpos);
864 STATIC bool S_reginclass(pTHX_ char *p, I32 c);
865 STATIC bool S_reginclassutf8(pTHX_ regnode *f, U8* p);
866 STATIC CHECKPOINT S_regcppush(pTHX_ I32 parenfloor);
867 STATIC char* S_regcppop(pTHX);
868 STATIC char* S_regcp_set_to(pTHX_ I32 ss);
869 STATIC void S_cache_re(pTHX_ regexp *prog);
870 STATIC U8* S_reghop(pTHX_ U8 *pos, I32 off);
871 STATIC U8* S_reghopmaybe(pTHX_ U8 *pos, I32 off);
873 #if defined(PERL_IN_RUN_C) || defined(PERL_DECL_PROT)
874 STATIC void S_debprof(pTHX_ OP *o);
876 #if defined(PERL_IN_SCOPE_C) || defined(PERL_DECL_PROT)
877 STATIC SV* S_save_scalar_at(pTHX_ SV **sptr);
879 #if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
880 STATIC IV S_asIV(pTHX_ SV* sv);
881 STATIC UV S_asUV(pTHX_ SV* sv);
882 STATIC SV* S_more_sv(pTHX);
883 STATIC void S_more_xiv(pTHX);
884 STATIC void S_more_xnv(pTHX);
885 STATIC void S_more_xpv(pTHX);
886 STATIC void S_more_xrv(pTHX);
887 STATIC XPVIV* S_new_xiv(pTHX);
888 STATIC XPVNV* S_new_xnv(pTHX);
889 STATIC XPV* S_new_xpv(pTHX);
890 STATIC XRV* S_new_xrv(pTHX);
891 STATIC void S_del_xiv(pTHX_ XPVIV* p);
892 STATIC void S_del_xnv(pTHX_ XPVNV* p);
893 STATIC void S_del_xpv(pTHX_ XPV* p);
894 STATIC void S_del_xrv(pTHX_ XRV* p);
895 STATIC void S_sv_unglob(pTHX_ SV* sv);
896 STATIC void S_not_a_number(pTHX_ SV *sv);
897 STATIC void S_visit(pTHX_ SVFUNC_t f);
899 STATIC void S_reg_add(pTHX_ SV *sv);
900 STATIC void S_reg_remove(pTHX_ SV *sv);
902 STATIC void* S_my_safemalloc(MEM_SIZE size);
904 STATIC void S_sv_add_backref(pTHX_ SV *tsv, SV *sv);
905 STATIC void S_sv_del_backref(pTHX_ SV *sv);
906 # if defined(DEBUGGING)
907 STATIC void S_del_sv(pTHX_ SV *p);
910 #if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT)
911 STATIC void S_check_uni(pTHX);
912 STATIC void S_force_next(pTHX_ I32 type);
913 STATIC char* S_force_version(pTHX_ char *start);
914 STATIC char* S_force_word(pTHX_ char *start, int token, int check_keyword, int allow_pack, int allow_tick);
915 STATIC SV* S_tokeq(pTHX_ SV *sv);
916 STATIC char* S_scan_const(pTHX_ char *start);
917 STATIC char* S_scan_formline(pTHX_ char *s);
918 STATIC char* S_scan_heredoc(pTHX_ char *s);
919 STATIC char* S_scan_ident(pTHX_ char *s, char *send, char *dest, STRLEN destlen, I32 ck_uni);
920 STATIC char* S_scan_inputsymbol(pTHX_ char *start);
921 STATIC char* S_scan_pat(pTHX_ char *start, I32 type);
922 STATIC char* S_scan_str(pTHX_ char *start);
923 STATIC char* S_scan_subst(pTHX_ char *start);
924 STATIC char* S_scan_trans(pTHX_ char *start);
925 STATIC char* S_scan_word(pTHX_ char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp);
926 STATIC char* S_skipspace(pTHX_ char *s);
927 STATIC void S_checkcomma(pTHX_ char *s, char *name, char *what);
928 STATIC void S_force_ident(pTHX_ char *s, int kind);
929 STATIC void S_incline(pTHX_ char *s);
930 STATIC int S_intuit_method(pTHX_ char *s, GV *gv);
931 STATIC int S_intuit_more(pTHX_ char *s);
932 STATIC I32 S_lop(pTHX_ I32 f, expectation x, char *s);
933 STATIC void S_missingterm(pTHX_ char *s);
934 STATIC void S_no_op(pTHX_ char *what, char *s);
935 STATIC void S_set_csh(pTHX);
936 STATIC I32 S_sublex_done(pTHX);
937 STATIC I32 S_sublex_push(pTHX);
938 STATIC I32 S_sublex_start(pTHX);
939 STATIC char * S_filter_gets(pTHX_ SV *sv, PerlIO *fp, STRLEN append);
940 STATIC SV* S_new_constant(pTHX_ char *s, STRLEN len, char *key, SV *sv, SV *pv, char *type);
941 STATIC int S_ao(pTHX_ int toketype);
942 STATIC void S_depcom(pTHX);
943 STATIC char* S_incl_perldb(pTHX);
944 STATIC I32 S_utf16_textfilter(pTHX_ int idx, SV *sv, int maxlen);
945 STATIC I32 S_utf16rev_textfilter(pTHX_ int idx, SV *sv, int maxlen);
946 # if defined(CRIPPLED_CC)
947 STATIC int S_uni(pTHX_ I32 f, char *s);
950 STATIC I32 S_win32_textfilter(pTHX_ int idx, SV *sv, int maxlen);
953 #if defined(PERL_IN_UNIVERSAL_C) || defined(PERL_DECL_PROT)
954 STATIC SV* S_isa_lookup(pTHX_ HV *stash, const char *name, int len, int level);
956 #if defined(PERL_IN_UTIL_C) || defined(PERL_DECL_PROT)
957 STATIC SV* S_mess_alloc(pTHX);
958 STATIC void S_do_croak(pTHX_ const char *pat, va_list *args) __attribute__((noreturn));
959 STATIC void S_do_warn(pTHX_ const char *pat, va_list *args);
960 STATIC OP* S_do_die(pTHX_ const char *pat, va_list *args);
961 # if defined(LEAKTEST)
962 STATIC void S_xstat(pTHX_ int);