4 * An OpenGL based 'interactive canvas' library.
6 * Authored By Matthew Allum <mallum@openedhand.com>
8 * Copyright (C) 2008 OpenedHand
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; either
13 * version 2 of the License, or (at your option) any later version.
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
23 * ClutterIDPool: pool of reusable integer ids associated with pointers.
25 * Author: Øyvind Kolås <pippin@o-hand.com>
28 #ifndef __CLUTTER_ID_POOL_H__
29 #define __CLUTTER_ID_POOL_H__
35 typedef struct _ClutterIDPool ClutterIDPool;
37 ClutterIDPool * _clutter_id_pool_new (guint initial_size);
38 void _clutter_id_pool_free (ClutterIDPool *id_pool);
40 guint32 _clutter_id_pool_add (ClutterIDPool *id_pool,
42 void _clutter_id_pool_remove (ClutterIDPool *id_pool,
44 gpointer _clutter_id_pool_lookup (ClutterIDPool *id_pool,
50 #endif /* __CLUTTER_ID_POOL_H__ */