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.

Eric



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to