1use crate::pyport::Py_ssize_t;
2use libc::wchar_t;
3use std::os::raw::c_char;
4
5extern "C" {
6 pub fn Py_DecodeLocale(arg1: *const c_char, size: *mut Py_ssize_t) -> *mut wchar_t;
7
8 pub fn Py_EncodeLocale(text: *const wchar_t, error_pos: *mut Py_ssize_t) -> *mut c_char;
9}
10