[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Printing to terminal/standard output problem
- From: Francesco Abbate <francesco.bbt@...>
- Date: Mon, 21 Nov 2011 00:01:58 +0100
2011/11/20 PooshhMao <pooshhmao@gmail.com>:
> However when I try to run your example I get the error: declaration
> specifier expected near 'FILE'
Sorry, I forgot that you need to add in ffi.cdef the following declarations:
struct _IO_FILE;
typedef struct _IO_FILE FILE;
Actually I didn't notice the problem because I tested the script in
GSL Shell where they are already declared.
Francesco