From 753ab003318b5636711fa1ef6eff8834a9725b92 Mon Sep 17 00:00:00 2001 From: Jan Musial Date: Wed, 3 Apr 2019 15:47:12 +0200 Subject: [PATCH] Fix core_new_io Signed-off-by: Jan Musial --- tests/functional/pyocf/types/core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/functional/pyocf/types/core.py b/tests/functional/pyocf/types/core.py index 9ed5bf6..ce90bb8 100644 --- a/tests/functional/pyocf/types/core.py +++ b/tests/functional/pyocf/types/core.py @@ -166,3 +166,5 @@ lib = OcfLib.getInstance() lib.ocf_core_get_volume.restype = c_void_p lib.ocf_volume_new_io.argtypes = [c_void_p] lib.ocf_volume_new_io.restype = c_void_p +lib.ocf_core_get_volume.argtypes = [c_void_p] +lib.ocf_core_get_volume.restype = c_void_p