pidl: Fix the generation of py helper for 64 bit integer
authorMatthieu Patou <mat@matws.net>
Wed, 14 Apr 2010 20:18:46 +0000 (00:18 +0400)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 2 May 2010 13:59:49 +0000 (15:59 +0200)
commit831336293dfd9ab3771c2eb0f155b7423e71ec94
tree6121632c7a9b959759ddd8f518f6408bf9fa19b5
parent668e28b80e47876bf32ac49abcb1e8f5e0c2cef0
pidl: Fix the generation of py helper for 64 bit integer

Up to now the generation of code for python helpers dealing with 64 bits (NTTIME,hyper, ...)
was broken because they were assumed to be Int (PyInt_From ...) as Integer is always 32 bits
in python.
This fix use PyLong and states that the incomming data is a long long as it should be 64 bit at least.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
pidl/lib/Parse/Pidl/Samba4/Python.pm