SANE_Hi!
On Wed, Dec 03, 2008 at 09:34:29PM +0100, Alessandro Zummo wrote:
On Wed, 03 Dec 2008 21:20:58 +0100
Julien BLACHE jb at jblache.org wrote:
Alessandro Zummo azummo-lists at towertech.it wrote:
Now that we have ANSI C types for everything,
it might be useful to switch.
Btw, what the point of having these typedefs?
(Besides obscurity and advertising of course).
typedef unsigned char SANE_Byte;
typedef int SANE_Word;
typedef SANE_Word SANE_Bool;
typedef SANE_Word SANE_Int;
typedef char SANE_Char;
typedef SANE_Char *SANE_String;
typedef const SANE_Char
On Wed, 3 Dec 2008 04:53:24 +0300
ABC abc at telekom.ru wrote:
Btw, what the point of having these typedefs?
(Besides obscurity and advertising of course).
typedef unsigned char SANE_Byte;
typedef int SANE_Word;
typedef SANE_Word SANE_Bool;
typedef SANE_Word SANE_Int;
typedef
Alessandro Zummo azummo-lists at towertech.it wrote:
Hi,
Now that we have ANSI C types for everything,
it might be useful to switch.
Firstly, that's ISO C, and secondly, in a version of the norm that
isn't supported by the standard compiler on some of the UNIX platforms
supported by SANE.
On Wed, 03 Dec 2008 21:20:58 +0100
Julien BLACHE jb at jblache.org wrote:
Alessandro Zummo azummo-lists at towertech.it wrote:
Hi,
Now that we have ANSI C types for everything,
it might be useful to switch.
Firstly, that's ISO C, and secondly, in a version of the norm that
isn't
ABC abc at telekom.ru wrote:
Hi,
For example
typedef int SANE_Word;
It's is int forever on all platforms. And we already have int for that.
Although that's true on all the platforms SANE runs now, it isn't true
for all platforms. Be it for that type or another one.
void *SANE_Handle is