[Kde-bindings] Adding mf_virtual and mf_purevirtual to Smoke

Richard Dale rdale at foton.es
Tue Nov 24 19:43:50 UTC 2009


On Tuesday 24 November 2009 06:03:17 pm Arno Rehn wrote:
> Hi,
> 
> now that we've extended the 'flags' field of Smoke::Method to 'short', I'd
> also like to add mf_virtual and mf_purevirtual to the possible method
>  flags. I'm currently working on a tool that autogenerates C# assemblies
>  from smoke libs and this extension to smoke would be necessary for it to
>  work.
> 
> The other possibility would be to let the smoke generator generate an
> additional meta-information file which contains such information (not the
> nicest solution, really).
> 
> What do you think about this?
It sounds a good idea to me. Introspection tools like 'rbqtapi' could show 
which methods can be overriden, which is quite useful. The only thing we need 
to be careful about is using up all the 16 bits in the short, and then wishing 
we'd make it 32 bits.

-- Richard



More information about the Kde-bindings mailing list