kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 90056dbdcb8be5575a3258da6250e1f969671e52
parent 95139925ec82fe71d451114a72c1b6c0fae90677
Author: Joris Vink <joris@coders.se>
Date:   Sat, 10 Jul 2021 10:02:46 +0200

make python_module_init() non static

Diffstat:
src/python.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/python.c b/src/python.c @@ -59,7 +59,8 @@ struct reqcall { TAILQ_HEAD(reqcall_list, reqcall); -static PyMODINIT_FUNC python_module_init(void); +PyMODINIT_FUNC python_module_init(void); + static PyObject *python_import(const char *); static PyObject *pyconnection_alloc(struct connection *); static PyObject *python_callable(PyObject *, const char *); @@ -1580,7 +1581,7 @@ python_runtime_connect(void *addr, struct connection *c) Py_DECREF(pyret); } -static PyMODINIT_FUNC +PyMODINIT_FUNC python_module_init(void) { int i;