xcoff slurp_armap bounds checking
[deliverable/binutils-gdb.git] / gdb / ui-style.h
index 24b4b59ed9f55477a5b151c9a88552efe787e200..d2e9c1362631ac872c9b423c0f682a95ff15443f 100644 (file)
@@ -223,6 +223,12 @@ struct ui_file_style
      BUF.  */
   bool parse (const char *buf, size_t *n_read);
 
+  /* We need this because we can't pass a reference via va_args.  */
+  const ui_file_style *ptr () const
+  {
+    return this;
+  }
+
 private:
 
   color m_foreground = NONE;
This page took 0.037836 seconds and 4 git commands to generate.