diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-26 07:37:16 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-26 07:37:16 +0300 |
commit | 5bd4aea29c00a2d56df7d873764cc3a380ac9e9e (patch) | |
tree | 6ae77b0bb38967fb1093f5b57dafcff749520b4d /source/blender/makesrna/intern/rna_space.c | |
parent | 4a0dd1d4352c4a0573fd3887a8163deeafd3464c (diff) |
Cleanup: use matching function signatures for RNA callbacks
Use matching int/float/boo types for RNA callbacks.
Diffstat (limited to 'source/blender/makesrna/intern/rna_space.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index bc41e8a6bf6..65f5447f16a 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -1100,7 +1100,7 @@ static bool rna_RegionView3D_is_orthographic_side_view_get(PointerRNA *ptr) return RV3D_VIEW_IS_AXIS(rv3d->view); } -static void rna_RegionView3D_is_orthographic_side_view_set(PointerRNA *ptr, int value) +static void rna_RegionView3D_is_orthographic_side_view_set(PointerRNA *ptr, bool value) { RegionView3D *rv3d = (RegionView3D *)(ptr->data); const bool was_axis_view = RV3D_VIEW_IS_AXIS(rv3d->view); @@ -1609,7 +1609,7 @@ static void rna_SpaceImageEditor_mode_update(Main *bmain, Scene *scene, PointerR } } -static void rna_SpaceImageEditor_show_stereo_set(PointerRNA *ptr, int value) +static void rna_SpaceImageEditor_show_stereo_set(PointerRNA *ptr, bool value) { SpaceImage *sima = (SpaceImage *)(ptr->data); |