mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +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/numbers.h"
|
||||
|
||||
|
||||
/* 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_CHAR(x) ((scm_t_wchar)SCM_ITAG8_DATA(x))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue