summaryrefslogtreecommitdiff
path: root/gs/src/ifunc.h
diff options
context:
space:
mode:
authorHenry Stiles <henry.stiles@artifex.com>1998-08-26 09:01:55 +0000
committerHenry Stiles <henry.stiles@artifex.com>1998-08-26 09:01:55 +0000
commit43ac6e5b0f2b4cce7274863448c63b525299dd9f (patch)
treefecc48bd5c0ec633c9b125eb0dd08d8431541015 /gs/src/ifunc.h
parent77b48fab4ef52f2b84cf6db7c0f36c8e0e4ba365 (diff)
gs5.36 release.
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@359 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'gs/src/ifunc.h')
-rw-r--r--gs/src/ifunc.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/gs/src/ifunc.h b/gs/src/ifunc.h
index 79a992b76..949e494ba 100644
--- a/gs/src/ifunc.h
+++ b/gs/src/ifunc.h
@@ -40,9 +40,12 @@ int fn_build_sub_function(P3(const ref * op, gs_function_t ** ppfn, int depth));
/* Allocate an array of function objects. */
int ialloc_function_array(P2(uint count, gs_function_t *** pFunctions));
-/* Collect a heap-allocated array of floats. */
-/* If the key is missing, set *pparray = 0 and return 0; */
-/* otherwise set *pparray and return the number of elements. */
+/*
+ * Collect a heap-allocated array of floats. If the key is missing, set
+ * *pparray = 0 and return 0; otherwise set *pparray and return the number
+ * of elements. Note that 0-length arrays are acceptable, so if the value
+ * returned is 0, the caller must check whether *pparray == 0.
+ */
int fn_build_float_array(P5(const ref * op, const char *kstr, bool required,
bool even, const float **pparray));