comparison libmlk-ui/ui/ui.h @ 298:196264679079

misc: remove usage of bool
author David Demelier <markand@malikania.fr>
date Wed, 10 Mar 2021 18:49:08 +0100
parents 08ab73b32832
children d01e83210ca2
comparison
equal deleted inserted replaced
297:6151152d009c 298:196264679079
17 */ 17 */
18 18
19 #ifndef MOLKO_UI_UI_H 19 #ifndef MOLKO_UI_UI_H
20 #define MOLKO_UI_UI_H 20 #define MOLKO_UI_UI_H
21 21
22 /**
23 * \file ui.h
24 * \brief libui convenient header.
25 */
26
27 #include <stdbool.h>
28
29 #include <core/core.h> 22 #include <core/core.h>
30 23
31 CORE_BEGIN_DECLS 24 CORE_BEGIN_DECLS
32 25
33 /** 26 int
34 * Initialize the ui library.
35 *
36 * \return False on errors.
37 */
38 bool
39 ui_init(void); 27 ui_init(void);
40 28
41 /**
42 * Close the ui library.
43 */
44 void 29 void
45 ui_finish(void); 30 ui_finish(void);
46 31
47 CORE_END_DECLS 32 CORE_END_DECLS
48 33