Struct hassle_rs::intellisense::IDxcTranslationUnit
source · #[repr(C)]pub struct IDxcTranslationUnit { /* private fields */ }
Implementations§
source§impl IDxcTranslationUnit
impl IDxcTranslationUnit
pub unsafe fn get_cursor(&self, cursor: *mut *mut IDxcCursor) -> HRESULT
pub unsafe fn tokenize(
&self,
range: *const IDxcSourceRange,
tokens: *mut *mut *mut IDxcToken,
token_count: *mut u32
) -> HRESULT
pub unsafe fn get_location(
&self,
file: *mut IDxcFile,
line: u32,
column: u32,
result: *mut *mut IDxcSourceLocation
) -> HRESULT
pub unsafe fn get_num_diagnostics(&self, value: *mut u32) -> HRESULT
pub unsafe fn get_diagnostic(
&self,
index: u32,
value: *mut *mut IDxcDiagnostic
) -> HRESULT
pub unsafe fn get_file(
&self,
name: *const u8,
result: *mut *mut IDxcFile
) -> HRESULT
pub unsafe fn get_file_name(&self, result: *mut LPSTR) -> HRESULT
pub unsafe fn reparse(
&self,
unsaved_files: *mut *mut IDxcUnsavedFile,
num_unsaved_files: u32
) -> HRESULT
pub unsafe fn get_cursor_for_location(
&self,
location: *const IDxcSourceLocation,
result: *mut *mut IDxcCursor
) -> HRESULT
pub unsafe fn get_location_for_offset(
&self,
file: *const IDxcFile,
offset: u32,
result: *mut *mut IDxcSourceLocation
) -> HRESULT
pub unsafe fn get_skipped_ranges(
&self,
file: *const IDxcFile,
result_count: *mut u32,
result: *mut *mut *mut IDxcSourceRange
) -> HRESULT
pub unsafe fn get_diagnostic_details(
&self,
index: u32,
options: DxcDiagnosticDisplayOptions,
error_code: *mut u32,
error_line: *mut u32,
error_column: *mut u32,
error_file: *mut BSTR,
error_offset: *mut u32,
error_length: *mut u32,
error_message: *mut BSTR
) -> HRESULT
pub unsafe fn get_inclusion_list(
&self,
result_count: *mut u32,
result: *mut *mut *mut IDxcInclusion
) -> HRESULT
Methods from Deref<Target = IUnknown>§
sourcepub unsafe fn query_interface(&self, iid: &IID, object: *mut *mut c_void) -> i32
pub unsafe fn query_interface(&self, iid: &IID, object: *mut *mut c_void) -> i32
Retrieves pointers to the supported interfaces on an object.
Use ComPtr::from
instead.