diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-03-23 11:00:42 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-03-23 11:00:42 +0000 |
commit | a999f61be32148694ba1c2837b1a303e42fd96b1 (patch) | |
tree | b5846dc068063a409fe7e9f7b77cc89b3ee1cf35 /perlio.h | |
parent | 5e334b7bcf49bf053aa25da896a1ff98c12dd228 (diff) | |
download | perl-a999f61be32148694ba1c2837b1a303e42fd96b1.tar.gz |
Add pTHX_ to -Duseperlio API where it does not conflict with legacy stuff.
p4raw-id: //depot/perlio@9305
Diffstat (limited to 'perlio.h')
-rw-r--r-- | perlio.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -80,10 +80,10 @@ typedef PerlIOl *PerlIO; #define PerlIO PerlIO #define PERLIO_LAYERS 1 -extern void PerlIO_define_layer (PerlIO_funcs *tab); -extern SV * PerlIO_find_layer (const char *name, STRLEN len); -extern PerlIO * PerlIO_push (PerlIO *f,PerlIO_funcs *tab,const char *mode,const char *arg,STRLEN len); -extern void PerlIO_pop (PerlIO *f); +extern void PerlIO_define_layer (pTHX_ PerlIO_funcs *tab); +extern SV * PerlIO_find_layer (pTHX_ const char *name, STRLEN len); +extern PerlIO * PerlIO_push (pTHX_ PerlIO *f,PerlIO_funcs *tab,const char *mode,const char *arg,STRLEN len); +extern void PerlIO_pop (pTHX_ PerlIO *f); #endif /* PerlIO */ |