X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fstencil.hh;h=6ccb9252bb18a224f5a38ff36b53bda6c30cd94b;hb=c1d7bc2217462a63bf5c5c6d6f6df5cb00099180;hp=6b78c18e4b313ac59980909a917ed6dd90556152;hpb=c054eb280fd9953596eb164f67b0f9d5555c5a32;p=lilypond.git diff --git a/lily/include/stencil.hh b/lily/include/stencil.hh index 6b78c18e4b..6ccb9252bb 100644 --- a/lily/include/stencil.hh +++ b/lily/include/stencil.hh @@ -47,7 +47,7 @@ using namespace std; efficient to add "fresh" stencils to what you're going to build. * Do not create Stencil objects on the heap. That includes passing - around Stencil* which are produced by Stencil::unsmob(). Either + around Stencil* which are produced by unsmob(). Either copy Stencil objects, or use SCM references. * Empty stencils have empty dimensions. If add_at_edge is used to @@ -58,7 +58,7 @@ using namespace std; class Stencil : public Simple_smob { public: - SCM mark_smob (); + SCM mark_smob () const; static const char type_p_name_[]; private: Box dim_;