remove SCM_CHAR_CODE_LIMIT define
authorAndy Wingo <wingo@pobox.com>
Sun, 15 May 2011 09:13:03 +0000 (11:13 +0200)
committerAndy Wingo <wingo@pobox.com>
Sun, 15 May 2011 13:34:15 +0000 (15:34 +0200)
* libguile/__scm.h: Remove SCM_CHAR_CODE_LIMIT define.
* libguile/feature.c (scm_init_feature): Remove char-code-limit define,
  which was sure to be 256: a bogus value.

libguile/__scm.h
libguile/feature.c

index 87ddeb6..d71982c 100644 (file)
 # define SCM_LONG_BIT (SCM_CHAR_BIT * sizeof (long) / sizeof (char))
 #endif
 
-#ifdef UCHAR_MAX
-# define SCM_CHAR_CODE_LIMIT (UCHAR_MAX + 1L)
-#else
-# define SCM_CHAR_CODE_LIMIT 256L
-#endif
-
 #define SCM_I_UTYPE_MAX(type)      ((type)-1)
 #define SCM_I_TYPE_MAX(type,umax)  ((type)((umax)/2))
 #define SCM_I_TYPE_MIN(type,umax)  (-((type)((umax)/2))-1)
index 98388af..a9fb1f0 100644 (file)
@@ -118,8 +118,6 @@ scm_init_feature()
   scm_add_feature ("threads");
 #endif
 
-  scm_c_define ("char-code-limit", scm_from_int (SCM_CHAR_CODE_LIMIT));
-
 #include "libguile/feature.x"
 }