shithub: rgbds

ref: c65d58c5890c70ffa15054de4bef9c32d005a801
dir: /include/asm/charmap.h/

View raw version
#ifndef ASMOTOR_ASM_CHARMAP_H
#define ASMOTOR_ASM_CHARMAP_H

#define MAXCHARMAPS	512
#define CHARMAPLENGTH	8

struct Charmap {
	int count;
	char input[MAXCHARMAPS][CHARMAPLENGTH + 1];
	char output[MAXCHARMAPS];
};

int readUTF8Char(char *destination, char *source);
void charmap_Sort();
int charmap_Add(char *input, UBYTE output);
int charmap_Convert(char **input);

#endif