Docs: Add new procedure for barNumberVisibility
[lilypond/mpolesky.git] / lily / spring-smob.cc
blob4b20641e95af80c166f99f0b0285547db241a2da
1 /*
2 spring.cc -- implement Spring
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
9 #include "spring.hh"
10 #include "warn.hh"
11 #include "ly-smobs.icc"
13 IMPLEMENT_SIMPLE_SMOBS (Spring);
15 SCM
16 Spring::mark_smob (SCM)
18 return SCM_UNSPECIFIED;
21 int
22 Spring::print_smob (SCM, SCM p, scm_print_state *)
24 scm_puts ("#<Spring smob>", p);
25 return 1;
28 SCM
29 Spring::equal_p (SCM a, SCM b)
31 return a == b? SCM_BOOL_T : SCM_BOOL_F;