summaryrefslogtreecommitdiff
path: root/ext/NDBM_File
diff options
context:
space:
mode:
authorPaul Marquess <pmarquess@bfsec.bt.co.uk>1997-07-11 22:01:43 +1200
committerTim Bunce <Tim.Bunce@ig.co.uk>1997-08-07 00:00:00 +1200
commit4e2a63a79975e6f132b1e2902946589b4ad25bb6 (patch)
tree90285473eba5e9e69d578db43030e0a79bc43dd5 /ext/NDBM_File
parente611f9129311ccd3cff32e420a06a072843ccac9 (diff)
downloadperl-4e2a63a79975e6f132b1e2902946589b4ad25bb6.tar.gz
PATCH: make DBM*_File modules sub-classable
Here is a patch to make the DBM*_File modules sub-classable. The sub-class patch for DB_File will be along presently. p5p-msgid: 9707121854.AA19472@claudius.bfsec.bt.co.uk
Diffstat (limited to 'ext/NDBM_File')
-rw-r--r--ext/NDBM_File/typemap2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/NDBM_File/typemap b/ext/NDBM_File/typemap
index a6b0e5faa8..a9b73d8b81 100644
--- a/ext/NDBM_File/typemap
+++ b/ext/NDBM_File/typemap
@@ -23,3 +23,5 @@ T_DATUM
sv_setpvn($arg, $var.dptr, $var.dsize);
T_GDATUM
sv_usepvn($arg, $var.dptr, $var.dsize);
+T_PTROBJ
+ sv_setref_pv($arg, dbtype, (void*)$var);