このコミットが含まれているのは:
2023-12-02 23:38:38 +09:00
コミット 6cbd1fcb4d
+1 -1
ファイルの表示
@@ -18,7 +18,7 @@ class Aques:
dic_path: str = './aq_dic' dic_path: str = './aq_dic'
err = c_int (0) err = c_int (0)
aqkoe.AqKanji2Koe_Create.restype = c_void_p aqkoe.AqKanji2Koe_Create.restype = c_void_p
handle = aqkoe.AqKanji2Koe_Create (dic_path, byref (err)) handle = aqkoe.AqKanji2Koe_Create (dic_path.encode ('utf-8'), byref (err))
koe: str = '' koe: str = ''
aqkoe.AqKanji2Koe_Convert.restype = c_int aqkoe.AqKanji2Koe_Convert.restype = c_int
aqkoe.AqKanji2Koe_Convert (handle, text.encode ('utf-8'), koe, 4096) aqkoe.AqKanji2Koe_Convert (handle, text.encode ('utf-8'), koe, 4096)