X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fatom.hh;h=15fc068f5e7a696e27f66a1843f197b10f941010;hb=f1baf9749eb3315b6f58622e084fc34295bccea7;hp=52d17f88f215011a7d82453378f6e6328a212d5c;hpb=25c92bfff1189d93b80cdef0da0d570d14834c8d;p=lilypond.git diff --git a/lily/include/atom.hh b/lily/include/atom.hh index 52d17f88f2..15fc068f5e 100644 --- a/lily/include/atom.hh +++ b/lily/include/atom.hh @@ -15,6 +15,8 @@ #include "lily-proto.hh" #include "lily-guile.hh" +//#define ATOM_SMOB + #ifdef ATOM_SMOB /// a symbol which can be translated, and freely copied @@ -24,8 +26,9 @@ class Atom { static SCM smob_mark (SCM); static scm_sizet smob_free (SCM); static int smob_display (SCM, SCM, scm_print_state*); - SCM make_smob () const; public: + SCM make_smob () const; + Offset off_; Atom (SCM s);