Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2014-05-04 15:19:40 +0400
committerJoshua Leung <aligorith@gmail.com>2014-05-04 15:19:40 +0400
commitc561e0d929dc0b3a164dbebd74c1ff06be585679 (patch)
treeeddd79718b8aa0ab758554db0541148bd2d0ab90 /source/blender/editors/include/ED_anim_api.h
parentbe7b09ef85d7d08d7c2b53cca474c338657f4478 (diff)
Code cleanup: Use enum instead of int in function signatures for bAnimChannelType settings callbacks
Diffstat (limited to 'source/blender/editors/include/ED_anim_api.h')
-rw-r--r--source/blender/editors/include/ED_anim_api.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/include/ED_anim_api.h b/source/blender/editors/include/ED_anim_api.h
index 88d5937d220..9e219427dd8 100644
--- a/source/blender/editors/include/ED_anim_api.h
+++ b/source/blender/editors/include/ED_anim_api.h
@@ -405,14 +405,14 @@ typedef struct bAnimChannelType {
/* settings */
/* check if the given setting is valid in the current context */
- bool (*has_setting)(bAnimContext *ac, bAnimListElem *ale, int setting);
+ bool (*has_setting)(bAnimContext *ac, bAnimListElem *ale, eAnimChannel_Settings setting);
/* get the flag used for this setting */
- int (*setting_flag)(bAnimContext *ac, int setting, bool *neg);
+ int (*setting_flag)(bAnimContext *ac, eAnimChannel_Settings setting, bool *neg);
/* get the pointer to int/short where data is stored,
* with type being sizeof(ptr_data) which should be fine for runtime use...
* - assume that setting has been checked to be valid for current context
*/
- void *(*setting_ptr)(bAnimListElem *ale, int setting, short *type);
+ void *(*setting_ptr)(bAnimListElem *ale, eAnimChannel_Settings setting, short *type);
} bAnimChannelType;
/* ------------------------ Drawing API -------------------------- */