On 09/26/2008 07:01 AM, Steven Hirsch wrote:
> On Fri, 26 Sep 2008, debutant wrote:
>> If I am not wrong this swig directive is not explain in the official
>> What is the purpose of %fragment ?
> If you ever get an answer, would you let us know? Utterly undocumented,
> as far as I can see.
There is a doc in Lib/typemaps/fragments.swg
SWIG will only include code in a fragment into the generated wrapper if
the code is actually used.