mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Define scm_t_wchar in one place
* libguile/__scm.h (scm_t_wchar): Move definition here, closer to scm_t_int32 definition (pulled in by scmconfig.h). * libguile/numbers.h: * libguile/chars.h: Remove weird maybe-definitions.
This commit is contained in:
parent
d340a9709c
commit
b64941f5af
3 changed files with 9 additions and 10 deletions
|
@ -422,6 +422,15 @@ typedef long SCM_STACKITEM;
|
|||
|
||||
#endif /* SCM___SCM_H */
|
||||
|
||||
|
||||
|
||||
|
||||
/* Trivial type declarations and forward declarations. */
|
||||
typedef scm_t_int32 scm_t_wchar;
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
Local Variables:
|
||||
c-file-style: "gnu"
|
||||
|
|
|
@ -27,11 +27,6 @@
|
|||
#include "libguile/__scm.h"
|
||||
#include <libguile/error.h>
|
||||
|
||||
#ifndef SCM_T_WCHAR_DEFINED
|
||||
typedef scm_t_int32 scm_t_wchar;
|
||||
#define SCM_T_WCHAR_DEFINED
|
||||
#endif /* SCM_T_WCHAR_DEFINED */
|
||||
|
||||
|
||||
/* Immediate Characters
|
||||
*/
|
||||
|
|
|
@ -32,11 +32,6 @@
|
|||
#include "libguile/gc.h"
|
||||
#include "libguile/print.h"
|
||||
|
||||
#ifndef SCM_T_WCHAR_DEFINED
|
||||
typedef scm_t_int32 scm_t_wchar;
|
||||
#define SCM_T_WCHAR_DEFINED
|
||||
#endif /* SCM_T_WCHAR_DEFINED */
|
||||
|
||||
|
||||
|
||||
/* Immediate Numbers, also known as fixnums
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue