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>2013-05-21 12:45:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-21 12:45:10 +0400
commit13bde6645bd2373c444279aff270a03ea92eef36 (patch)
tree79b2dd4cee155ec25eb4ed8184a8edc530d2c52b /source/blender/python/intern/bpy_app_translations.c
parentcd6b27f2b58aff46c9431bf7621e19bdb1b0b4c2 (diff)
code cleanup: remove callbacks only added to wrap MEM_freeN
Diffstat (limited to 'source/blender/python/intern/bpy_app_translations.c')
-rw-r--r--source/blender/python/intern/bpy_app_translations.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/python/intern/bpy_app_translations.c b/source/blender/python/intern/bpy_app_translations.c
index 782a05b68ce..e168bf33eb5 100644
--- a/source/blender/python/intern/bpy_app_translations.c
+++ b/source/blender/python/intern/bpy_app_translations.c
@@ -108,10 +108,7 @@ static void _ghashutil_keyfree(void *ptr)
MEM_freeN((void *)key);
}
-static void _ghashutil_valfree(void *ptr)
-{
- MEM_freeN(ptr);
-}
+#define _ghashutil_valfree MEM_freeN
/***** Python's messages cache *****/