gdb: Convert dwarf2_evaluate_property to return bool
[deliverable/binutils-gdb.git] / gdb / dwarf2loc.h
index 955e6f1b48a8535e1fd9323f39aec98fd7451f2c..ac1a771a9f3ec902f843fa5803ca6c272b87c425 100644 (file)
@@ -135,13 +135,13 @@ struct property_addr_info
    property. When evaluating a property that is not related to a type, it can
    be NULL.
 
-   Returns 1 if PROP could be converted and the static value is passed back
-   into VALUE, otherwise returns 0.  */
+   Returns true if PROP could be converted and the static value is passed
+   back into VALUE, otherwise returns false.  */
 
-int dwarf2_evaluate_property (const struct dynamic_prop *prop,
-                             struct frame_info *frame,
-                             struct property_addr_info *addr_stack,
-                             CORE_ADDR *value);
+bool dwarf2_evaluate_property (const struct dynamic_prop *prop,
+                              struct frame_info *frame,
+                              struct property_addr_info *addr_stack,
+                              CORE_ADDR *value);
 
 /* A helper for the compiler interface that compiles a single dynamic
    property to C code.
This page took 0.031428 seconds and 4 git commands to generate.