svn commit: samba r25046 - in branches/SAMBA_4_0/source/lib/tdb/swig: .

tpot at samba.org tpot at samba.org
Sun Sep 9 12:02:52 GMT 2007


Author: tpot
Date: 2007-09-09 12:02:51 +0000 (Sun, 09 Sep 2007)
New Revision: 25046

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25046

Log:
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.

Modified:
   branches/SAMBA_4_0/source/lib/tdb/swig/tdb.i


Changeset:
Modified: branches/SAMBA_4_0/source/lib/tdb/swig/tdb.i
===================================================================
--- branches/SAMBA_4_0/source/lib/tdb/swig/tdb.i	2007-09-09 06:41:15 UTC (rev 25045)
+++ branches/SAMBA_4_0/source/lib/tdb/swig/tdb.i	2007-09-09 12:02:51 UTC (rev 25046)
@@ -149,6 +149,4 @@
 
 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);



More information about the samba-cvs mailing list