diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-02-24 08:01:17 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-02-24 08:01:17 -0800 |
commit | 423b56b353fd0de803d734613bc93372c0986a59 (patch) | |
tree | 9af94571d7911c82c17f75109cb0aaba0da3df22 /tests/sock-common.tl | |
parent | 8604f52d07c4f58bad2c821f78855fa40bfa9780 (diff) | |
download | txr-423b56b353fd0de803d734613bc93372c0986a59.tar.gz txr-423b56b353fd0de803d734613bc93372c0986a59.tar.bz2 txr-423b56b353fd0de803d734613bc93372c0986a59.zip |
ffi: gc bug in enum type.
* ffi.c (make_ffi_type_enum): Allocate the sym_num an num_sym
hashes before the type object. That ensures they are older,
and may be assigned into the object without setcheck.
Also, move those assignments earlier, before the loop which
populates the hashes.
Diffstat (limited to 'tests/sock-common.tl')
0 files changed, 0 insertions, 0 deletions