diff options
author | Andy Wingo <wingo@pobox.com> | 2021-12-19 10:45:12 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2022-01-13 09:37:16 +0100 |
commit | 459163fca16eacebefa463d514a9364e6adcb779 (patch) | |
tree | 53e0a48bb21615b0cd851f4c3294e2e55a13d0d4 /libguile/integers.h | |
parent | 7e85ffa8221ccfba50aec93da284f61265454d2e (diff) | |
download | guile-459163fca16eacebefa463d514a9364e6adcb779.tar.gz |
Implement scm_logxor with new integer library
* libguile/integers.c (scm_integer_logxor_ii, scm_integer_logxor_zi)
(scm_integer_logxor_zz): New internal functions.
* libguile/integers.h: Declare the new internal functions.
* libguile/numbers.c (scm_logxor): Use new internal functions.
Diffstat (limited to 'libguile/integers.h')
-rw-r--r-- | libguile/integers.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libguile/integers.h b/libguile/integers.h index d4f977c4e..9fa41d914 100644 --- a/libguile/integers.h +++ b/libguile/integers.h @@ -140,6 +140,10 @@ SCM_INTERNAL SCM scm_integer_logior_ii (scm_t_inum x, scm_t_inum y); SCM_INTERNAL SCM scm_integer_logior_zi (SCM x, scm_t_inum y); SCM_INTERNAL SCM scm_integer_logior_zz (SCM x, SCM y); +SCM_INTERNAL SCM scm_integer_logxor_ii (scm_t_inum x, scm_t_inum y); +SCM_INTERNAL SCM scm_integer_logxor_zi (SCM x, scm_t_inum y); +SCM_INTERNAL SCM scm_integer_logxor_zz (SCM x, SCM y); + #endif /* SCM_INTEGERS_H */ |