Merge branch 'blender-v4.3-release'
This commit is contained in:
@@ -980,7 +980,13 @@ bool BPY_string_is_keyword(const char *str)
|
||||
return false;
|
||||
}
|
||||
|
||||
/* EVIL: define `text.cc` functions here (declared in `BKE_text.h`). */
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Character Classification
|
||||
*
|
||||
* Define `text.cc` functions here (declared in `BKE_text.h`),
|
||||
* This could be removed if Blender gets its own unicode library.
|
||||
* \{ */
|
||||
|
||||
int text_check_identifier_unicode(const uint ch)
|
||||
{
|
||||
return (ch < 255 && text_check_identifier(char(ch))) || Py_UNICODE_ISALNUM(ch);
|
||||
@@ -990,3 +996,5 @@ int text_check_identifier_nodigit_unicode(const uint ch)
|
||||
{
|
||||
return (ch < 255 && text_check_identifier_nodigit(char(ch))) || Py_UNICODE_ISALPHA(ch);
|
||||
}
|
||||
|
||||
/** \} */
|
||||
|
||||
Reference in New Issue
Block a user