25 auto const_callback = [&](
const FCurve *fcurve,
const char *bone_name) {
26 callback(
const_cast<FCurve *
>(fcurve), bone_name);
29 const_cast<const bAction *
>(action), slot_handle, const_callback);
41 callback(fcu, bone_name);
Functions for backward compatibility with the legacy Action API.
Blender kernel action and pose functionality.
bool bool BLI_str_quoted_substr(const char *__restrict str, const char *__restrict prefix, char *result, size_t result_maxncpy)
Vector< FCurve * > fcurves_for_action_slot(bAction *action, slot_handle_t slot_handle)
decltype(::ActionSlot::handle) slot_handle_t
blender::FunctionRef< void(const FCurve *fcurve, const char *bone_name)> FoundFCurveCallbackConst
void BKE_action_find_fcurves_with_bones(bAction *action, blender::animrig::slot_handle_t slot_handle, FoundFCurveCallback callback)
blender::FunctionRef< void(FCurve *fcurve, const char *bone_name)> FoundFCurveCallback