diff options
author | Vasilii Chernov <vchernov@inr.ru> | 2016-02-11 12:00:54 +0100 |
---|---|---|
committer | Vasilii Chernov <vchernov@inr.ru> | 2016-02-11 12:00:54 +0100 |
commit | f526c4a5a3e4f35bb1c4b03af1f3244a8c0db48a (patch) | |
tree | a818ed42d630e807e9886767e326c8970a77c78d /pcilib/pcipywrap.i | |
parent | d9a31945a92a76e590657dc2e65bb20b6ea95d90 (diff) | |
download | pcitool-f526c4a5a3e4f35bb1c4b03af1f3244a8c0db48a.tar.gz pcitool-f526c4a5a3e4f35bb1c4b03af1f3244a8c0db48a.tar.bz2 pcitool-f526c4a5a3e4f35bb1c4b03af1f3244a8c0db48a.tar.xz pcitool-f526c4a5a3e4f35bb1c4b03af1f3244a8c0db48a.zip |
Change error logging method in Python wrap. Move functions, that converts values between PyObject and pcilib_value_t to py.c
Diffstat (limited to 'pcilib/pcipywrap.i')
-rw-r--r-- | pcilib/pcipywrap.i | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pcilib/pcipywrap.i b/pcilib/pcipywrap.i index 10a95a7..2da8654 100644 --- a/pcilib/pcipywrap.i +++ b/pcilib/pcipywrap.i @@ -1,5 +1,8 @@ %module pcipywrap +%init %{ + init_pcipywrap_module(); +%} extern PyObject* createPcilibInstance(const char *fpga_device, const char *model = NULL); extern PyObject* setPcilib(PyObject* addr); |