Skip to content

Commit

Permalink
libdrgn/python: unexport set_drgn_error()
Browse files Browse the repository at this point in the history
This was previously used for testing internals via ctypes, but it's no
longer needed.

Fixes: 7d251fe ("Translate C lexer tests to C unit tests")
Signed-off-by: Omar Sandoval <osandov@osandov.com>
  • Loading branch information
osandov committed Jan 14, 2025
1 parent e7ac089 commit 970b9a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libdrgn/python/error.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ struct drgn_error *drgn_error_from_python(void)
return err;
}

DRGNPY_PUBLIC void *set_drgn_error(struct drgn_error *err)
void *set_drgn_error(struct drgn_error *err)
{
if (err == &drgn_error_python)
return NULL;
Expand Down

0 comments on commit 970b9a0

Please sign in to comment.