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_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 {
- $var.dptr = \"\";
+ $var.dptr = (char *)\"\";
$var.dsize = 0;
}
T_GDATUM
UNIMPLEMENTED
OUTPUT
T_DATUM_K
- sv_setpvn($arg, $var.dptr, $var.dsize);
- DBM_ckFilter($arg, filter_fetch_key,\"filter_fetch_key\");
+ sv_setpvn($arg, (char *)$var.dptr, $var.dsize);
+ DBM_ckFilter($arg, filter_fetch_key, \"filter_fetch_key\");
T_DATUM_V
- sv_setpvn($arg, $var.dptr, $var.dsize);
- DBM_ckFilter($arg, filter_fetch_value,\"filter_fetch_value\");
+ sv_setpvn($arg, (char *)$var.dptr, $var.dsize);
+ DBM_ckFilter($arg, filter_fetch_value, \"filter_fetch_value\");
T_GDATUM
sv_usepvn($arg, $var.dptr, $var.dsize);
T_PTROBJ