summaryrefslogtreecommitdiffstats
path: root/lisplib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-10-10 23:19:32 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-10-10 23:19:32 -0700
commit46a525574121efd4e2ad5d1420d2ba11a67e9a1c (patch)
treed93fc659d63ed70b9ea5f75b0ebe24a40f5bb1a9 /lisplib.c
parentc68ee2c432758a6fde0b79afbb0fdcc7db628a7b (diff)
downloadtxr-46a525574121efd4e2ad5d1420d2ba11a67e9a1c.tar.gz
txr-46a525574121efd4e2ad5d1420d2ba11a67e9a1c.tar.bz2
txr-46a525574121efd4e2ad5d1420d2ba11a67e9a1c.zip
Struct finalizers should be registered first.
* share/txr/stdlib/struct.tl (defstruct): Rearrange the generated instance initialization function so that if a :fini block was specified, it is performed first. Thus if the remaining initialization code is abandoned, it is possible to intercept that and invoke the finalizer, which can clean up any mess left behind. * txr.1: Document changed order.
Diffstat (limited to 'lisplib.c')
0 files changed, 0 insertions, 0 deletions