aboutsummaryrefslogtreecommitdiffstats
path: root/python/libghdl/thin/files_map_editor.py
blob: bf94927860234d20353cb415eb5dec909f975910 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from ctypes import c_int32, c_char_p, c_bool
from libghdl import libghdl

Replace_Text = libghdl.files_map__editor__replace_text_ptr
Replace_Text.argstype = [c_int32, c_int32, c_int32, c_int32, c_char_p, c_int32]
Replace_Text.restype = c_bool

Fill_Text = libghdl.files_map__editor__fill_text_ptr

Check_Buffer_Content = libghdl.files_map__editor__check_buffer_content

Copy_Source_File = libghdl.files_map__editor__copy_source_file
span>files_map__location_file_to_line Location_File_Line_To_Offset = \ libghdl.files_map__location_file_line_to_offset Location_File_Line_To_Col = libghdl.files_map__location_file_line_to_col File_To_Location = libghdl.files_map__file_to_location File_Pos_To_Location = libghdl.files_map__file_pos_to_location File_Line_To_Position = libghdl.files_map__file_line_to_position Get_File_Name = libghdl.files_map__get_file_name Get_Directory_Name = libghdl.files_map__get_directory_name Get_File_Buffer = libghdl.files_map__get_file_buffer Get_File_Buffer.restype = c_void_p Get_File_Length = libghdl.files_map__get_file_length Set_File_Length = libghdl.files_map__set_file_length Read_Source_File = libghdl.files_map__read_source_file Reserve_Source_File = libghdl.files_map__reserve_source_file Discard_Source_File = libghdl.files_map__discard_source_file Free_Source_File = libghdl.files_map__free_source_file Get_Last_Source_File_Entry = libghdl.files_map__get_last_source_file_entry