openjtalkGetFullVoicePathSjis function
OPENJTALK_DLL_API char *OPENJTALK_CONVENTION openjtalk_getFullVoicePathSjis(OpenJTalk *oj, const char *path, char *buffer)
Implementation
Pointer<Int8> openjtalkGetFullVoicePathSjis(
Pointer<OpenJTalk> oj, String? path, Pointer<Int8> buffer) {
final openjtalkGetFullVoicePathSjisLookupFunction = libjtalk.lookupFunction<
Pointer<Int8> Function(
Pointer<OpenJTalk> oj, Pointer<Utf8> path, Pointer<Int8> buffer),
Pointer<Int8> Function(Pointer<OpenJTalk> oj, Pointer<Utf8> path,
Pointer<Int8> buffer)>('openjtalk_getFullVoicePathSjis');
final pathPointer = path != null ? path.toNativeUtf8() : nullptr;
final result =
openjtalkGetFullVoicePathSjisLookupFunction(oj, pathPointer, buffer);
calloc.free(pathPointer);
return result;
}