]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/stencil.cc
Issue 4135/2: Replace mark_smob static member functions with non-static members
[lilypond.git] / lily / stencil.cc
index 331dde28310c9f16e8fa977160e7fe448d48a1d0..1e5e0ad4cc845aae82c488b510c2494c2db0ce84 100644 (file)
@@ -47,10 +47,9 @@ Stencil::print_smob (SCM, SCM port, scm_print_state *)
 }
 
 SCM
-Stencil::mark_smob (SCM smob)
+Stencil::mark_smob ()
 {
-  Stencil *s = (Stencil *) SCM_CELL_WORD_1 (smob);
-  return s->expr_;
+  return expr_;
 }
 
 const char Stencil::type_p_name_[] = "ly:stencil?";