summaryrefslogtreecommitdiffstats
path: root/pcilib/pcipywrap.i
diff options
context:
space:
mode:
authorVasilii Chernov <vchernov@inr.ru>2016-02-08 11:55:33 +0100
committerVasilii Chernov <vchernov@inr.ru>2016-02-08 11:55:33 +0100
commite10e102b8b0ff3bf35f16b5276d56059d242e1fd (patch)
treee5ae763aa808412523ee74d6c8cbdabf5b01695f /pcilib/pcipywrap.i
parent5349163e93a107fdfea2ad58760f6149a8d749b0 (diff)
downloadpcitool-e10e102b8b0ff3bf35f16b5276d56059d242e1fd.tar.gz
pcitool-e10e102b8b0ff3bf35f16b5276d56059d242e1fd.tar.bz2
pcitool-e10e102b8b0ff3bf35f16b5276d56059d242e1fd.tar.xz
pcitool-e10e102b8b0ff3bf35f16b5276d56059d242e1fd.zip
Add support for setting register value to script transfrom. Add set_property and get_property functions to pcipywrap. Cleaning cmakelists from unused dependencies
Diffstat (limited to 'pcilib/pcipywrap.i')
-rw-r--r--pcilib/pcipywrap.i4
1 files changed, 3 insertions, 1 deletions
diff --git a/pcilib/pcipywrap.i b/pcilib/pcipywrap.i
index ed5ca62..8d0f74e 100644
--- a/pcilib/pcipywrap.i
+++ b/pcilib/pcipywrap.i
@@ -2,4 +2,6 @@
extern PyObject* read_register(const char *regname, const char *bank = NULL);
extern PyObject* __createPcilibInstance(const char *fpga_device, const char *model = NULL);
-extern void __setPcilib(PyObject* addr);
+extern PyObject* __setPcilib(PyObject* addr);
+extern PyObject* get_property(const char *prop);
+extern PyObject* set_property(const char *prop, PyObject* val);