Commit 612505f5 authored by Jeremy Hylton's avatar Jeremy Hylton

Add XXX comment about _oid_unreferenced.

parent 5cd55aa4
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
static char cPersistence_doc_string[] = static char cPersistence_doc_string[] =
"Defines Persistent mixin class for persistent objects.\n" "Defines Persistent mixin class for persistent objects.\n"
"\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" #include "cPersistence.h"
...@@ -187,6 +187,7 @@ deallocated(cPersistentObject *self) ...@@ -187,6 +187,7 @@ deallocated(cPersistentObject *self)
if (self->cache) { if (self->cache) {
PyObject *v; PyObject *v;
/* XXX should just add this to the C API struct */
v = PyObject_CallMethod((PyObject *)self->cache, v = PyObject_CallMethod((PyObject *)self->cache,
"_oid_unreferenced", "O", self->oid); "_oid_unreferenced", "O", self->oid);
/* XXX What does the comment below mean? */ /* XXX What does the comment below mean? */
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
static char cPersistence_doc_string[] = static char cPersistence_doc_string[] =
"Defines Persistent mixin class for persistent objects.\n" "Defines Persistent mixin class for persistent objects.\n"
"\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" #include "cPersistence.h"
...@@ -187,6 +187,7 @@ deallocated(cPersistentObject *self) ...@@ -187,6 +187,7 @@ deallocated(cPersistentObject *self)
if (self->cache) { if (self->cache) {
PyObject *v; PyObject *v;
/* XXX should just add this to the C API struct */
v = PyObject_CallMethod((PyObject *)self->cache, v = PyObject_CallMethod((PyObject *)self->cache,
"_oid_unreferenced", "O", self->oid); "_oid_unreferenced", "O", self->oid);
/* XXX What does the comment below mean? */ /* XXX What does the comment below mean? */
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
static char cPersistence_doc_string[] = static char cPersistence_doc_string[] =
"Defines Persistent mixin class for persistent objects.\n" "Defines Persistent mixin class for persistent objects.\n"
"\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" #include "cPersistence.h"
...@@ -187,6 +187,7 @@ deallocated(cPersistentObject *self) ...@@ -187,6 +187,7 @@ deallocated(cPersistentObject *self)
if (self->cache) { if (self->cache) {
PyObject *v; PyObject *v;
/* XXX should just add this to the C API struct */
v = PyObject_CallMethod((PyObject *)self->cache, v = PyObject_CallMethod((PyObject *)self->cache,
"_oid_unreferenced", "O", self->oid); "_oid_unreferenced", "O", self->oid);
/* XXX What does the comment below mean? */ /* 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