diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-04-29 14:26:42 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-04-29 14:26:42 -0700 |
commit | 17d4160a2e6dcb07d2d7d09f8682ec120034a084 (patch) | |
tree | 9c3ba4d04432242dbcc07ebc8381fab93a4d8855 /ftw.h | |
parent | 5c9f482790a97c075d75d903e35a4cf7f09134c2 (diff) | |
download | txr-17d4160a2e6dcb07d2d7d09f8682ec120034a084.tar.gz txr-17d4160a2e6dcb07d2d7d09f8682ec120034a084.tar.bz2 txr-17d4160a2e6dcb07d2d7d09f8682ec120034a084.zip |
ffi: add support for wchar_t type.
We have wstr strings already but no wchar type.
* ffi.c (wchar_s): New symbol variable.
(ffi_type_wchar): New macro.
(ffi_wchar_put, ffi_wchar_get): New static functions.
(ffi_type_compile): Handle wchar_s.
(ffi_init): Initialize wchar_s.
* ffi.h (wchar_s): Declared.
Diffstat (limited to 'ftw.h')
0 files changed, 0 insertions, 0 deletions