Commit 29e0c751 authored by Jeremy Hylton's avatar Jeremy Hylton

Add XXX comment about _oid_unreferenced.

parent 316822a8
......@@ -14,7 +14,7 @@
static char cPersistence_doc_string[] =
"Defines Persistent mixin class for persistent objects.\n"
"\n"
"$Id: cPersistence.c,v 1.52 2002/04/01 23:36:33 jeremy Exp $\n";
"$Id: cPersistence.c,v 1.53 2002/04/02 06:01:22 jeremy Exp $\n";
#include "cPersistence.h"
......@@ -187,6 +187,7 @@ deallocated(cPersistentObject *self)
if (self->cache) {
PyObject *v;
/* XXX should just add this to the C API struct */
v = PyObject_CallMethod((PyObject *)self->cache,
"_oid_unreferenced", "O", self->oid);
/* XXX What does the comment below mean? */
......
......@@ -14,7 +14,7 @@
static char cPersistence_doc_string[] =
"Defines Persistent mixin class for persistent objects.\n"
"\n"
"$Id: cPersistence.c,v 1.52 2002/04/01 23:36:33 jeremy Exp $\n";
"$Id: cPersistence.c,v 1.53 2002/04/02 06:01:22 jeremy Exp $\n";
#include "cPersistence.h"
......@@ -187,6 +187,7 @@ deallocated(cPersistentObject *self)
if (self->cache) {
PyObject *v;
/* XXX should just add this to the C API struct */
v = PyObject_CallMethod((PyObject *)self->cache,
"_oid_unreferenced", "O", self->oid);
/* XXX What does the comment below mean? */
......
......@@ -14,7 +14,7 @@
static char cPersistence_doc_string[] =
"Defines Persistent mixin class for persistent objects.\n"
"\n"
"$Id: cPersistence.c,v 1.52 2002/04/01 23:36:33 jeremy Exp $\n";
"$Id: cPersistence.c,v 1.53 2002/04/02 06:01:22 jeremy Exp $\n";
#include "cPersistence.h"
......@@ -187,6 +187,7 @@ deallocated(cPersistentObject *self)
if (self->cache) {
PyObject *v;
/* XXX should just add this to the C API struct */
v = PyObject_CallMethod((PyObject *)self->cache,
"_oid_unreferenced", "O", self->oid);
/* XXX What does the comment below mean? */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment