From 29f3b2c09a60cc2cf2d901181779fc658e1cbe54 Mon Sep 17 00:00:00 2001 From: Moritz Date: Thu, 19 Aug 2021 14:36:40 +0200 Subject: [PATCH] Added extension_format defines in ovf.py --- python/ovf/ovf.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python/ovf/ovf.py b/python/ovf/ovf.py index acb7d9e..f6f2d57 100644 --- a/python/ovf/ovf.py +++ b/python/ovf/ovf.py @@ -17,6 +17,10 @@ FILEFORMAT_TEXT = 3 FILEFORMAT_CSV = 4 +EXTENSION_FORMAT_OVF = 0 +EXTENSION_FORMAT_AOVF = 1 +EXTENSION_FORMAT_AOVF_COMP = 2 + class ovf_segment(ctypes.Structure): ### Some properties _fields_ = [ @@ -118,7 +122,7 @@ class _ovf_file(ctypes.Structure): ("found", ctypes.c_bool), ("is_ovf", ctypes.c_bool), ("n_segments", ctypes.c_int), - ("atomistic", ctypes.c_bool), + ("ovf_extension_format", ctypes.c_int), ("_state", ctypes.c_void_p) ]