summaryrefslogtreecommitdiff
path: root/gs/base/gsrefct.h
diff options
context:
space:
mode:
Diffstat (limited to 'gs/base/gsrefct.h')
-rw-r--r--gs/base/gsrefct.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/gs/base/gsrefct.h b/gs/base/gsrefct.h
index c6d957815..73a1758c6 100644
--- a/gs/base/gsrefct.h
+++ b/gs/base/gsrefct.h
@@ -1,6 +1,6 @@
/* Copyright (C) 2001-2007 Artifex Software, Inc.
All Rights Reserved.
-
+
This software is provided AS-IS with no warranty, either express or
implied.
@@ -38,10 +38,10 @@
* rc_decrement(pobj);
* rc_decrement_only(pobj);
* Both decrement the reference count, and free the object if that
- * was the last reference. The difference is that rc_decrement()
- * also assigns zero to its argument, while rc_decrement_only()
- * does not. The first must be used if the argument could be traceable
- * by the allocator to avoid examining stale memory when a garbage
+ * was the last reference. The difference is that rc_decrement()
+ * also assigns zero to its argument, while rc_decrement_only()
+ * does not. The first must be used if the argument could be traceable
+ * by the allocator to avoid examining stale memory when a garbage
* collector runs. The second must be used if the pointer argument
* is read-only.
*/
@@ -57,7 +57,7 @@ struct rc_header_s {
#ifdef DEBUG
void rc_trace_init_free(const void *vp, const rc_header *prc);
void rc_trace_free_struct(const void *vp, const rc_header *prc,
- client_name_t cname);
+ client_name_t cname);
void rc_trace_increment(const void *vp, const rc_header *prc);
void rc_trace_adjust(const void *vp, const rc_header *prc, int delta);
#define IF_RC_DEBUG(call) if (gs_debug_c('^')) dlputs(""), call
@@ -72,7 +72,7 @@ rc_free_proc(rc_free_struct_only);
* rc_init[_free] really should be used only to initialize
* stack-allocated structures; with heap-allocated structures, it's
* better to use a finalize method so that the garbage collector can
- * clean them up if the refcount fails to reach zero.
+ * clean them up if the refcount fails to reach zero.
*/
#define rc_init_free(vp, mem, rcinit, proc)\
BEGIN\
@@ -146,8 +146,8 @@ rc_free_proc(rc_free_struct_only);
# define rc_check_(vp)\
BEGIN\
if (gs_debug_c('?') && (vp)->rc.ref_count < 0)\
- lprintf2("0x%lx has ref_count of %ld!\n", (ulong)(vp),\
- (vp)->rc.ref_count);\
+ lprintf2("0x%lx has ref_count of %ld!\n", (ulong)(vp),\
+ (vp)->rc.ref_count);\
END
#else
# define rc_check_(vp) DO_NOTHING
@@ -157,10 +157,10 @@ rc_free_proc(rc_free_struct_only);
if (vp) {\
RC_DO_ADJUST(vp, delta);\
if (!(vp)->rc.ref_count) {\
- rc_free_struct(vp, cname);\
- body;\
+ rc_free_struct(vp, cname);\
+ body;\
} else\
- rc_check_(vp);\
+ rc_check_(vp);\
}\
END
#define rc_adjust(vp, delta, cname)\