]> git.decadent.org.uk Git - ion3.git/blob - ioncore/extlconv.h
[svn-inject] Installing original source of ion3
[ion3.git] / ioncore / extlconv.h
1 /*
2  * ion/ioncore/extlconv.h
3  *
4  * Copyright (c) Tuomo Valkonen 1999-2006. 
5  *
6  * Ion is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU Lesser General Public License as published by
8  * the Free Software Foundation; either version 2.1 of the License, or
9  * (at your option) any later version.
10  */
11
12 #ifndef ION_IONCORE_EXTLCONV_H
13 #define ION_IONCORE_EXTLCONV_H
14
15 #include <libextl/extl.h>
16 #include <libtu/iterable.h>
17 #include <libtu/setparam.h>
18 #include "common.h"
19 #include "region.h"
20
21 extern ExtlTab extl_obj_iterable_to_table(ObjIterator *iter, void *st);
22
23 extern bool extl_table_is_bool_set(ExtlTab tab, const char *entry);
24
25 extern bool extl_table_to_rectangle(ExtlTab tab, WRectangle *rect);
26 extern ExtlTab extl_table_from_rectangle(const WRectangle *rect);
27
28 extern bool extl_table_gets_rectangle(ExtlTab tab, const char *nam,
29                                       WRectangle *rect);
30 extern void extl_table_sets_rectangle(ExtlTab tab, const char *nam,
31                                       const WRectangle *rect);
32
33 #endif /* ION_IONCORE_EXTLCONV_H */
34