[Zodb-checkins] CVS: Zope3/lib/python/Persistence/BTrees - _fsBTree.c:1.1.2.4 intvaluemacros.h:1.1.2.3 objectvaluemacros.h:1.1.2.3

Tim Peters tim.one@comcast.net
Sat, 8 Jun 2002 01:11:40 -0400


Update of /cvs-repository/Zope3/lib/python/Persistence/BTrees
In directory cvs.zope.org:/tmp/cvs-serv17225

Modified Files:
      Tag: Zope-3x-branch
	_fsBTree.c intvaluemacros.h objectvaluemacros.h 
Log Message:
Remove the unused DECLARE_VALUE macro (this was done a couple weeks ago
on the trunk).


=== Zope3/lib/python/Persistence/BTrees/_fsBTree.c 1.1.2.3 => 1.1.2.4 ===
 #undef VALUE_TYPE_IS_PYOBJECT
 #define TEST_VALUE(K, T) strncmp(K,T,6)
-#define DECLARE_VALUE(NAME) VALUE_TYPE NAME
 #define DECREF_VALUE(k)
 #define INCREF_VALUE(k)
 #define COPY_VALUE(V, E) (memcpy(V, E, 6))


=== Zope3/lib/python/Persistence/BTrees/intvaluemacros.h 1.1.2.2 => 1.1.2.3 ===
 #define TEST_VALUE(K, T) (((K) < (T)) ? -1 : (((K) > (T)) ? 1: 0))
 #define VALUE_SAME(VALUE, TARGET) ( (VALUE) == (TARGET) )
-#define DECLARE_VALUE(NAME) VALUE_TYPE NAME
 #define VALUE_PARSE "i"
 #define DECREF_VALUE(k)
 #define INCREF_VALUE(k)


=== Zope3/lib/python/Persistence/BTrees/objectvaluemacros.h 1.1.2.2 => 1.1.2.3 ===
 #define VALUE_TYPE_IS_PYOBJECT
 #define TEST_VALUE(VALUE, TARGET) PyObject_Compare((VALUE),(TARGET))
-#define DECLARE_VALUE(NAME) VALUE_TYPE NAME
 #define INCREF_VALUE(k) Py_INCREF(k)
 #define DECREF_VALUE(k) Py_DECREF(k)
 #define COPY_VALUE(k,e) k=(e)