diff options
| author | Nakidai <nakidai@disroot.org> | 2025-01-10 04:07:36 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2025-01-10 04:07:36 +0300 |
| commit | e8a758d1a1b3fd6db757196268ff02375a6a73da (patch) | |
| tree | 042faa3dc8b2159ef1a5f4ac05b30c53c3a0fcc5 /tr2cyr.h | |
| parent | ac86a131a75474bcc77b92b3d3833f74e1878bfb (diff) | |
| download | tr2cyr-1.1.0.tar.gz tr2cyr-1.1.0.zip | |
Make this cooler v1.1.0
Now it's a library (installable) UwU
Diffstat (limited to 'tr2cyr.h')
| -rw-r--r-- | tr2cyr.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tr2cyr.h b/tr2cyr.h new file mode 100644 index 0000000..d551a58 --- /dev/null +++ b/tr2cyr.h @@ -0,0 +1,12 @@ +#ifndef __TR2CYR_H__ +#define __TR2CYR_H__ + +#include <wchar.h> + + +typedef int tr2cyr_writer(wchar_t ch, void *arg); +typedef wint_t tr2cyr_reader(size_t i, void *arg); + +int tr2cyr(tr2cyr_reader *reader, void *readerarg, tr2cyr_writer *writer, void *writerarg); + +#endif /* __TR2CYR_H__ */ |