mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-23 18:26:47 +08:00
2010-05-17 Michael Snyder <msnyder@vmware.com>
* python/py-auto-load.c: White space. * python/py-block.c: White space. * python/py-breakpoint.c: White space. * python/py-cmd.c: White space. * python/py-function.c: White space. * python/py-lazy-string.c: White space. * python/py-objfile.c: White space. * python/py-param.c: White space. * python/py-prettyprint.c: White space. * python/py-progspace.c: White space. * python/py-symtab.c: White space. * python/python.c: White space. * python/py-type.c: White space. * python/py-utils.c: White space. * python/py-value.c: White space.
This commit is contained in:
@ -52,6 +52,7 @@ static PyObject *
|
||||
stpy_get_address (PyObject *self, void *closure)
|
||||
{
|
||||
lazy_string_object *self_string = (lazy_string_object *) self;
|
||||
|
||||
return PyLong_FromUnsignedLongLong (self_string->address);
|
||||
}
|
||||
|
||||
@ -78,6 +79,7 @@ static PyObject *
|
||||
stpy_get_length (PyObject *self, void *closure)
|
||||
{
|
||||
lazy_string_object *self_string = (lazy_string_object *) self;
|
||||
|
||||
return PyLong_FromLong (self_string->length);
|
||||
}
|
||||
|
||||
@ -85,6 +87,7 @@ PyObject *
|
||||
stpy_get_type (PyObject *self, void *closure)
|
||||
{
|
||||
lazy_string_object *str_obj = (lazy_string_object *) self;
|
||||
|
||||
return type_to_type_object (str_obj->type);
|
||||
}
|
||||
|
||||
@ -109,6 +112,7 @@ static void
|
||||
stpy_dealloc (PyObject *self)
|
||||
{
|
||||
lazy_string_object *self_string = (lazy_string_object *) self;
|
||||
|
||||
xfree (self_string->encoding);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user