aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-05-20 18:16:42 +0200
committerTristan Gingold <tgingold@free.fr>2019-05-21 20:41:20 +0200
commitb2276823d4d04f63abb330908df635cba5010ebf (patch)
tree67ff0769d9421aec6b5481fdffda2627c671ed1a
parent4a850818bc1c674d6b4e9c4bcc44ee6bbaa13ffc (diff)
downloadghdl-b2276823d4d04f63abb330908df635cba5010ebf.tar.gz
ghdl-b2276823d4d04f63abb330908df635cba5010ebf.tar.bz2
ghdl-b2276823d4d04f63abb330908df635cba5010ebf.zip
python: add Flag_Force_Analysis in flags.py
-rw-r--r--src/vhdl/python/libghdl/thin/flags.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/vhdl/python/libghdl/thin/flags.py b/src/vhdl/python/libghdl/thin/flags.py
index b50480442..cc49c1651 100644
--- a/src/vhdl/python/libghdl/thin/flags.py
+++ b/src/vhdl/python/libghdl/thin/flags.py
@@ -1,5 +1,7 @@
from libghdl import libghdl
-from ctypes import c_bool
+from ctypes import c_bool, sizeof
+
+assert sizeof(c_bool) == 1
Flag_Elocations = c_bool.in_dll(libghdl, "flags__flag_elocations")
@@ -7,3 +9,6 @@ Verbose = c_bool.in_dll(libghdl, "flags__verbose")
Flag_Elaborate_With_Outdated = c_bool.in_dll(
libghdl, "flags__flag_elaborate_with_outdated")
+
+Flag_Force_Analysis = c_bool.in_dll(
+ libghdl, "flags__flag_force_analysis")