export methods obviously
This commit is contained in:
@@ -35,7 +35,7 @@ def main():
|
||||
if cursor.kind == CursorKind.CLASS_DECL and has_annotation(cursor, "export"):
|
||||
print(f"Found exported class: {cursor.spelling}")
|
||||
for c in cursor.get_children():
|
||||
if c.kind == CursorKind.CXX_METHOD:
|
||||
if c.kind == CursorKind.CXX_METHOD and has_annotation(c, "export"):
|
||||
is_virtual = c.is_virtual_method()
|
||||
print(f" method: {c.spelling} (virtual={is_virtual})")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user