summaryrefslogtreecommitdiffstats
path: root/autoload.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-10-05 01:47:39 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-10-05 01:47:39 -0700
commit5c50205c0f025bae07e813f8374649759b2e825a (patch)
tree380d0b2e3c26040486da76c819656a998fd8c283 /autoload.c
parent8ec4ac6b8a529489158a9a8346c1bb0f33ea2b8a (diff)
downloadtxr-5c50205c0f025bae07e813f8374649759b2e825a.tar.gz
txr-5c50205c0f025bae07e813f8374649759b2e825a.tar.bz2
txr-5c50205c0f025bae07e813f8374649759b2e825a.zip
defstruct: refactor elimination of empty :init/:fini.
* stdlib/struct.tl (defstruct): When an :init, :fini, :postinit or :postfini has an empty body, do not push it onto its corresponding list. Then later we don't have to check for empty items when generating the code; we know only non-empty items are on the lists.
Diffstat (limited to 'autoload.c')
0 files changed, 0 insertions, 0 deletions