summaryrefslogtreecommitdiff
path: root/lib/unicode.h
blob: 8bd841b0ad552f36eb2c0f9296d77c8dfdd6818f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef UNICODE_H
#define UNICODE_H

// Wrappers of some glib functions (why are we using glib then?) which we want, but glib.h is a bit C like

#ifdef __cplusplus
#	include <cstdint>
extern "C" {
#else
#	include <stdint.h>
#endif

const char * next_char(const char *);
uint32_t get_codepoint(const char *);

#ifdef __cplusplus
}
#endif

#endif