summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-10-17 05:12:21 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2022-08-21 17:19:58 +0200
commitf8b4ef76980e1daac46e00f94941de50c0debbb6 (patch)
tree6b34586c90c16948f079f97dc5fde7911d6aba5c /src
parentc0d5d7ab0d33608a718d0262f4d806306226c5ea (diff)
downloadpoezio-f8b4ef76980e1daac46e00f94941de50c0debbb6.tar.gz
poezio-f8b4ef76980e1daac46e00f94941de50c0debbb6.tar.bz2
poezio-f8b4ef76980e1daac46e00f94941de50c0debbb6.tar.xz
poezio-f8b4ef76980e1daac46e00f94941de50c0debbb6.zip
Add a Rust project.
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
new file mode 100644
index 00000000..d261b89e
--- /dev/null
+++ b/src/lib.rs
@@ -0,0 +1,6 @@
+#[macro_use]
+extern crate cpython;
+
+py_module_initializer!(libpoezio, initlibpoezio, PyInit_libpoezio, |py, m| {
+ Ok(())
+});