summaryrefslogtreecommitdiffstats
path: root/pywrap/pcipywrap.i
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2016-03-02 23:36:19 +0100
committerSuren A. Chilingaryan <csa@suren.me>2016-03-02 23:36:19 +0100
commitf7636162ba124c0d6b5accaa72c842033f3e2309 (patch)
tree9ae5ceddde46e7c511bba899b869f54c6fef6283 /pywrap/pcipywrap.i
parent7e39a6c8ae5c3f95b3b2895c4ce8d858c7ad3b79 (diff)
parent02d0026e2df2ba5c68c0c1a67aec4437c9e8e8f3 (diff)
downloadpcitool-f7636162ba124c0d6b5accaa72c842033f3e2309.tar.gz
pcitool-f7636162ba124c0d6b5accaa72c842033f3e2309.tar.bz2
pcitool-f7636162ba124c0d6b5accaa72c842033f3e2309.tar.xz
pcitool-f7636162ba124c0d6b5accaa72c842033f3e2309.zip
Further improvements of Python scripting and web-interface API for register manipulations by Vasiliy Chernov
Diffstat (limited to 'pywrap/pcipywrap.i')
-rw-r--r--pywrap/pcipywrap.i10
1 files changed, 5 insertions, 5 deletions
diff --git a/pywrap/pcipywrap.i b/pywrap/pcipywrap.i
index f08ceb7..5ee1bd1 100644
--- a/pywrap/pcipywrap.i
+++ b/pywrap/pcipywrap.i
@@ -4,13 +4,13 @@
#include "pcipywrap.h"
%}
-extern void __redirect_logs_to_exeption();
+extern void redirect_logs_to_exeption();
typedef struct {
%extend {
- Pcipywrap(const char* fpga_device = "/dev/fpga0", const char* model = NULL);
- Pcipywrap(PyObject* ctx){return create_Pcipywrap(ctx);}
- ~Pcipywrap();
+ pcipywrap(const char* fpga_device = "/dev/fpga0", const char* model = NULL);
+ pcipywrap(PyObject* ctx){return create_pcipywrap(ctx);}
+ ~pcipywrap();
PyObject* read_register(const char *regname = NULL, const char *bank = NULL);
PyObject* write_register(PyObject* val, const char *regname, const char *bank = NULL);
@@ -30,4 +30,4 @@ typedef struct {
PyObject* try_lock(const char *lock_id);
PyObject* unlock(const char *lock_id);
}
-} Pcipywrap;
+} pcipywrap;