aboutsummaryrefslogtreecommitdiffstats
path: root/src/grt/grt-files.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2015-08-29 07:57:12 +0200
committerTristan Gingold <tgingold@free.fr>2015-08-29 07:57:12 +0200
commitb75d703676ab830ea3e5731e1965d1d89879a456 (patch)
tree1a0a21ba1cce6385715bd2823853ee4ad47905ee /src/grt/grt-files.ads
parent64fa65e1395bef4f05c51bc19d9a46d6003339ee (diff)
downloadghdl-b75d703676ab830ea3e5731e1965d1d89879a456.tar.gz
ghdl-b75d703676ab830ea3e5731e1965d1d89879a456.tar.bz2
ghdl-b75d703676ab830ea3e5731e1965d1d89879a456.zip
Replace fat accesses by bounds accesses
translate: separate info for signals from object. Improve some error messages.
Diffstat (limited to 'src/grt/grt-files.ads')
-rw-r--r--src/grt/grt-files.ads12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/grt/grt-files.ads b/src/grt/grt-files.ads
index 3fadc981e..3c6191f36 100644
--- a/src/grt/grt-files.ads
+++ b/src/grt/grt-files.ads
@@ -75,17 +75,11 @@ 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_Params is record
- File : Ghdl_File_Index;
- Str : Std_String_Ptr;
- Len : Std_Integer;
- end record;
-
- type Ghdl_Untruncated_Text_Read_Params_Acc is
- access Ghdl_Untruncated_Text_Read_Params;
+ type Std_Integer_Acc is access Std_Integer;
+ pragma Convention (C, Std_Integer_Acc);
procedure Ghdl_Untruncated_Text_Read
- (Params : Ghdl_Untruncated_Text_Read_Params_Acc);
+ (File : Ghdl_File_Index; Str : Std_String_Ptr; Len : Std_Integer_Acc);
procedure Ghdl_Text_File_Close (File : Ghdl_File_Index);
procedure Ghdl_File_Close (File : Ghdl_File_Index);