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>2018-05-05 15:27:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-05 15:41:25 +0300
commitd3b3df037197d46b608eb38a5dbd6f1d2761ec36 (patch)
tree2fe30727f100f5f89415a25971c228ad44fc0994 /source/blender/blenkernel/intern/idprop.c
parentd83681807e1ef39228620d10fee22003d753a050 (diff)
IDProp API: add native C repr function
Was using Python which wasn't very efficient (even for logging).
Diffstat (limited to 'source/blender/blenkernel/intern/idprop.c')
-rw-r--r--source/blender/blenkernel/intern/idprop.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/source/blender/blenkernel/intern/idprop.c b/source/blender/blenkernel/intern/idprop.c
index 5fb6dd558e0..fe00d68b4ea 100644
--- a/source/blender/blenkernel/intern/idprop.c
+++ b/source/blender/blenkernel/intern/idprop.c
@@ -1069,17 +1069,3 @@ void IDP_ClearProperty(IDProperty *prop)
/** \} */
-/* We could write a C version, see: idprop_py_api.c */
-#ifndef WITH_PYTHON
-char *IDP_reprN(IDProperty *UNUSED(prop))
-{
- return BLI_strdup("<unsupported>");
-}
-
-void IDP_print(IDProperty *prop)
-{
- char *repr = IDP_reprN(prop);
- printf("IDProperty(%p): %s\n", prop, repr);
- MEM_freeN(repr);
-}
-#endif /* WITH_PYTHON */