BLI_utildefines: rename pointer conversion macros
authorCampbell Barton <ideasman42@gmail.com>
Wed, 19 Sep 2018 02:05:58 +0000 (12:05 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 19 Sep 2018 02:12:21 +0000 (12:12 +1000)
commitbb3ec3ebafbc2c0e5d8530148a433242e0adad30
treed30aaa3df2d03f90f6e7749bdc075445a5642045
parent4c918efd44be11d47afc1efed684a15ad5579722
BLI_utildefines: rename pointer conversion macros

Terms get/set don't make much sense when casting values.

Name macros so the conversion is obvious,
use common prefix for easier completion.

- GET_INT_FROM_POINTER  -> POINTER_AS_INT
- SET_INT_IN_POINTER    -> POINTER_FROM_INT
- GET_UINT_FROM_POINTER -> POINTER_AS_UINT
- SET_UINT_IN_POINTER   -> POINTER_FROM_UINT
72 files changed:
source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c
source/blender/blenkernel/intern/CCGSubSurf_opensubdiv_converter.c
source/blender/blenkernel/intern/armature.c
source/blender/blenkernel/intern/cdderivedmesh.c
source/blender/blenkernel/intern/editderivedmesh.c
source/blender/blenkernel/intern/font.c
source/blender/blenkernel/intern/icons.c
source/blender/blenkernel/intern/mask_rasterize.c
source/blender/blenkernel/intern/material.c
source/blender/blenkernel/intern/mesh.c
source/blender/blenkernel/intern/mesh_convert.c
source/blender/blenkernel/intern/mesh_evaluate.c
source/blender/blenkernel/intern/mesh_remap.c
source/blender/blenkernel/intern/mesh_validate.c
source/blender/blenkernel/intern/object.c
source/blender/blenkernel/intern/object_deform.c
source/blender/blenkernel/intern/object_dupli.c
source/blender/blenkernel/intern/particle.c
source/blender/blenkernel/intern/particle_system.c
source/blender/blenkernel/intern/pbvh.c
source/blender/blenkernel/intern/subsurf_ccg.c
source/blender/blenlib/BLI_utildefines.h
source/blender/blenlib/intern/BLI_ghash_utils.c
source/blender/blenlib/intern/array_store.c
source/blender/blenlib/intern/astar.c
source/blender/blenlib/intern/freetypefont.c
source/blender/blenloader/intern/versioning_260.c
source/blender/bmesh/intern/bmesh_callback_generic.c
source/blender/bmesh/intern/bmesh_callback_generic.h
source/blender/bmesh/intern/bmesh_log.c
source/blender/bmesh/operators/bmo_subdivide_edgering.c
source/blender/bmesh/tools/bmesh_intersect.c
source/blender/editors/animation/anim_channels_defines.c
source/blender/editors/animation/fmodifier_ui.c
source/blender/editors/armature/editarmature_sketch.c
source/blender/editors/armature/pose_edit.c
source/blender/editors/armature/pose_select.c
source/blender/editors/gpencil/gpencil_data.c
source/blender/editors/interface/interface.c
source/blender/editors/interface/interface_layout.c
source/blender/editors/interface/interface_templates.c
source/blender/editors/mesh/editmesh_knife.c
source/blender/editors/sculpt_paint/paint_image_proj.c
source/blender/editors/space_file/filelist.c
source/blender/editors/space_node/node_templates.c
source/blender/editors/space_sequencer/sequencer_select.c
source/blender/editors/transform/transform_snap.c
source/blender/freestyle/intern/geometry/Grid.h
source/blender/freestyle/intern/view_map/ViewMapIO.cpp
source/blender/gpu/intern/gpu_codegen.c
source/blender/imbuf/intern/imageprocess.c
source/blender/makesdna/intern/dna_genfile.c
source/blender/modifiers/intern/MOD_build.c
source/blender/modifiers/intern/MOD_explode.c
source/blender/modifiers/intern/MOD_mask.c
source/blender/python/bmesh/bmesh_py_types.c
source/blender/python/bmesh/bmesh_py_types_customdata.c
source/blender/python/bmesh/bmesh_py_types_meshdata.c
source/blender/python/intern/bpy_app.c
source/blender/python/intern/bpy_app_handlers.c
source/blender/python/mathutils/mathutils_Color.c
source/blender/python/mathutils/mathutils_Euler.c
source/blender/python/mathutils/mathutils_Quaternion.c
source/blender/python/mathutils/mathutils_Vector.c
source/blender/render/intern/source/shadbuf.c
source/blender/windowmanager/intern/wm_files_link.c
source/blender/windowmanager/intern/wm_window.c
source/creator/creator_args.c
tests/gtests/blenlib/BLI_ghash_performance_test.cc
tests/gtests/blenlib/BLI_ghash_test.cc
tests/gtests/blenlib/BLI_heap_test.cc
tests/gtests/blenlib/BLI_linklist_lockfree_test.cc