]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/c++.scm
skyline vertical spacing.
[lilypond.git] / scm / c++.scm
index f815c9133bef0b540592ea84ceff482d70abb9cd..7069ca1a41e32e2b2e42fa59f58b0ee55f4ec7f5 100644 (file)
@@ -3,7 +3,7 @@
 ;;;;  source file of the GNU LilyPond music typesetter
 ;;;; 
 ;;;; (c) 1998--2006 Jan Nieuwenhuizen <janneke@gnu.org>
-;;;;                 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+;;;;                 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
 ;;; Note: this file can't be used without LilyPond executable
 
@@ -27,6 +27,9 @@
 (define-public (boolean-or-symbol? x)
   (or (boolean? x) (symbol? x)))
 
+(define-public (string-or-symbol? x)
+  (or (string? x) (symbol? x)))
+
 (define-public (number-or-string? x)
   (or (number? x) (string? x)))
 
@@ -46,7 +49,8 @@
 
 (define-public (object-type obj)
   (match-predicate obj type-p-name-alist))
-
+(define-public (object-type-name obj)
+  (type-name (match-predicate obj type-p-name-alist)))
 (define-public (type-name predicate)
   (let ((entry (assoc predicate type-p-name-alist)))
     (if (pair? entry) (cdr entry)