* python/python-value.c (value_object_methods)
authorPedro Alves <palves@redhat.com>
Sun, 19 Oct 2008 20:25:00 +0000 (20:25 +0000)
committerPedro Alves <palves@redhat.com>
Sun, 19 Oct 2008 20:25:00 +0000 (20:25 +0000)
commitf9176c46a1571258f658b178bd26e72d6a042ec1
tree587cdfd8cb0ab9399ff9dc79bcc7cac8a1c6b4d6
parentf177e35094c597497602a558fd6f056bb3e48e92
* python/python-value.c (value_object_methods)
(value_object_as_number, value_object_as_mapping): Move to bottom
of file.
(valpy_dealloc, valpy_new, valpy_length, valpy_getitem)
(valpy_setitem, valpy_str, valpy_add, valpy_subtract)
(valpy_multiply, valpy_divide, valpy_remainder, valpy_power)
(valpy_negative, valpy_positive, valpy_absolute, valpy_nonzero)
(valpy_richcompare, valpy_dereference): Don't forward-declare.
(valpy_length) [HAVE_LIBPYTHON2_4]: Change return type to `int'.
gdb/ChangeLog
gdb/python/python-value.c