Could this be just the enum type (e.g. `GitDiffFlags`)? There are other places where the callback uses the enum type (i.e. `checkout_notify_cb`) and I *think* those callbacks work as expected... Otherwise, maybe a property getter to return a `GitDiffFlags` enum type.