SWIG generated... TypeError
juliagoolia at eml.cc
Mon Sep 27 05:39:40 CEST 2004
I'm using a library in python which was generated by SWIG. Basically,
there is a struct in the C code, but I'm not sure what it is
equivalent to in the python code. I want to pass a pointer to some
data as an argument to a function like so:
but get this error
Traceback (most recent call last):
File "test_comedi2.py", line 14, in ?
TypeError: Type error. Expected _p_lsampl_t
So I'm wondering if anyone knows where stucts go in SWIG and how to
alloc one in python?
More information about the Python-list