diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-02-24 07:53:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-02-24 07:53:03 +0300 |
commit | d4c0c40015111f335dfaca90ed1b8741a6ca8f76 (patch) | |
tree | 251777adad404bbadbb78d1305aee26b6a045e3b /source/blender/blenlib | |
parent | 5c2e10d5ed4b4e321925d4f35b049594efd66bbf (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_function_ref.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/BLI_function_ref.hh b/source/blender/blenlib/BLI_function_ref.hh index 86f761bbded..57fffdc09b4 100644 --- a/source/blender/blenlib/BLI_function_ref.hh +++ b/source/blender/blenlib/BLI_function_ref.hh @@ -30,9 +30,9 @@ * A `FunctionRef` is small and cheap to copy. Therefore it should generally be passed by value. * * Example signatures: - * FunctionRef<void()> - A function without parameters and void return type. - * FunctionRef<int(float)> - A function with a float paramter and an int return value. - * FunctionRef<int(int, int)> - A function with two int parameters and an int return value. + * `FunctionRef<void()>` - A function without parameters and void return type. + * `FunctionRef<int(float)>` - A function with a float parameter and an int return value. + * `FunctionRef<int(int, int)>` - A function with two int parameters and an int return value. * * There are multiple ways to achieve that, so here is a comparison of the different approaches: * 1. Pass function pointer and user data (as void *) separately: |