2 * ion/ioncore/extlconv.h
4 * Copyright (c) Tuomo Valkonen 1999-2006.
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.
12 #ifndef ION_IONCORE_EXTLCONV_H
13 #define ION_IONCORE_EXTLCONV_H
15 #include <libextl/extl.h>
16 #include <libtu/iterable.h>
17 #include <libtu/setparam.h>
21 extern ExtlTab extl_obj_iterable_to_table(ObjIterator *iter, void *st);
23 extern bool extl_table_is_bool_set(ExtlTab tab, const char *entry);
25 extern bool extl_table_to_rectangle(ExtlTab tab, WRectangle *rect);
26 extern ExtlTab extl_table_from_rectangle(const WRectangle *rect);
28 extern bool extl_table_gets_rectangle(ExtlTab tab, const char *nam,
30 extern void extl_table_sets_rectangle(ExtlTab tab, const char *nam,
31 const WRectangle *rect);
33 #endif /* ION_IONCORE_EXTLCONV_H */