Skip to content

Commit

Permalink
Don't call _pv() functions directly
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Jan 5, 2025
1 parent f5b816a commit 101d518
Show file tree
Hide file tree
Showing 2 changed files with 161 additions and 158 deletions.
1 change: 1 addition & 0 deletions src/rinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ igraph_error_t R_SEXP_to_attr_comb(SEXP input, igraph_attribute_combination_t *c
IGRAPH_FINALLY_REAL((func##_pv), (ptr)); \
} while (0)

// These functions are never meant to be called directly, only through IGRAPH_FINALLY_PV.
void igraph_destroy_pv(void *pv_ptr);
void igraph_matrix_destroy_pv(void *pv_ptr);
void igraph_vector_destroy_pv(void *pv_ptr);
Expand Down
Loading

0 comments on commit 101d518

Please sign in to comment.