Fix InstrumentSwitch grob definition.
[lilypond.git] / lily / spring-smob.cc
blob5639a1cd0737446b8318f3c3a12b9712acc69007
1 /*
2 spring.cc -- implement Spring
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2007 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 x)
18 (void)x;
20 return SCM_UNSPECIFIED;
23 int
24 Spring::print_smob (SCM, SCM p, scm_print_state *)
26 scm_puts ("#<Spring smob>", p);
27 return 1;
30 SCM
31 Spring::equal_p (SCM a, SCM b)
33 return a == b? SCM_BOOL_T : SCM_BOOL_F;