]> git.donarmstrong.com Git - lilypond.git/blob - lily/spring-smob.cc
Run `make grand-replace'.
[lilypond.git] / lily / spring-smob.cc
1 /*
2   spring.cc -- implement Spring
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1999--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #include "spring.hh"
10 #include "warn.hh"
11 #include "ly-smobs.icc"
12
13 IMPLEMENT_SIMPLE_SMOBS (Spring);
14
15 SCM
16 Spring::mark_smob (SCM x)
17 {
18   (void)x;
19
20   return SCM_UNSPECIFIED;
21 }
22
23 int
24 Spring::print_smob (SCM, SCM p, scm_print_state *)
25 {
26   scm_puts ("#<Spring smob>", p);
27   return 1;
28 }
29
30 SCM
31 Spring::equal_p (SCM a, SCM b)
32 {
33   return a == b? SCM_BOOL_T : SCM_BOOL_F;
34 }
35