diff options
Diffstat (limited to 'test/py/test_pci_ext_caps.py')
-rw-r--r-- | test/py/test_pci_ext_caps.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/py/test_pci_ext_caps.py b/test/py/test_pci_ext_caps.py index 70f8253..ab10e12 100644 --- a/test/py/test_pci_ext_caps.py +++ b/test/py/test_pci_ext_caps.py @@ -91,8 +91,7 @@ def test_pci_ext_cap_bad_pos(): assert pos == -1 assert c.get_errno() == errno.EINVAL -@c.CFUNCTYPE(c.c_int, c.c_void_p, c.POINTER(c.c_char), - c.c_long, c.c_long, c.c_int) +@vfu_region_access_cb_t def pci_region_cb(ctx, buf, count, offset, is_write): if not is_write: return read_pci_cfg_space(ctx, buf, count, offset, extended=True) |