]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/context-mod.cc
Doc-fr: adding missing texidocs (A-C)
[lilypond.git] / lily / context-mod.cc
index a51f7cf71e7ee4ca9afaecb08dfa0b7f7dfa988f..cb6cf83562fcd64fe5d8303f3ab4ceb2cd56627b 100644 (file)
@@ -45,7 +45,7 @@ Context_mod::print_smob (SCM smob, SCM port, scm_print_state *)
   Context_mod *me = (Context_mod *) SCM_CELL_WORD_1 (smob);
 
   scm_puts ("#<Context_mod ", port);
-  scm_display (me->mods_, port);
+  scm_display (me->get_mods (), port);
   scm_puts (">", port);
   return 1;
 }
@@ -53,11 +53,10 @@ Context_mod::print_smob (SCM smob, SCM port, scm_print_state *)
 SCM
 Context_mod::mark_smob (SCM smob)
 {
-  ASSERT_LIVE_IS_ALLOWED ();
+  ASSERT_LIVE_IS_ALLOWED (smob);
 
   Context_mod *me = (Context_mod *) SCM_CELL_WORD_1 (smob);
 
-  scm_gc_mark (me->mods_);
   return me->mods_;
 }