summaryrefslogtreecommitdiff
path: root/gs/src/ifunc.h
diff options
context:
space:
mode:
authorL Peter Deutsch <lpd@ghostscript.com>2000-03-19 02:22:01 +0000
committerL Peter Deutsch <lpd@ghostscript.com>2000-03-19 02:22:01 +0000
commit19e70be36113f60e4f45f5bbe2a3bf7f7c74a87c (patch)
tree843d9236dd186f3c3ed7e75135283096921b2da4 /gs/src/ifunc.h
parent01ddc6e8ee39d764860db1384a384a8f15a3b904 (diff)
Adds a public procedure for determining whether a PostScript object is a
Function, and if so, returning the pointer to the gs_function_t structure. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@121 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/src/ifunc.h')
-rw-r--r--gs/src/ifunc.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gs/src/ifunc.h b/gs/src/ifunc.h
index 3dcd5ceed..74a51bbc5 100644
--- a/gs/src/ifunc.h
+++ b/gs/src/ifunc.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999 Aladdin Enterprises. All rights reserved.
+/* Copyright (C) 1997, 2000 Aladdin Enterprises. All rights reserved.
This file is part of Aladdin Ghostscript.
@@ -58,4 +58,10 @@ int fn_build_float_array(P6(const ref * op, const char *kstr, bool required,
bool even, const float **pparray,
gs_memory_t *mem));
+/*
+ * If a PostScript object is a Function procedure, return the function
+ * object, otherwise return 0.
+ */
+gs_function_t *ref_function(P1(const ref *op));
+
#endif /* ifunc_INCLUDED */