summaryrefslogtreecommitdiff
path: root/base/gxdevsop.h
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2021-04-08 15:48:41 +0100
committerRobin Watts <Robin.Watts@artifex.com>2021-04-20 15:03:02 +0100
commit378f362b25dc51d92e9668420a0195e8253123c2 (patch)
tree260ed392e56064456f6115abd89be4838c2893a6 /base/gxdevsop.h
parent1d9b79910d988d074f262c65d3559c5045a5343f (diff)
downloadghostpdl-378f362b25dc51d92e9668420a0195e8253123c2.tar.gz
Tweak null device.
No longer spot that a device is null (or nullpage) by checking the fill_path routine. Instead use a dev_spec_op. Avoid gdevbbox referencing into the nullpage prototype (which is now statically inited to 0's rather than valid procs).
Diffstat (limited to 'base/gxdevsop.h')
-rw-r--r--base/gxdevsop.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/gxdevsop.h b/base/gxdevsop.h
index a5af0f41e..479d97798 100644
--- a/base/gxdevsop.h
+++ b/base/gxdevsop.h
@@ -430,6 +430,9 @@ enum {
/* Determine if a given device is a clist one. Returns 1 if it is. */
gxdso_is_clist_device,
+ /* Determine if a given device is a null device. Returns 1 if it is. */
+ gxdso_is_null_device,
+
/* Add new gxdso_ keys above this. */
gxdso_pattern__LAST
};