~samba-team/talloc/unstable-1

« back to all changes in this revision

Viewing changes to pytalloc.c

  • Committer: Jelmer Vernooij
  • Date: 2011-01-24 03:44:33 UTC
  • mfrom: (0.2.5 upstream)
  • Revision ID: jelmer@debian.org-20110124034433-wd05hvh64w94dnnh
Tags: 2.0.5-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include <talloc.h>
22
22
#include <pytalloc.h>
23
23
 
 
24
void inittalloc(void);
 
25
 
24
26
/* print a talloc tree report for a talloc python object */
25
27
static PyObject *py_talloc_report_full(PyObject *self, PyObject *args)
26
28
{
110
112
        return ((char *)py_talloc_get_ptr(obj1) - (char *)py_talloc_get_ptr(obj2));
111
113
}
112
114
 
113
 
 
114
 
 
115
115
static PyTypeObject TallocObject_Type = {
116
116
        .tp_name = "talloc.Object",
117
117
        .tp_doc = "Python wrapper for a talloc-maintained object.",