X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Fguile-compatibility.hh;h=3d1f85a6ccc79464ce7b6866dd63b55c255e2c54;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=3b27b579ec49d95a533594da9369f9c0e805e880;hpb=64313890b232c731d432e5b096f30bffc3f3756d;p=lilypond.git diff --git a/flower/include/guile-compatibility.hh b/flower/include/guile-compatibility.hh index 3b27b579ec..3d1f85a6cc 100644 --- a/flower/include/guile-compatibility.hh +++ b/flower/include/guile-compatibility.hh @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2004--2006 Han-Wen Nienhuys + (c) 2004--2008 Han-Wen Nienhuys */ #ifndef GUILE_COMPATIBILITY_HH @@ -41,6 +41,8 @@ inline SCM scm_cadar (SCM x) { return SCM_CADAR (x); } #define scm_from_bool(x) (x ? SCM_BOOL_T : SCM_BOOL_F) #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