* python/python-value.c (valpy_length): Remove #if.
This commit is contained in:
parent
f2f35b75ff
commit
1446eb676f
@ -1,3 +1,7 @@
|
|||||||
|
2008-12-22 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
* python/python-value.c (valpy_length): Remove #if.
|
||||||
|
|
||||||
2008-12-22 Paul Pluzhnikov <ppluzhnikov@google.com>
|
2008-12-22 Paul Pluzhnikov <ppluzhnikov@google.com>
|
||||||
|
|
||||||
* python/python-internal.h (PyEval_ReleaseLock): New define.
|
* python/python-internal.h (PyEval_ReleaseLock): New define.
|
||||||
|
@ -132,11 +132,7 @@ valpy_dereference (PyObject *self, PyObject *args)
|
|||||||
return value_to_value_object (res_val);
|
return value_to_value_object (res_val);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_LIBPYTHON2_4
|
|
||||||
static int
|
|
||||||
#else
|
|
||||||
static Py_ssize_t
|
static Py_ssize_t
|
||||||
#endif
|
|
||||||
valpy_length (PyObject *self)
|
valpy_length (PyObject *self)
|
||||||
{
|
{
|
||||||
/* We don't support getting the number of elements in a struct / class. */
|
/* We don't support getting the number of elements in a struct / class. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user