comedilib/include
Éric Piel da0fe745fc include: explicitly indicate values are unsigned when it could matter
In C, mixing up between int and unsigned int doesn't matter too much for constants
because in memory they end up the same.
However, in Python, they appear differently.

Swig assumes (wrongly?) by default that the constants are signed, intead of being unsigned.
For every value equal or greater that 2**31, it matters.
For instance CR_INVERT should be 2147483648, but it is -2147483648 in python.
By marking the values explicitly unsigned, swig generates the right values.

That's excepted for enum, which swig just consider int. So for the only constant in that
case, we manually override it in swig.
2015-06-08 11:21:11 +01:00
..
comedi.h include: explicitly indicate values are unsigned when it could matter 2015-06-08 11:21:11 +01:00
comedi_errno.h Fix a couple of typos. 2011-05-11 12:05:55 +01:00
comedilib.h Add comedilib_version.h header, produced by ./configure, 2011-01-26 16:29:34 +00:00
comedilib_scxi.h add license header to scxi.c, and caleb as author 2005-02-06 16:25:16 +00:00
comedilib_version.h.in Fix a couple of typos. 2011-05-11 12:05:55 +01:00
Makefile.am Add comedilib_version.h header, produced by ./configure, 2011-01-26 16:29:34 +00:00