Commit | Line | Data |
76e3520e |
1 | #ifdef PERL_OBJECT |
2 | #include "ipstdio.h" |
3 | #include "ipdir.h" |
4 | #include "ipenv.h" |
5 | #include "iplio.h" |
6 | #include "ipmem.h" |
7 | #include "ipproc.h" |
8 | #include "ipsock.h" |
9 | #define VIRTUAL virtual |
10 | #else |
11 | #define VIRTUAL |
22239a37 |
12 | START_EXTERN_C |
76e3520e |
13 | #endif |
22239a37 |
14 | |
fed7345c |
15 | #ifndef NEXT30_NO_ATTRIBUTE |
ecfc5424 |
16 | #ifndef HASATTRIBUTE /* disable GNU-cc attribute checking? */ |
17 | #ifdef __attribute__ /* Avoid possible redefinition errors */ |
a0d0e21e |
18 | #undef __attribute__ |
ecfc5424 |
19 | #endif |
a0d0e21e |
20 | #define __attribute__(attr) |
aeea060c |
21 | #endif |
a0d0e21e |
22 | #endif |
23 | #ifdef OVERLOAD |
76e3520e |
24 | VIRTUAL SV* amagic_call _((SV* left,SV* right,int method,int dir)); |
25 | VIRTUAL bool Gv_AMupdate _((HV* stash)); |
a0d0e21e |
26 | #endif /* OVERLOAD */ |
76e3520e |
27 | VIRTUAL OP* append_elem _((I32 optype, OP* head, OP* tail)); |
28 | VIRTUAL OP* append_list _((I32 optype, LISTOP* first, LISTOP* last)); |
29 | VIRTUAL I32 apply _((I32 type, SV** mark, SV** sp)); |
30 | VIRTUAL void assertref _((OP* o)); |
31 | VIRTUAL SV* avhv_delete _((AV *ar, char* key, U32 klen, I32 flags)); |
32 | VIRTUAL SV* avhv_delete_ent _((AV *ar, SV* keysv, I32 flags, U32 hash)); |
33 | VIRTUAL bool avhv_exists _((AV *ar, char* key, U32 klen)); |
34 | VIRTUAL bool avhv_exists_ent _((AV *ar, SV* keysv, U32 hash)); |
35 | VIRTUAL SV** avhv_fetch _((AV *ar, char* key, U32 klen, I32 lval)); |
36 | VIRTUAL SV** avhv_fetch_ent _((AV *ar, SV* keysv, I32 lval, U32 hash)); |
37 | VIRTUAL I32 avhv_iterinit _((AV *ar)); |
38 | VIRTUAL HE* avhv_iternext _((AV *ar)); |
39 | VIRTUAL SV * avhv_iternextsv _((AV *ar, char** key, I32* retlen)); |
40 | VIRTUAL SV* avhv_iterval _((AV *ar, HE* entry)); |
41 | VIRTUAL HV* avhv_keys _((AV *ar)); |
42 | VIRTUAL SV** avhv_store _((AV *ar, char* key, U32 klen, SV* val, U32 hash)); |
43 | VIRTUAL SV** avhv_store_ent _((AV *av, SV *keysv, SV *val, U32 hash)); |
44 | VIRTUAL void av_clear _((AV* ar)); |
45 | VIRTUAL void av_extend _((AV* ar, I32 key)); |
46 | VIRTUAL AV* av_fake _((I32 size, SV** svp)); |
47 | VIRTUAL SV** av_fetch _((AV* ar, I32 key, I32 lval)); |
48 | VIRTUAL void av_fill _((AV* ar, I32 fill)); |
49 | VIRTUAL I32 av_len _((AV* ar)); |
50 | VIRTUAL AV* av_make _((I32 size, SV** svp)); |
51 | VIRTUAL SV* av_pop _((AV* ar)); |
52 | VIRTUAL void av_push _((AV* ar, SV* val)); |
53 | VIRTUAL void av_reify _((AV* ar)); |
54 | VIRTUAL SV* av_shift _((AV* ar)); |
55 | VIRTUAL SV** av_store _((AV* ar, I32 key, SV* val)); |
56 | VIRTUAL void av_undef _((AV* ar)); |
57 | VIRTUAL void av_unshift _((AV* ar, I32 num)); |
58 | VIRTUAL OP* bind_match _((I32 type, OP* left, OP* pat)); |
59 | VIRTUAL OP* block_end _((I32 floor, OP* seq)); |
60 | VIRTUAL I32 block_gimme _((void)); |
61 | VIRTUAL int block_start _((int full)); |
62 | VIRTUAL void boot_core_UNIVERSAL _((void)); |
e3b8966e |
63 | VIRTUAL void call_list _((I32 oldscope, AV* av_list)); |
76e3520e |
64 | VIRTUAL I32 cando _((I32 bit, I32 effective, Stat_t* statbufp)); |
a0d0e21e |
65 | #ifndef CASTNEGFLOAT |
76e3520e |
66 | VIRTUAL U32 cast_ulong _((double f)); |
a0d0e21e |
67 | #endif |
68 | #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP) |
76e3520e |
69 | VIRTUAL I32 my_chsize _((int fd, Off_t length)); |
a0d0e21e |
70 | #endif |
76e3520e |
71 | VIRTUAL OP* ck_gvconst _((OP* o)); |
72 | VIRTUAL OP* ck_retarget _((OP* o)); |
f93b4edd |
73 | #ifdef USE_THREADS |
76e3520e |
74 | VIRTUAL MAGIC * condpair_magic _((SV *sv)); |
75 | #endif |
76 | VIRTUAL OP* convert _((I32 optype, I32 flags, OP* o)); |
77 | VIRTUAL void croak _((const char* pat,...)) __attribute__((noreturn)); |
78 | VIRTUAL void cv_ckproto _((CV* cv, GV* gv, char* p)); |
79 | VIRTUAL CV* cv_clone _((CV* proto)); |
80 | VIRTUAL SV* cv_const_sv _((CV* cv)); |
d1541cac |
81 | VIRTUAL SV* op_const_sv _((OP* o, CV* cv)); |
76e3520e |
82 | VIRTUAL void cv_undef _((CV* cv)); |
873ef191 |
83 | VIRTUAL void cx_dump _((PERL_CONTEXT* cs)); |
76e3520e |
84 | VIRTUAL SV* filter_add _((filter_t funcp, SV* datasv)); |
85 | VIRTUAL void filter_del _((filter_t funcp)); |
86 | VIRTUAL I32 filter_read _((int idx, SV* buffer, int maxlen)); |
87 | VIRTUAL char ** get_op_descs _((void)); |
88 | VIRTUAL char ** get_op_names _((void)); |
9e6b2b00 |
89 | VIRTUAL char * get_no_modify _((void)); |
90 | VIRTUAL U32 * get_opargs _((void)); |
76e3520e |
91 | VIRTUAL I32 cxinc _((void)); |
ac4c12e7 |
92 | VIRTUAL void deb _((const char* pat,...)) __attribute__((format(printf,1,2))); |
93 | VIRTUAL void deb_growlevel _((void)); |
94 | VIRTUAL void debprofdump _((void)); |
95 | VIRTUAL I32 debop _((OP* o)); |
96 | VIRTUAL I32 debstack _((void)); |
97 | VIRTUAL I32 debstackptrs _((void)); |
76e3520e |
98 | VIRTUAL char* delimcpy _((char* to, char* toend, char* from, char* fromend, |
fc36a67e |
99 | int delim, I32* retlen)); |
76e3520e |
100 | VIRTUAL void deprecate _((char* s)); |
101 | VIRTUAL OP* die _((const char* pat,...)); |
102 | VIRTUAL OP* die_where _((char* message)); |
103 | VIRTUAL void dounwind _((I32 cxix)); |
104 | VIRTUAL bool do_aexec _((SV* really, SV** mark, SV** sp)); |
36660982 |
105 | VIRTUAL int do_binmode _((PerlIO *fp, int iotype, int flag)); |
76e3520e |
106 | VIRTUAL void do_chop _((SV* asv, SV* sv)); |
107 | VIRTUAL bool do_close _((GV* gv, bool not_implicit)); |
108 | VIRTUAL bool do_eof _((GV* gv)); |
109 | VIRTUAL bool do_exec _((char* cmd)); |
110 | VIRTUAL void do_execfree _((void)); |
a0d0e21e |
111 | #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM) |
112 | I32 do_ipcctl _((I32 optype, SV** mark, SV** sp)); |
113 | I32 do_ipcget _((I32 optype, SV** mark, SV** sp)); |
114 | #endif |
76e3520e |
115 | VIRTUAL void do_join _((SV* sv, SV* del, SV** mark, SV** sp)); |
116 | VIRTUAL OP* do_kv _((ARGSproto)); |
a0d0e21e |
117 | #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM) |
118 | I32 do_msgrcv _((SV** mark, SV** sp)); |
119 | I32 do_msgsnd _((SV** mark, SV** sp)); |
120 | #endif |
76e3520e |
121 | VIRTUAL bool do_open _((GV* gv, char* name, I32 len, |
760ac839 |
122 | int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp)); |
76e3520e |
123 | VIRTUAL void do_pipe _((SV* sv, GV* rgv, GV* wgv)); |
124 | VIRTUAL bool do_print _((SV* sv, PerlIO* fp)); |
125 | VIRTUAL OP* do_readline _((void)); |
126 | VIRTUAL I32 do_chomp _((SV* sv)); |
127 | VIRTUAL bool do_seek _((GV* gv, long pos, int whence)); |
a0d0e21e |
128 | #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM) |
129 | I32 do_semop _((SV** mark, SV** sp)); |
130 | I32 do_shmio _((I32 optype, SV** mark, SV** sp)); |
131 | #endif |
76e3520e |
132 | VIRTUAL void do_sprintf _((SV* sv, I32 len, SV** sarg)); |
133 | VIRTUAL long do_sysseek _((GV* gv, long pos, int whence)); |
134 | VIRTUAL long do_tell _((GV* gv)); |
135 | VIRTUAL I32 do_trans _((SV* sv, OP* arg)); |
136 | VIRTUAL void do_vecset _((SV* sv)); |
137 | VIRTUAL void do_vop _((I32 optype, SV* sv, SV* left, SV* right)); |
138 | VIRTUAL I32 dowantarray _((void)); |
139 | VIRTUAL void dump_all _((void)); |
873ef191 |
140 | VIRTUAL void dump_eval _((void)); |
748a9306 |
141 | #ifdef DUMP_FDS /* See util.c */ |
35ff7856 |
142 | VIRTUAL void dump_fds _((char* s)); |
a0d0e21e |
143 | #endif |
873ef191 |
144 | VIRTUAL void dump_form _((GV* gv)); |
145 | VIRTUAL void dump_gv _((GV* gv)); |
8eccb90b |
146 | #ifdef MYMALLOC |
873ef191 |
147 | VIRTUAL void dump_mstats _((char* s)); |
8eccb90b |
148 | #endif |
873ef191 |
149 | VIRTUAL void dump_op _((OP* arg)); |
150 | VIRTUAL void dump_pm _((PMOP* pm)); |
151 | VIRTUAL void dump_packsubs _((HV* stash)); |
152 | VIRTUAL void dump_sub _((GV* gv)); |
3bd495df |
153 | VIRTUAL void fbm_compile _((SV* sv, U32 flags)); |
76e3520e |
154 | VIRTUAL char* fbm_instr _((unsigned char* big, unsigned char* bigend, SV* littlesv)); |
36660982 |
155 | VIRTUAL char* find_script _((char *scriptname, bool dosearch, char **search_ext, I32 flags)); |
aeea060c |
156 | #ifdef USE_THREADS |
76e3520e |
157 | VIRTUAL PADOFFSET find_threadsv _((char *name)); |
158 | #endif |
159 | VIRTUAL OP* force_list _((OP* arg)); |
160 | VIRTUAL OP* fold_constants _((OP* arg)); |
161 | VIRTUAL char* form _((const char* pat, ...)); |
162 | VIRTUAL void free_tmps _((void)); |
163 | VIRTUAL OP* gen_constant_list _((OP* o)); |
164 | VIRTUAL void gp_free _((GV* gv)); |
165 | VIRTUAL GP* gp_ref _((GP* gp)); |
166 | VIRTUAL GV* gv_AVadd _((GV* gv)); |
167 | VIRTUAL GV* gv_HVadd _((GV* gv)); |
168 | VIRTUAL GV* gv_IOadd _((GV* gv)); |
169 | VIRTUAL GV* gv_autoload4 _((HV* stash, char* name, STRLEN len, I32 method)); |
170 | VIRTUAL void gv_check _((HV* stash)); |
171 | VIRTUAL void gv_efullname _((SV* sv, GV* gv)); |
172 | VIRTUAL void gv_efullname3 _((SV* sv, GV* gv, char* prefix)); |
173 | VIRTUAL GV* gv_fetchfile _((char* name)); |
174 | VIRTUAL GV* gv_fetchmeth _((HV* stash, char* name, STRLEN len, I32 level)); |
175 | VIRTUAL GV* gv_fetchmethod _((HV* stash, char* name)); |
176 | VIRTUAL GV* gv_fetchmethod_autoload _((HV* stash, char* name, I32 autoload)); |
177 | VIRTUAL GV* gv_fetchpv _((char* name, I32 add, I32 sv_type)); |
178 | VIRTUAL void gv_fullname _((SV* sv, GV* gv)); |
179 | VIRTUAL void gv_fullname3 _((SV* sv, GV* gv, char* prefix)); |
180 | VIRTUAL void gv_init _((GV* gv, HV* stash, char* name, STRLEN len, int multi)); |
181 | VIRTUAL HV* gv_stashpv _((char* name, I32 create)); |
182 | VIRTUAL HV* gv_stashpvn _((char* name, U32 namelen, I32 create)); |
183 | VIRTUAL HV* gv_stashsv _((SV* sv, I32 create)); |
184 | VIRTUAL void hv_clear _((HV* tb)); |
185 | VIRTUAL void hv_delayfree_ent _((HV* hv, HE* entry)); |
186 | VIRTUAL SV* hv_delete _((HV* tb, char* key, U32 klen, I32 flags)); |
187 | VIRTUAL SV* hv_delete_ent _((HV* tb, SV* key, I32 flags, U32 hash)); |
188 | VIRTUAL bool hv_exists _((HV* tb, char* key, U32 klen)); |
189 | VIRTUAL bool hv_exists_ent _((HV* tb, SV* key, U32 hash)); |
190 | VIRTUAL SV** hv_fetch _((HV* tb, char* key, U32 klen, I32 lval)); |
191 | VIRTUAL HE* hv_fetch_ent _((HV* tb, SV* key, I32 lval, U32 hash)); |
192 | VIRTUAL void hv_free_ent _((HV* hv, HE* entry)); |
193 | VIRTUAL I32 hv_iterinit _((HV* tb)); |
194 | VIRTUAL char* hv_iterkey _((HE* entry, I32* retlen)); |
195 | VIRTUAL SV* hv_iterkeysv _((HE* entry)); |
196 | VIRTUAL HE* hv_iternext _((HV* tb)); |
197 | VIRTUAL SV* hv_iternextsv _((HV* hv, char** key, I32* retlen)); |
198 | VIRTUAL SV* hv_iterval _((HV* tb, HE* entry)); |
199 | VIRTUAL void hv_ksplit _((HV* hv, IV newmax)); |
200 | VIRTUAL void hv_magic _((HV* hv, GV* gv, int how)); |
201 | VIRTUAL SV** hv_store _((HV* tb, char* key, U32 klen, SV* val, U32 hash)); |
202 | VIRTUAL HE* hv_store_ent _((HV* tb, SV* key, SV* val, U32 hash)); |
203 | VIRTUAL void hv_undef _((HV* tb)); |
204 | VIRTUAL I32 ibcmp _((char* a, char* b, I32 len)); |
205 | VIRTUAL I32 ibcmp_locale _((char* a, char* b, I32 len)); |
206 | VIRTUAL I32 ingroup _((I32 testgid, I32 effective)); |
207 | VIRTUAL void init_stacks _((ARGSproto)); |
208 | VIRTUAL U32 intro_my _((void)); |
209 | VIRTUAL char* instr _((char* big, char* little)); |
210 | VIRTUAL bool io_close _((IO* io)); |
211 | VIRTUAL OP* invert _((OP* cmd)); |
212 | VIRTUAL OP* jmaybe _((OP* arg)); |
213 | VIRTUAL I32 keyword _((char* d, I32 len)); |
214 | VIRTUAL void leave_scope _((I32 base)); |
215 | VIRTUAL void lex_end _((void)); |
216 | VIRTUAL void lex_start _((SV* line)); |
217 | VIRTUAL OP* linklist _((OP* o)); |
218 | VIRTUAL OP* list _((OP* o)); |
219 | VIRTUAL OP* listkids _((OP* o)); |
220 | VIRTUAL OP* localize _((OP* arg, I32 lexical)); |
221 | VIRTUAL I32 looks_like_number _((SV* sv)); |
222 | VIRTUAL int magic_clearenv _((SV* sv, MAGIC* mg)); |
223 | VIRTUAL int magic_clear_all_env _((SV* sv, MAGIC* mg)); |
224 | VIRTUAL int magic_clearpack _((SV* sv, MAGIC* mg)); |
225 | VIRTUAL int magic_clearsig _((SV* sv, MAGIC* mg)); |
226 | VIRTUAL int magic_existspack _((SV* sv, MAGIC* mg)); |
227 | VIRTUAL int magic_freedefelem _((SV* sv, MAGIC* mg)); |
228 | VIRTUAL int magic_freeregexp _((SV* sv, MAGIC* mg)); |
229 | VIRTUAL int magic_get _((SV* sv, MAGIC* mg)); |
230 | VIRTUAL int magic_getarylen _((SV* sv, MAGIC* mg)); |
231 | VIRTUAL int magic_getdefelem _((SV* sv, MAGIC* mg)); |
232 | VIRTUAL int magic_getglob _((SV* sv, MAGIC* mg)); |
36660982 |
233 | VIRTUAL int magic_getnkeys _((SV* sv, MAGIC* mg)); |
76e3520e |
234 | VIRTUAL int magic_getpack _((SV* sv, MAGIC* mg)); |
235 | VIRTUAL int magic_getpos _((SV* sv, MAGIC* mg)); |
236 | VIRTUAL int magic_getsig _((SV* sv, MAGIC* mg)); |
36660982 |
237 | VIRTUAL int magic_getsubstr _((SV* sv, MAGIC* mg)); |
76e3520e |
238 | VIRTUAL int magic_gettaint _((SV* sv, MAGIC* mg)); |
239 | VIRTUAL int magic_getuvar _((SV* sv, MAGIC* mg)); |
36660982 |
240 | VIRTUAL int magic_getvec _((SV* sv, MAGIC* mg)); |
76e3520e |
241 | VIRTUAL U32 magic_len _((SV* sv, MAGIC* mg)); |
f93b4edd |
242 | #ifdef USE_THREADS |
76e3520e |
243 | VIRTUAL int magic_mutexfree _((SV* sv, MAGIC* mg)); |
f93b4edd |
244 | #endif /* USE_THREADS */ |
76e3520e |
245 | VIRTUAL int magic_nextpack _((SV* sv, MAGIC* mg, SV* key)); |
246 | VIRTUAL int magic_set _((SV* sv, MAGIC* mg)); |
a0d0e21e |
247 | #ifdef OVERLOAD |
76e3520e |
248 | VIRTUAL int magic_setamagic _((SV* sv, MAGIC* mg)); |
a0d0e21e |
249 | #endif /* OVERLOAD */ |
76e3520e |
250 | VIRTUAL int magic_setarylen _((SV* sv, MAGIC* mg)); |
251 | VIRTUAL int magic_setbm _((SV* sv, MAGIC* mg)); |
252 | VIRTUAL int magic_setdbline _((SV* sv, MAGIC* mg)); |
44a8e56a |
253 | #ifdef USE_LOCALE_COLLATE |
76e3520e |
254 | VIRTUAL int magic_setcollxfrm _((SV* sv, MAGIC* mg)); |
255 | #endif |
256 | VIRTUAL int magic_setdefelem _((SV* sv, MAGIC* mg)); |
257 | VIRTUAL int magic_setenv _((SV* sv, MAGIC* mg)); |
258 | VIRTUAL int magic_setfm _((SV* sv, MAGIC* mg)); |
259 | VIRTUAL int magic_setisa _((SV* sv, MAGIC* mg)); |
260 | VIRTUAL int magic_setglob _((SV* sv, MAGIC* mg)); |
261 | VIRTUAL int magic_setmglob _((SV* sv, MAGIC* mg)); |
262 | VIRTUAL int magic_setnkeys _((SV* sv, MAGIC* mg)); |
263 | VIRTUAL int magic_setpack _((SV* sv, MAGIC* mg)); |
264 | VIRTUAL int magic_setpos _((SV* sv, MAGIC* mg)); |
265 | VIRTUAL int magic_setsig _((SV* sv, MAGIC* mg)); |
266 | VIRTUAL int magic_setsubstr _((SV* sv, MAGIC* mg)); |
267 | VIRTUAL int magic_settaint _((SV* sv, MAGIC* mg)); |
268 | VIRTUAL int magic_setuvar _((SV* sv, MAGIC* mg)); |
269 | VIRTUAL int magic_setvec _((SV* sv, MAGIC* mg)); |
270 | VIRTUAL int magic_set_all_env _((SV* sv, MAGIC* mg)); |
8f818fa0 |
271 | VIRTUAL U32 magic_sizepack _((SV* sv, MAGIC* mg)); |
76e3520e |
272 | VIRTUAL int magic_wipepack _((SV* sv, MAGIC* mg)); |
273 | VIRTUAL void magicname _((char* sym, char* name, I32 namlen)); |
a0d0e21e |
274 | int main _((int argc, char** argv, char** env)); |
76e3520e |
275 | VIRTUAL void markstack_grow _((void)); |
5f05dabc |
276 | #ifdef USE_LOCALE_COLLATE |
76e3520e |
277 | VIRTUAL char* mem_collxfrm _((const char* s, STRLEN len, STRLEN* xlen)); |
278 | #endif |
279 | VIRTUAL char* mess _((const char* pat, va_list* args)); |
280 | VIRTUAL int mg_clear _((SV* sv)); |
e3b8966e |
281 | VIRTUAL int mg_copy _((SV* sv, SV* nsv, char* key, I32 klen)); |
76e3520e |
282 | VIRTUAL MAGIC* mg_find _((SV* sv, int type)); |
283 | VIRTUAL int mg_free _((SV* sv)); |
284 | VIRTUAL int mg_get _((SV* sv)); |
565764a8 |
285 | VIRTUAL U32 mg_length _((SV* sv)); |
76e3520e |
286 | VIRTUAL void mg_magical _((SV* sv)); |
287 | VIRTUAL int mg_set _((SV* sv)); |
8f818fa0 |
288 | VIRTUAL I32 mg_size _((SV* sv)); |
76e3520e |
289 | VIRTUAL OP* mod _((OP* o, I32 type)); |
290 | VIRTUAL char* moreswitches _((char* s)); |
291 | VIRTUAL OP* my _((OP* o)); |
5f05dabc |
292 | #if !defined(HAS_BCOPY) || !defined(HAS_SAFE_BCOPY) |
76e3520e |
293 | VIRTUAL char* my_bcopy _((char* from, char* to, I32 len)); |
5f05dabc |
294 | #endif |
a0d0e21e |
295 | #if !defined(HAS_BZERO) && !defined(HAS_MEMSET) |
296 | char* my_bzero _((char* loc, I32 len)); |
85e6fe83 |
297 | #endif |
76e3520e |
298 | VIRTUAL void my_exit _((U32 status)) __attribute__((noreturn)); |
299 | VIRTUAL void my_failure_exit _((void)) __attribute__((noreturn)); |
300 | VIRTUAL I32 my_lstat _((ARGSproto)); |
5f05dabc |
301 | #if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP) |
873ef191 |
302 | VIRTUAL I32 my_memcmp _((char* s1, char* s2, I32 len)); |
a0d0e21e |
303 | #endif |
fc36a67e |
304 | #if !defined(HAS_MEMSET) |
873ef191 |
305 | VIRTUAL void* my_memset _((char* loc, I32 ch, I32 len)); |
fc36a67e |
306 | #endif |
76e3520e |
307 | #ifndef PERL_OBJECT |
308 | VIRTUAL I32 my_pclose _((PerlIO* ptr)); |
309 | VIRTUAL PerlIO* my_popen _((char* cmd, char* mode)); |
310 | #endif |
311 | VIRTUAL void my_setenv _((char* nam, char* val)); |
312 | VIRTUAL I32 my_stat _((ARGSproto)); |
a0d0e21e |
313 | #ifdef MYSWAP |
76e3520e |
314 | VIRTUAL short my_swap _((short s)); |
315 | VIRTUAL long my_htonl _((long l)); |
316 | VIRTUAL long my_ntohl _((long l)); |
317 | #endif |
318 | VIRTUAL void my_unexec _((void)); |
319 | VIRTUAL OP* newANONLIST _((OP* o)); |
320 | VIRTUAL OP* newANONHASH _((OP* o)); |
321 | VIRTUAL OP* newANONSUB _((I32 floor, OP* proto, OP* block)); |
322 | VIRTUAL OP* newASSIGNOP _((I32 flags, OP* left, I32 optype, OP* right)); |
323 | VIRTUAL OP* newCONDOP _((I32 flags, OP* expr, OP* trueop, OP* falseop)); |
ba3eb2af |
324 | VIRTUAL void newCONSTSUB _((HV* stash, char* name, SV* sv)); |
76e3520e |
325 | VIRTUAL void newFORM _((I32 floor, OP* o, OP* block)); |
e3b8966e |
326 | VIRTUAL OP* newFOROP _((I32 flags, char* label, line_t forline, OP* sclr, OP* expr, OP*block, OP*cont)); |
76e3520e |
327 | VIRTUAL OP* newLOGOP _((I32 optype, I32 flags, OP* left, OP* right)); |
328 | VIRTUAL OP* newLOOPEX _((I32 type, OP* label)); |
329 | VIRTUAL OP* newLOOPOP _((I32 flags, I32 debuggable, OP* expr, OP* block)); |
330 | VIRTUAL OP* newNULLLIST _((void)); |
331 | VIRTUAL OP* newOP _((I32 optype, I32 flags)); |
332 | VIRTUAL void newPROG _((OP* o)); |
333 | VIRTUAL OP* newRANGE _((I32 flags, OP* left, OP* right)); |
334 | VIRTUAL OP* newSLICEOP _((I32 flags, OP* subscript, OP* list)); |
335 | VIRTUAL OP* newSTATEOP _((I32 flags, char* label, OP* o)); |
336 | VIRTUAL CV* newSUB _((I32 floor, OP* o, OP* proto, OP* block)); |
e3b8966e |
337 | VIRTUAL CV* newXS _((char* name, void (*subaddr)(CV* cv _CPERLproto), char* filename)); |
76e3520e |
338 | VIRTUAL AV* newAV _((void)); |
339 | VIRTUAL OP* newAVREF _((OP* o)); |
340 | VIRTUAL OP* newBINOP _((I32 type, I32 flags, OP* first, OP* last)); |
341 | VIRTUAL OP* newCVREF _((I32 flags, OP* o)); |
342 | VIRTUAL OP* newGVOP _((I32 type, I32 flags, GV* gv)); |
343 | VIRTUAL GV* newGVgen _((char* pack)); |
344 | VIRTUAL OP* newGVREF _((I32 type, OP* o)); |
345 | VIRTUAL OP* newHVREF _((OP* o)); |
346 | VIRTUAL HV* newHV _((void)); |
347 | VIRTUAL IO* newIO _((void)); |
348 | VIRTUAL OP* newLISTOP _((I32 type, I32 flags, OP* first, OP* last)); |
349 | VIRTUAL OP* newPMOP _((I32 type, I32 flags)); |
350 | VIRTUAL OP* newPVOP _((I32 type, I32 flags, char* pv)); |
e3b8966e |
351 | VIRTUAL SV* newRV _((SV* pref)); |
565764a8 |
352 | #if !defined(__GNUC__) && (defined(CRIPPLED_CC) || defined(USE_THREADS) || defined(PERL_OBJECT)) |
e3b8966e |
353 | VIRTUAL SV* newRV_noinc _((SV *sv)); |
8f818fa0 |
354 | #endif |
76e3520e |
355 | VIRTUAL SV* newSV _((STRLEN len)); |
76e3520e |
356 | VIRTUAL OP* newSVREF _((OP* o)); |
357 | VIRTUAL OP* newSVOP _((I32 type, I32 flags, SV* sv)); |
358 | VIRTUAL SV* newSViv _((IV i)); |
359 | VIRTUAL SV* newSVnv _((double n)); |
360 | VIRTUAL SV* newSVpv _((char* s, STRLEN len)); |
361 | VIRTUAL SV* newSVpvf _((const char* pat, ...)); |
362 | VIRTUAL SV* newSVrv _((SV* rv, char* classname)); |
363 | VIRTUAL SV* newSVsv _((SV* old)); |
364 | VIRTUAL OP* newUNOP _((I32 type, I32 flags, OP* first)); |
365 | VIRTUAL OP* newWHILEOP _((I32 flags, I32 debuggable, LOOP* loop, |
fb73857a |
366 | I32 whileline, OP* expr, OP* block, OP* cont)); |
aeea060c |
367 | #ifdef USE_THREADS |
76e3520e |
368 | VIRTUAL struct perl_thread * new_struct_thread _((struct perl_thread *t)); |
369 | #endif |
ba3eb2af |
370 | VIRTUAL PERL_SI * new_stackinfo _((I32 stitems, I32 cxitems)); |
76e3520e |
371 | VIRTUAL PerlIO* nextargv _((GV* gv)); |
372 | VIRTUAL char* ninstr _((char* big, char* bigend, char* little, char* lend)); |
373 | VIRTUAL OP* oopsCV _((OP* o)); |
374 | VIRTUAL void op_free _((OP* arg)); |
375 | VIRTUAL void package _((OP* o)); |
376 | VIRTUAL PADOFFSET pad_alloc _((I32 optype, U32 tmptype)); |
377 | VIRTUAL PADOFFSET pad_allocmy _((char* name)); |
378 | VIRTUAL PADOFFSET pad_findmy _((char* name)); |
379 | VIRTUAL OP* oopsAV _((OP* o)); |
380 | VIRTUAL OP* oopsHV _((OP* o)); |
381 | VIRTUAL void pad_leavemy _((I32 fill)); |
382 | VIRTUAL SV* pad_sv _((PADOFFSET po)); |
383 | VIRTUAL void pad_free _((PADOFFSET po)); |
384 | VIRTUAL void pad_reset _((void)); |
385 | VIRTUAL void pad_swipe _((PADOFFSET po)); |
386 | VIRTUAL void peep _((OP* o)); |
387 | #ifndef PERL_OBJECT |
a0d0e21e |
388 | PerlInterpreter* perl_alloc _((void)); |
76e3520e |
389 | #endif |
873ef191 |
390 | #ifdef PERL_OBJECT |
35ff7856 |
391 | VIRTUAL void perl_atexit _((void(*fn)(CPerlObj *, void *), void* ptr)); |
873ef191 |
392 | #else |
393 | void perl_atexit _((void(*fn)(void *), void*)); |
394 | #endif |
e3b8966e |
395 | VIRTUAL I32 perl_call_argv _((char* sub_name, I32 flags, char** argv)); |
76e3520e |
396 | VIRTUAL I32 perl_call_method _((char* methname, I32 flags)); |
e3b8966e |
397 | VIRTUAL I32 perl_call_pv _((char* sub_name, I32 flags)); |
76e3520e |
398 | VIRTUAL I32 perl_call_sv _((SV* sv, I32 flags)); |
399 | #ifdef PERL_OBJECT |
400 | VIRTUAL void perl_construct _((void)); |
401 | VIRTUAL void perl_destruct _((void)); |
402 | #else |
a0d0e21e |
403 | void perl_construct _((PerlInterpreter* sv_interp)); |
748a9306 |
404 | void perl_destruct _((PerlInterpreter* sv_interp)); |
76e3520e |
405 | #endif |
406 | VIRTUAL SV* perl_eval_pv _((char* p, I32 croak_on_error)); |
407 | VIRTUAL I32 perl_eval_sv _((SV* sv, I32 flags)); |
408 | #ifdef PERL_OBJECT |
409 | VIRTUAL void perl_free _((void)); |
410 | #else |
a0d0e21e |
411 | void perl_free _((PerlInterpreter* sv_interp)); |
76e3520e |
412 | #endif |
413 | VIRTUAL SV* perl_get_sv _((char* name, I32 create)); |
414 | VIRTUAL AV* perl_get_av _((char* name, I32 create)); |
415 | VIRTUAL HV* perl_get_hv _((char* name, I32 create)); |
416 | VIRTUAL CV* perl_get_cv _((char* name, I32 create)); |
417 | VIRTUAL int perl_init_i18nl10n _((int printwarn)); |
418 | VIRTUAL int perl_init_i18nl14n _((int printwarn)); |
419 | VIRTUAL void perl_new_collate _((char* newcoll)); |
420 | VIRTUAL void perl_new_ctype _((char* newctype)); |
421 | VIRTUAL void perl_new_numeric _((char* newcoll)); |
422 | VIRTUAL void perl_set_numeric_local _((void)); |
423 | VIRTUAL void perl_set_numeric_standard _((void)); |
424 | #ifdef PERL_OBJECT |
425 | VIRTUAL int perl_parse _((void(*xsinit)(CPerlObj*), int argc, char** argv, char** env)); |
426 | #else |
a0d0e21e |
427 | int perl_parse _((PerlInterpreter* sv_interp, void(*xsinit)(void), int argc, char** argv, char** env)); |
76e3520e |
428 | #endif |
429 | VIRTUAL void perl_require_pv _((char* pv)); |
4633a7c4 |
430 | #define perl_requirepv perl_require_pv |
76e3520e |
431 | #ifdef PERL_OBJECT |
432 | VIRTUAL int perl_run _((void)); |
433 | #else |
a0d0e21e |
434 | int perl_run _((PerlInterpreter* sv_interp)); |
76e3520e |
435 | #endif |
436 | VIRTUAL void pidgone _((int pid, int status)); |
437 | VIRTUAL void pmflag _((U16* pmfl, int ch)); |
438 | VIRTUAL OP* pmruntime _((OP* pm, OP* expr, OP* repl)); |
439 | VIRTUAL OP* pmtrans _((OP* o, OP* expr, OP* repl)); |
440 | VIRTUAL OP* pop_return _((void)); |
441 | VIRTUAL void pop_scope _((void)); |
442 | VIRTUAL OP* prepend_elem _((I32 optype, OP* head, OP* tail)); |
443 | VIRTUAL void push_return _((OP* o)); |
444 | VIRTUAL void push_scope _((void)); |
445 | VIRTUAL regexp* pregcomp _((char* exp, char* xend, PMOP* pm)); |
446 | VIRTUAL OP* ref _((OP* o, I32 type)); |
447 | VIRTUAL OP* refkids _((OP* o, I32 type)); |
873ef191 |
448 | VIRTUAL void regdump _((regexp* r)); |
76e3520e |
449 | VIRTUAL I32 pregexec _((regexp* prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, U32 nosave)); |
450 | VIRTUAL I32 regexec_flags _((regexp* prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, void* data, U32 flags)); |
451 | VIRTUAL void pregfree _((struct regexp* r)); |
e3b8966e |
452 | VIRTUAL regnode* regnext _((regnode* p)); |
873ef191 |
453 | VIRTUAL void regprop _((SV* sv, regnode* o)); |
76e3520e |
454 | VIRTUAL void repeatcpy _((char* to, char* from, I32 len, I32 count)); |
455 | VIRTUAL char* rninstr _((char* big, char* bigend, char* little, char* lend)); |
e3b8966e |
456 | VIRTUAL Sighandler_t rsignal _((int i, Sighandler_t t)); |
457 | VIRTUAL int rsignal_restore _((int i, Sigsave_t* t)); |
458 | VIRTUAL int rsignal_save _((int i, Sighandler_t t1, Sigsave_t* t2)); |
459 | VIRTUAL Sighandler_t rsignal_state _((int i)); |
76e3520e |
460 | VIRTUAL void rxres_free _((void** rsp)); |
e3b8966e |
461 | VIRTUAL void rxres_restore _((void** rsp, REGEXP* prx)); |
462 | VIRTUAL void rxres_save _((void** rsp, REGEXP* prx)); |
a0d0e21e |
463 | #ifndef HAS_RENAME |
76e3520e |
464 | VIRTUAL I32 same_dirent _((char* a, char* b)); |
465 | #endif |
466 | VIRTUAL char* savepv _((char* sv)); |
467 | VIRTUAL char* savepvn _((char* sv, I32 len)); |
468 | VIRTUAL void savestack_grow _((void)); |
3bd495df |
469 | VIRTUAL void save_aelem _((AV* av, I32 idx, SV **sptr)); |
76e3520e |
470 | VIRTUAL void save_aptr _((AV** aptr)); |
471 | VIRTUAL AV* save_ary _((GV* gv)); |
472 | VIRTUAL void save_clearsv _((SV** svp)); |
473 | VIRTUAL void save_delete _((HV* hv, char* key, I32 klen)); |
a0d0e21e |
474 | #ifndef titan /* TitanOS cc can't handle this */ |
76e3520e |
475 | #ifdef PERL_OBJECT |
565764a8 |
476 | typedef void (CPerlObj::*DESTRUCTORFUNC) _((void*)); |
477 | VIRTUAL void save_destructor _((DESTRUCTORFUNC f, void* p)); |
76e3520e |
478 | #else |
a0d0e21e |
479 | void save_destructor _((void (*f)(void*), void* p)); |
76e3520e |
480 | #endif |
a0d0e21e |
481 | #endif /* titan */ |
76e3520e |
482 | VIRTUAL void save_freesv _((SV* sv)); |
483 | VIRTUAL void save_freeop _((OP* o)); |
484 | VIRTUAL void save_freepv _((char* pv)); |
485 | VIRTUAL void save_gp _((GV* gv, I32 empty)); |
486 | VIRTUAL HV* save_hash _((GV* gv)); |
3bd495df |
487 | VIRTUAL void save_helem _((HV* hv, SV *key, SV **sptr)); |
76e3520e |
488 | VIRTUAL void save_hptr _((HV** hptr)); |
489 | VIRTUAL void save_I16 _((I16* intp)); |
490 | VIRTUAL void save_I32 _((I32* intp)); |
491 | VIRTUAL void save_int _((int* intp)); |
492 | VIRTUAL void save_item _((SV* item)); |
493 | VIRTUAL void save_iv _((IV* iv)); |
494 | VIRTUAL void save_list _((SV** sarg, I32 maxsarg)); |
495 | VIRTUAL void save_long _((long* longp)); |
496 | VIRTUAL void save_nogv _((GV* gv)); |
497 | VIRTUAL void save_op _((void)); |
498 | VIRTUAL SV* save_scalar _((GV* gv)); |
499 | VIRTUAL void save_pptr _((char** pptr)); |
500 | VIRTUAL void save_sptr _((SV** sptr)); |
501 | VIRTUAL SV* save_svref _((SV** sptr)); |
502 | VIRTUAL SV** save_threadsv _((PADOFFSET i)); |
503 | VIRTUAL OP* sawparens _((OP* o)); |
504 | VIRTUAL OP* scalar _((OP* o)); |
505 | VIRTUAL OP* scalarkids _((OP* o)); |
506 | VIRTUAL OP* scalarseq _((OP* o)); |
507 | VIRTUAL OP* scalarvoid _((OP* o)); |
508 | VIRTUAL UV scan_hex _((char* start, I32 len, I32* retlen)); |
509 | VIRTUAL char* scan_num _((char* s)); |
510 | VIRTUAL UV scan_oct _((char* start, I32 len, I32* retlen)); |
511 | VIRTUAL OP* scope _((OP* o)); |
512 | VIRTUAL char* screaminstr _((SV* bigsv, SV* littlesv, I32 start_shift, I32 end_shift, I32 *state, I32 last)); |
a0d0e21e |
513 | #ifndef VMS |
76e3520e |
514 | VIRTUAL I32 setenv_getix _((char* nam)); |
515 | #endif |
0824fdcb |
516 | VIRTUAL void setdefout _((GV* gv)); |
517 | VIRTUAL char* sharepvn _((char* sv, I32 len, U32 hash)); |
518 | VIRTUAL HEK* share_hek _((char* sv, I32 len, U32 hash)); |
519 | VIRTUAL Signal_t sighandler _((int sig)); |
520 | VIRTUAL SV** stack_grow _((SV** sp, SV**p, int n)); |
521 | VIRTUAL I32 start_subparse _((I32 is_format, U32 flags)); |
522 | VIRTUAL void sub_crush_depth _((CV* cv)); |
523 | VIRTUAL bool sv_2bool _((SV* sv)); |
524 | VIRTUAL CV* sv_2cv _((SV* sv, HV** st, GV** gvp, I32 lref)); |
525 | VIRTUAL IO* sv_2io _((SV* sv)); |
526 | VIRTUAL IV sv_2iv _((SV* sv)); |
527 | VIRTUAL SV* sv_2mortal _((SV* sv)); |
528 | VIRTUAL double sv_2nv _((SV* sv)); |
529 | VIRTUAL char* sv_2pv _((SV* sv, STRLEN* lp)); |
530 | VIRTUAL UV sv_2uv _((SV* sv)); |
531 | VIRTUAL IV sv_iv _((SV* sv)); |
532 | VIRTUAL UV sv_uv _((SV* sv)); |
533 | VIRTUAL double sv_nv _((SV* sv)); |
e3b8966e |
534 | VIRTUAL char * sv_pvn _((SV *sv, STRLEN *len)); |
535 | VIRTUAL I32 sv_true _((SV *sv)); |
0824fdcb |
536 | VIRTUAL void sv_add_arena _((char* ptr, U32 size, U32 flags)); |
537 | VIRTUAL int sv_backoff _((SV* sv)); |
538 | VIRTUAL SV* sv_bless _((SV* sv, HV* stash)); |
539 | VIRTUAL void sv_catpvf _((SV* sv, const char* pat, ...)); |
540 | VIRTUAL void sv_catpv _((SV* sv, char* ptr)); |
541 | VIRTUAL void sv_catpvn _((SV* sv, char* ptr, STRLEN len)); |
542 | VIRTUAL void sv_catsv _((SV* dsv, SV* ssv)); |
543 | VIRTUAL void sv_chop _((SV* sv, char* ptr)); |
544 | VIRTUAL void sv_clean_all _((void)); |
545 | VIRTUAL void sv_clean_objs _((void)); |
546 | VIRTUAL void sv_clear _((SV* sv)); |
547 | VIRTUAL I32 sv_cmp _((SV* sv1, SV* sv2)); |
548 | VIRTUAL I32 sv_cmp_locale _((SV* sv1, SV* sv2)); |
5f05dabc |
549 | #ifdef USE_LOCALE_COLLATE |
0824fdcb |
550 | VIRTUAL char* sv_collxfrm _((SV* sv, STRLEN* nxp)); |
551 | #endif |
552 | VIRTUAL OP* sv_compile_2op _((SV* sv, OP** startp, char* code, AV** avp)); |
553 | VIRTUAL void sv_dec _((SV* sv)); |
554 | VIRTUAL void sv_dump _((SV* sv)); |
555 | VIRTUAL bool sv_derived_from _((SV* sv, char* name)); |
556 | VIRTUAL I32 sv_eq _((SV* sv1, SV* sv2)); |
557 | VIRTUAL void sv_free _((SV* sv)); |
558 | VIRTUAL void sv_free_arenas _((void)); |
559 | VIRTUAL char* sv_gets _((SV* sv, PerlIO* fp, I32 append)); |
560 | #ifndef DOSISH |
561 | VIRTUAL char* sv_grow _((SV* sv, I32 newlen)); |
562 | #else |
563 | VIRTUAL char* sv_grow _((SV* sv, unsigned long newlen)); |
76e3520e |
564 | #endif |
565 | VIRTUAL void sv_inc _((SV* sv)); |
566 | VIRTUAL void sv_insert _((SV* bigsv, STRLEN offset, STRLEN len, char* little, STRLEN littlelen)); |
567 | VIRTUAL int sv_isa _((SV* sv, char* name)); |
568 | VIRTUAL int sv_isobject _((SV* sv)); |
569 | VIRTUAL STRLEN sv_len _((SV* sv)); |
570 | VIRTUAL void sv_magic _((SV* sv, SV* obj, int how, char* name, I32 namlen)); |
571 | VIRTUAL SV* sv_mortalcopy _((SV* oldsv)); |
572 | VIRTUAL SV* sv_newmortal _((void)); |
573 | VIRTUAL SV* sv_newref _((SV* sv)); |
873ef191 |
574 | VIRTUAL char* sv_peek _((SV* sv)); |
76e3520e |
575 | VIRTUAL char* sv_pvn_force _((SV* sv, STRLEN* lp)); |
576 | VIRTUAL char* sv_reftype _((SV* sv, int ob)); |
577 | VIRTUAL void sv_replace _((SV* sv, SV* nsv)); |
578 | VIRTUAL void sv_report_used _((void)); |
579 | VIRTUAL void sv_reset _((char* s, HV* stash)); |
580 | VIRTUAL void sv_setpvf _((SV* sv, const char* pat, ...)); |
581 | VIRTUAL void sv_setiv _((SV* sv, IV num)); |
582 | VIRTUAL void sv_setpviv _((SV* sv, IV num)); |
583 | VIRTUAL void sv_setuv _((SV* sv, UV num)); |
584 | VIRTUAL void sv_setnv _((SV* sv, double num)); |
585 | VIRTUAL SV* sv_setref_iv _((SV* rv, char* classname, IV iv)); |
586 | VIRTUAL SV* sv_setref_nv _((SV* rv, char* classname, double nv)); |
587 | VIRTUAL SV* sv_setref_pv _((SV* rv, char* classname, void* pv)); |
588 | VIRTUAL SV* sv_setref_pvn _((SV* rv, char* classname, char* pv, I32 n)); |
589 | VIRTUAL void sv_setpv _((SV* sv, const char* ptr)); |
590 | VIRTUAL void sv_setpvn _((SV* sv, const char* ptr, STRLEN len)); |
591 | VIRTUAL void sv_setsv _((SV* dsv, SV* ssv)); |
592 | VIRTUAL void sv_taint _((SV* sv)); |
593 | VIRTUAL bool sv_tainted _((SV* sv)); |
594 | VIRTUAL int sv_unmagic _((SV* sv, int type)); |
595 | VIRTUAL void sv_unref _((SV* sv)); |
596 | VIRTUAL void sv_untaint _((SV* sv)); |
597 | VIRTUAL bool sv_upgrade _((SV* sv, U32 mt)); |
598 | VIRTUAL void sv_usepvn _((SV* sv, char* ptr, STRLEN len)); |
599 | VIRTUAL void sv_vcatpvfn _((SV* sv, const char* pat, STRLEN patlen, |
46fc3d4c |
600 | va_list* args, SV** svargs, I32 svmax, |
601 | bool *used_locale)); |
76e3520e |
602 | VIRTUAL void sv_vsetpvfn _((SV* sv, const char* pat, STRLEN patlen, |
46fc3d4c |
603 | va_list* args, SV** svargs, I32 svmax, |
604 | bool *used_locale)); |
76e3520e |
605 | VIRTUAL void taint_env _((void)); |
606 | VIRTUAL void taint_proper _((const char* f, char* s)); |
16d20bd9 |
607 | #ifdef UNLINK_ALL_VERSIONS |
76e3520e |
608 | VIRTUAL I32 unlnk _((char* f)); |
16d20bd9 |
609 | #endif |
77a005ab |
610 | #ifdef USE_THREADS |
76e3520e |
611 | VIRTUAL void unlock_condpair _((void* svv)); |
612 | #endif |
0824fdcb |
613 | VIRTUAL void unsharepvn _((char* sv, I32 len, U32 hash)); |
614 | VIRTUAL void unshare_hek _((HEK* hek)); |
615 | VIRTUAL void utilize _((int aver, I32 floor, OP* version, OP* id, OP* arg)); |
616 | VIRTUAL void vivify_defelem _((SV* sv)); |
617 | VIRTUAL void vivify_ref _((SV* sv, U32 to_what)); |
618 | VIRTUAL I32 wait4pid _((int pid, int* statusp, int flags)); |
619 | VIRTUAL void warn _((const char* pat,...)); |
873ef191 |
620 | VIRTUAL void watch _((char** addr)); |
0824fdcb |
621 | VIRTUAL I32 whichsig _((char* sig)); |
622 | VIRTUAL int yyerror _((char* s)); |
623 | VIRTUAL int yylex _((void)); |
624 | VIRTUAL int yyparse _((void)); |
625 | VIRTUAL int yywarn _((char* s)); |
626 | |
627 | #ifndef MYMALLOC |
628 | VIRTUAL Malloc_t safemalloc _((MEM_SIZE nbytes)); |
629 | VIRTUAL Malloc_t safecalloc _((MEM_SIZE elements, MEM_SIZE size)); |
630 | VIRTUAL Malloc_t saferealloc _((Malloc_t where, MEM_SIZE nbytes)); |
631 | VIRTUAL Free_t safefree _((Malloc_t where)); |
bbce6d69 |
632 | #endif |
0824fdcb |
633 | |
55497cff |
634 | #ifdef LEAKTEST |
76e3520e |
635 | VIRTUAL Malloc_t safexmalloc _((I32 x, MEM_SIZE size)); |
636 | VIRTUAL Malloc_t safexcalloc _((I32 x, MEM_SIZE elements, MEM_SIZE size)); |
637 | VIRTUAL Malloc_t safexrealloc _((Malloc_t where, MEM_SIZE size)); |
638 | VIRTUAL void safexfree _((Malloc_t where)); |
55497cff |
639 | #endif |
22239a37 |
640 | |
641 | #ifdef PERL_GLOBAL_STRUCT |
76e3520e |
642 | VIRTUAL struct perl_vars *Perl_GetVars _((void)); |
643 | #endif |
644 | |
645 | #ifdef PERL_OBJECT |
646 | protected: |
647 | void hsplit _((HV *hv)); |
648 | void hfreeentries _((HV *hv)); |
649 | HE* more_he _((void)); |
650 | HE* new_he _((void)); |
651 | void del_he _((HE *p)); |
652 | HEK *save_hek _((char *str, I32 len, U32 hash)); |
653 | SV *mess_alloc _((void)); |
654 | void gv_init_sv _((GV *gv, I32 sv_type)); |
655 | SV *save_scalar_at _((SV **sptr)); |
656 | IV asIV _((SV* sv)); |
657 | UV asUV _((SV* sv)); |
658 | SV *more_sv _((void)); |
659 | XPVIV *more_xiv _((void)); |
660 | XPVNV *more_xnv _((void)); |
661 | XPV *more_xpv _((void)); |
662 | XRV *more_xrv _((void)); |
663 | XPVIV *new_xiv _((void)); |
664 | XPVNV *new_xnv _((void)); |
665 | XPV *new_xpv _((void)); |
666 | XRV *new_xrv _((void)); |
667 | void del_xiv _((XPVIV* p)); |
668 | void del_xnv _((XPVNV* p)); |
669 | void del_xpv _((XPV* p)); |
670 | void del_xrv _((XRV* p)); |
671 | void sv_mortalgrow _((void)); |
672 | void sv_unglob _((SV* sv)); |
673 | void sv_check_thinkfirst _((SV *sv)); |
9d8a25dc |
674 | |
675 | SV *newSVpvn _((char *s, STRLEN len)); |
676 | |
677 | void sv_catpv_mg _((SV *sv, char *ptr)); |
678 | void sv_catpvf_mg _((SV *sv, const char* pat, ...)); |
679 | void sv_catpvn_mg _((SV *sv, char *ptr, STRLEN len)); |
680 | void sv_catsv_mg _((SV *dstr, SV *sstr)); |
681 | void sv_setiv_mg _((SV *sv, IV i)); |
682 | void sv_setnv_mg _((SV *sv, double num)); |
683 | void sv_setsv_mg _((SV *dstr, SV *sstr)); |
684 | void sv_setuv_mg _((SV *sv, UV u)); |
685 | void sv_setpv_mg _((SV *sv, const char *ptr)); |
686 | void sv_setpvf_mg _((SV *sv, const char* pat, ...)); |
687 | void sv_setpviv_mg _((SV *sv, IV iv)); |
688 | void sv_setpvn_mg _((SV *sv, const char *ptr, STRLEN len)); |
689 | void sv_usepvn_mg _((SV *sv, char *ptr, STRLEN len)); |
690 | |
76e3520e |
691 | void do_report_used _((SV *sv)); |
692 | void do_clean_objs _((SV *sv)); |
693 | void do_clean_named_objs _((SV *sv)); |
694 | void do_clean_all _((SV *sv)); |
695 | void not_a_number _((SV *sv)); |
9d8a25dc |
696 | void* my_safemalloc _((MEM_SIZE size)); |
76e3520e |
697 | |
698 | typedef void (CPerlObj::*SVFUNC) _((SV*)); |
699 | void visit _((SVFUNC f)); |
700 | |
565764a8 |
701 | typedef I32 (CPerlObj::*SVCOMPARE) _((SV*, SV*)); |
702 | void qsortsv _((SV ** array, size_t num_elts, SVCOMPARE f)); |
703 | I32 sortcv _((SV *a, SV *b)); |
76e3520e |
704 | void save_magic _((MGS *mgs, SV *sv)); |
705 | int magic_methpack _((SV *sv, MAGIC *mg, char *meth)); |
565764a8 |
706 | int magic_methcall _((MAGIC *mg, char *meth, I32 flags, int n, SV *val)); |
76e3520e |
707 | OP * doform _((CV *cv, GV *gv, OP *retop)); |
708 | void doencodes _((SV* sv, char* s, I32 len)); |
709 | SV* refto _((SV* sv)); |
710 | U32 seed _((void)); |
711 | OP *docatch _((OP *o)); |
712 | OP *dofindlabel _((OP *o, char *label, OP **opstack, OP **oplimit)); |
713 | void doparseform _((SV *sv)); |
714 | I32 dopoptoeval _((I32 startingblock)); |
715 | I32 dopoptolabel _((char *label)); |
716 | I32 dopoptoloop _((I32 startingblock)); |
717 | I32 dopoptosub _((I32 startingblock)); |
718 | void save_lines _((AV *array, SV *sv)); |
719 | OP *doeval _((int gimme, OP** startop)); |
720 | SV *mul128 _((SV *sv, U8 m)); |
721 | SV *is_an_int _((char *s, STRLEN l)); |
722 | int div128 _((SV *pnum, bool *done)); |
723 | |
724 | int runops_standard _((void)); |
76e3520e |
725 | int runops_debug _((void)); |
76e3520e |
726 | void check_uni _((void)); |
727 | void force_next _((I32 type)); |
728 | char *force_version _((char *start)); |
729 | char *force_word _((char *start, int token, int check_keyword, int allow_pack, int allow_tick)); |
730 | SV *tokeq _((SV *sv)); |
731 | char *scan_const _((char *start)); |
732 | char *scan_formline _((char *s)); |
733 | char *scan_heredoc _((char *s)); |
734 | char *scan_ident _((char *s, char *send, char *dest, STRLEN destlen, I32 ck_uni)); |
735 | char *scan_inputsymbol _((char *start)); |
736 | char *scan_pat _((char *start)); |
737 | char *scan_str _((char *start)); |
738 | char *scan_subst _((char *start)); |
739 | char *scan_trans _((char *start)); |
740 | char *scan_word _((char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp)); |
741 | char *skipspace _((char *s)); |
742 | void checkcomma _((char *s, char *name, char *what)); |
743 | void force_ident _((char *s, int kind)); |
744 | void incline _((char *s)); |
745 | int intuit_method _((char *s, GV *gv)); |
746 | int intuit_more _((char *s)); |
747 | I32 lop _((I32 f, expectation x, char *s)); |
748 | void missingterm _((char *s)); |
749 | void no_op _((char *what, char *s)); |
750 | void set_csh _((void)); |
751 | I32 sublex_done _((void)); |
752 | I32 sublex_push _((void)); |
753 | I32 sublex_start _((void)); |
754 | #ifdef CRIPPLED_CC |
755 | int uni _((I32 f, char *s)); |
756 | #endif |
757 | char * filter_gets _((SV *sv, PerlIO *fp, STRLEN append)); |
758 | int ao _((int toketype)); |
759 | void depcom _((void)); |
760 | #ifdef WIN32 |
761 | I32 win32_textfilter _((int idx, SV *sv, int maxlen)); |
762 | #endif |
763 | char* incl_perldb _((void)); |
764 | SV *isa_lookup _((HV *stash, char *name, int len, int level)); |
765 | CV *get_db_sub _((SV **svp, CV *cv)); |
766 | I32 list_assignment _((OP *o)); |
767 | void bad_type _((I32 n, char *t, char *name, OP *kid)); |
768 | OP *modkids _((OP *o, I32 type)); |
769 | OP *no_fh_allowed _((OP *o)); |
770 | OP *scalarboolean _((OP *o)); |
771 | OP *too_few_arguments _((OP *o, char* name)); |
772 | OP *too_many_arguments _((OP *o, char* name)); |
773 | void null _((OP* o)); |
774 | PADOFFSET pad_findlex _((char* name, PADOFFSET newoff, U32 seq, CV* startcv, I32 cx_ix)); |
775 | OP *newDEFSVOP _((void)); |
776 | char* gv_ename _((GV *gv)); |
777 | CV *cv_clone2 _((CV *proto, CV *outside)); |
22239a37 |
778 | |
76e3520e |
779 | void find_beginning _((void)); |
780 | void forbid_setid _((char *)); |
781 | void incpush _((char *, int)); |
782 | void init_ids _((void)); |
783 | void init_debugger _((void)); |
784 | void init_lexer _((void)); |
785 | void init_main_stash _((void)); |
786 | #ifdef USE_THREADS |
787 | struct perl_thread * init_main_thread _((void)); |
788 | #endif /* USE_THREADS */ |
789 | void init_perllib _((void)); |
790 | void init_postdump_symbols _((int, char **, char **)); |
791 | void init_predump_symbols _((void)); |
792 | void my_exit_jump _((void)) __attribute__((noreturn)); |
793 | void nuke_stacks _((void)); |
01f988be |
794 | void open_script _((char *, bool, SV *, int *fd)); |
76e3520e |
795 | void usage _((char *)); |
01f988be |
796 | void validate_suid _((char *, char*, int)); |
76e3520e |
797 | |
798 | regnode *reg _((I32, I32 *)); |
799 | regnode *reganode _((U8, U32)); |
800 | regnode *regatom _((I32 *)); |
801 | regnode *regbranch _((I32 *, I32)); |
802 | void regc _((U8, char *)); |
803 | regnode *regclass _((void)); |
804 | I32 regcurly _((char *)); |
805 | regnode *reg_node _((U8)); |
806 | regnode *regpiece _((I32 *)); |
807 | void reginsert _((U8, regnode *)); |
808 | void regoptail _((regnode *, regnode *)); |
809 | void regset _((char *, I32)); |
810 | void regtail _((regnode *, regnode *)); |
873ef191 |
811 | char* regwhite _((char *, char *)); |
76e3520e |
812 | char* nextchar _((void)); |
813 | regnode *dumpuntil _((regnode *start, regnode *node, regnode *last, SV* sv, I32 l)); |
76e3520e |
814 | void scan_commit _((scan_data_t *data)); |
815 | I32 study_chunk _((regnode **scanp, I32 *deltap, regnode *last, scan_data_t *data, U32 flags)); |
816 | I32 add_data _((I32 n, char *s)); |
817 | void re_croak2 _((const char* pat1,const char* pat2,...)) __attribute__((noreturn)); |
818 | I32 regmatch _((regnode *prog)); |
819 | I32 regrepeat _((regnode *p, I32 max)); |
820 | I32 regrepeat_hard _((regnode *p, I32 max, I32 *lp)); |
821 | I32 regtry _((regexp *prog, char *startpos)); |
822 | bool reginclass _((char *p, I32 c)); |
823 | CHECKPOINT regcppush _((I32 parenfloor)); |
824 | char * regcppop _((void)); |
825 | void dump _((char *pat,...)); |
826 | #ifdef WIN32 |
827 | int do_aspawn _((void *vreally, void **vmark, void **vsp)); |
828 | #endif |
829 | |
830 | #ifdef DEBUGGING |
831 | void del_sv _((SV *p)); |
832 | #endif |
35ff7856 |
833 | void debprof _((OP *o)); |
76e3520e |
834 | |
01f988be |
835 | void *bset_obj_store _((void *obj, I32 ix)); |
01f988be |
836 | OP *new_logop _((I32 type, I32 flags, OP **firstp, OP **otherp)); |
837 | |
838 | #define PPDEF(s) OP* CPerlObj::s _((ARGSproto)); |
9e6b2b00 |
839 | |
76e3520e |
840 | PPDEF(pp_aassign) |
841 | PPDEF(pp_abs) |
842 | PPDEF(pp_accept) |
843 | PPDEF(pp_add) |
844 | PPDEF(pp_aelem) |
845 | PPDEF(pp_aelemfast) |
846 | PPDEF(pp_alarm) |
847 | PPDEF(pp_and) |
848 | PPDEF(pp_andassign) |
849 | PPDEF(pp_anoncode) |
850 | PPDEF(pp_anonhash) |
851 | PPDEF(pp_anonlist) |
852 | PPDEF(pp_aslice) |
853 | PPDEF(pp_atan2) |
854 | PPDEF(pp_av2arylen) |
855 | PPDEF(pp_backtick) |
856 | PPDEF(pp_bind) |
857 | PPDEF(pp_binmode) |
858 | PPDEF(pp_bit_and) |
859 | PPDEF(pp_bit_or) |
860 | PPDEF(pp_bit_xor) |
861 | PPDEF(pp_bless) |
862 | PPDEF(pp_caller) |
863 | PPDEF(pp_chdir) |
864 | PPDEF(pp_chmod) |
865 | PPDEF(pp_chomp) |
866 | PPDEF(pp_chop) |
867 | PPDEF(pp_chown) |
868 | PPDEF(pp_chr) |
869 | PPDEF(pp_chroot) |
870 | PPDEF(pp_close) |
871 | PPDEF(pp_closedir) |
872 | PPDEF(pp_complement) |
873 | PPDEF(pp_concat) |
874 | PPDEF(pp_cond_expr) |
875 | PPDEF(pp_connect) |
876 | PPDEF(pp_const) |
877 | PPDEF(pp_cos) |
878 | PPDEF(pp_crypt) |
879 | PPDEF(pp_cswitch) |
880 | PPDEF(pp_dbmclose) |
881 | PPDEF(pp_dbmopen) |
882 | PPDEF(pp_dbstate) |
883 | PPDEF(pp_defined) |
884 | PPDEF(pp_delete) |
885 | PPDEF(pp_die) |
886 | PPDEF(pp_divide) |
887 | PPDEF(pp_dofile) |
888 | PPDEF(pp_dump) |
889 | PPDEF(pp_each) |
890 | PPDEF(pp_egrent) |
891 | PPDEF(pp_ehostent) |
892 | PPDEF(pp_enetent) |
893 | PPDEF(pp_enter) |
894 | PPDEF(pp_entereval) |
895 | PPDEF(pp_enteriter) |
896 | PPDEF(pp_enterloop) |
897 | PPDEF(pp_entersub) |
898 | PPDEF(pp_entertry) |
899 | PPDEF(pp_enterwrite) |
900 | PPDEF(pp_eof) |
901 | PPDEF(pp_eprotoent) |
902 | PPDEF(pp_epwent) |
903 | PPDEF(pp_eq) |
904 | PPDEF(pp_eservent) |
905 | PPDEF(pp_exec) |
906 | PPDEF(pp_exists) |
907 | PPDEF(pp_exit) |
908 | PPDEF(pp_exp) |
909 | PPDEF(pp_fcntl) |
910 | PPDEF(pp_fileno) |
911 | PPDEF(pp_flip) |
912 | PPDEF(pp_flock) |
913 | PPDEF(pp_flop) |
914 | PPDEF(pp_fork) |
915 | PPDEF(pp_formline) |
916 | PPDEF(pp_ftatime) |
917 | PPDEF(pp_ftbinary) |
918 | PPDEF(pp_ftblk) |
919 | PPDEF(pp_ftchr) |
920 | PPDEF(pp_ftctime) |
921 | PPDEF(pp_ftdir) |
922 | PPDEF(pp_fteexec) |
923 | PPDEF(pp_fteowned) |
924 | PPDEF(pp_fteread) |
925 | PPDEF(pp_ftewrite) |
926 | PPDEF(pp_ftfile) |
927 | PPDEF(pp_ftis) |
928 | PPDEF(pp_ftlink) |
929 | PPDEF(pp_ftmtime) |
930 | PPDEF(pp_ftpipe) |
931 | PPDEF(pp_ftrexec) |
932 | PPDEF(pp_ftrowned) |
933 | PPDEF(pp_ftrread) |
934 | PPDEF(pp_ftrwrite) |
935 | PPDEF(pp_ftsgid) |
936 | PPDEF(pp_ftsize) |
937 | PPDEF(pp_ftsock) |
938 | PPDEF(pp_ftsuid) |
939 | PPDEF(pp_ftsvtx) |
940 | PPDEF(pp_fttext) |
941 | PPDEF(pp_fttty) |
942 | PPDEF(pp_ftzero) |
943 | PPDEF(pp_ge) |
944 | PPDEF(pp_gelem) |
945 | PPDEF(pp_getc) |
946 | PPDEF(pp_getlogin) |
947 | PPDEF(pp_getpeername) |
948 | PPDEF(pp_getpgrp) |
949 | PPDEF(pp_getppid) |
950 | PPDEF(pp_getpriority) |
951 | PPDEF(pp_getsockname) |
952 | PPDEF(pp_ggrent) |
953 | PPDEF(pp_ggrgid) |
954 | PPDEF(pp_ggrnam) |
955 | PPDEF(pp_ghbyaddr) |
956 | PPDEF(pp_ghbyname) |
957 | PPDEF(pp_ghostent) |
958 | PPDEF(pp_glob) |
959 | PPDEF(pp_gmtime) |
960 | PPDEF(pp_gnbyaddr) |
961 | PPDEF(pp_gnbyname) |
962 | PPDEF(pp_gnetent) |
963 | PPDEF(pp_goto) |
964 | PPDEF(pp_gpbyname) |
965 | PPDEF(pp_gpbynumber) |
966 | PPDEF(pp_gprotoent) |
967 | PPDEF(pp_gpwent) |
968 | PPDEF(pp_gpwnam) |
969 | PPDEF(pp_gpwuid) |
970 | PPDEF(pp_grepstart) |
971 | PPDEF(pp_grepwhile) |
972 | PPDEF(pp_gsbyname) |
973 | PPDEF(pp_gsbyport) |
974 | PPDEF(pp_gservent) |
975 | PPDEF(pp_gsockopt) |
976 | PPDEF(pp_gt) |
977 | PPDEF(pp_gv) |
978 | PPDEF(pp_gvsv) |
979 | PPDEF(pp_helem) |
980 | PPDEF(pp_hex) |
981 | PPDEF(pp_hslice) |
982 | PPDEF(pp_i_add) |
983 | PPDEF(pp_i_divide) |
984 | PPDEF(pp_i_eq) |
985 | PPDEF(pp_i_ge) |
986 | PPDEF(pp_i_gt) |
987 | PPDEF(pp_i_le) |
988 | PPDEF(pp_i_lt) |
989 | PPDEF(pp_i_modulo) |
990 | PPDEF(pp_i_multiply) |
991 | PPDEF(pp_i_ncmp) |
992 | PPDEF(pp_i_ne) |
993 | PPDEF(pp_i_negate) |
994 | PPDEF(pp_i_subtract) |
995 | PPDEF(pp_index) |
996 | PPDEF(pp_indread) |
997 | PPDEF(pp_int) |
998 | PPDEF(pp_ioctl) |
999 | PPDEF(pp_iter) |
1000 | PPDEF(pp_join) |
1001 | PPDEF(pp_keys) |
1002 | PPDEF(pp_kill) |
1003 | PPDEF(pp_last) |
1004 | PPDEF(pp_lc) |
1005 | PPDEF(pp_lcfirst) |
1006 | PPDEF(pp_le) |
1007 | PPDEF(pp_leave) |
1008 | PPDEF(pp_leaveeval) |
1009 | PPDEF(pp_leaveloop) |
1010 | PPDEF(pp_leavesub) |
1011 | PPDEF(pp_leavetry) |
1012 | PPDEF(pp_leavewrite) |
1013 | PPDEF(pp_left_shift) |
1014 | PPDEF(pp_length) |
1015 | PPDEF(pp_lineseq) |
1016 | PPDEF(pp_link) |
1017 | PPDEF(pp_list) |
1018 | PPDEF(pp_listen) |
1019 | PPDEF(pp_localtime) |
1020 | PPDEF(pp_lock) |
1021 | PPDEF(pp_log) |
1022 | PPDEF(pp_lslice) |
1023 | PPDEF(pp_lstat) |
1024 | PPDEF(pp_lt) |
1025 | PPDEF(pp_mapstart) |
1026 | PPDEF(pp_mapwhile) |
1027 | PPDEF(pp_match) |
1028 | PPDEF(pp_method) |
1029 | PPDEF(pp_mkdir) |
1030 | PPDEF(pp_modulo) |
1031 | PPDEF(pp_msgctl) |
1032 | PPDEF(pp_msgget) |
1033 | PPDEF(pp_msgrcv) |
1034 | PPDEF(pp_msgsnd) |
1035 | PPDEF(pp_multiply) |
1036 | PPDEF(pp_ncmp) |
1037 | PPDEF(pp_ne) |
1038 | PPDEF(pp_negate) |
1039 | PPDEF(pp_next) |
1040 | PPDEF(pp_nextstate) |
1041 | PPDEF(pp_not) |
1042 | PPDEF(pp_nswitch) |
1043 | PPDEF(pp_null) |
1044 | PPDEF(pp_oct) |
1045 | PPDEF(pp_open) |
1046 | PPDEF(pp_open_dir) |
1047 | PPDEF(pp_or) |
1048 | PPDEF(pp_orassign) |
1049 | PPDEF(pp_ord) |
1050 | PPDEF(pp_pack) |
1051 | PPDEF(pp_padany) |
1052 | PPDEF(pp_padav) |
1053 | PPDEF(pp_padhv) |
1054 | PPDEF(pp_padsv) |
1055 | PPDEF(pp_pipe_op) |
1056 | PPDEF(pp_pop) |
1057 | PPDEF(pp_pos) |
1058 | PPDEF(pp_postdec) |
1059 | PPDEF(pp_postinc) |
1060 | PPDEF(pp_pow) |
1061 | PPDEF(pp_predec) |
1062 | PPDEF(pp_preinc) |
1063 | PPDEF(pp_print) |
1064 | PPDEF(pp_prototype) |
1065 | PPDEF(pp_prtf) |
1066 | PPDEF(pp_push) |
1067 | PPDEF(pp_pushmark) |
1068 | PPDEF(pp_pushre) |
1069 | PPDEF(pp_quotemeta) |
1070 | PPDEF(pp_rand) |
1071 | PPDEF(pp_range) |
1072 | PPDEF(pp_rcatline) |
1073 | PPDEF(pp_read) |
1074 | PPDEF(pp_readdir) |
1075 | PPDEF(pp_readline) |
1076 | PPDEF(pp_readlink) |
1077 | PPDEF(pp_recv) |
1078 | PPDEF(pp_redo) |
1079 | PPDEF(pp_ref) |
1080 | PPDEF(pp_refgen) |
1081 | PPDEF(pp_regcmaybe) |
1082 | PPDEF(pp_regcomp) |
1083 | PPDEF(pp_rename) |
1084 | PPDEF(pp_repeat) |
1085 | PPDEF(pp_require) |
1086 | PPDEF(pp_reset) |
1087 | PPDEF(pp_return) |
1088 | PPDEF(pp_reverse) |
1089 | PPDEF(pp_rewinddir) |
1090 | PPDEF(pp_right_shift) |
1091 | PPDEF(pp_rindex) |
1092 | PPDEF(pp_rmdir) |
1093 | PPDEF(pp_rv2av) |
1094 | PPDEF(pp_rv2cv) |
1095 | PPDEF(pp_rv2gv) |
1096 | PPDEF(pp_rv2hv) |
1097 | PPDEF(pp_rv2sv) |
1098 | PPDEF(pp_sassign) |
1099 | PPDEF(pp_scalar) |
1100 | PPDEF(pp_schomp) |
1101 | PPDEF(pp_schop) |
1102 | PPDEF(pp_scmp) |
1103 | PPDEF(pp_scope) |
1104 | PPDEF(pp_seek) |
1105 | PPDEF(pp_seekdir) |
1106 | PPDEF(pp_select) |
1107 | PPDEF(pp_semctl) |
1108 | PPDEF(pp_semget) |
1109 | PPDEF(pp_semop) |
1110 | PPDEF(pp_send) |
1111 | PPDEF(pp_seq) |
1112 | PPDEF(pp_setpgrp) |
1113 | PPDEF(pp_setpriority) |
1114 | PPDEF(pp_sge) |
1115 | PPDEF(pp_sgrent) |
1116 | PPDEF(pp_sgt) |
1117 | PPDEF(pp_shift) |
1118 | PPDEF(pp_shmctl) |
1119 | PPDEF(pp_shmget) |
1120 | PPDEF(pp_shmread) |
1121 | PPDEF(pp_shmwrite) |
1122 | PPDEF(pp_shostent) |
1123 | PPDEF(pp_shutdown) |
1124 | PPDEF(pp_sin) |
1125 | PPDEF(pp_sle) |
1126 | PPDEF(pp_sleep) |
1127 | PPDEF(pp_slt) |
1128 | PPDEF(pp_sne) |
1129 | PPDEF(pp_snetent) |
1130 | PPDEF(pp_socket) |
1131 | PPDEF(pp_sockpair) |
1132 | PPDEF(pp_sort) |
1133 | PPDEF(pp_splice) |
1134 | PPDEF(pp_split) |
1135 | PPDEF(pp_sprintf) |
1136 | PPDEF(pp_sprotoent) |
1137 | PPDEF(pp_spwent) |
1138 | PPDEF(pp_sqrt) |
1139 | PPDEF(pp_srand) |
1140 | PPDEF(pp_srefgen) |
1141 | PPDEF(pp_sselect) |
1142 | PPDEF(pp_sservent) |
1143 | PPDEF(pp_ssockopt) |
1144 | PPDEF(pp_stat) |
1145 | PPDEF(pp_stringify) |
1146 | PPDEF(pp_stub) |
1147 | PPDEF(pp_study) |
1148 | PPDEF(pp_subst) |
1149 | PPDEF(pp_substcont) |
1150 | PPDEF(pp_substr) |
1151 | PPDEF(pp_subtract) |
1152 | PPDEF(pp_symlink) |
1153 | PPDEF(pp_syscall) |
1154 | PPDEF(pp_sysopen) |
1155 | PPDEF(pp_sysread) |
1156 | PPDEF(pp_sysseek) |
1157 | PPDEF(pp_system) |
1158 | PPDEF(pp_syswrite) |
1159 | PPDEF(pp_tell) |
1160 | PPDEF(pp_telldir) |
1161 | PPDEF(pp_threadsv) |
1162 | PPDEF(pp_tie) |
1163 | PPDEF(pp_tied) |
1164 | PPDEF(pp_time) |
1165 | PPDEF(pp_tms) |
1166 | PPDEF(pp_trans) |
1167 | PPDEF(pp_truncate) |
1168 | PPDEF(pp_uc) |
1169 | PPDEF(pp_ucfirst) |
1170 | PPDEF(pp_umask) |
1171 | PPDEF(pp_undef) |
1172 | PPDEF(pp_unlink) |
1173 | PPDEF(pp_unpack) |
1174 | PPDEF(pp_unshift) |
1175 | PPDEF(pp_unstack) |
1176 | PPDEF(pp_untie) |
1177 | PPDEF(pp_utime) |
1178 | PPDEF(pp_values) |
1179 | PPDEF(pp_vec) |
1180 | PPDEF(pp_wait) |
1181 | PPDEF(pp_waitpid) |
1182 | PPDEF(pp_wantarray) |
1183 | PPDEF(pp_warn) |
1184 | PPDEF(pp_xor) |
1185 | |
1186 | OP * ck_ftst _((OP *o)); |
1187 | OP *ck_anoncode _((OP *o)); |
1188 | OP *ck_bitop _((OP *o)); |
1189 | OP *ck_concat _((OP *o)); |
1190 | OP *ck_spair _((OP *o)); |
1191 | OP *ck_delete _((OP *o)); |
1192 | OP *ck_eof _((OP *o)); |
1193 | OP *ck_eval _((OP *o)); |
1194 | OP *ck_exec _((OP *o)); |
1195 | OP *ck_exists _((OP *o)); |
1196 | OP *ck_rvconst _((OP *o)); |
1197 | OP *ck_fun _((OP *o)); |
1198 | OP *ck_glob _((OP *o)); |
1199 | OP *ck_grep _((OP *o)); |
1200 | OP *ck_index _((OP *o)); |
1201 | OP *ck_lengthconst _((OP *o)); |
1202 | OP *ck_lfun _((OP *o)); |
1203 | OP *ck_rfun _((OP *o)); |
1204 | OP *ck_listiob _((OP *o)); |
1205 | OP *ck_fun_locale _((OP *o)); |
1206 | OP *ck_scmp _((OP *o)); |
1207 | OP *ck_match _((OP *o)); |
1208 | OP *ck_null _((OP *o)); |
1209 | OP *ck_repeat _((OP *o)); |
1210 | OP *ck_require _((OP *o)); |
1211 | OP *ck_select _((OP *o)); |
1212 | OP *ck_shift _((OP *o)); |
1213 | OP *ck_sort _((OP *o)); |
1214 | OP *ck_split _((OP *o)); |
1215 | OP *ck_subr _((OP *o)); |
1216 | OP *ck_svconst _((OP *o)); |
1217 | OP *ck_trunc _((OP *o)); |
1218 | void unwind_handler_stack _((void *p)); |
1219 | void restore_magic _((void *p)); |
1220 | void restore_rsfp _((void *f)); |
7fae4e64 |
1221 | void restore_expect _((void *e)); |
1222 | void restore_lex_expect _((void *e)); |
76e3520e |
1223 | void yydestruct _((void *ptr)); |
e3b8966e |
1224 | VIRTUAL int fprintf _((PerlIO *pf, const char *pat, ...)); |
51aa15f3 |
1225 | VIRTUAL SV** get_specialsv_list _((void)); |
76e3520e |
1226 | |
1227 | #ifdef WIN32 |
e3b8966e |
1228 | VIRTUAL int& ErrorNo _((void)); |
76e3520e |
1229 | #endif /* WIN32 */ |
1230 | #else /* !PERL_OBJECT */ |
22239a37 |
1231 | END_EXTERN_C |
76e3520e |
1232 | #endif /* PERL_OBJECT */ |
1233 | |
1a90ebb2 |
1234 | #ifdef PERL_OBJECT |
1235 | public: |
1236 | #endif |
1237 | #ifdef INDIRECT_BGET_MACROS |
1238 | VIRTUAL void byterun _((struct bytestream bs)); |
1239 | #else |
1240 | VIRTUAL void byterun _((PerlIO *fp)); |
1241 | #endif /* INDIRECT_BGET_MACROS */ |
1242 | |