source file of the GNU LilyPond music typesetter
- (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
#include "output-def.hh"
#include "ly-smobs.icc"
+#include "program-option.hh"
+
+#include "string-convert.hh"
+
Output_def::Output_def ()
{
scope_ = SCM_EOL;
input_origin_ = s.input_origin_;
scope_ = ly_make_anonymous_module (false);
- if (ly_c_module_p (s.scope_))
+ if (ly_is_module (s.scope_))
ly_module_copy (scope_, s.scope_);
}
{
Output_def * def = unsmob_output_def (s);
scm_puts ("#< ", p);
- scm_puts (classname (def), p);
+ scm_puts (def->class_name (), p);
(void)def;
scm_puts (">", p);
if (parent_)
return parent_->lookup_variable (sym);
- return SCM_EOL;
+ return SCM_UNDEFINED;
}
SCM