Blender Git Loki
Git Commits -> Revision ed33320
Revision ed33320 by Nicholas Bishop (master) May 16, 2012, 00:51 (GMT) |
Code cleanup: simplify standard GHash creation. Added four new functions as shortcuts to creating GHashes that use the standard ptr/str/int/pair hash and compare functions. GHash *BLI_ghash_ptr_new(const char *info); GHash *BLI_ghash_str_new(const char *info); GHash *BLI_ghash_int_new(const char *info); GHash *BLI_ghash_pair_new(const char *info); Replaced almost all occurrences of BLI_ghash_new() with one of the above functions. |
Commit Details:
Full Hash: ed33320e3f149f4106ed70b82d019113970c991e
SVN Revision: 46677
Parent Commit: eb22b52
Lines Changed: +93, -82
42 Modified Paths:
/source/blender/blenkernel/intern/action.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/icons.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/nla.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/softbody.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/tracking.c (+1, -1) (Diff)
/source/blender/blenlib/BLI_ghash.h (+5, -0) (Diff)
/source/blender/blenlib/intern/BLI_ghash.c (+17, -0) (Diff)
/source/blender/blenlib/intern/pbvh.c (+2, -2) (Diff)
/source/blender/blenloader/intern/readblenentry.c (+1, -1) (Diff)
/source/blender/bmesh/intern/bmesh_core.c (+1, -1) (Diff)
/source/blender/bmesh/intern/bmesh_mesh.c (+3, -3) (Diff)
/source/blender/bmesh/intern/bmesh_operators.c (+2, -2) (Diff)
/source/blender/bmesh/intern/bmesh_walkers.c (+4, -4) (Diff)
/source/blender/bmesh/intern/bmesh_walkers_impl.c (+4, -4) (Diff)
/source/blender/bmesh/operators/bmo_create.c (+1, -1) (Diff)
/source/blender/bmesh/operators/bmo_dupe.c (+2, -2) (Diff)
/source/blender/bmesh/operators/bmo_hull.c (+3, -9) (Diff)
/source/blender/bmesh/tools/BME_bevel.c (+1, -1) (Diff)
/source/blender/editors/animation/anim_filter.c (+1, -1) (Diff)
/source/blender/editors/armature/editarmature.c (+1, -1) (Diff)
/source/blender/editors/armature/editarmature_retarget.c (+3, -3) (Diff)
/source/blender/editors/armature/editarmature_sketch.c (+1, -1) (Diff)
/source/blender/editors/armature/reeb.c (+2, -2) (Diff)
/source/blender/editors/curve/editcurve.c (+2, -2) (Diff)
/source/blender/editors/interface/interface_ops.c (+1, -3) (Diff)
/source/blender/editors/mesh/editmesh_knife.c (+3, -3) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+1, -1) (Diff)
/source/blender/editors/object/object_add.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+3, -3) (Diff)
/source/blender/makesdna/intern/dna_genfile.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_access.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_boolean_util.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_build.c (+3, -6) (Diff)
/source/blender/modifiers/intern/MOD_mask.c (+5, -5) (Diff)
/source/blender/python/intern/bpy_rna.c (+2, -2) (Diff)
/source/blender/render/intern/source/convertblender.c (+2, -2) (Diff)
/source/blender/render/intern/source/sss.c (+1, -1) (Diff)
/source/blender/render/intern/source/strand.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/icons.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/nla.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/softbody.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/tracking.c (+1, -1) (Diff)
/source/blender/blenlib/BLI_ghash.h (+5, -0) (Diff)
/source/blender/blenlib/intern/BLI_ghash.c (+17, -0) (Diff)
/source/blender/blenlib/intern/pbvh.c (+2, -2) (Diff)
/source/blender/blenloader/intern/readblenentry.c (+1, -1) (Diff)
/source/blender/bmesh/intern/bmesh_core.c (+1, -1) (Diff)
/source/blender/bmesh/intern/bmesh_mesh.c (+3, -3) (Diff)
/source/blender/bmesh/intern/bmesh_operators.c (+2, -2) (Diff)
/source/blender/bmesh/intern/bmesh_walkers.c (+4, -4) (Diff)
/source/blender/bmesh/intern/bmesh_walkers_impl.c (+4, -4) (Diff)
/source/blender/bmesh/operators/bmo_create.c (+1, -1) (Diff)
/source/blender/bmesh/operators/bmo_dupe.c (+2, -2) (Diff)
/source/blender/bmesh/operators/bmo_hull.c (+3, -9) (Diff)
/source/blender/bmesh/tools/BME_bevel.c (+1, -1) (Diff)
/source/blender/editors/animation/anim_filter.c (+1, -1) (Diff)
/source/blender/editors/armature/editarmature.c (+1, -1) (Diff)
/source/blender/editors/armature/editarmature_retarget.c (+3, -3) (Diff)
/source/blender/editors/armature/editarmature_sketch.c (+1, -1) (Diff)
/source/blender/editors/armature/reeb.c (+2, -2) (Diff)
/source/blender/editors/curve/editcurve.c (+2, -2) (Diff)
/source/blender/editors/interface/interface_ops.c (+1, -3) (Diff)
/source/blender/editors/mesh/editmesh_knife.c (+3, -3) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+1, -1) (Diff)
/source/blender/editors/object/object_add.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+3, -3) (Diff)
/source/blender/makesdna/intern/dna_genfile.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_access.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_boolean_util.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_build.c (+3, -6) (Diff)
/source/blender/modifiers/intern/MOD_mask.c (+5, -5) (Diff)
/source/blender/python/intern/bpy_rna.c (+2, -2) (Diff)
/source/blender/render/intern/source/convertblender.c (+2, -2) (Diff)
/source/blender/render/intern/source/sss.c (+1, -1) (Diff)
/source/blender/render/intern/source/strand.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+1, -1) (Diff)