Skip to content

Commit 0a3fd73

Browse files
Update C headers
1 parent 5afabb3 commit 0a3fd73

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

stack-graphs/include/stack-graphs.h

-2
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,6 @@ struct sg_partial_scope_stack {
294294
// The handle of the first element in the partial scope stack, or SG_LIST_EMPTY_HANDLE if the
295295
// list is empty, or 0 if the list is null.
296296
sg_partial_scope_stack_cell_handle cells;
297-
enum sg_deque_direction direction;
298297
uint32_t length;
299298
// The scope stack variable representing the unknown content of a partial scope stack, or 0 if
300299
// the variable is missing. (If so, this partial scope stack can only match a scope stack
@@ -345,7 +344,6 @@ struct sg_partial_symbol_stack {
345344
// The handle of the first element in the partial symbol stack, or SG_LIST_EMPTY_HANDLE if the
346345
// list is empty, or 0 if the list is null.
347346
sg_partial_symbol_stack_cell_handle cells;
348-
enum sg_deque_direction direction;
349347
uint32_t length;
350348
// The symbol stack variable representing the unknown content of a partial symbol stack, or 0
351349
// if the variable is missing. (If so, this partial symbol stack can only match a symbol

stack-graphs/src/c.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ impl Default for sg_deque_direction {
121121

122122
/// Ensures all partial paths in the database are availabe in both forwards and backwards orientation.
123123
#[no_mangle]
124-
pub extern "C" fn sg_partial_path_database_ensure_reversal_available(
124+
pub extern "C" fn sg_partial_path_database_ensure_both_directions(
125125
db: *mut sg_partial_path_database,
126126
partials: *mut sg_partial_path_arena,
127127
) {

0 commit comments

Comments
 (0)