Array indexed by non-contiguous enumeration types
[deliverable/binutils-gdb.git] / gdb / gdbtypes.h
index 4275ee09b93d00e373aec9516ebc4260f2867bda..fd3bc0ed5be698d8eed323a4e98ecf954e425ff4 100644 (file)
@@ -1837,6 +1837,8 @@ extern int get_discrete_bounds (struct type *, LONGEST *, LONGEST *);
 extern int get_array_bounds (struct type *type, LONGEST *low_bound,
                             LONGEST *high_bound);
 
+extern int discrete_position (struct type *type, LONGEST val, LONGEST *pos);
+
 extern int class_types_same_p (const struct type *, const struct type *);
 
 extern int is_ancestor (struct type *, struct type *);
This page took 0.02883 seconds and 4 git commands to generate.