~pythonregexp2.7/python/issue2636-01+09-01-01

« back to all changes in this revision

Viewing changes to Objects/cobject.c

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-22 00:02:12 UTC
  • mfrom: (39022.1.34 Regexp-2.7)
  • Revision ID: darklord@timehorse.com-20080922000212-7r0q4f4ugiq57jph
Merged in changes from the Atomic Grouping / Possessive Qualifiers branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
typedef void (*destructor1)(void *);
10
10
typedef void (*destructor2)(void *, void*);
11
11
 
12
 
typedef struct {
13
 
    PyObject_HEAD
14
 
    void *cobject;
15
 
    void *desc;
16
 
    void (*destructor)(void *);
17
 
} PyCObject;
18
 
 
19
12
PyObject *
20
13
PyCObject_FromVoidPtr(void *cobj, void (*destr)(void *))
21
14
{