Remove DEF_VEC_P (varobj_p)
[deliverable/binutils-gdb.git] / gdb / rust-lang.h
index 6c627ae71c859720f8289e495765d55202a03993..4d07c483e9b3667e15801e3c87304c028c8dfe9a 100644 (file)
@@ -27,13 +27,13 @@ struct type;
 extern int rust_parse (struct parser_state *);
 
 /* The la_error implementation for Rust.  */
-extern void rustyyerror (char *);
+extern void rustyyerror (const 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.  */
@@ -43,7 +43,7 @@ extern std::string rust_crate_for_block (const struct block *block);
    is the type of the elements of the slice.  USIZE_TYPE is the Rust
    "usize" type to use.  The new type is allocated whereever ELT_TYPE
    is allocated.  */
-struct type *rust_slice_type (const char *name, struct type *elt_type,
-                             struct type *usize_type);
+extern struct type *rust_slice_type (const char *name, struct type *elt_type,
+                                    struct type *usize_type);
 
 #endif /* RUST_LANG_H */
This page took 0.029447 seconds and 4 git commands to generate.