I have noticed that some CursorKinds actually exist in Index.h but are missing in cindex.py. This results in a ValueError: Unknown template argument kind xxx in Python. Is there a special reason for this, or is it just a mistake? If possible, I can fix it.
We expose cursors in Index.h as folks find a need for them (so it’s best-effort) and we expose cursors in the Python bindings as folks find a need for those (so it’s best-effort on top of other best-effort). So not really a mistake and not really a special reason, more just “nobody seemed to need them yet” – feel free to propose a patch to add the ones you’d like to see supported, if you’d like!
1 Like
Thanks for your reply. I have pulled a request here. Could you help me review this PR?
Sure, and thank you for the patch!