about summary refs log tree commit diff
path: root/src/locale/iconv_close.c
Commit message (Collapse)AuthorAgeFilesLines
* add iconv framework for decoding stateful encodingsRich Felker2017-11-101-0/+2
| | | | | | | assuming pointers obtained from malloc have some nonzero alignment, repurpose the low bit of iconv_t as an indicator that the descriptor is a stateless value representing the source and destination character encodings.
* move iconv_close to its own translation unitRich Felker2017-11-101-0/+6
this is in preparation to support stateful conversion descriptors, which are necessarily allocated and thus must be freed in iconv_close. putting it in a separate TU will avoid pulling in free if iconv_close is not referenced.