def METHOD_NAME(self):
    """
    A cffi function pointer representing the C callback.
    """
    import METHOD_NAME
    ffi = METHOD_NAME.FFI()
    # cffi compares types by name, so using precise types would risk
    # spurious mismatches (such as "int32_t" vs. "int").
    return ffi.cast("void *", self.address)