This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
ODBM_File can use the same T_PTROBJ typemap as the other ?DBM_File modules.
authorNicholas Clark <nick@ccl4.org>
Wed, 7 Sep 2011 20:30:52 +0000 (21:30 +0100)
committerNicholas Clark <nick@ccl4.org>
Wed, 7 Sep 2011 20:30:52 +0000 (21:30 +0100)
commit666c7ca6f69d448e1829e85a89fae74e72c1a677
treeee3c660391bbd8b3899042c263e3b97c4dd654af
parentd39de89300b9384bad8b2cf88917ce9f104ae8b2
ODBM_File can use the same T_PTROBJ typemap as the other ?DBM_File modules.

This simplifies the RETVAL handling in TIEHASH, and makes the code closer
to the other 3 ?DBM_File modules. The difference in TIEHASH handling dates
back to 5.000, where only ODBM_File needed helper code around the dbm_open()
call. The other 3 were able to #define it as dbm_TIEHASH, and hence had no
CODE: section when first written.
ext/ODBM_File/ODBM_File.pm
ext/ODBM_File/ODBM_File.xs
ext/ODBM_File/typemap
pod/perldelta.pod