smntc
an in-memory multimodal graph database
Loading...
Searching...
No Matches
Utf8.h
Go to the documentation of this file.
1#ifndef __UTF8_HEADER__
2#define __UTF8_HEADER__
3
4#include <wchar.h>
5
6struct Utf8;
7
8struct Utf8 *Utf8_construct(char *locale, int *error);
9
10struct Utf8 *Utf8_destruct(struct Utf8 *this);
11
12char *Utf8_encode(struct Utf8 *this, const wchar_t* wchars, int *error);
13
14wchar_t *Utf8_decode(struct Utf8 *this, const char *chars, int *error);
15
16size_t Utf8_countCodes(struct Utf8 *this, const char *chars, int *error);
17
18#endif
struct Utf8 * Utf8_construct(char *locale, int *error)
Definition Utf8.c:17
struct Utf8 * Utf8_destruct(struct Utf8 *this)
Definition Utf8.c:43
size_t Utf8_countCodes(struct Utf8 *this, const char *chars, int *error)
Definition Utf8.c:106
char * Utf8_encode(struct Utf8 *this, const wchar_t *wchars, int *error)
Definition Utf8.c:55
wchar_t * Utf8_decode(struct Utf8 *this, const char *chars, int *error)
Definition Utf8.c:80
Definition Utf8.c:10
char * locale
Definition Utf8.c:11