summaryrefslogtreecommitdiff
path: root/src/evanix-py.c
diff options
context:
space:
mode:
authorSinan Mohd <sinan@sinanmohd.com>2024-06-26 11:29:28 +0530
committerGitHub <noreply@github.com>2024-06-26 11:29:28 +0530
commit8348bde98acac3328fee84d21f8e5ebb51692afa (patch)
tree16830bb2d6f8774a99864c52be47ee9abe13bed8 /src/evanix-py.c
parentcc02eba1d357dde0132593649c67a194750fe37d (diff)
parente575e08cacd3461feae843d368fa205c85304b2c (diff)
Merge pull request #1 from SomeoneSerge/feat/python
evanix-py: init
Diffstat (limited to 'src/evanix-py.c')
-rw-r--r--src/evanix-py.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/evanix-py.c b/src/evanix-py.c
new file mode 100644
index 0000000..c010e27
--- /dev/null
+++ b/src/evanix-py.c
@@ -0,0 +1,14 @@
+#include <Python.h>
+
+static PyMethodDef methods[] = {
+ {NULL, NULL, 0, NULL},
+};
+
+static struct PyModuleDef module = {
+ PyModuleDef_HEAD_INIT, "evanix", NULL, -1, methods,
+};
+
+PyMODINIT_FUNC PyInit_evanix(void)
+{
+ return PyModule_Create(&module);
+}