]> Git Repo - binutils.git/blobdiff - gdb/python/py-lazy-string.c
Change thread_to_thread_object to return a new reference
[binutils.git] / gdb / python / py-lazy-string.c
index ab3f411743951e1f94cd89bd80383686417242c3..e0138cc3403097d810ec55d4cacc694dba7a7351 100644 (file)
@@ -1,6 +1,6 @@
 /* Python interface to lazy strings.
 
-   Copyright (C) 2010-2017 Free Software Foundation, Inc.
+   Copyright (C) 2010-2018 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -300,7 +300,7 @@ static PyMethodDef lazy_string_object_methods[] = {
 };
 
 
-static PyGetSetDef lazy_string_object_getset[] = {
+static gdb_PyGetSetDef lazy_string_object_getset[] = {
   { "address", stpy_get_address, NULL, "Address of the string.", NULL },
   { "encoding", stpy_get_encoding, NULL, "Encoding of the string.", NULL },
   { "length", stpy_get_length, NULL, "Length of the string.", NULL },
This page took 0.032241 seconds and 4 git commands to generate.