]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/spring-smob.cc
Run `make grand-replace'.
[lilypond.git] / lily / spring-smob.cc
index a57f5029f2d2eef8c160f6173a67ea8761164361..ae4533cc219dc91e398a822c6f6ba93669133557 100644 (file)
@@ -3,25 +3,17 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1999--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 1999--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "spring.hh"
 #include "warn.hh"
 #include "ly-smobs.icc"
 
-Spring_smob::Spring_smob ()
-{
-  distance_ = 0.;
-  inverse_strength_ = 1.0;
-  expand_only_b_ = false;
-  other_ = 0;
-}
-
-IMPLEMENT_SIMPLE_SMOBS (Spring_smob);
+IMPLEMENT_SIMPLE_SMOBS (Spring);
 
 SCM
-Spring_smob::mark_smob (SCM x)
+Spring::mark_smob (SCM x)
 {
   (void)x;
 
@@ -29,14 +21,14 @@ Spring_smob::mark_smob (SCM x)
 }
 
 int
-Spring_smob::print_smob (SCM, SCM p, scm_print_state *)
+Spring::print_smob (SCM, SCM p, scm_print_state *)
 {
   scm_puts ("#<Spring smob>", p);
   return 1;
 }
 
 SCM
-Spring_smob::equal_p (SCM a, SCM b)
+Spring::equal_p (SCM a, SCM b)
 {
   return a == b? SCM_BOOL_T : SCM_BOOL_F;
 }