Add missing renames

pull/5625/head
Kim Kulling 2024-06-17 13:27:03 +02:00
parent a30d8711bf
commit 76b444462f
1 changed files with 5 additions and 5 deletions

View File

@ -70,7 +70,7 @@ class String(Structure):
See 'types.h' for details. See 'types.h' for details.
""" """
MAXLEN = 1024 AI_MAXLEN = 1024
_fields_ = [ _fields_ = [
# Binary length of the string excluding the terminal 0. This is NOT the # Binary length of the string excluding the terminal 0. This is NOT the
@ -79,7 +79,7 @@ class String(Structure):
("length", c_uint32), ("length", c_uint32),
# String buffer. Size limit is MAXLEN # String buffer. Size limit is MAXLEN
("data", c_char*MAXLEN), ("data", c_char*AI_MAXLEN),
] ]
class MaterialPropertyString(Structure): class MaterialPropertyString(Structure):
@ -90,7 +90,7 @@ class MaterialPropertyString(Structure):
material property (see MaterialSystem.cpp aiMaterial::AddProperty() for details). material property (see MaterialSystem.cpp aiMaterial::AddProperty() for details).
""" """
MAXLEN = 1024 AI_MAXLEN = 1024
_fields_ = [ _fields_ = [
# Binary length of the string excluding the terminal 0. This is NOT the # Binary length of the string excluding the terminal 0. This is NOT the
@ -98,8 +98,8 @@ class MaterialPropertyString(Structure):
# the number of bytes from the beginning of the string to its end. # the number of bytes from the beginning of the string to its end.
("length", c_uint32), ("length", c_uint32),
# String buffer. Size limit is MAXLEN # String buffer. Size limit is AI_MAXLEN
("data", c_char*MAXLEN), ("data", c_char*AI_MAXLEN),
] ]
class MemoryInfo(Structure): class MemoryInfo(Structure):