source file of the GNU LilyPond music typesetter
- (c) 2005--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ (c) 2005--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
#include "smobs.hh"
}
ADD_SCM_INIT_FUNC (init_smob_protection, init_smob_protection);
-LY_DEFINE(ly_smob_protects, "ly:smob-protects",
+LY_DEFINE (ly_smob_protects, "ly:smob-protects",
0, 0, 0, (),
- "Return lily's internal smob protection list")
+ "Return LilyPond's internal smob protection list.")
{
return scm_is_pair (smob_protection_list)
? scm_cdr (smob_protection_list)
prot);
*prot_cons = prot;
#else
+ (void) prot_cons;
scm_gc_protect_object (smob);
#endif
}
unprotect_smob (SCM smob, SCM *prot_cons)
{
#if 1
+ (void) prot_cons;
scm_gc_unprotect_object (smob);
#else
SCM next = scm_cdr (*prot_cons);