ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/BDB/typemap
(Generate patch)

Comparing BDB/typemap (file contents):
Revision 1.7 by root, Sun Mar 30 04:57:56 2008 UTC vs.
Revision 1.8 by root, Sun Mar 30 06:28:09 2008 UTC

25 ($var) = $arg; 25 ($var) = $arg;
26 if (SvPOKp ($var) && !sv_utf8_downgrade ($var, 1)) 26 if (SvPOKp ($var) && !sv_utf8_downgrade ($var, 1))
27 croak (\"\\\"%s\\\" argument must be byte/octet-encoded\", \"$var\") 27 croak (\"\\\"%s\\\" argument must be byte/octet-encoded\", \"$var\")
28 28
29BDB_FILENAME 29BDB_FILENAME
30 ($var) = !SvOK ($arg) 30 ($var) = get_bdb_filename ($arg);
31 ? 0
32 :
33 #if WIN32
34 SvPVutf8_nolen ($arg)
35 #else
36 SvPVbyte_nolen ($arg)
37 #endif
38 ;
39 31
40DB_SEQ 32DB_SEQ
41 $var = sizeof (IV) > 4 ? SvIV ($arg) : SvNV ($arg); 33 $var = sizeof (IV) > 4 ? SvIV ($arg) : SvNV ($arg);
42 34
43DB_ENV 35DB_ENV

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines