[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] branch main updated: Align return type of scm_to_wchar w
From: |
Mikael Djurfeldt |
Subject: |
[Guile-commits] branch main updated: Align return type of scm_to_wchar with its declaration. |
Date: |
Thu, 10 Feb 2022 06:39:39 -0500 |
This is an automated email from the git hooks/post-receive script.
mdj pushed a commit to branch main
in repository guile.
The following commit(s) were added to refs/heads/main by this push:
new 2e10a1257 Align return type of scm_to_wchar with its declaration.
2e10a1257 is described below
commit 2e10a1257f188e122e41badd436b60bbf866617c
Author: Mikael Djurfeldt <mikael@djurfeldt.com>
AuthorDate: Thu Feb 10 12:36:06 2022 +0100
Align return type of scm_to_wchar with its declaration.
* libguile/numbers.c (scm_t_wchar): Change return type from wchar_t to
scm_t_wchar which is the return type in numbers.h.
---
libguile/numbers.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libguile/numbers.c b/libguile/numbers.c
index 4417f861f..c4ca0b88f 100644
--- a/libguile/numbers.c
+++ b/libguile/numbers.c
@@ -6847,7 +6847,7 @@ scm_from_uint64 (uint64_t arg)
return scm_integer_from_uint64 (arg);
}
-wchar_t
+scm_t_wchar
scm_to_wchar (SCM arg)
{
return inum_in_range (arg, -1, 0x10ffff);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] branch main updated: Align return type of scm_to_wchar with its declaration.,
Mikael Djurfeldt <=