diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-11 04:41:00 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-11 05:03:09 +0300 |
commit | 5e47056e8d97e414c9dabacea71fac2bdc7d2818 (patch) | |
tree | 110a51be7cfb2f9eff9fd8db093975e29e1a3445 /source/blender/python | |
parent | 1c264ebdc089ea6afef7be4edeb1add4998a1099 (diff) |
Cleanup: malformed C-style comment blocks, spelling
- Missing star prefix.
- Unnecessary indentation.
- Blank line after dot-points
(otherwise doxygen merges with the previous dot-point).
- Use back-slash for doxygen commands.
- Correct spelling.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/BPY_extern_run.h | 2 | ||||
-rw-r--r-- | source/blender/python/intern/bpy.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/BPY_extern_run.h b/source/blender/python/BPY_extern_run.h index 6bedf533af1..7c0707477da 100644 --- a/source/blender/python/BPY_extern_run.h +++ b/source/blender/python/BPY_extern_run.h @@ -11,7 +11,7 @@ * strings more cumbersome as otherwise small expressions become multi-line code-blocks. * Optional (ignored when NULL), otherwise this is a NULL terminated array of module names. * - Failure to import any modules prevents any further execution. + * Failure to import any modules prevents any further execution. * * - `err_info` #BPy_RunErrInfo is passed to some functions so errors can be forwarded to the UI. * Option (when NULL errors are printed to the `stdout` and cleared). diff --git a/source/blender/python/intern/bpy.c b/source/blender/python/intern/bpy.c index 2ce1da81a2a..748a501ef76 100644 --- a/source/blender/python/intern/bpy.c +++ b/source/blender/python/intern/bpy.c @@ -189,7 +189,7 @@ static PyObject *bpy_flip_name(PyObject *UNUSED(self), PyObject *args, PyObject } /* Worst case we gain one extra byte (besides null-terminator) by changing - "Left" to "Right", because only the first appearance of "Left" gets replaced. */ + * "Left" to "Right", because only the first appearance of "Left" gets replaced. */ const size_t size = name_src_len + 2; char *name_dst = PyMem_MALLOC(size); const size_t name_dst_len = BLI_string_flip_side_name(name_dst, name_src, strip_digits, size); |