mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
* *.c, srcprop.h: Use SCM_BOOL(f) instead of (f? SCM_BOOL_T:
SCM_BOOL_F) and use SCM_NEGATE_BOOL(f) instead of (f? SCM_BOOL_F: SCM_BOOL_T).
This commit is contained in:
parent
a9967b3dbf
commit
156dcb091b
15 changed files with 42 additions and 43 deletions
|
@ -93,7 +93,7 @@ typedef struct scm_srcprops_chunk
|
|||
} scm_srcprops_chunk;
|
||||
|
||||
#define SRCPROPSP(p) (SCM_TYP16 (p) == scm_tc16_srcprops)
|
||||
#define SRCPROPBRK(p) ((1L << 16) & SCM_CAR (p) ? SCM_BOOL_T : SCM_BOOL_F)
|
||||
#define SRCPROPBRK(p) (SCM_BOOL((1L << 16) & SCM_CAR (p)))
|
||||
#define SRCPROPPOS(p) ((scm_srcprops *) SCM_CDR (p))->pos
|
||||
#define SRCPROPLINE(p) (SRCPROPPOS(p) >> 12)
|
||||
#define SRCPROPCOL(p) (SRCPROPPOS(p) & 0x0fffL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue