[Cython] Fix integer width constant names in stdint.pxd

2012-01-02 Thread Mansour Moufid
Hello, Attached is a quick fix for some typos in stdint.pxd. Tested with Cython version 0.15.1. Mansour From a9b3caf05b98c07b779d0ecd7d0e3498de4f4f84 Mon Sep 17 00:00:00 2001 From: Mansour Moufid Date: Mon, 2 Jan 2012 19:01:42 -0500 Subject: [PATCH] Fix integer width constant names in

Re: [Cython] Fix integer width constant names in stdint.pxd

2012-01-02 Thread Mansour Moufid
Now my issue is as follows. (I CCed the cython-users list if this question is more appropriate there.) I have a simple file, int.pyx: from libc.stdint cimport * print long(UINT8_MAX) print long(UINT16_MAX) print long(UINT32_MAX) print long(UINT64_MAX) with the usual setup.py stuff. Compiling an

Re: [Cython] Fix integer width constant names in stdint.pxd

2012-01-02 Thread Mansour Moufid
On Mon, Jan 2, 2012 at 8:48 PM, Lisandro Dalcin wrote: > On 2 January 2012 22:37, Mansour Moufid wrote: >> Now my issue is as follows. >> >> (I CCed the cython-users list if this question is more appropriate there.) >> >> I have a simple file, int.pyx: >>

[Cython] More typed constants (was: Fix integer width constant names in stdint.pxd)

2012-01-20 Thread Mansour Moufid
Hello again, Attached is a patch that continues with the idea of declaring constants using their corresponding type. Great work on Cython, by the way. It's very useful. Mansour From 4f537f477d845468f36ac7b9370185124250520a Mon Sep 17 00:00:00 2001 From: Mansour Moufid Date: Fri, 20 Jan 20