From 363010d1a9aa876aa94c81bf56b7db5bff0e3b15 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 8 Jul 2019 18:24:16 +0200 Subject: python: add errorout_console, disp_config. --- python/libghdl/__init__.py | 3 +++ python/libghdl/thin/errorout_console.py | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 python/libghdl/thin/errorout_console.py (limited to 'python/libghdl') 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 -- cgit v1.2.3