Mandarin // Add extern "C" to several classes.
This commit is contained in:
parent
d74d7d7f7c
commit
950b4ff941
|
@ -210,7 +210,7 @@ typedef BopomofoSyllable BPMF;
|
||||||
typedef std::map<char, std::vector<BPMF::Component>> BopomofoKeyToComponentMap;
|
typedef std::map<char, std::vector<BPMF::Component>> BopomofoKeyToComponentMap;
|
||||||
typedef std::map<BPMF::Component, char> BopomofoComponentToKeyMap;
|
typedef std::map<BPMF::Component, char> BopomofoComponentToKeyMap;
|
||||||
|
|
||||||
class BopomofoKeyboardLayout
|
extern "C" class BopomofoKeyboardLayout
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static const BopomofoKeyboardLayout *StandardLayout();
|
static const BopomofoKeyboardLayout *StandardLayout();
|
||||||
|
@ -438,7 +438,7 @@ class BopomofoKeyboardLayout
|
||||||
BopomofoComponentToKeyMap m_componentToKey;
|
BopomofoComponentToKeyMap m_componentToKey;
|
||||||
};
|
};
|
||||||
|
|
||||||
class BopomofoReadingBuffer
|
extern "C" class BopomofoReadingBuffer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit BopomofoReadingBuffer(const BopomofoKeyboardLayout *layout) : layout_(layout), pinyin_mode_(false)
|
explicit BopomofoReadingBuffer(const BopomofoKeyboardLayout *layout) : layout_(layout), pinyin_mode_(false)
|
||||||
|
|
Loading…
Reference in New Issue