diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-12-30 10:29:16 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-12-30 10:29:16 +0100 |
commit | f1c30ad16e0914455ee2c84e80714f6b271021f2 (patch) | |
tree | 11ebb7a91faeed8c17fdaf84cd8cd14d334d8c6a /src/name_table.ads | |
parent | 56dde6c446367f85882d288d7606015ace7f80ed (diff) | |
download | ghdl-f1c30ad16e0914455ee2c84e80714f6b271021f2.tar.gz ghdl-f1c30ad16e0914455ee2c84e80714f6b271021f2.tar.bz2 ghdl-f1c30ad16e0914455ee2c84e80714f6b271021f2.zip |
Rework initialization and finalization.
libghdl can now be re-initialized.
Diffstat (limited to 'src/name_table.ads')
-rw-r--r-- | src/name_table.ads | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/name_table.ads b/src/name_table.ads index 2dc6137c6..e9b948206 100644 --- a/src/name_table.ads +++ b/src/name_table.ads @@ -86,6 +86,10 @@ package Name_Table is -- Be sure all info fields have their default value. procedure Assert_No_Infos; + -- Initialize this package + -- This must be called once and only once before any use. + procedure Initialize; + -- Free all resources. The package cannot be used anymore after calling -- this procedure. procedure Finalize; |