On Tue, Mar 20, 2012 at 10:03 AM, Marco Hugentobler
<marco.hugentob...@sourcepole.ch> wrote:
> Hi Stefan
>
>
>>Yes and no. As you know, we have tried to do so and found that it's
>>very difficult for somebody other than the code author to add those
>>files.
>
> It is not easier for the C++ code author to create the bindings than for
> others.

Marco, I would disagree here.

Usually there are only few things that need to be sorted out in SIP
files, typically:
- input/output parameter annotations: In, Out
- ownership transfer annotations: Transfer, TransferBack, TransferThis, Factory
The c++ author knows the semantics - someone who just wants to use
that code does not. Ideally these things should be clear from doxygen
documentation. However sometimes the header is not that well
documented, so the person adding SIP files would need to look into the
code.

Anyway I do not expect from developers to make use of some advanced
SIP annotations that require writing some code with python/sip api.

Regards
Martin
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to