source: trunk/third/perl/ext/SDBM_File/typemap @ 10724

Revision 10724, 484 bytes checked in by ghudson, 27 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r10723, which included commits to RCS files with non-trunk default branches.
Line 
1#
2#################################### DBM SECTION
3#
4
5datum                   T_DATUM
6gdatum                  T_GDATUM
7NDBM_File               T_PTROBJ
8GDBM_File               T_PTROBJ
9SDBM_File               T_PTROBJ
10ODBM_File               T_PTROBJ
11DB_File                 T_PTROBJ
12DBZ_File                T_PTROBJ
13FATALFUNC               T_OPAQUEPTR
14
15INPUT
16T_DATUM
17        $var.dptr = SvPV($arg, na);
18        $var.dsize = (int)na;
19T_GDATUM
20        UNIMPLEMENTED
21OUTPUT
22T_DATUM
23        sv_setpvn($arg, $var.dptr, $var.dsize);
24T_GDATUM
25        sv_usepvn($arg, $var.dptr, $var.dsize);
26T_PTROBJ
27        sv_setref_pv($arg, dbtype, (void*)$var);
Note: See TracBrowser for help on using the repository browser.