aboutsummaryrefslogtreecommitdiffstats
path: root/python/libghdl
diff options
context:
space:
mode:
Diffstat (limited to 'python/libghdl')
-rw-r--r--python/libghdl/__init__.py3
-rw-r--r--python/libghdl/thin/errorout_console.py3
2 files changed, 6 insertions, 0 deletions
diff --git a/python/libghdl/__init__.py b/python/libghdl/__init__.py
index 0ac38694a..92a5ba1f0 100644
--- a/python/libghdl/__init__.py
+++ b/python/libghdl/__init__.py
@@ -85,6 +85,9 @@ def analyze_file(fname):
return libghdl.libghdl__analyze_file(*_to_char_p(fname))
+def disp_config():
+ return libghdl.ghdllocal__disp_config_prefixes()
+
if False:
_prefix = os.environ.get("LIBGHDL_PREFIX") or '--PREFIX=%s' % join(dirname(_libghdl_path), 'ghdl')
# print('ghdl prefix: {}'.format(_prefix))
diff --git a/python/libghdl/thin/errorout_console.py b/python/libghdl/thin/errorout_console.py
new file mode 100644
index 000000000..877165b70
--- /dev/null
+++ b/python/libghdl/thin/errorout_console.py
@@ -0,0 +1,3 @@
+from libghdl import libghdl
+
+Install_Handler = libghdl.errorout__console__install_handler