summaryrefslogtreecommitdiff
path: root/libguile/chars.c
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2019-04-16 23:11:42 -0400
committerMark H Weaver <mhw@netris.org>2019-04-17 03:02:55 -0400
commit63818453ad226cd3c2d1fd8ade12e3d7c1d43c05 (patch)
treeb673387e872c137ad022500186b79a912a91d373 /libguile/chars.c
parent546b0e87294b837ec29164d87cf17102e9aeee0c (diff)
Reimplement SCM_MAKE_CHAR to evaluate its argument only once.
The motivation for this change is that SCM_MAKE_CHAR is sometimes passed an expression that involves a procedure call that is not always trivial. In other cases, the results are not guaranteed to be the same both times, which could lead to the creation of invalid SCM objects. * libguile/chars.h (SCM_MAKE_CHAR): Reimplement.
Diffstat (limited to 'libguile/chars.c')
0 files changed, 0 insertions, 0 deletions