Welcome to mirror list, hosted at ThFree Co, Russian Federation.

bpy_rna_driver.h « intern « python « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 238fed0f891cdeaf5178eaa48c85a916ee59716a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* SPDX-License-Identifier: GPL-2.0-or-later */

#pragma once

/** \file
 * \ingroup pythonintern
 */

struct ChannelDriver;
struct DriverTarget;
struct PathResolvedRNA;

#ifdef __cplusplus
extern "C" {
#endif

/**
 * A version of #driver_get_variable_value which returns a #PyObject.
 */
PyObject *pyrna_driver_get_variable_value(struct ChannelDriver *driver, struct DriverTarget *dtar);

PyObject *pyrna_driver_self_from_anim_rna(struct PathResolvedRNA *anim_rna);
bool pyrna_driver_is_equal_anim_rna(const struct PathResolvedRNA *anim_rna,
                                    const PyObject *py_anim_rna);

#ifdef __cplusplus
}
#endif