diff options
author | Ton Roosendaal <ton@blender.org> | 2009-07-09 19:40:04 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-07-09 19:40:04 +0400 |
commit | 5e659c0b0895e07351bd2b2425deea342141e515 (patch) | |
tree | 7e6bd849591c0eb75fdefe37c061519806edf309 /source/blender/editors/include/ED_armature.h | |
parent | 77c61f545fb3248ae4e06afafa816764222405c4 (diff) |
2.5
Monthly cleaning round to make it compile warning free.
Mostly it was const stuff (strings, Context), but also
a couple useful fixes, like wrong use of temp pointers.
Only Mathutils callback struct I left alone... design issue.
Diffstat (limited to 'source/blender/editors/include/ED_armature.h')
-rw-r--r-- | source/blender/editors/include/ED_armature.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/editors/include/ED_armature.h b/source/blender/editors/include/ED_armature.h index f28dbe2a619..1df9182fc9b 100644 --- a/source/blender/editors/include/ED_armature.h +++ b/source/blender/editors/include/ED_armature.h @@ -128,22 +128,22 @@ void ED_pose_deselectall(struct Object *ob, int test, int doundo); int ED_operator_sketch_mode_active_stroke(struct bContext *C); int ED_operator_sketch_full_mode(struct bContext *C); -int ED_operator_sketch_mode(struct bContext *C); +int ED_operator_sketch_mode(const struct bContext *C); void BIF_freeSketch(struct bContext *C); void BIF_convertSketch(struct bContext *C); void BIF_deleteSketch(struct bContext *C); void BIF_selectAllSketch(struct bContext *C, int mode); /* -1: deselect, 0: select, 1: toggle */ -void BIF_makeListTemplates(struct bContext *C); -char *BIF_listTemplates(struct bContext *C); -int BIF_currentTemplate(struct bContext *C); +void BIF_makeListTemplates(const struct bContext *C); +char *BIF_listTemplates(const struct bContext *C); +int BIF_currentTemplate(const struct bContext *C); void BIF_freeTemplates(struct bContext *C); void BIF_setTemplate(struct bContext *C, int index); -int BIF_nbJointsTemplate(struct bContext *C); -char * BIF_nameBoneTemplate(struct bContext *C); +int BIF_nbJointsTemplate(const struct bContext *C); +char * BIF_nameBoneTemplate(const struct bContext *C); -void BDR_drawSketch(struct bContext *vc); +void BDR_drawSketch(const struct bContext *vc); int BDR_drawSketchNames(struct ViewContext *vc); #endif /* ED_ARMATURE_H */ |