aboutsummaryrefslogtreecommitdiffstats
path: root/src/str_table.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-12-30 10:29:16 +0100
committerTristan Gingold <tgingold@free.fr>2020-12-30 10:29:16 +0100
commitf1c30ad16e0914455ee2c84e80714f6b271021f2 (patch)
tree11ebb7a91faeed8c17fdaf84cd8cd14d334d8c6a /src/str_table.ads
parent56dde6c446367f85882d288d7606015ace7f80ed (diff)
downloadghdl-f1c30ad16e0914455ee2c84e80714f6b271021f2.tar.gz
ghdl-f1c30ad16e0914455ee2c84e80714f6b271021f2.tar.bz2
ghdl-f1c30ad16e0914455ee2c84e80714f6b271021f2.zip
Rework initialization and finalization.
libghdl can now be re-initialized.
Diffstat (limited to 'src/str_table.ads')
-rw-r--r--src/str_table.ads5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/str_table.ads b/src/str_table.ads
index fd783562e..c15bd8089 100644
--- a/src/str_table.ads
+++ b/src/str_table.ads
@@ -58,6 +58,9 @@ package Str_Table is
-- valid anymore.
function String8_Address (Id : String8_Id) return System.Address;
- -- Free all the memory and reinitialize the package.
+ -- Free all the memory
+ procedure Finalize;
+
+ -- Initialize the package.
procedure Initialize;
end Str_Table;