summaryrefslogtreecommitdiff
path: root/test cases/python/3 cython/libdir/storer.h
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-12-10 14:33:58 -0800
committerDylan Baker <dylan@pnwbakers.com>2018-12-12 12:23:37 -0800
commit978e6fb88f926da14314a3563de13197a092cc9f (patch)
tree00d6d6d73d812561b4f778ccedfad109dc24a3ad /test cases/python/3 cython/libdir/storer.h
parentf6405adc2de0c6cc494b4957df9d796b76195ec4 (diff)
downloadmeson-978e6fb88f926da14314a3563de13197a092cc9f.tar.gz
tests: Add tests for the python module
This doesn't touch everything as it's just based on the python3 module tests, ported to the python module. It's still better than the one very basic test in the unit test module.
Diffstat (limited to 'test cases/python/3 cython/libdir/storer.h')
-rw-r--r--test cases/python/3 cython/libdir/storer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/test cases/python/3 cython/libdir/storer.h b/test cases/python/3 cython/libdir/storer.h
new file mode 100644
index 000000000..4f7191711
--- /dev/null
+++ b/test cases/python/3 cython/libdir/storer.h
@@ -0,0 +1,8 @@
+#pragma once
+
+typedef struct _Storer Storer;
+
+Storer* storer_new();
+void storer_destroy(Storer *s);
+int storer_get_value(Storer *s);
+void storer_set_value(Storer *s, int v);