Browse Source

test

btc-sounds
みてるぞ 9 months ago
parent
commit
6cbd1fcb4d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      aques.py

+ 1
- 1
aques.py View File

@@ -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)


Loading…
Cancel
Save