gfsmArray.h
Go to the documentation of this file.
1 /*=============================================================================*\
2  * File: gfsmArray.h
3  * Author: Bryan Jurish <moocow.bovine@gmail.com>
4  * Description: finite state machine library
5  *
6  * Copyright (c) 2011 Bryan Jurish.
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 3 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21  *=============================================================================*/
22 
27 #ifndef _GFSM_ARRAY_H
28 #define _GFSM_ARRAY_H
29 
30 #include <glib.h>
31 
32 /*======================================================================
33  * Methods: GArray
34  */
36 
37 
49 gpointer gfsm_array_lower_bound(GArray *array, guint element_size, gconstpointer key, GCompareDataFunc compare_func, gpointer data);
51 
52 /*======================================================================
53  * Methods: GPtrArray
54  */
56 
57 
62 gpointer* gfsm_ptr_array_lower_bound(GPtrArray *parray, gconstpointer key, GCompareDataFunc compare_func, gpointer data);
63 
66 gpointer* gfsm_ptr_array_insert_sorted(GPtrArray *parray, gpointer elt, GCompareDataFunc compare_func, gpointer data);
67 
69 
70 
71 #endif /* _GFSM_ENUM_H */