[Kde-bindings] Replacing kalyptus

Richard Dale rdale at foton.es
Wed Oct 3 17:23:21 UTC 2007


On Wednesday 03 October 2007 18:18:52 Arno Rehn wrote:
> Am Mittwoch 03 Oktober 2007 19:00:05 schrieb Mauro Iazzi:
> > gccxml can accept commandline define like -DFOO="bar". Marking the
> > attribute "gccxml" will make it visible to it. I still do not know how
> > this would come out in the xml, but this is the easy bit.
> >
> > mauro
>
> That would still require to mark every signal/slot seperatly with the
> attribute, since you cannot include attributes in the access specifier.
> Something like
> public __attribute((gccxml("slots"))):
>         void foo();
> doesn't work.
I don't think we have to know at bindings generation time which are slots or 
signals for generating smoke - they are just method calls in the smoke lib.

However, we do need them (and properties too) when generating the C# bindings. 
The Kimono C# bindings also translate the comments to the C# comment format, 
and that wouldn't be possible with gccxml.

-- Richard




More information about the Kde-bindings mailing list