X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fprob.hh;h=b01fb4d42d6e8acc0ea9d389499c2c5f2ba037ca;hb=5ad1653340ed7841f2173eaab9628f1d1b130335;hp=0b82c4629eb68912e2847366028d004e5c1eae91;hpb=0326ce088e5d81235df8ff360a7f22f61fa36a09;p=lilypond.git diff --git a/lily/include/prob.hh b/lily/include/prob.hh index 0b82c4629e..b01fb4d42d 100644 --- a/lily/include/prob.hh +++ b/lily/include/prob.hh @@ -3,13 +3,15 @@ source file of the GNU LilyPond music typesetter - (c) 2004--2006 Jan Nieuwenhuizen + (c) 2004--2007 Jan Nieuwenhuizen */ #ifndef PROPERTY_OBJECT_HH #define PROPERTY_OBJECT_HH #include "stencil.hh" +#include "virtual-methods.hh" + /* A formatted "system" (A block of titling also is a Property_object) @@ -20,7 +22,7 @@ */ class Prob { - DECLARE_SMOBS (Prob,); + DECLARE_SMOBS (Prob); DECLARE_CLASSNAME(Prob); void init_vars (); @@ -40,12 +42,8 @@ public: SCM type () const { return type_; } SCM get_property_alist (bool mutble) const; SCM internal_get_property (SCM sym) const; - -#ifndef NDEBUG - void internal_set_property (SCM sym, SCM val, const char *file, int line, char const *fun); -#else + void instrumented_set_property (SCM, SCM, const char*, int, const char*); void internal_set_property (SCM sym, SCM val); -#endif }; DECLARE_UNSMOB(Prob,prob); SCM ly_prob_set_property_x (SCM system, SCM sym, SCM value);