]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/atom.hh
release: 1.1.54
[lilypond.git] / lily / include / atom.hh
index 15fc068f5e7a696e27f66a1843f197b10f941010..3c23232be77ff37ba7eb2c99c9c46283576d3b6d 100644 (file)
 #include "lily-proto.hh"
 #include "lily-guile.hh"
 
-//#define ATOM_SMOB
-
-#ifdef ATOM_SMOB
-
-/// a symbol which can be translated, and freely copied
-class Atom {
-  static long smob_tag_;
-
-  static SCM smob_mark (SCM);
-  static scm_sizet smob_free (SCM);
-  static int smob_display (SCM, SCM, scm_print_state*);
-public:
-  SCM make_smob () const;
-
-  Offset off_;
-  Atom (SCM s);
-
-  static SCM make_atom (SCM outputfunc);
-  SCM copy_self () const;
-  static Atom *atom_l (SCM);
-
-  /// Is #obj# a Foo?
-  static bool Atom_b(SCM obj);
-  static void init_smob ();
-  
-  SCM func_;
-  SCM font_;
-};
-
-#else
-
 class Atom {
 public:
   Atom (SCM s);
@@ -57,6 +26,5 @@ representing a musical notation symbol.  */
   Protected_scm font_;
 };
 
-#endif
 
 #endif