summaryrefslogtreecommitdiff
path: root/src/cairo-compiler-private.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-10-14 13:44:47 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2008-10-14 13:44:47 +0100
commit0d3e152d2fe28b22a27dd6b9f82e2047aea3be94 (patch)
treeddf4e5312f4f00fb0e0282b43ca8fc660861b387 /src/cairo-compiler-private.h
parent02a7ca80f9f9b62deff6c8ba4dc58fee0cebcaa6 (diff)
[check-doc-syntax.sh] Allow quoting.
func_regexp was incorrectly complaining that cairo_pure was a function without parenthesis. The simplest solution appeared to be allow quoting of 'cairo_pure'.
Diffstat (limited to 'src/cairo-compiler-private.h')
-rw-r--r--src/cairo-compiler-private.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/cairo-compiler-private.h b/src/cairo-compiler-private.h
index 5195583d..b93fd829 100644
--- a/src/cairo-compiler-private.h
+++ b/src/cairo-compiler-private.h
@@ -115,20 +115,20 @@
* Cairo uses the following function attributes in order to improve the
* generated code (effectively by manual inter-procedural analysis).
*
- * cairo_pure: The function is only allowed to read from its arguments
- * and global memory (i.e. following a pointer argument or
- * accessing a shared variable). The return value should
- * only depend on its arguments, and for an identical set of
- * arguments should return the same value.
+ * 'cairo_pure': The function is only allowed to read from its arguments
+ * and global memory (i.e. following a pointer argument or
+ * accessing a shared variable). The return value should
+ * only depend on its arguments, and for an identical set of
+ * arguments should return the same value.
*
- * cairo_cont: The function is only allowed to read from its arguments.
- * It is not allowed to access global memory. The return
- * value should only depend its arguments, and for an identical
- * set of arguments should return the same value. This is
- * currently the most strict function attribute.
+ * 'cairo_const': The function is only allowed to read from its arguments.
+ * It is not allowed to access global memory. The return
+ * value should only depend its arguments, and for an
+ * identical set of arguments should return the same value.
+ * This is currently the most strict function attribute.
*
* Both these function attributes allow gcc to perform CSE and
- * constant-folding, with cairo_const also guaranteeing that pointer contents
+ * constant-folding, with 'cairo_const 'also guaranteeing that pointer contents
* do not change across the function call.
*/
#if __GNUC__ >= 3