Request for help with PIDL

Jelmer Vernooij jelmer at samba.org
Mon Apr 5 19:53:58 MDT 2010


On Tue, 2010-04-06 at 11:37 +1000, Andrew Bartlett wrote:
> On Tue, 2010-04-06 at 07:52 +1000, Andrew Bartlett wrote:
> > On Tue, 2010-04-06 at 00:04 +0300, Kamen Mazdrashki wrote:
> > > On Fri, Apr 2, 2010 at 16:24, Stefan (metze) Metzmacher <metze at samba.org>wrote:
> > > 
> > > > Do you really need it this type for your work?
> > > 
> > > No. I just need a way to skip generation of Python code for
> > > package_PrimaryKerberosString structure.
> > > 
> > > 
> > > > Otherwise we could just skip it for the python bindings,
> > > > I think we have a "nopython" attribute.
> > > >
> > > 
> > > I saw this attribute but I can't figure out how to use it?
> > > What I understood is that I can use it on 'interface' (which is not what I
> > > want)
> > > or on interface method. Unfortunately when using [nopython] attribute for
> > > interface method I get an error from IDL parser. Here it is:
> > 
> > Add it alongside other 'no' words like 'noprint,nopull,nopush' etc on
> > each function. 
> 
> Try out this patch and demonstration. 
> 
> Jelmer, metze:  Is this OK? - it seems to work for me.
Please don't allow [nopython] for elements yet, as we don't support that
in the code; it'll probably just confuse people who try to use it for
now.

Other than that, +1

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100406/11bbb766/attachment.pgp>


More information about the samba-technical mailing list