1 # typemap for Perl 5 interface to Berkeley
3 # written by Paul Marquess <Paul.Marquess@btinternet.com>
4 # last modified 13th May 1998
7 #################################### DB SECTION
18 if (db->type != DB_RECNO) {
19 $var.data = SvPV($arg, PL_na);
20 $var.size = (int)PL_na;
24 Value = GetRecnoKey(db, SvIV($arg)) ;
26 $var.size = (int)sizeof(recno_t);
30 $var.data = SvPV($arg, PL_na);
31 $var.size = (int)PL_na;
39 OutputValue($arg, $var)
41 sv_setref_pv($arg, dbtype, (void*)$var);