Use bool in Rust code
[deliverable/binutils-gdb.git] / gdb / rust-lang.h
index 6c627ae71c859720f8289e495765d55202a03993..8f2b6826c152eabfcb6950bc38220b687f9d10f7 100644 (file)
@@ -30,10 +30,10 @@ extern int rust_parse (struct parser_state *);
 extern void rustyyerror (char *);
 
 /* Return true if TYPE is a tuple type; otherwise false.  */
-extern int rust_tuple_type_p (struct type *type);
+extern bool rust_tuple_type_p (struct type *type);
 
 /* Return true if TYPE is a tuple struct type; otherwise false.  */
-extern int rust_tuple_struct_type_p (struct type *type);
+extern bool rust_tuple_struct_type_p (struct type *type);
 
 /* Given a block, find the name of the block's crate. Returns an empty
    stringif no crate name can be found.  */
This page took 0.025107 seconds and 4 git commands to generate.