Commit aacdc9da authored by Guido van Rossum's avatar Guido van Rossum

Define reference count admin debug functions to return void.

parent d86b3800
...@@ -517,6 +517,7 @@ object NoObject = { ...@@ -517,6 +517,7 @@ object NoObject = {
static object refchain = {&refchain, &refchain}; static object refchain = {&refchain, &refchain};
void
NEWREF(op) NEWREF(op)
object *op; object *op;
{ {
...@@ -531,6 +532,7 @@ NEWREF(op) ...@@ -531,6 +532,7 @@ NEWREF(op)
#endif #endif
} }
void
UNREF(op) UNREF(op)
register object *op; register object *op;
{ {
...@@ -556,6 +558,7 @@ UNREF(op) ...@@ -556,6 +558,7 @@ UNREF(op)
#endif #endif
} }
void
DELREF(op) DELREF(op)
object *op; object *op;
{ {
...@@ -565,6 +568,7 @@ DELREF(op) ...@@ -565,6 +568,7 @@ DELREF(op)
(*dealloc)(op); (*dealloc)(op);
} }
void
_Py_PrintReferences(fp) _Py_PrintReferences(fp)
FILE *fp; FILE *fp;
{ {
......
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