summaryrefslogtreecommitdiff
path: root/src/cairo-freelist-private.h
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-11-22 18:42:48 -0800
committerCarl Worth <cworth@cworth.org>2006-11-22 18:44:34 -0800
commita8f6d27fba582cc8e935676d26c703fa7b253822 (patch)
tree1f1e8bd0bb114b729e920221e61e8956c44690ab /src/cairo-freelist-private.h
parentfac3684e686a259658151dac13907fa69f43f727 (diff)
downloadcairo-a8f6d27fba582cc8e935676d26c703fa7b253822.tar.gz
Add some missing cairo_private decorators
Diffstat (limited to 'src/cairo-freelist-private.h')
-rw-r--r--src/cairo-freelist-private.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/cairo-freelist-private.h b/src/cairo-freelist-private.h
index 7a225ff38..41855f7eb 100644
--- a/src/cairo-freelist-private.h
+++ b/src/cairo-freelist-private.h
@@ -21,6 +21,8 @@
*/
#ifndef CAIRO_FREELIST_H
#define CAIRO_FREELIST_H
+
+#include "cairoint.h"
#include <stddef.h>
/* Opaque implementation types. */
@@ -41,31 +43,31 @@ struct _cairo_freelist {
/* Initialise a freelist that will be responsible for allocating
* nodes of size nodesize. */
-void
+cairo_private void
_cairo_freelist_init (cairo_freelist_t *freelist, unsigned nodesize);
/* Deallocate any nodes in the freelist. */
-void
+cairo_private void
_cairo_freelist_fini (cairo_freelist_t *freelist);
/* Allocate a new node from the freelist. If the freelist contains no
* nodes, a new one will be allocated using malloc(). The caller is
* responsible for calling _cairo_freelist_free() or free() on the
* returned node. Returns NULL on memory allocation error. */
-void *
+cairo_private void *
_cairo_freelist_alloc (cairo_freelist_t *freelist);
/* Allocate a new node from the freelist. If the freelist contains no
* nodes, a new one will be allocated using calloc(). The caller is
* responsible for calling _cairo_freelist_free() or free() on the
* returned node. Returns NULL on memory allocation error. */
-void *
+cairo_private void *
_cairo_freelist_calloc (cairo_freelist_t *freelist);
/* Return a node to the freelist. This does not deallocate the memory,
* but makes it available for later reuse by
* _cairo_freelist_alloc(). */
-void
+cairo_private void
_cairo_freelist_free (cairo_freelist_t *freelist, void *node);
#endif /* CAIRO_FREELIST_H */