From f526c4a5a3e4f35bb1c4b03af1f3244a8c0db48a Mon Sep 17 00:00:00 2001 From: Vasilii Chernov Date: Thu, 11 Feb 2016 12:00:54 +0100 Subject: Change error logging method in Python wrap. Move functions, that converts values between PyObject and pcilib_value_t to py.c --- pcilib/pcipywrap.i | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pcilib/pcipywrap.i') 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); -- cgit v1.2.3