diff options
author | Vasilii Chernov <vchernov@inr.ru> | 2016-02-08 11:55:33 +0100 |
---|---|---|
committer | Vasilii Chernov <vchernov@inr.ru> | 2016-02-08 11:55:33 +0100 |
commit | e10e102b8b0ff3bf35f16b5276d56059d242e1fd (patch) | |
tree | e5ae763aa808412523ee74d6c8cbdabf5b01695f /pcilib/pcipywrap.i | |
parent | 5349163e93a107fdfea2ad58760f6149a8d749b0 (diff) | |
download | pcitool-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.i | 4 |
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); |