Commit | Line | Data |
fed7345c |
1 | #ifndef NEXT30_NO_ATTRIBUTE |
ecfc5424 |
2 | #ifndef HASATTRIBUTE /* disable GNU-cc attribute checking? */ |
3 | #ifdef __attribute__ /* Avoid possible redefinition errors */ |
a0d0e21e |
4 | #undef __attribute__ |
ecfc5424 |
5 | #endif |
a0d0e21e |
6 | #define __attribute__(attr) |
fed7345c |
7 | #endif |
a0d0e21e |
8 | #endif |
9 | #ifdef OVERLOAD |
10 | SV* amagic_call _((SV* left,SV* right,int method,int dir)); |
748a9306 |
11 | bool Gv_AMupdate _((HV* stash)); |
a0d0e21e |
12 | #endif /* OVERLOAD */ |
13 | OP* append_elem _((I32 optype, OP* head, OP* tail)); |
14 | OP* append_list _((I32 optype, LISTOP* first, LISTOP* last)); |
15 | I32 apply _((I32 type, SV** mark, SV** sp)); |
16 | void assertref _((OP* op)); |
17 | void av_clear _((AV* ar)); |
18 | void av_extend _((AV* ar, I32 key)); |
19 | AV* av_fake _((I32 size, SV** svp)); |
20 | SV** av_fetch _((AV* ar, I32 key, I32 lval)); |
21 | void av_fill _((AV* ar, I32 fill)); |
22 | I32 av_len _((AV* ar)); |
23 | AV* av_make _((I32 size, SV** svp)); |
24 | SV* av_pop _((AV* ar)); |
25 | void av_push _((AV* ar, SV* val)); |
26 | SV* av_shift _((AV* ar)); |
27 | SV** av_store _((AV* ar, I32 key, SV* val)); |
28 | void av_undef _((AV* ar)); |
29 | void av_unshift _((AV* ar, I32 num)); |
30 | OP* bind_match _((I32 type, OP* left, OP* pat)); |
31 | OP* block_end _((int line, int floor, OP* seq)); |
32 | int block_start _((void)); |
33 | void calllist _((AV* list)); |
34 | I32 cando _((I32 bit, I32 effective, struct stat* statbufp)); |
35 | #ifndef CASTNEGFLOAT |
36 | U32 cast_ulong _((double f)); |
37 | #endif |
38 | #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP) |
39 | I32 chsize _((int fd, Off_t length)); |
40 | #endif |
41 | OP * ck_gvconst _((OP * o)); |
42 | OP * ck_retarget _((OP *op)); |
43 | OP* convert _((I32 optype, I32 flags, OP* op)); |
44 | char* cpytill _((char* to, char* from, char* fromend, int delim, I32* retlen)); |
45 | void croak _((char* pat,...)) __attribute__((format(printf,1,2),noreturn)); |
748a9306 |
46 | CV* cv_clone _((CV* proto)); |
a0d0e21e |
47 | void cv_undef _((CV* cv)); |
48 | #ifdef DEBUGGING |
49 | void cx_dump _((CONTEXT* cs)); |
50 | #endif |
16d20bd9 |
51 | SV * filter_add _((filter_t funcp, SV *datasv)); |
52 | void filter_del _((filter_t funcp)); |
53 | I32 filter_read _((int idx, SV *buffer, int maxlen)); |
a0d0e21e |
54 | I32 cxinc _((void)); |
55 | void deb _((char* pat,...)) __attribute__((format(printf,1,2))); |
56 | void deb_growlevel _((void)); |
57 | I32 debop _((OP* op)); |
58 | I32 debstackptrs _((void)); |
59 | #ifdef DEBUGGING |
60 | void debprofdump _((void)); |
61 | #endif |
62 | I32 debstack _((void)); |
63 | void deprecate _((char* s)); |
64 | OP* die _((char* pat,...)) __attribute__((format(printf,1,2))); |
65 | OP* die_where _((char* message)); |
66 | void dounwind _((I32 cxix)); |
67 | bool do_aexec _((SV* really, SV** mark, SV** sp)); |
68 | void do_chop _((SV* asv, SV* sv)); |
69 | bool do_close _((GV* gv, bool explicit)); |
70 | bool do_eof _((GV* gv)); |
71 | bool do_exec _((char* cmd)); |
72 | void do_execfree _((void)); |
73 | #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM) |
74 | I32 do_ipcctl _((I32 optype, SV** mark, SV** sp)); |
75 | I32 do_ipcget _((I32 optype, SV** mark, SV** sp)); |
76 | #endif |
77 | void do_join _((SV* sv, SV* del, SV** mark, SV** sp)); |
78 | OP* do_kv _((void)); |
79 | #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM) |
80 | I32 do_msgrcv _((SV** mark, SV** sp)); |
81 | I32 do_msgsnd _((SV** mark, SV** sp)); |
82 | #endif |
83 | bool do_open _((GV* gv, char* name, I32 len, FILE* supplied_fp)); |
84 | void do_pipe _((SV* sv, GV* rgv, GV* wgv)); |
85 | bool do_print _((SV* sv, FILE* fp)); |
86 | OP * do_readline _((void)); |
87 | I32 do_chomp _((SV* sv)); |
88 | bool do_seek _((GV* gv, long pos, int whence)); |
89 | #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM) |
90 | I32 do_semop _((SV** mark, SV** sp)); |
91 | I32 do_shmio _((I32 optype, SV** mark, SV** sp)); |
92 | #endif |
93 | void do_sprintf _((SV* sv, I32 len, SV** sarg)); |
94 | long do_tell _((GV* gv)); |
95 | I32 do_trans _((SV* sv, OP* arg)); |
96 | void do_vecset _((SV* sv)); |
97 | void do_vop _((I32 optype, SV* sv, SV* left, SV* right)); |
e50aee73 |
98 | I32 dowantarray _((void)); |
a0d0e21e |
99 | void dump_all _((void)); |
100 | void dump_eval _((void)); |
748a9306 |
101 | #ifdef DUMP_FDS /* See util.c */ |
a0d0e21e |
102 | int dump_fds _((char* s)); |
103 | #endif |
104 | void dump_form _((GV* gv)); |
105 | void dump_gv _((GV* gv)); |
106 | void dump_op _((OP* arg)); |
107 | void dump_pm _((PMOP* pm)); |
108 | void dump_packsubs _((HV* stash)); |
109 | void dump_sub _((GV* gv)); |
110 | void fbm_compile _((SV* sv, I32 iflag)); |
111 | char* fbm_instr _((unsigned char* big, unsigned char* bigend, SV* littlesv)); |
112 | OP* force_list _((OP* arg)); |
113 | OP* fold_constants _((OP * arg)); |
114 | void free_tmps _((void)); |
115 | OP* gen_constant_list _((OP* op)); |
116 | void gp_free _((GV* gv)); |
117 | GP* gp_ref _((GP* gp)); |
118 | GV* gv_AVadd _((GV* gv)); |
119 | GV* gv_HVadd _((GV* gv)); |
120 | GV* gv_IOadd _((GV* gv)); |
121 | void gv_check _((HV* stash)); |
122 | void gv_efullname _((SV* sv, GV* gv)); |
123 | GV* gv_fetchfile _((char* name)); |
124 | GV* gv_fetchmeth _((HV* stash, char* name, STRLEN len, I32 level)); |
125 | GV* gv_fetchmethod _((HV* stash, char* name)); |
126 | GV* gv_fetchpv _((char* name, I32 add, I32 sv_type)); |
127 | void gv_fullname _((SV* sv, GV* gv)); |
128 | void gv_init _((GV *gv, HV *stash, char *name, STRLEN len, int multi)); |
129 | HV* gv_stashpv _((char* name, I32 create)); |
130 | HV* gv_stashsv _((SV* sv, I32 create)); |
131 | void he_delayfree _((HE* hent)); |
132 | void he_free _((HE* hent)); |
133 | void hoistmust _((PMOP* pm)); |
134 | void hv_clear _((HV* tb)); |
748a9306 |
135 | SV* hv_delete _((HV* tb, char* key, U32 klen, I32 flags)); |
a0d0e21e |
136 | bool hv_exists _((HV* tb, char* key, U32 klen)); |
137 | SV** hv_fetch _((HV* tb, char* key, U32 klen, I32 lval)); |
138 | I32 hv_iterinit _((HV* tb)); |
139 | char* hv_iterkey _((HE* entry, I32* retlen)); |
140 | HE* hv_iternext _((HV* tb)); |
141 | SV * hv_iternextsv _((HV* hv, char** key, I32* retlen)); |
142 | SV* hv_iterval _((HV* tb, HE* entry)); |
143 | void hv_magic _((HV* hv, GV* gv, int how)); |
144 | SV** hv_store _((HV* tb, char* key, U32 klen, SV* val, U32 hash)); |
145 | void hv_undef _((HV* tb)); |
146 | I32 ibcmp _((U8* a, U8* b, I32 len)); |
147 | I32 ingroup _((I32 testgid, I32 effective)); |
148 | char* instr _((char* big, char* little)); |
149 | OP* invert _((OP* cmd)); |
150 | OP* jmaybe _((OP* arg)); |
151 | I32 keyword _((char* d, I32 len)); |
152 | void leave_scope _((I32 base)); |
153 | void lex_end _((void)); |
154 | void lex_start _((SV *line)); |
155 | OP* linklist _((OP* op)); |
156 | OP* list _((OP* o)); |
157 | OP* listkids _((OP* o)); |
158 | OP* localize _((OP* arg, I32 lexical)); |
159 | I32 looks_like_number _((SV* sv)); |
160 | int magic_clearenv _((SV* sv, MAGIC* mg)); |
161 | int magic_clearpack _((SV* sv, MAGIC* mg)); |
162 | int magic_existspack _((SV* sv, MAGIC* mg)); |
163 | int magic_get _((SV* sv, MAGIC* mg)); |
164 | int magic_getarylen _((SV* sv, MAGIC* mg)); |
165 | int magic_getpack _((SV* sv, MAGIC* mg)); |
166 | int magic_getglob _((SV* sv, MAGIC* mg)); |
167 | int magic_getpos _((SV* sv, MAGIC* mg)); |
168 | int magic_gettaint _((SV* sv, MAGIC* mg)); |
169 | int magic_getuvar _((SV* sv, MAGIC* mg)); |
170 | U32 magic_len _((SV* sv, MAGIC* mg)); |
171 | int magic_nextpack _((SV* sv, MAGIC* mg, SV* key)); |
172 | int magic_set _((SV* sv, MAGIC* mg)); |
173 | #ifdef OVERLOAD |
174 | int magic_setamagic _((SV* sv, MAGIC* mg)); |
175 | #endif /* OVERLOAD */ |
176 | int magic_setarylen _((SV* sv, MAGIC* mg)); |
177 | int magic_setbm _((SV* sv, MAGIC* mg)); |
178 | int magic_setdbline _((SV* sv, MAGIC* mg)); |
179 | int magic_setenv _((SV* sv, MAGIC* mg)); |
180 | int magic_setisa _((SV* sv, MAGIC* mg)); |
181 | int magic_setglob _((SV* sv, MAGIC* mg)); |
182 | int magic_setmglob _((SV* sv, MAGIC* mg)); |
183 | int magic_setpack _((SV* sv, MAGIC* mg)); |
184 | int magic_setpos _((SV* sv, MAGIC* mg)); |
185 | int magic_setsig _((SV* sv, MAGIC* mg)); |
186 | int magic_setsubstr _((SV* sv, MAGIC* mg)); |
187 | int magic_settaint _((SV* sv, MAGIC* mg)); |
188 | int magic_setuvar _((SV* sv, MAGIC* mg)); |
189 | int magic_setvec _((SV* sv, MAGIC* mg)); |
190 | int magic_wipepack _((SV* sv, MAGIC* mg)); |
191 | void magicname _((char* sym, char* name, I32 namlen)); |
192 | int main _((int argc, char** argv, char** env)); |
4633a7c4 |
193 | #if !defined(STANDARD_C) |
a0d0e21e |
194 | Malloc_t malloc _((MEM_SIZE nbytes)); |
93a17b20 |
195 | #endif |
4633a7c4 |
196 | #if defined(MYMALLOC) && defined(HIDEMYMALLOC) |
197 | extern Malloc_t malloc _((MEM_SIZE nbytes)); |
198 | extern Malloc_t realloc _((Malloc_t, MEM_SIZE)); |
199 | extern Free_t free _((Malloc_t)); |
200 | #endif |
a0d0e21e |
201 | void markstack_grow _((void)); |
202 | char* mess _((char* pat, va_list* args)); |
203 | int mg_clear _((SV* sv)); |
204 | int mg_copy _((SV *, SV *, char *, STRLEN)); |
205 | MAGIC* mg_find _((SV* sv, int type)); |
206 | int mg_free _((SV* sv)); |
207 | int mg_get _((SV* sv)); |
208 | U32 mg_len _((SV* sv)); |
209 | void mg_magical _((SV* sv)); |
210 | int mg_set _((SV* sv)); |
211 | OP* mod _((OP* op, I32 type)); |
212 | char* moreswitches _((char* s)); |
85e6fe83 |
213 | #ifdef MSTATS |
a0d0e21e |
214 | void mstats _((char* s)); |
215 | #endif |
216 | OP * my _(( OP *)); |
217 | char* my_bcopy _((char* from, char* to, I32 len)); |
218 | #if !defined(HAS_BZERO) && !defined(HAS_MEMSET) |
219 | char* my_bzero _((char* loc, I32 len)); |
85e6fe83 |
220 | #endif |
748a9306 |
221 | void my_exit _((U32 status)) __attribute__((noreturn)); |
a0d0e21e |
222 | I32 my_lstat _((void)); |
223 | #ifndef HAS_MEMCMP |
224 | I32 my_memcmp _((unsigned char* s1, unsigned char* s2, I32 len)); |
225 | #endif |
226 | I32 my_pclose _((FILE* ptr)); |
227 | FILE* my_popen _((char* cmd, char* mode)); |
228 | void my_setenv _((char* nam, char* val)); |
229 | I32 my_stat _((void)); |
230 | #ifdef MYSWAP |
231 | short my_swap _((short s)); |
748a9306 |
232 | long my_htonl _((long l)); |
233 | long my_ntohl _((long l)); |
a0d0e21e |
234 | #endif |
235 | void my_unexec _((void)); |
236 | OP* newANONLIST _((OP* op)); |
237 | OP* newANONHASH _((OP* op)); |
4633a7c4 |
238 | OP* newANONSUB _((I32 floor, OP* proto, OP* block)); |
a0d0e21e |
239 | OP* newASSIGNOP _((I32 flags, OP* left, I32 optype, OP* right)); |
1aef975c |
240 | OP* newCONDOP _((I32 flags, OP* expr, OP* trueop, OP* falseop)); |
a0d0e21e |
241 | void newFORM _((I32 floor, OP* op, OP* block)); |
242 | OP* newFOROP _((I32 flags, char* label, line_t forline, OP* scalar, OP* expr, OP*block, OP*cont)); |
243 | OP* newLOGOP _((I32 optype, I32 flags, OP* left, OP* right)); |
244 | OP* newLOOPEX _((I32 type, OP* label)); |
245 | OP* newLOOPOP _((I32 flags, I32 debuggable, OP* expr, OP* block)); |
246 | OP* newMETHOD _((OP* ref, OP* name)); |
247 | OP* newNULLLIST _((void)); |
248 | OP* newOP _((I32 optype, I32 flags)); |
249 | void newPROG _((OP* op)); |
250 | OP* newRANGE _((I32 flags, OP* left, OP* right)); |
251 | OP* newSLICEOP _((I32 flags, OP* subscript, OP* list)); |
252 | OP* newSTATEOP _((I32 flags, char* label, OP* o)); |
4633a7c4 |
253 | CV* newSUB _((I32 floor, OP* op, OP* proto, OP* block)); |
a0d0e21e |
254 | CV* newXS _((char *name, void (*subaddr)(CV* cv), char *filename)); |
255 | #ifdef DEPRECATED |
256 | CV* newXSUB _((char *name, I32 ix, I32 (*subaddr)(int,int,int), char *filename)); |
257 | #endif |
258 | AV* newAV _((void)); |
259 | OP* newAVREF _((OP* o)); |
260 | OP* newBINOP _((I32 type, I32 flags, OP* first, OP* last)); |
261 | OP* newCVREF _((OP* o)); |
262 | OP* newCVOP _((I32 type, I32 flags, CV* cv, OP* cont)); |
263 | OP* newGVOP _((I32 type, I32 flags, GV* gv)); |
264 | GV* newGVgen _((char *pack)); |
265 | OP* newGVREF _((I32 type, OP* o)); |
266 | OP* newHVREF _((OP* o)); |
267 | HV* newHV _((void)); |
268 | IO* newIO _((void)); |
269 | OP* newLISTOP _((I32 type, I32 flags, OP* first, OP* last)); |
270 | OP* newPMOP _((I32 type, I32 flags)); |
271 | OP* newPVOP _((I32 type, I32 flags, char* pv)); |
272 | SV* newRV _((SV* ref)); |
79072805 |
273 | #ifdef LEAKTEST |
a0d0e21e |
274 | SV* newSV _((I32 x, STRLEN len)); |
79072805 |
275 | #else |
a0d0e21e |
276 | SV* newSV _((STRLEN len)); |
79072805 |
277 | #endif |
a0d0e21e |
278 | OP* newSVREF _((OP* o)); |
279 | OP* newSVOP _((I32 type, I32 flags, SV* sv)); |
280 | SV* newSViv _((IV i)); |
281 | SV* newSVnv _((double n)); |
282 | SV* newSVpv _((char* s, STRLEN len)); |
283 | SV* newSVrv _((SV* rv, char* classname)); |
284 | SV* newSVsv _((SV* old)); |
285 | OP* newUNOP _((I32 type, I32 flags, OP* first)); |
286 | OP * newWHILEOP _((I32 flags, I32 debuggable, LOOP* loop, OP* expr, OP* block, OP* cont)); |
287 | FILE* nextargv _((GV* gv)); |
288 | char* ninstr _((char* big, char* bigend, char* little, char* lend)); |
289 | OP * oopsCV _((OP* o)); |
290 | void op_free _((OP* arg)); |
291 | void package _((OP* op)); |
292 | PADOFFSET pad_alloc _((I32 optype, U32 tmptype)); |
293 | PADOFFSET pad_allocmy _((char* name)); |
294 | PADOFFSET pad_findmy _((char* name)); |
295 | OP* oopsAV _((OP* o)); |
296 | OP* oopsHV _((OP* o)); |
297 | void pad_leavemy _((I32 fill)); |
298 | SV* pad_sv _((PADOFFSET po)); |
299 | void pad_free _((PADOFFSET po)); |
300 | void pad_reset _((void)); |
301 | void pad_swipe _((PADOFFSET po)); |
302 | void peep _((OP* op)); |
303 | PerlInterpreter* perl_alloc _((void)); |
304 | I32 perl_call_argv _((char* subname, I32 flags, char** argv)); |
305 | I32 perl_call_method _((char* methname, I32 flags)); |
306 | I32 perl_call_pv _((char* subname, I32 flags)); |
307 | I32 perl_call_sv _((SV* sv, I32 flags)); |
a0d0e21e |
308 | void perl_construct _((PerlInterpreter* sv_interp)); |
748a9306 |
309 | void perl_destruct _((PerlInterpreter* sv_interp)); |
4633a7c4 |
310 | I32 perl_eval_sv _((SV* sv, I32 flags)); |
a0d0e21e |
311 | void perl_free _((PerlInterpreter* sv_interp)); |
312 | SV* perl_get_sv _((char* name, I32 create)); |
313 | AV* perl_get_av _((char* name, I32 create)); |
314 | HV* perl_get_hv _((char* name, I32 create)); |
315 | CV* perl_get_cv _((char* name, I32 create)); |
316 | int perl_parse _((PerlInterpreter* sv_interp, void(*xsinit)(void), int argc, char** argv, char** env)); |
4633a7c4 |
317 | void perl_require_pv _((char* pv)); |
318 | #define perl_requirepv perl_require_pv |
a0d0e21e |
319 | int perl_run _((PerlInterpreter* sv_interp)); |
320 | void pidgone _((int pid, int status)); |
321 | void pmflag _((U16* pmfl, int ch)); |
322 | OP* pmruntime _((OP* pm, OP* expr, OP* repl)); |
323 | OP* pmtrans _((OP* op, OP* expr, OP* repl)); |
324 | OP* pop_return _((void)); |
325 | void pop_scope _((void)); |
326 | OP* prepend_elem _((I32 optype, OP* head, OP* tail)); |
327 | void push_return _((OP* op)); |
328 | void push_scope _((void)); |
e50aee73 |
329 | regexp* pregcomp _((char* exp, char* xend, PMOP* pm)); |
a0d0e21e |
330 | OP* ref _((OP* op, I32 type)); |
331 | OP* refkids _((OP* op, I32 type)); |
332 | void regdump _((regexp* r)); |
e50aee73 |
333 | I32 pregexec _((regexp* prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, I32 safebase)); |
334 | void pregfree _((struct regexp* r)); |
a0d0e21e |
335 | char* regnext _((char* p)); |
336 | char* regprop _((char* op)); |
337 | void repeatcpy _((char* to, char* from, I32 len, I32 count)); |
338 | char* rninstr _((char* big, char* bigend, char* little, char* lend)); |
339 | int run _((void)); |
79072805 |
340 | #ifndef safemalloc |
a0d0e21e |
341 | void safefree _((char* where)); |
342 | char* safemalloc _((MEM_SIZE size)); |
85e6fe83 |
343 | #ifndef MSDOS |
a0d0e21e |
344 | char* saferealloc _((char* where, MEM_SIZE size)); |
85e6fe83 |
345 | #else |
a0d0e21e |
346 | char* saferealloc _((char* where, unsigned long size)); |
347 | #endif |
348 | #endif |
349 | #ifdef LEAKTEST |
350 | void safexfree _((char* where)); |
351 | char* safexmalloc _((I32 x, MEM_SIZE size)); |
352 | char* safexrealloc _((char* where, MEM_SIZE size)); |
353 | #endif |
354 | #ifndef HAS_RENAME |
355 | I32 same_dirent _((char* a, char* b)); |
356 | #endif |
357 | char* savepv _((char* sv)); |
358 | char* savepvn _((char* sv, I32 len)); |
359 | void savestack_grow _((void)); |
360 | void save_aptr _((AV** aptr)); |
361 | AV* save_ary _((GV* gv)); |
362 | void save_clearsv _((SV** svp)); |
363 | void save_delete _((HV* hv, char* key, I32 klen)); |
364 | #ifndef titan /* TitanOS cc can't handle this */ |
365 | void save_destructor _((void (*f)(void*), void* p)); |
366 | #endif /* titan */ |
367 | void save_freesv _((SV* sv)); |
368 | void save_freeop _((OP* op)); |
369 | void save_freepv _((char* pv)); |
370 | HV* save_hash _((GV* gv)); |
371 | void save_hptr _((HV** hptr)); |
372 | void save_I32 _((I32* intp)); |
373 | void save_int _((int* intp)); |
374 | void save_item _((SV* item)); |
375 | void save_list _((SV** sarg, I32 maxsarg)); |
376 | void save_long _((long *longp)); |
377 | void save_nogv _((GV* gv)); |
378 | SV* save_scalar _((GV* gv)); |
379 | void save_pptr _((char **pptr)); |
380 | void save_sptr _((SV** sptr)); |
381 | SV* save_svref _((SV** sptr)); |
382 | OP* sawparens _((OP* o)); |
383 | OP* scalar _((OP* o)); |
384 | OP* scalarkids _((OP* op)); |
385 | OP* scalarseq _((OP* o)); |
386 | OP* scalarvoid _((OP* op)); |
387 | unsigned long scan_hex _((char* start, I32 len, I32* retlen)); |
388 | char* scan_num _((char* s)); |
389 | unsigned long scan_oct _((char* start, I32 len, I32* retlen)); |
a0d0e21e |
390 | OP* scope _((OP* o)); |
391 | char* screaminstr _((SV* bigsv, SV* littlesv)); |
392 | #ifndef VMS |
393 | I32 setenv_getix _((char* nam)); |
85e6fe83 |
394 | #endif |
4633a7c4 |
395 | void setdefout _((GV *gv)); |
ecfc5424 |
396 | Signal_t sighandler _((int sig)); |
a0d0e21e |
397 | SV** stack_grow _((SV** sp, SV**p, int n)); |
398 | int start_subparse _((void)); |
399 | bool sv_2bool _((SV* sv)); |
400 | CV* sv_2cv _((SV* sv, HV** st, GV** gvp, I32 lref)); |
401 | IO* sv_2io _((SV* sv)); |
402 | IV sv_2iv _((SV* sv)); |
403 | SV* sv_2mortal _((SV* sv)); |
404 | double sv_2nv _((SV* sv)); |
405 | char* sv_2pv _((SV* sv, STRLEN* lp)); |
4633a7c4 |
406 | void sv_add_arena _((char* ptr, U32 size, U32 flags)); |
a0d0e21e |
407 | int sv_backoff _((SV* sv)); |
408 | SV* sv_bless _((SV* sv, HV* stash)); |
409 | void sv_catpv _((SV* sv, char* ptr)); |
410 | void sv_catpvn _((SV* sv, char* ptr, STRLEN len)); |
411 | void sv_catsv _((SV* dsv, SV* ssv)); |
412 | void sv_chop _((SV* sv, char* ptr)); |
413 | void sv_clean_all _((void)); |
414 | void sv_clean_objs _((void)); |
415 | void sv_clear _((SV* sv)); |
416 | I32 sv_cmp _((SV* sv1, SV* sv2)); |
417 | void sv_dec _((SV* sv)); |
418 | void sv_dump _((SV* sv)); |
419 | I32 sv_eq _((SV* sv1, SV* sv2)); |
420 | void sv_free _((SV* sv)); |
4633a7c4 |
421 | void sv_free_arenas _((void)); |
a0d0e21e |
422 | char* sv_gets _((SV* sv, FILE* fp, I32 append)); |
93a17b20 |
423 | #ifndef DOSISH |
a0d0e21e |
424 | char* sv_grow _((SV* sv, I32 newlen)); |
93a17b20 |
425 | #else |
a0d0e21e |
426 | char* sv_grow _((SV* sv, unsigned long newlen)); |
93a17b20 |
427 | #endif |
a0d0e21e |
428 | void sv_inc _((SV* sv)); |
429 | void sv_insert _((SV* bigsv, STRLEN offset, STRLEN len, char* little, STRLEN littlelen)); |
430 | int sv_isa _((SV* sv, char* name)); |
431 | int sv_isobject _((SV* sv)); |
432 | STRLEN sv_len _((SV* sv)); |
433 | void sv_magic _((SV* sv, SV* obj, int how, char* name, I32 namlen)); |
434 | SV* sv_mortalcopy _((SV* oldsv)); |
435 | SV* sv_newmortal _((void)); |
436 | SV* sv_newref _((SV* sv)); |
437 | char * sv_peek _((SV* sv)); |
438 | char * sv_pvn_force _((SV* sv, STRLEN* lp)); |
439 | char* sv_reftype _((SV* sv, int ob)); |
440 | void sv_replace _((SV* sv, SV* nsv)); |
441 | void sv_report_used _((void)); |
442 | void sv_reset _((char* s, HV* stash)); |
443 | void sv_setiv _((SV* sv, IV num)); |
444 | void sv_setnv _((SV* sv, double num)); |
445 | SV* sv_setref_iv _((SV *rv, char *classname, IV iv)); |
446 | SV* sv_setref_nv _((SV *rv, char *classname, double nv)); |
447 | SV* sv_setref_pv _((SV *rv, char *classname, void* pv)); |
448 | SV* sv_setref_pvn _((SV *rv, char *classname, char* pv, I32 n)); |
449 | void sv_setpv _((SV* sv, char* ptr)); |
450 | void sv_setpvn _((SV* sv, char* ptr, STRLEN len)); |
451 | void sv_setsv _((SV* dsv, SV* ssv)); |
452 | int sv_unmagic _((SV* sv, int type)); |
453 | void sv_unref _((SV* sv)); |
454 | bool sv_upgrade _((SV* sv, U32 mt)); |
455 | void sv_usepvn _((SV* sv, char* ptr, STRLEN len)); |
456 | void taint_env _((void)); |
457 | void taint_not _((char *s)); |
458 | void taint_proper _((char* f, char* s)); |
16d20bd9 |
459 | #ifdef UNLINK_ALL_VERSIONS |
a0d0e21e |
460 | I32 unlnk _((char* f)); |
16d20bd9 |
461 | #endif |
a0d0e21e |
462 | void utilize _((int aver, OP* id, OP* arg)); |
463 | I32 wait4pid _((int pid, int* statusp, int flags)); |
464 | void warn _((char* pat,...)) __attribute__((format(printf,1,2))); |
465 | void watch _((char **addr)); |
466 | I32 whichsig _((char* sig)); |
467 | int yyerror _((char* s)); |
468 | int yylex _((void)); |
469 | int yyparse _((void)); |
470 | int yywarn _((char* s)); |