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:
parent
102040f0d0
commit
d59b6f6c38
16 changed files with 82 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue