chiark / gitweb /
@@@ mdwopt buggy wip
[mLib-python] / mLib-python.h
CommitLineData
81f68b64
MW
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
39PUBLIC_SYMBOLS;
40#include <mLib/alloc.h>
41#include <mLib/assoc.h>
42#include <mLib/atom.h>
43#include <mLib/daemonize.h>
fcc8f4ca
MW
44#include <mLib/darray.h>
45#include <mLib/dstr.h>
81f68b64
MW
46#include <mLib/fdflags.h>
47#include <mLib/fdpass.h>
48#include <mLib/mdup.h>
f18b900c 49#include <mLib/mdwopt.h>
81f68b64
MW
50#include <mLib/quis.h>
51#include <mLib/report.h>
52PRIVATE_SYMBOLS;
53
54/*----- Miscellaneous preliminaries ---------------------------------------*/
55
56/* Submodules. */
57#define MODULES(_) \
58 _(atom) _(sys) _(ui) \
59 _(pyke_gmap)
60MODULES(DECLARE_MODINIT)
61
62/*----- User interface functions ------------------------------------------*/
63
64extern int ui_pyready(void);
65
66/*----- That's all, folks -------------------------------------------------*/
67
68#ifdef __cplusplus
69 }
70#endif
71
72#endif