-# typemap for Perl 5 interface to Berkeley DB
+# typemap for Perl 5 interface to Berkeley
#
# written by Paul Marquess (pmarquess@bfsec.bt.co.uk)
-# last modified 28th June 1996
-# version 0.2
+# last modified 9th Sept 1997
+# version 1.53
#
#################################### DB SECTION
#
if (db->type != DB_RECNO) {
$var.data = SvPV($arg, na);
$var.size = (int)na;
+ DBT_flags($var);
}
else {
Value = GetRecnoKey(db, SvIV($arg)) ;
$var.data = & Value;
$var.size = (int)sizeof(recno_t);
+ DBT_flags($var);
}
T_dbtdatum
$var.data = SvPV($arg, na);
$var.size = (int)na;
+ DBT_flags($var);
OUTPUT