refactor(eventsub): use variants for sum types (#5930)

This commit is contained in:
nerix
2025-02-08 14:33:29 +01:00
committed by GitHub
parent 0d02a6344b
commit 992f9195a7
25 changed files with 925 additions and 684 deletions
+2
View File
@@ -68,6 +68,8 @@ class Walker:
if type is None:
# Skip nodes without a type
return False
if node.storage_class == clang.cindex.StorageClass.STATIC:
return False
# log.debug(f"{struct}: {type.spelling} {node.spelling} ({type.kind})")
if struct: