]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.5.28
authorfred <fred>
Wed, 27 Mar 2002 02:04:58 +0000 (02:04 +0000)
committerfred <fred>
Wed, 27 Mar 2002 02:04:58 +0000 (02:04 +0000)
lily/include/lily-guile.hh

index 7788833f4b19641dd9fa71d6f539fa59a9a641e8..79bf4ca69ed55c76d170834d94d6c2f276c81973 100644 (file)
@@ -101,9 +101,6 @@ SCM ly_truncate_list (int k, SCM l );
 #endif
 
 
-#ifdef CACHE_SYMBOLS
-
-
 /*
   We don't use gh_symbol2scm directly, since it has const-correctness
   problems in GUILE 1.3.4
@@ -111,6 +108,9 @@ SCM ly_truncate_list (int k, SCM l );
  */
 SCM my_gh_symbol2scm (const char* x);
 
+#ifdef CACHE_SYMBOLS
+
+
 /*
   Using this trick we cache the value of gh_symbol2scm ("fooo") where
   "fooo" is a constant string. This is done at the cost of one static
@@ -129,7 +129,7 @@ SCM my_gh_symbol2scm (const char* x);
   value = gh_symbol2scm ((char*) (x)); \
   value; })
 #else
-inline SCM ly_symbol2scm(char const* x) { return gh_symbol2scm((x)); }
+inline SCM ly_symbol2scm(char const* x) { return my_gh_symbol2scm((x)); }
 #endif