summaryrefslogtreecommitdiff
path: root/ext/dbm/SDBM_File.xs
diff options
context:
space:
mode:
authorLarry Wall <larry@netlabs.com>1993-12-10 00:00:00 +0000
committerLarry Wall <larry@netlabs.com>1993-12-10 00:00:00 +0000
commited6116ce9b9d13712ea252ee248b0400653db7f9 (patch)
tree348e8de37401fa4381f6bfe0989abef2e3b409e0 /ext/dbm/SDBM_File.xs
parent9bbf408117c16189b372e6657c9e5a15d01ea504 (diff)
downloadperl-ed6116ce9b9d13712ea252ee248b0400653db7f9.tar.gz
perl 5.0 alpha 5
[editor's note: the sparc executables have not been included, and emacs backup files and other cruft such as patch backup files have been removed. This was reconstructed from a tarball found on the September 1994 InfoMagic CD]
Diffstat (limited to 'ext/dbm/SDBM_File.xs')
-rw-r--r--ext/dbm/SDBM_File.xs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/dbm/SDBM_File.xs b/ext/dbm/SDBM_File.xs
index 0b898ad171..25cb67c1fc 100644
--- a/ext/dbm/SDBM_File.xs
+++ b/ext/dbm/SDBM_File.xs
@@ -5,6 +5,7 @@
typedef DBM* SDBM_File;
#define sdbm_new(dbtype,filename,flags,mode) sdbm_open(filename,flags,mode)
+#define nextkey(db,key) sdbm_nextkey(db)
MODULE = SDBM_File PACKAGE = SDBM_File PREFIX = sdbm_
@@ -43,7 +44,7 @@ sdbm_firstkey(db)
SDBM_File db
datum
-sdbm_nextkey(db, key)
+nextkey(db, key)
SDBM_File db
datum key