aboutsummaryrefslogtreecommitdiffstats
path: root/src/grt/grt-files.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2015-06-05 22:04:42 +0200
committerTristan Gingold <tgingold@free.fr>2015-06-05 22:04:42 +0200
commit463e00e93d8b2507519310789ea9e4fc668cc4ac (patch)
tree3292cbb3bd7ef34156c1768b7719e828078eeeab /src/grt/grt-files.ads
parentb250273b27b71e2096f05fe4669dae42d83f4e26 (diff)
downloadghdl-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-files.ads')
-rw-r--r--src/grt/grt-files.ads12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/grt/grt-files.ads b/src/grt/grt-files.ads
index 14f998468..3fadc981e 100644
--- a/src/grt/grt-files.ads
+++ b/src/grt/grt-files.ads
@@ -75,17 +75,17 @@ package Grt.Files is
function Ghdl_Text_Read_Length
(File : Ghdl_File_Index; Str : Std_String_Ptr) return Std_Integer;
- type Ghdl_Untruncated_Text_Read_Result is record
+ type Ghdl_Untruncated_Text_Read_Params is record
+ File : Ghdl_File_Index;
+ Str : Std_String_Ptr;
Len : Std_Integer;
end record;
- type Ghdl_Untruncated_Text_Read_Result_Acc is
- access Ghdl_Untruncated_Text_Read_Result;
+ type Ghdl_Untruncated_Text_Read_Params_Acc is
+ access Ghdl_Untruncated_Text_Read_Params;
procedure Ghdl_Untruncated_Text_Read
- (Res : Ghdl_Untruncated_Text_Read_Result_Acc;
- File : Ghdl_File_Index;
- Str : Std_String_Ptr);
+ (Params : Ghdl_Untruncated_Text_Read_Params_Acc);
procedure Ghdl_Text_File_Close (File : Ghdl_File_Index);
procedure Ghdl_File_Close (File : Ghdl_File_Index);