Page 1 of 1

cffi bindings with C arrays and pointers

Posted: Fri Nov 27, 2009 8:12 am
by f1f
What is is best way to abstract use of C libs, which expect to pass pointers to them? For example, there is a file parsed into CL data structures (list or vectors), and then this data is needed to be passed to C library function as pointer.