summaryrefslogtreecommitdiffstats
path: root/pcilib/py.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-10-08 20:04:37 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-10-08 20:04:37 +0200
commit21812f8d763fac8ee9bb3fdc593642b06f405a2b (patch)
treea55e99115e8c238e6b34159e063ac7d01ba65d54 /pcilib/py.h
parente28e74adf3d58deb95ce84c66423f347cbe2f859 (diff)
downloadpcitool-21812f8d763fac8ee9bb3fdc593642b06f405a2b.tar.gz
pcitool-21812f8d763fac8ee9bb3fdc593642b06f405a2b.tar.bz2
pcitool-21812f8d763fac8ee9bb3fdc593642b06f405a2b.tar.xz
pcitool-21812f8d763fac8ee9bb3fdc593642b06f405a2b.zip
Base functions for views
Diffstat (limited to 'pcilib/py.h')
-rw-r--r--pcilib/py.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/pcilib/py.h b/pcilib/py.h
new file mode 100644
index 0000000..21c31e9
--- /dev/null
+++ b/pcilib/py.h
@@ -0,0 +1,19 @@
+#ifndef _PCILIB_PY_H
+#define _PCILIB_PY_H
+
+typedef struct pcilib_py_s pcilib_py_t;
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int pcilib_init_py(pcilib_t *ctx);
+int pcilib_py_eval_string(pcilib_t *ctx, const char *codestr, pcilib_value_t *value);
+void pcilib_free_py(pcilib_t *ctx);
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif /* _PCILIB_PY_H */