Only define LUA when lua is actually on the PATH
[notion/jeffpc.git] / ioncore / extlconv.h
blob92ebd89250a4c6a369a5641780864eb3e8d16522
1 /*
2 * ion/ioncore/extlconv.h
4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
7 */
9 #ifndef ION_IONCORE_EXTLCONV_H
10 #define ION_IONCORE_EXTLCONV_H
12 #include <libextl/extl.h>
13 #include <libtu/iterable.h>
14 #include <libtu/setparam.h>
15 #include <libtu/objlist.h>
16 #include "common.h"
17 #include "region.h"
18 #include "sizepolicy.h"
20 extern bool extl_iter_obj(ExtlFn fn, Obj *obj);
21 extern bool extl_iter_objlist_(ExtlFn fn, ObjIterator *iter, void *st);
22 extern bool extl_iter_objlist(ExtlFn fn, ObjList *list);
24 extern bool extl_table_is_bool_set(ExtlTab tab, const char *entry);
26 extern bool extl_table_to_rectangle(ExtlTab tab, WRectangle *rect);
27 extern ExtlTab extl_table_from_rectangle(const WRectangle *rect);
29 extern bool extl_table_gets_rectangle(ExtlTab tab, const char *nam,
30 WRectangle *rect);
31 extern void extl_table_sets_rectangle(ExtlTab tab, const char *nam,
32 const WRectangle *rect);
34 extern bool extl_table_gets_sizepolicy(ExtlTab tab, const char *nam,
35 WSizePolicy *szplcy);
37 #endif /* ION_IONCORE_EXTLCONV_H */