Add 128th flags
[lilypond.git] / lily / program-option.cc
bloba176df86da8b048a52c4521b59a48f09a9a2f355
1 /*
2 program-option.cc -- program options, non-scheme.
4 source file of the GNU LilyPond music typesetter
6 (c) 2007--2008 Han-Wen Nienhuys <hanwen@lilypond.org>
8 */
10 #include "program-option.hh"
12 string
13 get_output_backend_name ()
15 return ly_symbol2string (ly_get_option (ly_symbol2scm ("backend")));
18 bool
19 get_program_option (const char *s)
21 SCM sym = ly_symbol2scm (s);
23 return to_boolean (ly_get_option (sym));