Blender Git Loki

Git Commits -> Revision 51dcbdd

Revision 51dcbdd by Campbell Barton (master)
November 17, 2010, 09:45 (GMT)
use 'const char *' by default with RNA functions except when the value is flagged as PROP_THICK_WRAP.
Also use const char in many other parts of blenders code.

Currently this gives warnings for setting operator id, label and description since these are an exception and allocated beforehand.

Commit Details:

Full Hash: 51dcbdde033f6e8e55c4b1b4a47ca0624a6571ee
SVN Revision: 33124
Parent Commit: acc883d
Lines Changed: +376, -364

105 Modified Paths:

/source/blender/blenkernel/BKE_armature.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_blender.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_context.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_curve.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_customdata.h (+3, -3) (Diff)
/source/blender/blenkernel/BKE_exotic.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_font.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_group.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_image.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_key.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_lattice.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_library.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_material.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_mball.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_object.h (+4, -4) (Diff)
/source/blender/blenkernel/BKE_packedFile.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_particle.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_scene.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_text.h (+3, -3) (Diff)
/source/blender/blenkernel/BKE_world.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/armature.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/blender.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/context.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/curve.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/customdata.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/exotic.c (+10, -10) (Diff)
/source/blender/blenkernel/intern/font.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/group.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/image.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/key.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/lattice.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/library.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/material.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mball.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mesh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/object.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/packedFile.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/particle.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/scene.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/text.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/world.c (+1, -1) (Diff)
/source/blender/blenloader/BLO_readfile.h (+1, -1) (Diff)
/source/blender/blenloader/intern/readblenentry.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.h (+1, -1) (Diff)
/source/blender/editors/animation/keyingsets.c (+1, -1) (Diff)
/source/blender/editors/armature/editarmature.c (+2, -2) (Diff)
/source/blender/editors/curve/editcurve.c (+1, -1) (Diff)
/source/blender/editors/curve/editfont.c (+1, -1) (Diff)
/source/blender/editors/include/ED_armature.h (+2, -2) (Diff)
/source/blender/editors/include/ED_curve.h (+2, -2) (Diff)
/source/blender/editors/include/ED_info.h (+1, -1) (Diff)
/source/blender/editors/include/ED_keyframing.h (+1, -1) (Diff)
/source/blender/editors/include/ED_mball.h (+1, -1) (Diff)
/source/blender/editors/include/ED_mesh.h (+2, -2) (Diff)
/source/blender/editors/include/ED_object.h (+2, -2) (Diff)
/source/blender/editors/include/ED_particle.h (+1, -1) (Diff)
/source/blender/editors/include/ED_screen.h (+1, -1) (Diff)
/source/blender/editors/include/ED_util.h (+2, -2) (Diff)
/source/blender/editors/include/UI_interface.h (+68, -68) (Diff)
/source/blender/editors/interface/interface.c (+23, -23) (Diff)
/source/blender/editors/interface/interface_handlers.c (+2, -2) (Diff)
/source/blender/editors/interface/interface_intern.h (+1, -1) (Diff)
/source/blender/editors/interface/interface_layout.c (+38, -38) (Diff)
/source/blender/editors/interface/interface_regions.c (+4, -4) (Diff)
/source/blender/editors/interface/interface_style.c (+2, -2) (Diff)
/source/blender/editors/interface/interface_templates.c (+19, -19) (Diff)
/source/blender/editors/mesh/editmesh.c (+1, -1) (Diff)
/source/blender/editors/metaball/mball_edit.c (+1, -1) (Diff)
/source/blender/editors/object/object_lattice.c (+1, -1) (Diff)
/source/blender/editors/object/object_modifier.c (+1, -1) (Diff)
/source/blender/editors/object/object_vgroup.c (+1, -1) (Diff)
/source/blender/editors/physics/particle_edit.c (+1, -1) (Diff)
/source/blender/editors/screen/area.c (+1, -1) (Diff)
/source/blender/editors/space_image/image_buttons.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_toolbar.c (+1, -1) (Diff)
/source/blender/editors/util/editmode_undo.c (+2, -2) (Diff)
/source/blender/editors/util/undo.c (+1, -1) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+1, -1) (Diff)
/source/blender/imbuf/intern/writeimage.c (+3, -3) (Diff)
/source/blender/makesrna/intern/makesrna.c (+6, -1) (Diff)
/source/blender/makesrna/intern/rna_action.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_animation.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_armature.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_image_api.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+22, -22) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_object.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object_api.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+13, -7) (Diff)
/source/blender/makesrna/intern/rna_wm_api.c (+1, -1) (Diff)
/source/blender/python/BPY_extern.h (+1, -1) (Diff)
/source/blender/python/intern/stubs.c (+1, -1) (Diff)
/source/blender/render/extern/include/RE_pipeline.h (+5, -4) (Diff)
/source/blender/render/intern/source/pipeline.c (+4, -4) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+4, -4) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+10, -10) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+4, -4) (Diff)
/source/blender/windowmanager/WM_api.h (+12, -12) (Diff)
/source/blender/windowmanager/WM_types.h (+3, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021