blob: 2a76246a03ab6790c2c4ba82b855df324b3938be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include <global.h>
#include <m_ctype.h>
@CHARSET_DECLARATIONS@
static CHARSET_INFO comp_cs[] = {
@CHARSET_COMP_CS_INIT@
};
CHARSET_INFO *default_charset_info = &comp_cs[0];
CHARSET_INFO *find_compiled_charset(uint8 cs_number)
{
uint i;
for (i = 0; i < array_elements(comp_cs); ++i)
if (comp_cs[i].number == cs_number)
return &comp_cs[i];
return NULL;
}
|