In the current state of things, clang_Cursor_getNumTemplateArguments and co only works for functions.
It would be nice for it to also work for struct/class template specializations.
A patch doing just that is attached.
It is rather short and there are also tests included (for python lib)
svn.diff (7.24 KB)