]> git.sur5r.net Git - i3/i3/blobdiff - include/libi3.h
Move is_debug_build() to libi3/
[i3/i3] / include / libi3.h
index b88bcb67632912eaf4d67c235f4348d1bb318b95..2126e100afbd36b2f9843b6aca86620ba820a97c 100644 (file)
@@ -242,4 +242,11 @@ void draw_text(char *text, size_t text_len, bool is_ucs2, xcb_drawable_t drawabl
  */
 int predict_text_width(char *text, size_t text_len, bool is_ucs2);
 
+/**
+ * Returns true if this version of i3 is a debug build (anything which is not a
+ * release version), based on the git version number.
+ *
+ */
+bool is_debug_build() __attribute__((const));
+
 #endif