X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fspring-smob.cc;h=4f6a787e37aabcae91b128f6e20c33afa2a81677;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=5caa8e50628dd389c9859f81c22ab3a1b5e15d81;hpb=e8b68d8a878a0ee0381719230cf911dbcefa168d;p=lilypond.git diff --git a/lily/spring-smob.cc b/lily/spring-smob.cc index 5caa8e5062..4f6a787e37 100644 --- a/lily/spring-smob.cc +++ b/lily/spring-smob.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1999--2014 Han-Wen Nienhuys + Copyright (C) 1999--2015 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,22 +19,9 @@ #include "spring.hh" #include "warn.hh" -#include "ly-smobs.icc" -IMPLEMENT_SIMPLE_SMOBS (Spring); -SCM -Spring::mark_smob (SCM) -{ - return SCM_UNSPECIFIED; -} -int -Spring::print_smob (SCM, SCM p, scm_print_state *) -{ - scm_puts ("#", p); - return 1; -} SCM Spring::equal_p (SCM a, SCM b) @@ -79,4 +66,4 @@ LY_DEFINE (ly_spring_set_inverse_stretch_strength_x, "ly:spring-set-inverse-stre return s->smobbed_copy (); } -IMPLEMENT_TYPE_P (Spring, "ly:spring?"); +const char Spring::type_p_name_[] = "ly:spring?";