Iterate over 'struct varobj_item' instead of PyObject
[deliverable/binutils-gdb.git] / gdb / varobj-iter.h
index 3a530bc658d5c190facf0aba972da41d354cfc98..9eb672ded0273a469d5ab5e1911e458618ac2556 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-struct varobj_iter_ops;
+/* A node or item of varobj, composed of the name and the value.  */
+
+typedef struct varobj_item
+{
+  /* Name of this item.  */
+  char *name;
 
-typedef PyObject varobj_item;
+  /* Value of this item.  */
+  struct value *value;
+} varobj_item;
+
+struct varobj_iter_ops;
 
 /* A dynamic varobj iterator "class".  */
 
This page took 0.023867 seconds and 4 git commands to generate.