summaryrefslogtreecommitdiffstats
path: root/utf8.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-11-14 19:05:21 -0800
committerKaz Kylheku <kaz@kylheku.com>2016-11-14 19:05:21 -0800
commit86e34526a52f4102ffdab6d7249d529a2174c87f (patch)
tree72ee2c3b303f7108c40b9a4568c3d9070d2b7b15 /utf8.c
parent32385342eaa73711cbd2d3481ecd98969bb382ef (diff)
downloadtxr-86e34526a52f4102ffdab6d7249d529a2174c87f.tar.gz
txr-86e34526a52f4102ffdab6d7249d529a2174c87f.tar.bz2
txr-86e34526a52f4102ffdab6d7249d529a2174c87f.zip
Introducing struct instance dirty flags.
* struct.c (struct struct_inst): New bitfield member, dirty. (struct_init): Register test-dirty, test-clear-dirty and clear-dirty intrinsics. (make_struct): Initialize dirty flag to 1. (slotset): If the object is clean, then determine whether the slot being set is an instance slot. If so, then set the dirty flag. (test_dirty, test_clear_dirty, clear_dirty): New functions. * struct.h (test_dirty, test_clear_dirty, clear_dirty): Declared. * txr.1: Documented dirty flags concept and new functions.
Diffstat (limited to 'utf8.c')
0 files changed, 0 insertions, 0 deletions