X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=flower%2Finclude%2Fguile-compatibility.hh;h=f18c1824e7ca81c00ebafe1c0a35e9331a209f3c;hb=14c7123e678938b7cc858c9f087788fd6516c1a2;hp=022771812aab083ac819f1f038702fd5685af279;hpb=535a0a12c66a571491248e4256722db259fd0a72;p=lilypond.git diff --git a/flower/include/guile-compatibility.hh b/flower/include/guile-compatibility.hh index 022771812a..f18c1824e7 100644 --- a/flower/include/guile-compatibility.hh +++ b/flower/include/guile-compatibility.hh @@ -1,9 +1,20 @@ /* - guile-compatibility.hh -- declare compat functions for GUILE 1.6 + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2004--2010 Han-Wen Nienhuys - (c) 2004--2006 Han-Wen Nienhuys + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #ifndef GUILE_COMPATIBILITY_HH @@ -42,6 +53,7 @@ inline SCM scm_cadar (SCM x) { return SCM_CADAR (x); } #define scm_from_int(x) SCM_MAKINUM (x) #define scm_from_unsigned_integer(x) scm_uint2num (x) #define scm_from_unsigned(x) scm_uint2num (x) +#define scm_from_uint32(x) scm_uint2num (x) #define scm_is_integer(x) SCM_INUMP (x) #define scm_is_string(x) SCM_STRINGP (x) #define scm_hash_table_p scm_vector_p