summaryrefslogtreecommitdiffstats
path: root/pcilib/pcipywrap.i
diff options
context:
space:
mode:
Diffstat (limited to 'pcilib/pcipywrap.i')
-rw-r--r--pcilib/pcipywrap.i3
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);