mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-17 01:00:20 +02:00
* eval.c (scm_unmemocar): Use macros to test for gloc cell.
* eval.h (SCM_IFRAME, SCM_IDIST), weaks.h (SCM_IS_WHVEC_ANY): Added missing call to SCM_UNPACK.
This commit is contained in:
parent
2891588bee
commit
b0c545678a
4 changed files with 16 additions and 8 deletions
|
@ -81,9 +81,10 @@ extern SCM scm_eval_options_interface (SCM setting);
|
|||
#define SCM_ICDR (0x00080000L)
|
||||
#define SCM_IFRINC (0x00000100L)
|
||||
#define SCM_IDSTMSK (-SCM_IDINC)
|
||||
#define SCM_IFRAME(n) ((int)((SCM_ICDR-SCM_IFRINC)>>8) & ((int)(n)>>8))
|
||||
#define SCM_IDIST(n) (((unsigned long)(n))>>20)
|
||||
#define SCM_ICDRP(n) (SCM_ICDR & SCM_UNPACK(n))
|
||||
#define SCM_IFRAME(n) ((int)((SCM_ICDR-SCM_IFRINC)>>8) \
|
||||
& (SCM_UNPACK (n) >> 8))
|
||||
#define SCM_IDIST(n) (SCM_UNPACK (n) >> 20)
|
||||
#define SCM_ICDRP(n) (SCM_ICDR & SCM_UNPACK (n))
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue