diff options
author | Paul Marquess <paul.marquess@btinternet.com> | 2003-12-27 20:02:30 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-12-27 20:14:09 +0000 |
commit | 5bbd4290dc068a04b65fb118bd01be1ae58c7454 (patch) | |
tree | eb159cdb5d46accf8f886aa78deed99f370e1c5a /ext/GDBM_File | |
parent | fb8d82a27d7809423b06904bb01f8d6626a60074 (diff) | |
download | perl-5bbd4290dc068a04b65fb118bd01be1ae58c7454.tar.gz |
PATCH: *DB*_File
From: "Paul Marquess" <Paul.Marquess@btinternet.com>
Message-ID: <AIEAJICLCBDNAAOLLOKLIEAOPGAA.Paul.Marquess@btinternet.com>
p4raw-id: //depot/perl@21981
Diffstat (limited to 'ext/GDBM_File')
-rw-r--r-- | ext/GDBM_File/typemap | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/GDBM_File/typemap b/ext/GDBM_File/typemap index 048f0dd11c..8c7cb45b46 100644 --- a/ext/GDBM_File/typemap +++ b/ext/GDBM_File/typemap @@ -3,7 +3,7 @@ # datum_key T_DATUM_K -datum_key_copy T_DATUM_K_C +datum_key_copy T_DATUM_K datum_value T_DATUM_V NDBM_File T_PTROBJ GDBM_File T_PTROBJ @@ -16,7 +16,7 @@ FATALFUNC T_OPAQUEPTR INPUT T_DATUM_K DBM_ckFilter($arg, filter_store_key, \"filter_store_key\"); - $var.dptr = SvPV($arg, PL_na); + $var.dptr = SvPVbyte($arg, PL_na); $var.dsize = (int)PL_na; T_DATUM_K_C { @@ -27,13 +27,13 @@ T_DATUM_K_C } else tmpSV = $arg; - $var.dptr = SvPV(tmpSV, PL_na); + $var.dptr = SvPVbyte(tmpSV, PL_na); $var.dsize = (int)PL_na; } T_DATUM_V DBM_ckFilter($arg, filter_store_value, \"filter_store_value\"); if (SvOK($arg)) { - $var.dptr = SvPV($arg, PL_na); + $var.dptr = SvPVbyte($arg, PL_na); $var.dsize = (int)PL_na; } else { |