This linked list is a classic example of something that needs a "forward declaration" of the cell type in C.
One other small point, from the docs:
Either the LoadLibrary() method of the dll loaders should be used, or you should load the library by creating an instance of CDLL by calling the constructor:
We used the second method before. To use the first with the example from the other day (here):
You can get some error checking with the
argtypes
call, but not everything.A developer of Cython gave a nice summary of why you might want to start with that in the SO post cited the other day. But for my small purposes, I think
ctypes
will probably be everything I'll need.