2 spring.cc -- implement Spring
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
11 #include "ly-smobs.icc"
13 Spring_smob::Spring_smob ()
16 inverse_strength_ = 1.0;
17 expand_only_b_ = false;
21 IMPLEMENT_SIMPLE_SMOBS (Spring_smob);
24 Spring_smob::mark_smob (SCM x)
28 return SCM_UNSPECIFIED;
32 Spring_smob::print_smob (SCM, SCM p, scm_print_state *)
34 scm_puts ("#<Spring smob>", p);
39 Spring_smob::equal_p (SCM a, SCM b)
41 return a == b? SCM_BOOL_T : SCM_BOOL_F;