<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _pycall_path_old(x1: int, y1: int, x2: int, y2: int, handle: Any) -> float: """libtcodpy style callback, needs to preserve the old userData issue."""

    func, userData = ffi.from_handle(handle)
    return func(x1, y1, x2, y2, userData)