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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2016-07-31 04:43:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-07-31 04:46:36 +0300
commit01d5d2853bbbf07e4b64082e60fbb6d53799ed94 (patch)
tree74140b6ca832bbaf5ddc1e5812c2bade165a382c /source/blender/python/intern/bpy_rna_driver.h
parent55f481d05296077e061c2ade989c702c0fd2a68d (diff)
Py-Driver: re-use self PyObject when its unchanged.
Diffstat (limited to 'source/blender/python/intern/bpy_rna_driver.h')
-rw-r--r--source/blender/python/intern/bpy_rna_driver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_rna_driver.h b/source/blender/python/intern/bpy_rna_driver.h
index 2021575537d..3f4bf2b9df5 100644
--- a/source/blender/python/intern/bpy_rna_driver.h
+++ b/source/blender/python/intern/bpy_rna_driver.h
@@ -30,6 +30,8 @@ struct DriverTarget;
struct PathResolvedRNA;
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);
#endif /* __BPY_RNA_DRIVER_H__ */