sighingnow / libclang

(Unofficial) Release libclang (clang.cindex) on pypi.
https://pypi.org/project/libclang
Other
85 stars 23 forks source link

Cursor.get_num_template_arguments() instead of Cursor.type.get_num_template_arguments() in docs #43

Open lucmans opened 1 year ago

lucmans commented 1 year ago

The documentation states that get_num_template_arguments() is a member function of Cursor. However, it is currently a member function of Cursor.type. This should be mentioned in the documentation, as currently it seems Cursor.get_num_template_arguments() doesn't work as it (always?) returns -1.