On Tuesday, October 30, 2012 10:07:12 AM Paul Moore wrote:
> On Wednesday, October 24, 2012 03:53:01 PM David Malcolm wrote:
> > On Mon, 2012-10-08 at 16:23 -0400, Paul Moore wrote:

> > > +    def to_c(self):
> > > +        """ Convert the object into a C structure.
> > > +
> > > +        Description:
> > > +        Helper function which should only be used internally by
> > > +        SyscallFilter objects.
> > > +        """
> > > +        return self._arg
> > 
> > Perhaps make this a cdef rather than a def?  IIRC this will make it only
> > accessible from the .pyx file.
> 
> Okay.

Unfortunately this doesn't work, it needs to stay as a 'def' otherwise Python 
complains.

-- 
paul moore
security and virtualization @ redhat


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
libseccomp-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libseccomp-discuss

Reply via email to