diff options
author | Andy Wingo <wingo@pobox.com> | 2021-12-19 10:13:42 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2022-01-13 09:37:16 +0100 |
commit | 7e85ffa8221ccfba50aec93da284f61265454d2e (patch) | |
tree | cf432a09bc35928350044c26361edaad2bb690f4 /libguile/integers.h | |
parent | 4a380aa6ac331500faf52a2c599abac06dd7855b (diff) | |
download | guile-7e85ffa8221ccfba50aec93da284f61265454d2e.tar.gz |
Implement scm_logior with new integer library
* libguile/integers.c (scm_integer_logior_ii, scm_integer_logior_zi)
(scm_integer_logior_zz): New internal functions.
* libguile/integers.h: Declare the new internal functions.
* libguile/numbers.c (scm_logior): 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 d2ab465d7..d4f977c4e 100644 --- a/libguile/integers.h +++ b/libguile/integers.h @@ -136,6 +136,10 @@ SCM_INTERNAL SCM scm_integer_logand_ii (scm_t_inum x, scm_t_inum y); SCM_INTERNAL SCM scm_integer_logand_zi (SCM x, scm_t_inum y); SCM_INTERNAL SCM scm_integer_logand_zz (SCM x, SCM y); +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); + #endif /* SCM_INTEGERS_H */ |