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

Tobias Rautenkranz tobias at rautenkranz.ch
Thu Dec 4 09:44:05 UTC 2008


Hi,

I think Smoke::numMethodNames is set one to low.

e.g.:
in the generated: smoke/kde/smokedata.cpp:

The last element of "static const char *kde_methodNames[]" is:
>     "~WindowArgs",      //10106
> };

but numMethodNames is set to 10106 instead of 10107:

>    kde_Smoke = new Smoke(
>       [...]
>       kde_methodNames, 10106,


The attached patch fixes this.

Regards,
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: numMethodNames.patch
Type: text/x-patch
Size: 539 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20081204/a66290e4/attachment.patch>
-------------- 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/20081204/a66290e4/attachment.sig>


More information about the Kde-bindings mailing list