diff options
author | Leon Timmermans <fawaka@gmail.com> | 2013-08-28 15:06:29 +0200 |
---|---|---|
committer | Leon Timmermans <fawaka@gmail.com> | 2013-09-07 10:01:50 +0200 |
commit | b66f3475d343bb78e55b4ba343433044f5966b6b (patch) | |
tree | 517f65e6379259676134dd543ebdca9e8a08df38 /perlio.h | |
parent | df8c7dee25da69fc88678b8949166e08fb686037 (diff) | |
download | perl-b66f3475d343bb78e55b4ba343433044f5966b6b.tar.gz |
Fix PerlIO_get_cnt and friends
These functions worked with ints instead of SSize_t,
Diffstat (limited to 'perlio.h')
-rw-r--r-- | perlio.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -313,19 +313,19 @@ PERL_EXPORT_C int PerlIO_canset_cnt(PerlIO *); PERL_EXPORT_C STDCHAR *PerlIO_get_ptr(PerlIO *); #endif #ifndef PerlIO_get_cnt -PERL_EXPORT_C int PerlIO_get_cnt(PerlIO *); +PERL_EXPORT_C SSize_t PerlIO_get_cnt(PerlIO *); #endif #ifndef PerlIO_set_cnt -PERL_EXPORT_C void PerlIO_set_cnt(PerlIO *, int); +PERL_EXPORT_C void PerlIO_set_cnt(PerlIO *, SSize_t); #endif #ifndef PerlIO_set_ptrcnt -PERL_EXPORT_C void PerlIO_set_ptrcnt(PerlIO *, STDCHAR *, int); +PERL_EXPORT_C void PerlIO_set_ptrcnt(PerlIO *, STDCHAR *, SSize_t); #endif #ifndef PerlIO_get_base PERL_EXPORT_C STDCHAR *PerlIO_get_base(PerlIO *); #endif #ifndef PerlIO_get_bufsiz -PERL_EXPORT_C int PerlIO_get_bufsiz(PerlIO *); +PERL_EXPORT_C SSize_t PerlIO_get_bufsiz(PerlIO *); #endif #ifndef PerlIO_tmpfile PERL_EXPORT_C PerlIO *PerlIO_tmpfile(void); |