diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-10-17 20:00:46 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-10-17 20:00:46 -0700 |
commit | e5b96f7555634de5e3b62d4df1a0a0d1a21799b9 (patch) | |
tree | 7157e01c54a45670eae73477a51cc2600b60a83b /inst.nsi | |
parent | fc450ffb9cc44781fa50b789dd5394e3f8937b36 (diff) | |
download | txr-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 'inst.nsi')
0 files changed, 0 insertions, 0 deletions