diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-06-03 18:28:31 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-06-03 18:28:31 +0200 |
commit | 296a2651cfe3ab9e66ed2562e5599afee3776027 (patch) | |
tree | 5f992a1f95ba885b57ae07bf317e5c65b9661d22 /src/files_map.ads | |
parent | 9019ecb269279a658a720a1d3f4a2340003995b8 (diff) | |
download | ghdl-296a2651cfe3ab9e66ed2562e5599afee3776027.tar.gz ghdl-296a2651cfe3ab9e66ed2562e5599afee3776027.tar.bz2 ghdl-296a2651cfe3ab9e66ed2562e5599afee3776027.zip |
files_map: add get_buffer_length
Diffstat (limited to 'src/files_map.ads')
-rw-r--r-- | src/files_map.ads | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/files_map.ads b/src/files_map.ads index 2e0dd0ae2..e2b66fd7d 100644 --- a/src/files_map.ads +++ b/src/files_map.ads @@ -106,6 +106,9 @@ package Files_Map is procedure Set_File_Length (File : Source_File_Entry; Length : Source_Ptr); function Get_File_Length (File : Source_File_Entry) return Source_Ptr; + -- Get the length of the buffer, which includes the gap. + function Get_Buffer_Length (File : Source_File_Entry) return Source_Ptr; + -- Return the name of the file. function Get_File_Name (File : Source_File_Entry) return Name_Id; |