C Function Pointer Wrapping Example not working

Charlie Charlie.Xia.FDU at gmail.com
Tue Nov 18 20:59:03 CET 2008


> Nowhere in your code is the definition of binary_op - that is why you
> get a linker error.
>
> Is it defined in another C file?  If so you need to link it with the
> swig wrapper before you make the .so
>

Thanks for pointing out. I sorted the code out finally!

Charlie



More information about the Python-list mailing list