EXCEPTION macro removed

fmt::throw_exception<> implemented
::narrow improved
Minor fixes
This commit is contained in:
Nekotekina 2016-08-08 19:01:06 +03:00
parent 46735d6b3d
commit a7e808b35b
198 changed files with 3025 additions and 2956 deletions

View file

@ -294,182 +294,182 @@ s32 _L10nConvertCharNoResult(s32 src_code, const void *src, s32 src_len, s32 dst
s32 UCS2toEUCJP()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 l10n_convert()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2toUTF32()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 jis2kuten()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8toGB18030()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 JISstoUTF8s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 SjisZen2Han()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 ToSjisLower()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2toGB18030()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 HZstoUCS2s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2stoHZs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2stoSJISs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 kuten2eucjp()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 sjis2jis()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 EUCKRstoUCS2s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UHCstoEUCKRs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 jis2sjis()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 jstrnchk()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 L10nConvert()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 EUCCNstoUTF8s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 GBKstoUCS2s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 eucjphan2zen()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 ToSjisHira()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 GBKtoUCS2()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 eucjp2jis()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF32stoUTF8s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 sjishan2zen()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2toSBCS()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8stoGBKs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8toUCS2()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2stoUTF8s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 EUCKRstoUTF8s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF16stoUTF32s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8toEUCKR()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF16toUTF8()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 ARIBstoUTF8s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 SJISstoUTF8s(vm::cptr<void> src, vm::cptr<s32> src_len, vm::ptr<void> dst, vm::ptr<s32> dst_len)
@ -480,102 +480,102 @@ s32 SJISstoUTF8s(vm::cptr<void> src, vm::cptr<s32> src_len, vm::ptr<void> dst, v
s32 sjiszen2han()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 ToEucJpLower()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 MSJIStoUTF8()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2stoMSJISs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 EUCJPtoUTF8()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 eucjp2sjis()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 ToEucJpHira()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UHCstoUCS2s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 ToEucJpKata()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 HZstoUTF8s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8toMSJIS()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 BIG5toUTF8()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 EUCJPstoSJISs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8stoBIG5s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF16stoUCS2s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2stoGB18030s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 EUCJPtoSJIS()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 EUCJPtoUCS2()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2stoGBKs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 EUCKRtoUHC()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2toSJIS(u16 ch, vm::ptr<void> dst)
@ -586,137 +586,137 @@ s32 UCS2toSJIS(u16 ch, vm::ptr<void> dst)
s32 MSJISstoUTF8s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 EUCJPstoUTF8s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2toBIG5()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8stoEUCKRs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UHCstoUTF8s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 GB18030stoUCS2s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 SJIStoUTF8()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 JISstoSJISs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8toUTF16()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8stoMSJISs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 EUCKRtoUTF8()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 SjisHan2Zen()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2toUTF16()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2toMSJIS()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 sjis2kuten()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2toUHC()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF32toUCS2()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 ToSjisUpper()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8toEUCJP()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2stoEUCJPs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF16toUCS2()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2stoUTF16s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2stoEUCCNs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 SBCSstoUTF8s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 SJISstoJISs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 SBCStoUTF8()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8toUTF32()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 jstrchk(vm::cptr<void> jstr)
@ -729,77 +729,77 @@ s32 jstrchk(vm::cptr<void> jstr)
s32 UHCtoEUCKR()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 kuten2jis()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8toEUCCN()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 EUCCNtoUTF8()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 EucJpZen2Han()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF32stoUTF16s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 GBKtoUTF8()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 ToEucJpUpper()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2stoJISs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8stoGB18030s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 EUCKRstoUHCs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8stoUTF32s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8stoEUCCNs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 EUCJPstoUCS2s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UHCtoUCS2()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 L10nConvertStr(s32 src_code, vm::cptr<void> src, vm::ptr<s32> src_len, s32 dst_code, vm::ptr<void> dst, vm::ptr<s32> dst_len)
@ -810,82 +810,82 @@ s32 L10nConvertStr(s32 src_code, vm::cptr<void> src, vm::ptr<s32> src_len, s32 d
s32 GBKstoUTF8s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8toUHC()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF32toUTF8()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 sjis2eucjp()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2toEUCCN()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8stoUHCs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 EUCKRtoUCS2()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF32toUTF16()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 EUCCNstoUCS2s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 SBCSstoUCS2s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8stoJISs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 ToSjisKata()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 jis2eucjp()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 BIG5toUCS2()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2toGBK()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF16toUTF32()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 l10n_convert_str(s32 cd, vm::cptr<void> src, vm::ptr<s32> src_len, vm::ptr<void> dst, vm::ptr<s32> dst_len)
@ -900,102 +900,102 @@ s32 l10n_convert_str(s32 cd, vm::cptr<void> src, vm::ptr<s32> src_len, vm::ptr<v
s32 EUCJPstoJISs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8stoARIBs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 JISstoEUCJPs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 EucJpHan2Zen()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 isEucJpKigou()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2toUTF8()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 GB18030toUCS2()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UHCtoUTF8()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 MSJIStoUCS2()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8toGBK()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 kuten2sjis()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8toSBCS()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 SJIStoUCS2()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 eucjpzen2han()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2stoARIBs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 isSjisKigou()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8stoEUCJPs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2toEUCKR()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 SBCStoUCS2()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 MSJISstoUCS2s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 l10n_get_converter(u32 src_code, u32 dst_code)
@ -1006,57 +1006,57 @@ s32 l10n_get_converter(u32 src_code, u32 dst_code)
s32 GB18030stoUTF8s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 SJISstoEUCJPs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF32stoUCS2s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 BIG5stoUTF8s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 EUCCNtoUCS2()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8stoSBCSs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2stoEUCKRs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8stoSJISs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8stoHZs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 eucjp2kuten()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8toBIG5()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF16stoUTF8s(vm::cptr<u16> utf16, vm::ref<s32> utf16_len, vm::ptr<u8> utf8, vm::ref<s32> utf8_len)
@ -1103,12 +1103,12 @@ s32 UTF16stoUTF8s(vm::cptr<u16> utf16, vm::ref<s32> utf16_len, vm::ptr<u8> utf8,
s32 JISstoUCS2s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 GB18030toUTF8()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8toSJIS(u8 ch, vm::ptr<void> dst, vm::ptr<s32> dst_len)
@ -1119,32 +1119,32 @@ s32 UTF8toSJIS(u8 ch, vm::ptr<void> dst, vm::ptr<s32> dst_len)
s32 ARIBstoUCS2s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2stoUTF32s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2stoSBCSs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2stoBIG5s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UCS2stoUHCs()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 SJIStoEUCJP()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8stoUTF16s(vm::cptr<void> src, vm::cptr<s32> src_len, vm::ptr<void> dst, vm::ptr<s32> dst_len)
@ -1161,12 +1161,12 @@ s32 SJISstoUCS2s(vm::cptr<void> src, vm::cptr<s32> src_len, vm::ptr<void> dst, v
s32 BIG5stoUCS2s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}
s32 UTF8stoUCS2s()
{
throw EXCEPTION("");
fmt::throw_exception("Unimplemented" HERE);
}