From 43742e53c900733cf0eff085cb073d0c1c937530 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sun, 9 Sep 2007 12:02:51 +0000 Subject: r25046: Ditch tdb_traverse() as it doesn't lend itself to any Python idioms and the semantics can be reproduced using tdb_firstkey() and tdb_nextkey(). Oh, and also because I can't figure out how to get SWIG to do exactly what I want here. (This used to be commit 59b44a9796c8254c59ff110c436d8832af81bedc) --- source4/lib/tdb/swig/tdb.i | 2 -- 1 file changed, 2 deletions(-) (limited to 'source4/lib/tdb') diff --git a/source4/lib/tdb/swig/tdb.i b/source4/lib/tdb/swig/tdb.i index 892a4de63f..1ff21f53b5 100644 --- a/source4/lib/tdb/swig/tdb.i +++ b/source4/lib/tdb/swig/tdb.i @@ -149,6 +149,4 @@ TDB_DATA tdb_firstkey(TDB_CONTEXT *tdb); TDB_DATA tdb_nextkey(TDB_CONTEXT *tdb, TDB_DATA key); -int tdb_traverse(TDB_CONTEXT *tdb, tdb_traverse_func fn, void *state); - int tdb_exists(TDB_CONTEXT *tdb, TDB_DATA key); -- cgit