summaryrefslogtreecommitdiffstats
path: root/pcilib/py.h
diff options
context:
space:
mode:
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 */