1# =============================================================================
2#               ____ _   _ ____  _       _ _ _           _         _ _
3#  _ __  _   _ / ___| | | |  _ \| |     | (_) |__   __ _| |__   __| | |
4# | '_ \| | | | |  _| |_| | | | | |     | | | '_ \ / _` | '_ \ / _` | |
5# | |_) | |_| | |_| |  _  | |_| | |___ _| | | |_) | (_| | | | | (_| | |
6# | .__/ \__, |\____|_| |_|____/|_____(_)_|_|_.__/ \__, |_| |_|\__,_|_|
7# |_|    |___/                                     |___/
8# =============================================================================
9#  Authors:
10#    Patrick Lehmann
11#
12# Package module:   Python binding and low-level API for shared library 'libghdl'.
13#
14# License:
15# ============================================================================
16#  Copyright (C) 2019-2021 Tristan Gingold
17#
18#  This program is free software: you can redistribute it and/or modify
19#  it under the terms of the GNU General Public License as published by
20#  the Free Software Foundation, either version 2 of the License, or
21#  (at your option) any later version.
22#
23#  This program is distributed in the hope that it will be useful,
24#  but WITHOUT ANY WARRANTY; without even the implied warranty of
25#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26#  GNU General Public License for more details.
27#
28#  You should have received a copy of the GNU General Public License
29#  along with this program.  If not, see <gnu.org/licenses>.
30#
31# SPDX-License-Identifier: GPL-2.0-or-later
32# ============================================================================
33
34from typing import TypeVar
35
36__all__ = [
37	'ErrorIndex',
38	'MessageIdWarnings',
39	'NameId',
40	'SourceFileEntry',
41	'Iir',
42	'IirKind'
43]
44
45ErrorIndex =  TypeVar('ErrorIndex', bound=int)
46MessageIdWarnings = TypeVar('MessageIdWarnings', bound=int)
47NameId = TypeVar('NameId', bound=int)
48SourceFileEntry = TypeVar('SourceFileEntry', bound=int)
49
50Iir = TypeVar('Iir', bound=int)
51IirKind = TypeVar('IirKind', bound=int)
52