diff options
Diffstat (limited to 'pyGHDL/libghdl/flags.py')
-rw-r--r-- | pyGHDL/libghdl/flags.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pyGHDL/libghdl/flags.py b/pyGHDL/libghdl/flags.py index 82ecb088f..907b736a3 100644 --- a/pyGHDL/libghdl/flags.py +++ b/pyGHDL/libghdl/flags.py @@ -32,9 +32,11 @@ # SPDX-License-Identifier: GPL-2.0-or-later # ============================================================================ # -from pyGHDL.libghdl import libghdl from ctypes import c_bool, sizeof +from pyGHDL.libghdl import libghdl + + assert sizeof(c_bool) == 1 Flag_Elocations = c_bool.in_dll(libghdl, "flags__flag_elocations") |