diff options
author | Larry Wall <lwall@netlabs.com> | 1994-05-04 23:00:00 +0000 |
---|---|---|
committer | Larry Wall <lwall@netlabs.com> | 1994-05-04 23:00:00 +0000 |
commit | 85e6fe838fb25b257a1b363debf8691c0992ef71 (patch) | |
tree | fd5340cd6c3bbabfc21d3b0cac48e7ab3a481ebf /sv.h | |
parent | 2304df62caa7d9be70e8b8bcdb454e139c9c103d (diff) | |
download | perl-85e6fe838fb25b257a1b363debf8691c0992ef71.tar.gz |
perl 5.0 alpha 9perl-5a9
[editor's note: the sparc executables have not been included,
and emacs backup files have been removed]
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -43,7 +43,7 @@ typedef enum { SVt_PVCV, SVt_PVGV, SVt_PVFM, - SVt_PVIO, + SVt_PVIO } svtype; /* Using C's structural equivalence to help emulate C++ inheritance here... */ @@ -413,8 +413,6 @@ struct xpvio { do { assert(SvTYPE(sv) >= SVt_PV); \ (((XPV*) SvANY(sv))->xpv_cur = val - SvPVX(sv)); } while (0) -#define SvCUROK(sv) (SvPOK(sv) ? SvCUR(sv) : 0) - #define BmRARE(sv) ((XPVBM*) SvANY(sv))->xbm_rare #define BmUSEFUL(sv) ((XPVBM*) SvANY(sv))->xbm_useful #define BmPREVIOUS(sv) ((XPVBM*) SvANY(sv))->xbm_previous @@ -447,7 +445,7 @@ struct xpvio { #ifdef CRIPPLED_CC -double SvIV(); +I32 SvIV(); double SvNV(); #define SvPV(sv, lp) sv_pvn(sv, &lp) char *sv_pvn(); |