]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/smobs.hh
Merge branch 'issue4032'
[lilypond.git] / lily / include / smobs.hh
index bb703e9503c4eccfe421702067ea4f91a02b1ce7..e775a70bc5cb6078e6004c334e205b39514bd9bb 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1999--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1999--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   SCM self_scm () const { return self_scm_; }   \
   private:
 
-#define DECLARE_UNSMOB(CL, name)                \
-  inline CL *                                   \
-  unsmob_ ## name (SCM s)                       \
-  {                                             \
-    return CL::unsmob (s);                      \
-  }
-
-#define DECLARE_TYPE_P(CL) extern SCM CL ## _type_p_proc
-
 void protect_smob (SCM smob, SCM *prot_cons);
 void unprotect_smob (SCM smob, SCM *prot_cons);
 
@@ -200,7 +191,7 @@ public:
       pass_here.checkin (arg);                                          \
   } while (0)
 #else
-#define ASSERT_LIVE_IS_ALLOWED(arg) do { } \
+#define ASSERT_LIVE_IS_ALLOWED(arg) do { (void)(arg); }  \
   while (0)
 #endif