本文整理汇总了C++中PyObject_Del函数的典型用法代码示例。如果您正苦于以下问题:C++ PyObject_Del函数的具体用法?C++ PyObject_Del怎么用?C++ PyObject_Del使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了PyObject_Del函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: BlameIter_dealloc
static void
BlameIter_dealloc(BlameIter *self)
{
Py_CLEAR(self->blame);
PyObject_Del(self);
}
示例2: PyTraceObject_dealloc
static void PyTraceObject_dealloc(PyObject* self)
{
PyObject_Del(self);
}
示例3: bbox_dealloc
void bbox_dealloc(PyObject* self)
{
mylog("-%08x(%d) bbox_dealloc\n", (int)self, self->ob_refcnt);
PyObject_Del(self);
}
示例4: msg_dealloc
static void
msg_dealloc(msgobject *msgp)
{
PyObject_Del(msgp);
}
示例5: TreeEntry_dealloc
void
TreeEntry_dealloc(TreeEntry *self)
{
git_tree_entry_free((git_tree_entry*)self->entry);
PyObject_Del(self);
}
示例6: Hunk_dealloc
static void
Hunk_dealloc(Hunk *self)
{
Py_CLEAR(self->lines);
PyObject_Del(self);
}
示例7: em_dict_iter_dealloc
static void em_dict_iter_dealloc(em_dict_iter_t *self)
{
Py_DECREF(self->em_dict);
PyObject_Del(self);
}
示例8: int8_dealloc
static void int8_dealloc(PgInt8Object *v)
{
PyObject_Del(v);
}
示例9: Destroy
void Destroy(PyObject* self)
{
PyObject_Del(self);
}
示例10: ZstdCompressionWriter_dealloc
static void ZstdCompressionWriter_dealloc(ZstdCompressionWriter* self) {
Py_XDECREF(self->compressor);
Py_XDECREF(self->writer);
PyObject_Del(self);
}
示例11: PYLIBSSH2_Sftp_dealloc
/* {{{ PYLIBSSH2_Sftp_dealloc
*/
static void
PYLIBSSH2_Sftp_dealloc(PYLIBSSH2_SFTP *self)
{
PyObject_Del(self);
}
示例12: Pycsrch_dealloc
static void Pycsrch_dealloc( PycsrchObject *self ) {
PyObject_Del(self);
}
示例13: fh_dealloc
static void
fh_dealloc(fhobject *fhp)
{
fmfreefont(fhp->fh_fh);
PyObject_Del(fhp);
}
示例14: tdb_iter_dealloc
static void tdb_iter_dealloc(PyTdbIteratorObject *self)
{
Py_DECREF(self->iteratee);
PyObject_Del(self);
}
示例15: DiffIter_dealloc
void
DiffIter_dealloc(DiffIter *self)
{
Py_CLEAR(self->diff);
PyObject_Del(self);
}