Does cython have anything like the as_parameter functionality of ctypes?

I mean, if i have a class Foo, which wraps a struct  foo_t * foo, would be
it possible to say when i pass this object to a function the requires a
foo_t * parameter to pass the c level attribute of the correct type instead
of the actual python class?

I'm writing a bunch of wrappers at the moment and it seems like there is a
lot of code that could be automated!

Thanks... otherwise I'm really enjoying cython :)

David
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to