2022-02-11 09:07:11 +11:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2016-04-05 07:02:43 +10:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2019-02-18 08:08:12 +11:00
|
|
|
/** \file
|
|
|
|
|
* \ingroup pythonintern
|
2016-04-05 07:02:43 +10:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
struct ChannelDriver;
|
|
|
|
|
struct DriverTarget;
|
2016-07-30 16:34:01 +10:00
|
|
|
struct PathResolvedRNA;
|
2016-04-05 07:02:43 +10:00
|
|
|
|
2020-07-28 16:32:30 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
2021-12-02 17:24:04 +11:00
|
|
|
/**
|
|
|
|
|
* A version of #driver_get_variable_value which returns a #PyObject.
|
|
|
|
|
*/
|
2016-04-05 07:02:43 +10:00
|
|
|
PyObject *pyrna_driver_get_variable_value(struct ChannelDriver *driver, struct DriverTarget *dtar);
|
2016-07-31 11:43:24 +10:00
|
|
|
|
2016-07-30 16:34:01 +10:00
|
|
|
PyObject *pyrna_driver_self_from_anim_rna(struct PathResolvedRNA *anim_rna);
|
2016-07-31 11:43:24 +10:00
|
|
|
bool pyrna_driver_is_equal_anim_rna(const struct PathResolvedRNA *anim_rna,
|
|
|
|
|
const PyObject *py_anim_rna);
|
2016-04-05 07:02:43 +10:00
|
|
|
|
2020-07-28 16:32:30 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|