Skip to content

Commit

Permalink
Update C headers
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikvanantwerpen committed Mar 17, 2023
1 parent 5afabb3 commit 0a3fd73
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions stack-graphs/include/stack-graphs.h
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ struct sg_partial_scope_stack {
// The handle of the first element in the partial scope stack, or SG_LIST_EMPTY_HANDLE if the
// list is empty, or 0 if the list is null.
sg_partial_scope_stack_cell_handle cells;
enum sg_deque_direction direction;
uint32_t length;
// The scope stack variable representing the unknown content of a partial scope stack, or 0 if
// the variable is missing. (If so, this partial scope stack can only match a scope stack
Expand Down Expand Up @@ -345,7 +344,6 @@ struct sg_partial_symbol_stack {
// The handle of the first element in the partial symbol stack, or SG_LIST_EMPTY_HANDLE if the
// list is empty, or 0 if the list is null.
sg_partial_symbol_stack_cell_handle cells;
enum sg_deque_direction direction;
uint32_t length;
// The symbol stack variable representing the unknown content of a partial symbol stack, or 0
// if the variable is missing. (If so, this partial symbol stack can only match a symbol
Expand Down
2 changes: 1 addition & 1 deletion stack-graphs/src/c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ impl Default for sg_deque_direction {

/// Ensures all partial paths in the database are availabe in both forwards and backwards orientation.
#[no_mangle]
pub extern "C" fn sg_partial_path_database_ensure_reversal_available(
pub extern "C" fn sg_partial_path_database_ensure_both_directions(
db: *mut sg_partial_path_database,
partials: *mut sg_partial_path_arena,
) {
Expand Down

0 comments on commit 0a3fd73

Please sign in to comment.