]> git.donarmstrong.com Git - lilypond.git/commitdiff
(stderr): move stderr.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 17 Dec 2004 13:29:49 +0000 (13:29 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 17 Dec 2004 13:29:49 +0000 (13:29 +0000)
lily/lily-guile.cc
scm/lily-library.scm
scm/output-tex.scm

index f418df157d8e5076bb00fea350911a21fb932bc4..3456c2c88b68ccf6cf50103e3f47badcc8040807 100644 (file)
@@ -822,7 +822,6 @@ alist_to_hashq (SCM alist)
   return tab; 
 }
 
-#if 1
 /*
   Debugging mem leaks:
  */
@@ -832,7 +831,6 @@ LY_DEFINE (ly_protects, "ly:protects",
 {
   return scm_protects;
 }
-#endif
 
 
 #if HAVE_PANGO_FC_FONT_MAP_ADD_DECODER_FIND_FUNC
index 480e1672ad8c0bd1e34622c288513ced7bcb03ed..3cd59bccda21cafd5baa70905f4482cd3b57b2f3 100644 (file)
@@ -293,6 +293,12 @@ possibly turned off."
   (display message) (write x) (newline) x)
 ;;  x)
 
+
+(define-public (stderr string . rest)
+  (apply format (cons (current-error-port) (cons string rest)))
+  (force-output (current-error-port)))
+
+
 (define (index-cell cell dir)
   (if (equal? dir 1)
       (cdr cell)
index 8f3cb1a709a2306dd1f8120a57dd6e561141bf6d..c1fd784b8665ddae4d289a8c4807dc85645d6612 100644 (file)
             (scm framework-tex)
             (lily))
 
-;; helper functions
-(define (stderr string . rest)
-  (apply format (cons (current-error-port) (cons string rest)))
-  (force-output (current-error-port)))
 
 
 ;;;;;;;;