diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-05-03 06:09:23 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-05-03 06:09:23 -0700 |
commit | 244d706de560cad057d2853c2736a3008b0d8004 (patch) | |
tree | ca9641e9ac03fd62d9a74d911d551dddd2c87e62 /genvim.txr | |
parent | 5f8e2b6572241951c5b264707a05af76e3e9cda9 (diff) | |
download | txr-244d706de560cad057d2853c2736a3008b0d8004.tar.gz txr-244d706de560cad057d2853c2736a3008b0d8004.tar.bz2 txr-244d706de560cad057d2853c2736a3008b0d8004.zip |
ffi: instantiate simple types just once.
* ffi.c (ffi_type_compile): All cases where the syntax is an
atom just go through the ffi_typedef_hash lookup to retrieve a
single type instance.
(ffi_init_types): New function. Populates typedefs using
construction code that was previously in ffi_type_compile.
(ffi_init): Call ffi_init_types.
Diffstat (limited to 'genvim.txr')
0 files changed, 0 insertions, 0 deletions