X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fsource-file.cc;h=14fdf2beb3b6ef4c10ff835c60deeca2a5811157;hb=db39b940ae348951ed805beaa855720a6869896a;hp=67690289b97d7dc42bdef0f8c27dd2e916415cc9;hpb=90d3233da87b372e02690978f89b2add3863fba6;p=lilypond.git diff --git a/lily/source-file.cc b/lily/source-file.cc index 67690289b9..14fdf2beb3 100644 --- a/lily/source-file.cc +++ b/lily/source-file.cc @@ -42,8 +42,6 @@ using namespace std; #include "misc.hh" #include "warn.hh" -ADD_SMOB_INIT (Source_file); - void Source_file::load_stdin () { @@ -364,16 +362,16 @@ Source_file::get_port () const /****************************************************************/ -const char Source_file::type_p_name_[] = "ly:source-file?"; +const char * const Source_file::type_p_name_ = "ly:source-file?"; SCM -Source_file::mark_smob () +Source_file::mark_smob () const { return str_port_; } int -Source_file::print_smob (SCM port, scm_print_state *) +Source_file::print_smob (SCM port, scm_print_state *) const { scm_puts ("#