#include "warn.hh"
bool debug_skylines;
+bool debug_property_callbacks;
+bool debug_page_breaking_scoring;
/*
Backwards compatibility.
debug_skylines = to_boolean (val);
val = scm_from_bool (to_boolean (val));
}
+ else if (var == ly_symbol2scm ("debug-property-callbacks"))
+ {
+ debug_property_callbacks = to_boolean (val);
+ val = scm_from_bool (to_boolean (val));
+ }
+ else if (var == ly_symbol2scm ("debug-page-breaking-scoring"))
+ {
+ debug_page_breaking_scoring = to_boolean (val);
+ val = scm_from_bool (to_boolean (val));
+ }
}
-
-bool
-get_program_option (const char *s)
-{
- SCM sym = ly_symbol2scm (s);
-
- return to_boolean (ly_get_option (sym));
-}
-
-
ssize const HELP_INDENT = 30;
ssize const INDENT = 2;
ssize const SEPARATION = 5;
LY_ASSERT_TYPE (ly_is_symbol, var, 1);
return scm_hashq_ref (option_hash, var, SCM_BOOL_F);
}
+
+