mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[kandinsly] Rename utf8decoder as utf8_decoder
This commit is contained in:
@@ -13,7 +13,7 @@ src += $(addprefix kandinsky/src/,\
|
||||
ion_context.cpp \
|
||||
point.cpp \
|
||||
rect.cpp \
|
||||
unicode/utf8decoder.cpp\
|
||||
unicode/utf8_decoder.cpp\
|
||||
)
|
||||
|
||||
src += $(addprefix kandinsky/fonts/, \
|
||||
@@ -25,7 +25,7 @@ tests += $(addprefix kandinsky/test/,\
|
||||
color.cpp\
|
||||
font.cpp\
|
||||
rect.cpp\
|
||||
utf8decoder.cpp\
|
||||
utf8_decoder.cpp\
|
||||
)
|
||||
|
||||
RASTERIZER_CFLAGS := -std=c99 `pkg-config freetype2 --cflags`
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef KANDINSKY_UNICODE_UTF8DECODER_H
|
||||
#define KANDINSKY_UNICODE_UTF8DECODER_H
|
||||
#ifndef KANDINSKY_UNICODE_UTF8_DECODER_H
|
||||
#define KANDINSKY_UNICODE_UTF8_DECODER_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include "code_point.h"
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <assert.h>
|
||||
#include <kandinsky/context.h>
|
||||
#include <kandinsky/font.h>
|
||||
#include <kandinsky/unicode/utf8decoder.h>
|
||||
#include <kandinsky/unicode/utf8_decoder.h>
|
||||
|
||||
constexpr static int k_tabCharacterWidth = 4;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <assert.h>
|
||||
#include <kandinsky/font.h>
|
||||
#include <ion.h>
|
||||
#include <kandinsky/unicode/utf8decoder.h>
|
||||
#include <kandinsky/unicode/utf8_decoder.h>
|
||||
|
||||
constexpr static int k_tabCharacterWidth = 4;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <kandinsky/unicode/utf8decoder.h>
|
||||
#include <kandinsky/unicode/utf8_decoder.h>
|
||||
#include <assert.h>
|
||||
|
||||
static inline int leading_ones(uint8_t value) {
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <quiz.h>
|
||||
#include <kandinsky/unicode/utf8decoder.h>
|
||||
#include <kandinsky/unicode/utf8_decoder.h>
|
||||
|
||||
void assert_decodes_to(const char * string, CodePoint c) {
|
||||
UTF8Decoder d(string);
|
||||
|
||||
Reference in New Issue
Block a user