diff options
author | Tor Andersson <tor@ghostscript.com> | 2004-11-12 07:01:39 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2004-11-12 07:01:39 +0100 |
commit | 67781c58fef0f94ea234341cea8e7e13646bc4a2 (patch) | |
tree | 97504921cb5ac011a8c06ca4964b1d333f6c5ac1 /object/simple.c | |
parent | 1be84ed1d4fbe44387222995a124a4f84ee55210 (diff) | |
download | mupdf-67781c58fef0f94ea234341cea8e7e13646bc4a2.tar.xz |
some renames
Diffstat (limited to 'object/simple.c')
-rw-r--r-- | object/simple.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/object/simple.c b/object/simple.c index 0755a795..629fdf85 100644 --- a/object/simple.c +++ b/object/simple.c @@ -7,7 +7,7 @@ extern void fz_dropdict(fz_obj *dict); fz_obj *o; \ o = *op = fz_malloc(SIZE); \ if (!o) return fz_outofmem; \ - o->nrefs = 1; \ + o->refs = 1; \ o->kind = KIND; \ fz_error * @@ -78,14 +78,14 @@ fz_newpointer(fz_obj **op, void *p) fz_obj * fz_keepobj(fz_obj *o) { - o->nrefs ++; + o->refs ++; return o; } void fz_dropobj(fz_obj *o) { - if (--o->nrefs == 0) + if (--o->refs == 0) { if (o->kind == FZ_ARRAY) fz_droparray(o); |