Blender Git Loki

Git Commits -> Revision 0bae266

Revision 0bae266 by Julian Eisel (master)
October 3, 2020, 14:10 (GMT)
Cleanup: Remove/replace C standard library assert() and header usages

We have our own assert implementation, `BLI_assert()` that is prefered over the
C standard library one. Its output is more consistent across compilers and
makes termination on assert failure optional (through `WITH_ASSERT_ABORT`).

In many places we'd include the C library header without ever accessing it.

Commit Details:

Full Hash: 0bae2662f455c2866ce769fdc73b3068f8239bd0
Parent Commit: e839179
Lines Changed: +30, -74

42 Modified Paths:

/source/blender/blenkernel/intern/bpath.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/bvhutils.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/editmesh_tangent.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/lib_id.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/pbvh_bmesh.c (+0, -2) (Diff)
/source/blender/blenkernel/intern/shrinkwrap.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/unit.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/volume.cc (+1, -1) (Diff)
/source/blender/blenlib/intern/BLI_kdopbvh.c (+0, -2) (Diff)
/source/blender/blenlib/intern/buffer.c (+2, -2) (Diff)
/source/blender/blenlib/intern/math_color.c (+0, -2) (Diff)
/source/blender/blenlib/intern/math_matrix.c (+0, -1) (Diff)
/source/blender/blenlib/intern/math_rotation.c (+0, -1) (Diff)
/source/blender/blenlib/intern/path_util.c (+0, -1) (Diff)
/source/blender/bmesh/bmesh.h (+0, -1) (Diff)
/source/blender/bmesh/bmesh_class.h (+7, -7) (Diff)
/source/blender/editors/armature/armature_edit.c (+1, -3) (Diff)
/source/blender/editors/interface/interface_handlers.c (+1, -2) (Diff)
/source/blender/editors/interface/interface_layout.c (+1, -2) (Diff)
/source/blender/editors/interface/interface_region_color_picker.c (+0, -1) (Diff)
/source/blender/editors/interface/interface_region_menu_pie.c (+0, -1) (Diff)
/source/blender/editors/interface/interface_region_menu_popup.c (+0, -1) (Diff)
/source/blender/editors/interface/interface_region_popup.c (+0, -1) (Diff)
/source/blender/editors/interface/interface_region_search.c (+0, -1) (Diff)
/source/blender/editors/interface/interface_region_tooltip.c (+0, -1) (Diff)
/source/blender/editors/interface/interface_utils.c (+0, -1) (Diff)
/source/blender/editors/interface/interface_widgets.c (+1, -2) (Diff)
/source/blender/editors/object/object_vgroup.c (+0, -1) (Diff)
/source/blender/editors/physics/particle_edit.c (+0, -1) (Diff)
/source/blender/editors/physics/particle_edit_undo.c (+0, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_hide.c (+0, -2) (Diff)
/source/blender/editors/space_view3d/view3d_select.c (+0, -1) (Diff)
/source/blender/makesdna/intern/makesdna.c (+0, -1) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+0, -1) (Diff)
/source/blender/makesrna/intern/rna_ui.c (+1, -3) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+5, -7) (Diff)
/source/blender/makesrna/intern/rna_wm_gizmo.c (+3, -5) (Diff)
/source/blender/modifiers/intern/MOD_remesh.c (+0, -1) (Diff)
/source/blender/nodes/texture/node_texture_util.c (+0, -1) (Diff)
/source/blender/python/mathutils/mathutils.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_files_link.c (+0, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+0, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021