extending scripting integration to an existing lib
I found swig can generate script wrapper for various scripting languages. I've a 3rd party static library, a hea开发者_开发问答der 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.
精彩评论