]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/extension-priv.h
gdb: change return type of check_quit_flag to bool
[thirdparty/binutils-gdb.git] / gdb / extension-priv.h
index cb00cb6ff7b9abe6e6403c47bd9754e42d1a2523..1365988b40ddb850b7e9dcd684fc4ae7f19416c3 100644 (file)
@@ -229,9 +229,9 @@ struct extension_language_ops
      This is called by GDB's SIGINT handler and must be async-safe.  */
   void (*set_quit_flag) (const struct extension_language_defn *);
 
-  /* Return non-zero if a SIGINT has occurred.
+  /* Return true if a SIGINT has occurred.
      This is expected to also clear the indicator.  */
-  int (*check_quit_flag) (const struct extension_language_defn *);
+  bool (*check_quit_flag) (const struct extension_language_defn *);
 
   /* Called before gdb prints its prompt, giving extension languages an
      opportunity to change it with set_prompt.