summaryrefslogtreecommitdiff
path: root/object/simple.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2004-10-11 10:42:05 +0200
committerTor Andersson <tor@ghostscript.com>2004-10-11 10:42:05 +0200
commit358811630686460d6b0a96021a1bcb4c3124fb03 (patch)
tree08a0049753ead2cd063723fddd0dd241740769df /object/simple.c
parentbd77c6880a7cf32e20865fb0cdb6816df0e6f775 (diff)
downloadmupdf-358811630686460d6b0a96021a1bcb4c3124fb03.tar.xz
cleaned up xref object and stream api
Diffstat (limited to 'object/simple.c')
-rw-r--r--object/simple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/object/simple.c b/object/simple.c
index 02da3cec..bee7cf46 100644
--- a/object/simple.c
+++ b/object/simple.c
@@ -205,7 +205,7 @@ fz_tostringlen(fz_obj *obj)
}
int
-fz_toobjid(fz_obj *obj)
+fz_tonum(fz_obj *obj)
{
if (fz_isindirect(obj))
return obj->u.r.oid;
@@ -213,7 +213,7 @@ fz_toobjid(fz_obj *obj)
}
int
-fz_togenid(fz_obj *obj)
+fz_togen(fz_obj *obj)
{
if (fz_isindirect(obj))
return obj->u.r.gid;