Re: Working char ** variables

Ervin Hegedüs <[email protected]>
Newsgroups gmane.comp.programming.swig
Message-ID <[email protected]>
Hi William,

thanks for your answer,

On Wed, Sep 16, 2020 at 08:46:24PM +0100, William S Fulton wrote:
> On Thu, 3 Sep 2020 at 23:17, Ervin Hegedüs <[email protected]> wrote:
> 
> The types for your typemaps need to be char***. It depends on a few things
> as to which typemaps you need, but probably just the 'in' typemaps. The
> Typemaps documentation chapter has lots of details. I strongly suggest
> reading about the debugging options, such as -debug-tmsearch.

meanwhile I made the typemap and it worked - just for the record:

https://sourceforge.net/p/swig/mailman/message/37100375/

My problem is that in the C code, if I extend the char ** object,
I have to pass it's address, and the function expects a "char ***"
type.

That's what I couldn't made yet.


a.




_______________________________________________
Swig-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/swig-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.