mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 11:50:28 +02:00
Don't doubly define scm_t_wchar
* libguile/chars.h: don't define scm_t_wchar * libguile/numbers.h: define scm_t_wchar here
This commit is contained in:
parent
f7118e3552
commit
a876e7dcea
2 changed files with 1 additions and 9 deletions
|
@ -24,16 +24,11 @@
|
||||||
|
|
||||||
|
|
||||||
#include "libguile/__scm.h"
|
#include "libguile/__scm.h"
|
||||||
|
#include "libguile/numbers.h"
|
||||||
|
|
||||||
|
|
||||||
/* Immediate Characters
|
/* Immediate Characters
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SCM_WCHAR_DEFINED
|
|
||||||
typedef scm_t_int32 scm_t_wchar;
|
|
||||||
#define SCM_WCHAR_DEFINED
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define SCM_CHARP(x) (SCM_ITAG8(x) == scm_tc8_char)
|
#define SCM_CHARP(x) (SCM_ITAG8(x) == scm_tc8_char)
|
||||||
#define SCM_CHAR(x) ((scm_t_wchar)SCM_ITAG8_DATA(x))
|
#define SCM_CHAR(x) ((scm_t_wchar)SCM_ITAG8_DATA(x))
|
||||||
|
|
||||||
|
|
|
@ -174,10 +174,7 @@ typedef struct scm_t_complex
|
||||||
double imag;
|
double imag;
|
||||||
} scm_t_complex;
|
} scm_t_complex;
|
||||||
|
|
||||||
#ifndef SCM_WCHAR_DEFINED
|
|
||||||
typedef scm_t_int32 scm_t_wchar;
|
typedef scm_t_int32 scm_t_wchar;
|
||||||
#define SCM_WCHAR_DEFINED
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue