def string_from_kind_and_data(self, kind, string, size):
    fnty = Type.function(self.pyobj, [Type.int(), self.cstring, self.py_ssize_t])
    fname = 'PyUnicode_FromKindAndData'
    fn = self._get_function(fnty, name=fname)
    return self.builder.call(fn, [kind, string, size])
def string_from_kind_and_data(self, kind, string, size):
    fnty = Type.function(self.pyobj, [Type.int(), self.cstring, self.py_ssize_t])
    fname = 'PyUnicode_FromKindAndData'
    fn = self._get_function(fnty, name=fname)
    return self.builder.call(fn, [kind, string, size])