Re: How to wrap a existing DLL to a python module?
"Bruce Who" <[email protected]>
| Newsgroups | gmane.comp.programming.swig,gmane.comp.lib.boost.langbinding,gmane.comp.python.c++ |
|---|---|
| Message-ID | <[email protected]> |
Hi, William
Thanks! I have tried %include, and it works! This is my code:
%module pyTE
%include "TEVLib.h"
%inline %{
#include "TEVLib.h"
%}
and I find that the #include statement is necessary too, what's the
difference between %include and #include?
On 4/29/07, William S Fulton <[email protected]> wrote:
>
>
> Er, this is one of the things that SWIG is designed to do. Take a look
> at %include.
>
> William
>
Bruce
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/