Introspect cdef'd functions like we can do with types
ffi.typeof()
and ffi.list_types()
let us introspect the types declared by ffi.cdef()
. There is nothing quite equivalent to introspect the functions, as well as the global variables. We can do ffi.typeof(lib.NAME)
or similar if we already know the NAME and if we have a library object, but we should have a way that works without a lib
object.