summaryrefslogtreecommitdiff
path: root/libguile/srcprop.h
diff options
context:
space:
mode:
authorGreg J. Badros <gjb@cs.washington.edu>1999-12-12 19:24:29 +0000
committerGreg J. Badros <gjb@cs.washington.edu>1999-12-12 19:24:29 +0000
commit156dcb091b3fe1c1e60e304b86fd11e7e0a00772 (patch)
tree74abce0544cdbd1176f19bfd05ef3570a1e49a31 /libguile/srcprop.h
parenta9967b3dbf03af3e508a5a144056ba57d7bf1be0 (diff)
downloadguile-156dcb091b3fe1c1e60e304b86fd11e7e0a00772.tar.gz
* *.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).
Diffstat (limited to 'libguile/srcprop.h')
-rw-r--r--libguile/srcprop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/srcprop.h b/libguile/srcprop.h
index bb4a4b4b0..8b44381ca 100644
--- a/libguile/srcprop.h
+++ b/libguile/srcprop.h
@@ -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)