« Return to Thread: To accept one 1D-Numpy array and return another

Re: To accept one 1D-Numpy array and return another

by Josh Cherry :: Rate this Message:

Reply to Author | View in Thread



On Mon, 6 Jul 2009, Jose Guzman wrote:

> Josh Cherry wrote:
>> You could %rename sse to, say, _sse, and call your python function "sse"
>> (and have it call _sse), to get around that annoyance.
>>
>> Josh
>>
> This was a very clever idea indeed. The only thing is that now my C function
> is called _sse, but it is OK.

To make sure we're clear, I was suggesting that you use SWIG's %rename
directive.  So you shouldn't have to change the name of the actual C
function.

Josh


------------------------------------------------------------------------------
_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user

 « Return to Thread: To accept one 1D-Numpy array and return another