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

Comparing BDB/typemap (file contents):
Revision 1.1 by root, Mon Feb 5 18:40:55 2007 UTC vs.
Revision 1.2 by root, Mon Feb 5 20:21:38 2007 UTC

1DB_ENV * DB_ENV
2DB_TXN * DB_TXN
3DB * DB
1SV8 * T_SV8 4SV8 * T_SV8
2 5
3INPUT 6INPUT
4 7
5T_SV8 8T_SV8
6 ($var) = $arg; 9 ($var) = $arg;
7 if (SvPOKp ($var) && !sv_utf8_downgrade ($var, 1)) 10 if (SvPOKp ($var) && !sv_utf8_downgrade ($var, 1))
8 croak (\"\\\"%s\\\" argument must be byte/octet-encoded\", \"$var\") 11 croak (\"\\\"%s\\\" argument must be byte/octet-encoded\", \"$var\")
12
13DB_ENV
14 SvPTR ($var, $arg, DB_ENV *, BDB::Env);
15
16DB_TXN
17 SvPTR ($var, $arg, DB_TXN *, BDB::Txn);
18
19DB
20 SvPTR ($var, $arg, DB *, BDB::Db);
21
22OUTPUT
23
24DB_ENV
25 sv_setref_pv ($arg, "BDB::Env", (void *)$var);
26
27DB_TXN
28 sv_setref_pv ($arg, "BDB::Txn", (void *)$var);
29
30DB
31 sv_setref_pv ($arg, "BDB::Db", (void *)$var);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines