emilib
Main Page
+
Namespaces
Namespace List
+
Namespace Members
All
Functions
Enumerations
Enumerator
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
y
~
+
Functions
a
b
c
d
e
f
g
i
l
m
o
p
r
s
t
u
v
w
y
~
Variables
+
Files
File List
•
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
Pages
emilib
utf8.hpp
1
// By Emil Ernerfeldt 2014-2016
2
// LICENSE:
3
// This software is dual-licensed to the public domain and under the following
4
// license: you are granted a perpetual, irrevocable license to copy, modify,
5
// publish, and distribute this file as you see fit.
6
// HISTORY:
7
// Created in 2014 for Ghostel.
8
9
#pragma once
10
11
#include <string>
12
13
namespace
emilib
{
14
namespace
utf8 {
15
16
size_t
count_chars(
const
char
* utf8);
17
19
size_t
count_chars(
const
char
* utf8,
size_t
num_bytes);
20
22
size_t
encode(std::string& out_utf8, uint64_t codepoints);
23
24
}
// namespace utf8
25
}
// namespace emilib
emilib
Definition:
coroutine.hpp:18
Generated by
1.8.13