Ok, not it is solved
%rename (_sse) sse;
def sse(list):
a=np.array(list,dtype=float)
_sse(a)
return a
}
Josh Cherry wrote:
>
>
> 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