[Kde-bindings] Smoke::numMethodNames of by one

Tobias Rautenkranz tobias at rautenkranz.ch
Tue Dec 9 13:41:06 UTC 2008


You are right -- idMethodName requires numMethodNames to be the index of the 
last element (not the number of elements).

It is however inconsistent with numClasses, which is the number of elements. 
But this works out since there is an:
> if (icur > 0 && icur < numClasses)
in idClass().

Thanks for the reply and please disregard my patch.

Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20081209/03d0f10b/attachment.sig>


More information about the Kde-bindings mailing list