Add xmethod interface to the extension language API.
[deliverable/binutils-gdb.git] / gdb / gdbtypes.h
index 86b1d629f441909396d2e790dd06dd5d555a78b6..bb6352d74a1f1cb2aff06f481fbc4f847f945c1b 100644 (file)
@@ -179,7 +179,10 @@ enum type_code
     TYPE_CODE_MODULE,          /**< Fortran module.  */
 
     /* * Internal function type.  */
-    TYPE_CODE_INTERNAL_FUNCTION
+    TYPE_CODE_INTERNAL_FUNCTION,
+
+    /* * Methods implemented in extension languages.  */
+    TYPE_CODE_XMETHOD
   };
 
 /* * For now allow source to use TYPE_CODE_CLASS for C++ classes, as
@@ -1468,6 +1471,9 @@ struct builtin_type
   /* * This type is used to represent a GDB internal function.  */
 
   struct type *internal_fn;
+
+  /* * This type is used to represent an xmethod.  */
+  struct type *xmethod;
 };
 
 /* * Return the type table for the specified architecture.  */
This page took 0.073329 seconds and 4 git commands to generate.