diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-07-27 22:17:03 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-07-27 22:17:03 -0700 |
commit | 15933c5dc8298e19de7e2916fac5368c96c765c3 (patch) | |
tree | d4c65c4bfacdfd8e2a5437eb24c6fb4775b8c41a /lib.h | |
parent | afdcf81a2c4556b4a6107afd9869616267c9bdeb (diff) | |
download | txr-15933c5dc8298e19de7e2916fac5368c96c765c3.tar.gz txr-15933c5dc8298e19de7e2916fac5368c96c765c3.tar.bz2 txr-15933c5dc8298e19de7e2916fac5368c96c765c3.zip |
struct: get rid of pointer typedef.
* lib.h (slot_cache_t): Typedef removed.
(struct sym): Use slot_cache_set_t *.
* struct.c (struct_type_finalize, lookup_slot,
lookup_static_slot, lookup_static_slot_desc): Likewise.
Diffstat (limited to 'lib.h')
-rw-r--r-- | lib.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -130,14 +130,14 @@ typedef struct { cnum id; cnum slot; } slot_cache_entry_t; + typedef slot_cache_entry_t slot_cache_set_t[4]; -typedef slot_cache_set_t *slot_cache_t; struct sym { obj_common; val name; val package; - slot_cache_t slot_cache; + slot_cache_set_t *slot_cache; }; struct package { |