diff --git a/src/bindings.py b/src/bindings.py index 47211d9..dfad8a4 100644 --- a/src/bindings.py +++ b/src/bindings.py @@ -454,3 +454,24 @@ def bind_ht_uu(ht_uu_h: Header) -> None: ht_uu """ Class(ht_uu_h, typedef="HtUU") + +@threaded_header("rz_util/ht_sp.h") +def bind_ht_sp(ht_sp_h: Header) -> None: + """ + ht_sp + """ + Class(ht_sp_h, typedef="HtSP") + +@threaded_header("rz_util/ht_ss.h") +def bind_ht_ss(ht_ss_h: Header) -> None: + """ + ht_ss + """ + Class(ht_ss_h, typedef="HtSS") + +@threaded_header("rz_util/ht_su.h") +def bind_ht_su(ht_su_h: Header) -> None: + """ + ht_su + """ + Class(ht_su_h, typedef="HtSU") diff --git a/src/lint.py b/src/lint.py index 541cbaf..4fefa1a 100644 --- a/src/lint.py +++ b/src/lint.py @@ -164,7 +164,7 @@ def cursor_get_comment(cursor: Cursor, *, packed: bool = False) -> Optional[str] warn( f"Type comment at {stringify_location(cursor.location)} should not have pointer" ) - elif typeref_spelling in {"HtPP", "HtUP", "HtUU", "RBTree", "SdbList"}: + elif typeref_spelling in {"RBTree", "SdbList"}: pass else: warn(