I found swig can generate script wrapper for various scripting languages. I've a 3rd party static library, a header file and a lib.
How can I use swig so that I can call functions from that library from a scripting language, say python?
Thanks
I found swig can generate script wrapper for various scripting languages. I've a 3rd party static library, a header file and a lib.
How can I use swig so that I can call functions from that library from a scripting language, say python?
Thanks
Try reading the swig documentation. It walks through examples of how to do exactly this.