]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/smobs.hh
Fix disappearing last page problem.
[lilypond.git] / lily / include / smobs.hh
index 61b8ae37fd2e64fc3e0f3f0c7111f0910738131b..9971b19da5023d0711acd4d7a05ae03a3dc8b3a0 100644 (file)
   static int print_smob (SCM s, SCM p, scm_print_state*);      \
   public:                                                      \
   static SCM equal_p (SCM a, SCM b);                           \
-  static CL *unsmob (SCM s)                                    \
+  static CL *unsmob (SCM s) __attribute__((pure))              \
   {                                                            \
     if (SCM_NIMP (s) && SCM_CELL_TYPE (s) == smob_tag_)                \
       return (CL *) SCM_CELL_WORD_1 (s);                       \