On 14 mar 2007, at 11.57, John Pye wrote:
> Hi all
>
> I understand that I can't hope to pass a FILE* from the Windows
> version of Python into a SWIG module that I've built using MinGW
> gcc/g+
> +, because apparently the FILE* structure are different and
> incompatible.
>
> Is there an offici
John Pye <[EMAIL PROTECTED]> wrote:
>Is there an official workaround for this? Presumably I need to
>implement a mingw-compatible version of all the 'file' class in
>Python, eg
I'm not familiar with SWIG, but why not pass Python's own file class?
Method calls on Python's file class will be dispatc
Hi all
I understand that I can't hope to pass a FILE* from the Windows
version of Python into a SWIG module that I've built using MinGW gcc/g+
+, because apparently the FILE* structure are different and
incompatible.
Is there an official workaround for this? Presumably I need to
implement a mingw