chiark / gitweb /
@@@ mLib-python Pyke wip
[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/quis.h>
48 #include <mLib/report.h>
49 PRIVATE_SYMBOLS;
50
51 /*----- Miscellaneous preliminaries ---------------------------------------*/
52
53 /* Submodules. */
54 #define MODULES(_)                                                      \
55   _(atom) _(sys) _(ui)                                                  \
56   _(pyke_gmap)
57 MODULES(DECLARE_MODINIT)
58
59 /*----- User interface functions ------------------------------------------*/
60
61 extern int ui_pyready(void);
62
63 /*----- That's all, folks -------------------------------------------------*/
64
65 #ifdef __cplusplus
66   }
67 #endif
68
69 #endif