Cleanup: use named unsigned types in the Python API

This commit is contained in:
2020-02-20 15:38:58 +11:00
parent 1e3ffd1f87
commit 2a6df7dfe5
28 changed files with 152 additions and 162 deletions

View File

@@ -49,7 +49,7 @@ PyObject *bpy_intern_str_unregister;
void bpy_intern_string_init(void)
{
unsigned int i = 0;
uint i = 0;
#define BPY_INTERN_STR(var, str) \
{ \
@@ -81,7 +81,7 @@ void bpy_intern_string_init(void)
void bpy_intern_string_exit(void)
{
unsigned int i = ARRAY_SIZE(bpy_intern_str_arr);
uint i = ARRAY_SIZE(bpy_intern_str_arr);
while (i--) {
Py_DECREF(bpy_intern_str_arr[i]);
}