summaryrefslogtreecommitdiffstats
path: root/genman.txr
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-10-17 20:00:46 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-10-17 20:00:46 -0700
commite5b96f7555634de5e3b62d4df1a0a0d1a21799b9 (patch)
tree7157e01c54a45670eae73477a51cc2600b60a83b /genman.txr
parentfc450ffb9cc44781fa50b789dd5394e3f8937b36 (diff)
downloadtxr-e5b96f7555634de5e3b62d4df1a0a0d1a21799b9.tar.gz
txr-e5b96f7555634de5e3b62d4df1a0a0d1a21799b9.tar.bz2
txr-e5b96f7555634de5e3b62d4df1a0a0d1a21799b9.zip
Use chk_manage_vec for static slots arrays.
* struct.c (make_struct_type): Use chk_manage_vec for initial allocation of static slot array. (static_slot_ensure): Use chk_manage_vec to grow the array when adding a slot. The function will automatically double the array in power of two step sizes.
Diffstat (limited to 'genman.txr')
0 files changed, 0 insertions, 0 deletions