def recreate_record(self, pdata, size, dtype, env_manager):
    fnty = Type.function(self.pyobj, [Type.pointer(Type.int(8)), Type.int(), self.pyobj])
    fn = self._get_function(fnty, name='numba_recreate_record')
    dtypeaddr = env_manager.read_const(env_manager.add_const(dtype))
    return self.builder.call(fn, [pdata, size, dtypeaddr])
def recreate_record(self, pdata, size, dtype, env_manager):
    fnty = Type.function(self.pyobj, [Type.pointer(Type.int(8)), Type.int(), self.pyobj])
    fn = self._get_function(fnty, name='numba_recreate_record')
    dtypeaddr = env_manager.read_const(env_manager.add_const(dtype))
    return self.builder.call(fn, [pdata, size, dtypeaddr])