cdef extern object (py_callback(object ,char (*),int ,int ,void (*),...)) cdef extern void (py_input(object ,char (*),int (*),int ))