Cleanup: rename BLI_strescape to BLI_str_escape

Prepare for `BLI_str_unescape` which doesn't read well
without the separator.
This commit is contained in:
2020-12-10 13:25:49 +11:00
parent 548e9624d0
commit 65f139117d
34 changed files with 93 additions and 93 deletions

View File

@@ -277,7 +277,7 @@ static PyObject *bpy_escape_identifier(PyObject *UNUSED(self), PyObject *value)
size = (value_str_len * 2) + 1;
value_escape_str = PyMem_MALLOC(size);
value_escape_str_len = BLI_strescape(value_escape_str, value_str, size);
value_escape_str_len = BLI_str_escape(value_escape_str, value_str, size);
if (value_escape_str_len == value_str_len) {
Py_INCREF(value);