chiark / gitweb /
33000d4492be5217af8dfd8ae90ec66dd951c58a
[mLib-python] / mLib-python.h
1 /* -*-c-*-
2  *
3  * Definitions for mLib bindings
4  *
5  * (c) 2019 Straylight/Edgeware
6  */
7
8 /*----- Licensing notice --------------------------------------------------*
9  *
10  * This file is part of the Python interface to mLib.
11  *
12  * mLib/Python is free software: you can redistribute it and/or modify it
13  * under the terms of the GNU General Public License as published by the
14  * Free Software Foundation; either version 2 of the License, or (at your
15  * option) any later version.
16  *
17  * mLib/Python is distributed in the hope that it will be useful, but
18  * WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
20  * General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with mLib/Python.  If not, write to the Free Software
24  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
25  * USA.
26  */
27
28 #ifndef MLIB_PYTHON_H
29 #define MLIB_PYTHON_H
30
31 #ifdef __cplusplus
32   extern "C" {
33 #endif
34
35 /*----- Header files ------------------------------------------------------*/
36
37 #include "pyke/pyke-mLib.h"
38
39 PUBLIC_SYMBOLS;
40 #include <mLib/alloc.h>
41 #include <mLib/assoc.h>
42 #include <mLib/atom.h>
43 #include <mLib/daemonize.h>
44 #include <mLib/fdflags.h>
45 #include <mLib/fdpass.h>
46 #include <mLib/mdup.h>
47 #include <mLib/mdwopt.h>
48 #include <mLib/quis.h>
49 #include <mLib/report.h>
50 PRIVATE_SYMBOLS;
51
52 /*----- Miscellaneous preliminaries ---------------------------------------*/
53
54 /* Submodules. */
55 #define MODULES(_)                                                      \
56   _(atom) _(sys) _(ui)                                                  \
57   _(pyke_gmap)
58 MODULES(DECLARE_MODINIT)
59
60 /*----- User interface functions ------------------------------------------*/
61
62 extern int ui_pyready(void);
63
64 /*----- That's all, folks -------------------------------------------------*/
65
66 #ifdef __cplusplus
67   }
68 #endif
69
70 #endif