diff options
author | kx <kx@radix.pro> | 2023-03-24 02:53:04 +0300 |
---|---|---|
committer | kx <kx@radix.pro> | 2023-03-24 02:53:04 +0300 |
commit | 12c7b1c5658602269da2f5b75835ec0f5fab8890 (patch) | |
tree | 93f6f6b85830af69743d5ebda902d4305bf23f4f /cscmd/utf8ing.h | |
parent | 4e72ffe940d9aff7c019d37a6459e765902c1fae (diff) | |
download | cscm-12c7b1c5658602269da2f5b75835ec0f5fab8890.tar.xz |
Version 0.1.4HEADcscm-0.1.4trunk
Diffstat (limited to 'cscmd/utf8ing.h')
-rw-r--r-- | cscmd/utf8ing.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/cscmd/utf8ing.h b/cscmd/utf8ing.h new file mode 100644 index 0000000..d96cda8 --- /dev/null +++ b/cscmd/utf8ing.h @@ -0,0 +1,22 @@ + +#ifndef __UTF8_H +#define __UTF8_H + + +typedef unsigned int ucs4_t; +typedef unsigned char utf8_t; + + +#ifdef __cplusplus +extern "C" { +#endif + + +extern int copy_ucs4_to_utf8( utf8_t *, const ucs4_t * ); + + +#ifdef __cplusplus +} +#endif + +#endif /* __UTF8_H */ |