2 program-option.cc -- program options, non-scheme.
4 source file of the GNU LilyPond music typesetter
6 (c) 2007--2009 Han-Wen Nienhuys <hanwen@lilypond.org>
10 #include "program-option.hh"
13 get_output_backend_name ()
15 return ly_symbol2string (ly_get_option (ly_symbol2scm ("backend")));
19 get_program_option (const char *s)
21 SCM sym = ly_symbol2scm (s);
23 return to_boolean (ly_get_option (sym));