forked from Imagelibrary/binutils-gdb
Turn value_type into method
This changes value_type to be a method of value. Much of this patch was written by script. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@@ -245,7 +245,7 @@ static struct value *
|
||||
value_struct_element_index (struct value *value, int type_index)
|
||||
{
|
||||
struct value *result = NULL;
|
||||
struct type *type = value_type (value);
|
||||
struct type *type = value->type ();
|
||||
|
||||
type = check_typedef (type);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user