diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-06-10 07:57:05 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-06-10 07:57:05 +0200 |
commit | c64e7ba56376b933cb0ddb2b4949a83c926a3c67 (patch) | |
tree | 83462d67da076ab04a2dab0462e248d5cff58a57 /src/grt/grt-vpi.ads | |
parent | 1bf8aa85f2adbfb7d56a0aea66f52615889bb7bc (diff) | |
download | ghdl-c64e7ba56376b933cb0ddb2b4949a83c926a3c67.tar.gz ghdl-c64e7ba56376b933cb0ddb2b4949a83c926a3c67.tar.bz2 ghdl-c64e7ba56376b933cb0ddb2b4949a83c926a3c67.zip |
vpi: handle get_value for indexed names. Fix #237
Diffstat (limited to 'src/grt/grt-vpi.ads')
-rw-r--r-- | src/grt/grt-vpi.ads | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/grt/grt-vpi.ads b/src/grt/grt-vpi.ads index 8db022af9..48ee1a125 100644 --- a/src/grt/grt-vpi.ads +++ b/src/grt/grt-vpi.ads @@ -270,12 +270,12 @@ package Grt.Vpi is -- vpiHandle vpi_handle_by_index(vpiHandle ref, int index) - function vpi_handle_by_index(aRef: vpiHandle; aIndex: Integer) - return vpiHandle; + function vpi_handle_by_index (Ref: vpiHandle; Index: Integer) + return vpiHandle; pragma Export (C, vpi_handle_by_index, "vpi_handle_by_index"); - function vpi_handle_by_name(Name : Ghdl_C_String; Scope : vpiHandle) - return vpiHandle; + function vpi_handle_by_name (Name : Ghdl_C_String; Scope : vpiHandle) + return vpiHandle; pragma Export (C, vpi_handle_by_name, "vpi_handle_by_name"); -- unsigned int vpi_mcd_close(unsigned int mcd) |