Josh Cherry wrote:
>
>
> On Fri, 3 Jul 2009, Jose Guzman wrote:
>
>> %pythoncode{
>>
>> def ssem(list):
>> a = np.array(list,dtype=float)
>> sse(a)
>> return a
>> }
>>
>> Now I have only to use ssem in stead of sse. :(
>
> 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.
Thanks a lot Josh!
------------------------------------------------------------------------------
_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user