[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] swig question

From: Eric Blossom
Subject: Re: [Discuss-gnuradio] swig question
Date: Thu, 24 May 2007 21:08:40 -0700
User-agent: Mutt/1.5.9i

On Thu, May 24, 2007 at 06:43:21PM -0500, Brett L. Trotter wrote:
> I've made a swig wrapper for some code that needs a char pointer passed
> in, how do I do such a thing?

Use const std::string &foo instead of char *.

For a longer answer, see the swig docs.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]