| OLD | NEW |
| 1 /* Python interface to types. | 1 /* Python interface to types. |
| 2 | 2 |
| 3 Copyright (C) 2008-2012 Free Software Foundation, Inc. | 3 Copyright (C) 2008-2012 Free Software Foundation, Inc. |
| 4 | 4 |
| 5 This file is part of GDB. | 5 This file is part of GDB. |
| 6 | 6 |
| 7 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
| 8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
| 9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
| 10 (at your option) any later version. | 10 (at your option) any later version. |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 | 157 |
| 158 /* Helper function for typy_fields which converts a single field to a | 158 /* Helper function for typy_fields which converts a single field to a |
| 159 gdb.Field object. Returns NULL on error. */ | 159 gdb.Field object. Returns NULL on error. */ |
| 160 | 160 |
| 161 static PyObject * | 161 static PyObject * |
| 162 convert_field (struct type *type, int field) | 162 convert_field (struct type *type, int field) |
| 163 { | 163 { |
| 164 PyObject *result = field_new (); | 164 PyObject *result = field_new (); |
| 165 PyObject *arg; | 165 PyObject *arg; |
| 166 | 166 |
error: old chunk mismatch |
None
| OLD | NEW |