diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-09-21 00:40:17 -0700 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-09-21 11:47:03 -0700 |
commit | 049c4fa04dcee5a6083630b0464b715c5ca531cd (patch) | |
tree | de66d564c8068bb52496883976198908f76f6d16 /pidl/lib/Parse | |
parent | 1d90227c3c31dae573ac1dc3096925cb82e994b6 (diff) | |
download | samba-049c4fa04dcee5a6083630b0464b715c5ca531cd.tar.gz samba-049c4fa04dcee5a6083630b0464b715c5ca531cd.tar.bz2 samba-049c4fa04dcee5a6083630b0464b715c5ca531cd.zip |
pytalloc: Add default compare function.
Diffstat (limited to 'pidl/lib/Parse')
-rw-r--r-- | pidl/lib/Parse/Pidl/Samba4/Python.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba4/Python.pm b/pidl/lib/Parse/Pidl/Samba4/Python.pm index ed43ba4d3e..bc56f17fea 100644 --- a/pidl/lib/Parse/Pidl/Samba4/Python.pm +++ b/pidl/lib/Parse/Pidl/Samba4/Python.pm @@ -325,6 +325,7 @@ sub PythonStruct($$$$$$) $self->pidl(".tp_dealloc = py_talloc_dealloc,"); $self->pidl(".tp_getset = $getsetters,"); $self->pidl(".tp_repr = py_talloc_default_repr,"); + $self->pidl(".tp_compare = py_talloc_default_cmp,"); if ($docstring) { $self->pidl(".tp_doc = $docstring,"); } |