Skip to content

Commit

Permalink
docs: link to C documentation of offsetof(), not C++
Browse files Browse the repository at this point in the history
Signed-off-by: Omar Sandoval <[email protected]>
  • Loading branch information
osandov committed Sep 12, 2024
1 parent 576c303 commit c2a713c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _drgn.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2555,7 +2555,7 @@ def offsetof(type: Type, member: str) -> int:
This corresponds to |offsetof()|_ in C.
.. |offsetof()| replace:: ``offsetof()``
.. _offsetof(): https://en.cppreference.com/w/cpp/types/offsetof
.. _offsetof(): https://en.cppreference.com/w/c/types/offsetof
:param type: Structure, union, or class type.
:param member: Name of member. May include one or more member references
Expand Down

0 comments on commit c2a713c

Please sign in to comment.