DDraceNetwork Documentation
Loading...
Searching...
No Matches
confusables.cpp File Reference
#include "confusables.h"
#include <base/system.h>
#include <cstddef>
#include "confusables_data.h"
Include dependency graph for confusables.cpp:

Classes

struct  SKELETON

Macros

#define CONFUSABLES_DATA

Functions

static int str_utf8_skeleton (int ch, const int **skeleton, int *skeleton_len)
static void str_utf8_skeleton_begin (struct SKELETON *skel, const char *str)
static int str_utf8_skeleton_next (struct SKELETON *skel)
int str_utf8_to_skeleton (const char *str, int *buf, int buf_len)
int str_utf8_comp_confusable (const char *str1, const char *str2)

Macro Definition Documentation

◆ CONFUSABLES_DATA

#define CONFUSABLES_DATA

Function Documentation

◆ str_utf8_skeleton()

int str_utf8_skeleton ( int ch,
const int ** skeleton,
int * skeleton_len )
static

◆ str_utf8_skeleton_begin()

void str_utf8_skeleton_begin ( struct SKELETON * skel,
const char * str )
static

◆ str_utf8_skeleton_next()

int str_utf8_skeleton_next ( struct SKELETON * skel)
static

◆ str_utf8_to_skeleton()

int str_utf8_to_skeleton ( const char * str,
int * buf,
int buf_len )