aboutsummaryrefslogtreecommitdiffstats
path: root/include/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/util.h')
-rw-r--r--include/util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h
index f143d0c0..84318fe7 100644
--- a/include/util.h
+++ b/include/util.h
@@ -59,6 +59,12 @@ uint32_t parse_color(const char *color);
59 */ 59 */
60bool parse_boolean(const char *boolean, bool current); 60bool parse_boolean(const char *boolean, bool current);
61 61
62/**
63 * Given a string that represents a floating point value, return a float.
64 * Returns NAN on error.
65 */
66float parse_float(const char *value);
67
62enum wlr_direction opposite_direction(enum wlr_direction d); 68enum wlr_direction opposite_direction(enum wlr_direction d);
63 69
64#endif 70#endif