Marcelo Matus wrote:
> Ingo Braun wrote:
>> browsing the swig directories, I found a lot of i and swg files. These
>> files contain directives, that I have never seen before. For example:
>> %argument_fail, %static_cast,%fragment, %define_as,
>> %set_varoutput, %apply, %set_constant...
>> Is there a document that explains the functionality of these directives ?
> these are internal directives used to implement the swig library across
> perl, tcl, ruby and python.
> they are "undocumented on porpuse" in the main SWIG Docs until we get in
> to a stable version
> of the also called "Unified Typemap Library". Still, there are docs
> inside the same files where
> you found them if you are interested.
> probably we will start documenting them for 1.3.30 or so, after a little
> more changes are made
> to the string managing part.
Out of the list, %apply has been around for ages and is fully documented.