Patches to for type consistency in Python pidl
Jelmer Vernooij
jelmer at jelmer.uk
Wed Jul 29 01:42:06 UTC 2015
On Wed, Jul 29, 2015 at 09:42:20AM +1200, Andrew Bartlett wrote:
> On Fri, 2015-06-26 at 09:07 +0000, Jelmer Vernooij wrote:
> > Hi Douglas,
> >
> > Thanks for working on pidl! Some comments below:
> >
> > On Thu, Jun 25, 2015 at 06:20:33PM +1200, Douglas Bagnall wrote:
> > > From 9c6661748f75d8aaf00b6a1a0ec1aff3a7a63b89 Mon Sep 17 00:00:00
> > > 2001
> > > From: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>
> > > Date: Thu, 18 Jun 2015 12:38:22 +1200
> > > Subject: [PATCH 1/6] Treat uid_t, gid_t as 64 bit in Pidl Python
> > > bindings
> > >
> > > This follows their treatment in librpc/ndr/ndr_basic.c.
> > >
> > >
> > > Signed-off-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>
> >
> > Reviewed-By: Jelmer Vernooij <jelmer at samba.org>
> >
> > That said, we should just remove uid_t and gid_t from Pidl, and just
> > make them aliases for uint64_t.
>
> How do we do that but still keep them as distinct types in C?
Why do we need to have them as distinct types?
--
Jelmer Vernooij <jelmer at samba.org> - https://jelmer.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150729/2d6e0a6a/signature.sig>
More information about the samba-technical
mailing list