diff options
author | Tristan Gingold | 2015-06-05 22:04:42 +0200 |
---|---|---|
committer | Tristan Gingold | 2015-06-05 22:04:42 +0200 |
commit | 463e00e93d8b2507519310789ea9e4fc668cc4ac (patch) | |
tree | 3292cbb3bd7ef34156c1768b7719e828078eeeab /src/grt/grt-lib.ads | |
parent | b250273b27b71e2096f05fe4669dae42d83f4e26 (diff) | |
download | ghdl-463e00e93d8b2507519310789ea9e4fc668cc4ac.tar.gz ghdl-463e00e93d8b2507519310789ea9e4fc668cc4ac.tar.bz2 ghdl-463e00e93d8b2507519310789ea9e4fc668cc4ac.zip |
Rework procedure calls, now use a record to pass parameters.
Diffstat (limited to 'src/grt/grt-lib.ads')
-rw-r--r-- | src/grt/grt-lib.ads | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/grt/grt-lib.ads b/src/grt/grt-lib.ads index 50be6a7..dcd2c55 100644 --- a/src/grt/grt-lib.ads +++ b/src/grt/grt-lib.ads @@ -94,8 +94,18 @@ package Grt.Lib is ); function Ghdl_Get_Resolution_Limit return Std_Time; + + type Ghdl_Control_Simulation_Params is record + Stop : Ghdl_B1; + Has_Status : Ghdl_B1; + Status : Std_Integer; + end record; + + type Ghdl_Control_Simulation_Params_Ptr is access + Ghdl_Control_Simulation_Params; + procedure Ghdl_Control_Simulation - (Stop : Ghdl_B1; Has_Status : Ghdl_B1; Status : Std_Integer); + (Params : Ghdl_Control_Simulation_Params_Ptr); private pragma Export (C, Ghdl_Memcpy, "__ghdl_memcpy"); |