summaryrefslogtreecommitdiff
path: root/ext/ODBM_File
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2006-08-22 13:45:41 +0300
committerSteve Peters <steve@fisharerojo.org>2006-08-22 14:07:13 +0000
commit8a722a808f014b250085459c05169292bb4903ff (patch)
treed040c38223b4e51c0850e2c2a16ddadc6a7b11d6 /ext/ODBM_File
parent606fd33d334f8edd9f204342f82ec81c3bb776b1 (diff)
downloadperl-8a722a808f014b250085459c05169292bb4903ff.tar.gz
g++: fix Digest::MD5, Math::BigInt::FastCalc, ODBM_File, XS::APItest (and Time::HiRes 1.88 in CPAN)
Message-Id: <200608220745.k7M7jfjP050939@kosh.hut.fi> ...plus various version bumps and Digest::MD5 test file fixes. p4raw-id: //depot/perl@28744
Diffstat (limited to 'ext/ODBM_File')
-rw-r--r--ext/ODBM_File/ODBM_File.pm2
-rw-r--r--ext/ODBM_File/ODBM_File.xs4
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/ODBM_File/ODBM_File.pm b/ext/ODBM_File/ODBM_File.pm
index f76b444abb..044e493055 100644
--- a/ext/ODBM_File/ODBM_File.pm
+++ b/ext/ODBM_File/ODBM_File.pm
@@ -7,7 +7,7 @@ require Tie::Hash;
use XSLoader ();
our @ISA = qw(Tie::Hash);
-our $VERSION = "1.06";
+our $VERSION = "1.07";
XSLoader::load 'ODBM_File', $VERSION;
diff --git a/ext/ODBM_File/ODBM_File.xs b/ext/ODBM_File/ODBM_File.xs
index 695d3927c9..e50e8df58a 100644
--- a/ext/ODBM_File/ODBM_File.xs
+++ b/ext/ODBM_File/ODBM_File.xs
@@ -15,7 +15,7 @@ int dbminit(char* filename);
int dbmclose(void);
datum fetch(datum key);
int store(datum key, datum dat);
-int delete(datum key);
+int odelete(datum key); /* Cannot be delete() because of C++. */
datum firstkey(void);
datum nextkey(datum key);
#endif
@@ -53,7 +53,7 @@ typedef datum datum_value ;
#define odbm_FETCH(db,key) fetch(key)
#define odbm_STORE(db,key,value,flags) store(key,value)
-#define odbm_DELETE(db,key) delete(key)
+#define odbm_DELETE(db,key) odelete(key)
#define odbm_FIRSTKEY(db) firstkey()
#define odbm_NEXTKEY(db,key) nextkey(key)