summaryrefslogtreecommitdiff
path: root/src/grt/grt-files.ads
diff options
context:
space:
mode:
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 3fadc98..3c6191f 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);