summaryrefslogtreecommitdiffstats
path: root/gcc/gengtype.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gengtype.h')
-rw-r--r--gcc/gengtype.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/gcc/gengtype.h b/gcc/gengtype.h
index 55ece115073..bf3c5624ced 100644
--- a/gcc/gengtype.h
+++ b/gcc/gengtype.h
@@ -37,6 +37,17 @@ enum typekind {
TYPE_PARAM_STRUCT
};
+typedef struct pair *pair_p;
+typedef struct type *type_p;
+typedef unsigned lang_bitmap;
+
+/* Option data for the 'nested_ptr' option. */
+struct nested_ptr_data {
+ type_p type;
+ const char *convert_to;
+ const char *convert_from;
+};
+
/* A way to pass data through to the output end. */
typedef struct options {
struct options *next;
@@ -44,10 +55,6 @@ typedef struct options {
const void *info;
} *options_p;
-typedef struct pair *pair_p;
-typedef struct type *type_p;
-typedef unsigned lang_bitmap;
-
/* A name and a type. */
struct pair {
pair_p next;
OpenPOWER on IntegriCloud