Skip to content

Commit

Permalink
github: Add dependabot configuration for github-actions (#42)
Browse files Browse the repository at this point in the history
* github: Add dependabot configuration for `github-actions`

* Cleanup
  • Loading branch information
MarijnS95 authored Jan 13, 2023
1 parent 70401e7 commit cc78c90
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
15 changes: 8 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
version: 2
updates:
- package-ecosystem: cargo
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 10
allow:
- dependency-type: all
- package-ecosystem: cargo
directory: "/"
schedule:
interval: weekly
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
20 changes: 10 additions & 10 deletions src/intellisense/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ bitflags! {

bitflags! {
pub struct DxcTypeKind : u32 {
const Invalid = 0; // Reprents an invalid type (e.g., where no type is available).
const Invalid = 0; // Represents an invalid type (e.g., where no type is available).
const Unexposed = 1; // A type whose specific kind is not exposed via this interface.
// Builtin types
const Void = 2;
Expand Down Expand Up @@ -466,7 +466,7 @@ com_interface! {
vtable: IDxcUnsavedFileVtbl,
fn get_file_name(file_name: *mut LPSTR) -> HRESULT;
fn get_contents(contents: *mut LPSTR) -> HRESULT;
fn get_length(lenth : *mut u32) -> HRESULT;
fn get_length(length: *mut u32) -> HRESULT;
}
}

Expand All @@ -476,7 +476,7 @@ com_interface! {
iid: IID_IDxcFile,
vtable: IDxcFileVtbl,
fn get_name(result: *mut LPSTR) -> HRESULT;
fn is_equal_to(other : *const IDxcFile, result: *mut bool) -> HRESULT;
fn is_equal_to(other: *const IDxcFile, result: *mut bool) -> HRESULT;
}
}

Expand All @@ -487,14 +487,14 @@ com_interface! {
vtable: IDxcTranslationUnitVtbl,
fn get_cursor(cursor: *mut *mut IDxcCursor) -> HRESULT;
fn tokenize(range: *const IDxcSourceRange, tokens: *mut *mut *mut IDxcToken, token_count: *mut u32) -> HRESULT;
fn get_location( file: *mut IDxcFile, line: u32, column: u32, result: *mut *mut IDxcSourceLocation) -> HRESULT;
fn get_num_diagnostics(value : *mut u32) -> HRESULT;
fn get_location(file: *mut IDxcFile, line: u32, column: u32, result: *mut *mut IDxcSourceLocation) -> HRESULT;
fn get_num_diagnostics(value: *mut u32) -> HRESULT;
fn get_diagnostic(index: u32, value: *mut *mut IDxcDiagnostic) -> HRESULT;
fn get_file(name : *const u8, result : *mut *mut IDxcFile) -> HRESULT;
fn get_file_name(result : *mut LPSTR) -> HRESULT;
fn reparse(unsaved_files : *mut *mut IDxcUnsavedFile, num_unsaved_files: u32) -> HRESULT;
fn get_cursor_for_location(location: *const IDxcSourceLocation, result : *mut *mut IDxcCursor) -> HRESULT;
fn get_location_for_offset(file : *const IDxcFile, offset: u32, result: *mut *mut IDxcSourceLocation) -> HRESULT;
fn get_file(name: *const u8, result: *mut *mut IDxcFile) -> HRESULT;
fn get_file_name(result: *mut LPSTR) -> HRESULT;
fn reparse(unsaved_files: *mut *mut IDxcUnsavedFile, num_unsaved_files: u32) -> HRESULT;
fn get_cursor_for_location(location: *const IDxcSourceLocation, result: *mut *mut IDxcCursor) -> HRESULT;
fn get_location_for_offset(file: *const IDxcFile, offset: u32, result: *mut *mut IDxcSourceLocation) -> HRESULT;
fn get_skipped_ranges(file: *const IDxcFile, result_count: *mut u32, result: *mut *mut *mut IDxcSourceRange) -> HRESULT;
fn get_diagnostic_details(
index: u32, options: DxcDiagnosticDisplayOptions, error_code: *mut u32, error_line: *mut u32, error_column: *mut u32,
Expand Down

0 comments on commit cc78c90

Please sign in to comment.