summaryrefslogtreecommitdiffstats
path: root/pywrap/pcipywrap.i
diff options
context:
space:
mode:
authorVasilii Chernov <vchernov@inr.ru>2016-02-19 12:08:10 +0100
committerVasilii Chernov <vchernov@inr.ru>2016-02-19 12:08:10 +0100
commit3bb43f1260ec30e919d11a554ab4e0d29dd9312e (patch)
treeffc2371b461b3d8eb70c607c2e2e33684adbd752 /pywrap/pcipywrap.i
parent52eb7f4fb76ddf99dedf44332aae7af4df76ab36 (diff)
downloadpcitool-3bb43f1260ec30e919d11a554ab4e0d29dd9312e.tar.gz
pcitool-3bb43f1260ec30e919d11a554ab4e0d29dd9312e.tar.bz2
pcitool-3bb43f1260ec30e919d11a554ab4e0d29dd9312e.tar.xz
pcitool-3bb43f1260ec30e919d11a554ab4e0d29dd9312e.zip
1. Fix warnings in test_multithread app
2. Fix memory leak in transform view 3. Enchance test_pcipywrap with command line parsing
Diffstat (limited to 'pywrap/pcipywrap.i')
-rw-r--r--pywrap/pcipywrap.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/pywrap/pcipywrap.i b/pywrap/pcipywrap.i
index 88a746f..ac8e9ca 100644
--- a/pywrap/pcipywrap.i
+++ b/pywrap/pcipywrap.i
@@ -8,7 +8,7 @@ extern void __redirect_logs_to_exeption();
typedef struct {
%extend {
- Pcipywrap(const char* fpga_device = NULL, const char* model = NULL);
+ Pcipywrap(const char* fpga_device = "/dev/fpga0", const char* model = NULL);
Pcipywrap(PyObject* ctx){return create_Pcipywrap(ctx);}
~Pcipywrap();