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

« back to all changes in this revision

Viewing changes to Include/cobject.h

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
/* Modify a C object. Fails (==0) if object has a destructor. */
49
49
PyAPI_FUNC(int) PyCObject_SetVoidPtr(PyObject *self, void *cobj);
50
50
 
 
51
 
 
52
typedef struct {
 
53
    PyObject_HEAD
 
54
    void *cobject;
 
55
    void *desc;
 
56
    void (*destructor)(void *);
 
57
} PyCObject;
 
58
 
 
59
 
51
60
#ifdef __cplusplus
52
61
}
53
62
#endif