@@ -1212,10 +1212,38 @@ def load_api(path):
12121212 dll .DpfDataTree_getVecDoubleAttribute .argtypes = (ctypes .c_void_p , ctypes .POINTER (ctypes .c_char ), ctypes .POINTER (ctypes .POINTER (ctypes .c_double )), ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
12131213 dll .DpfDataTree_getVecDoubleAttribute .restype = None
12141214
1215+ if hasattr (dll , "DpfDataTree_getIntAttributeWithCheck" ):
1216+ dll .DpfDataTree_getIntAttributeWithCheck .argtypes = (ctypes .c_void_p , ctypes .POINTER (ctypes .c_char ), ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_bool ), ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
1217+ dll .DpfDataTree_getIntAttributeWithCheck .restype = None
1218+
1219+ if hasattr (dll , "DpfDataTree_getUnsignedIntAttributeWithCheck" ):
1220+ dll .DpfDataTree_getUnsignedIntAttributeWithCheck .argtypes = (ctypes .c_void_p , ctypes .POINTER (ctypes .c_char ), ctypes .c_void_p , ctypes .POINTER (ctypes .c_bool ), ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
1221+ dll .DpfDataTree_getUnsignedIntAttributeWithCheck .restype = None
1222+
1223+ if hasattr (dll , "DpfDataTree_getDoubleAttributeWithCheck" ):
1224+ dll .DpfDataTree_getDoubleAttributeWithCheck .argtypes = (ctypes .c_void_p , ctypes .POINTER (ctypes .c_char ), ctypes .POINTER (ctypes .c_double ), ctypes .POINTER (ctypes .c_bool ), ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
1225+ dll .DpfDataTree_getDoubleAttributeWithCheck .restype = None
1226+
1227+ if hasattr (dll , "DpfDataTree_getStringAttributeWithCheck" ):
1228+ dll .DpfDataTree_getStringAttributeWithCheck .argtypes = (ctypes .c_void_p , ctypes .POINTER (ctypes .c_char ), ctypes .POINTER (ctypes .POINTER (ctypes .c_char )), ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_bool ), ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
1229+ dll .DpfDataTree_getStringAttributeWithCheck .restype = None
1230+
1231+ if hasattr (dll , "DpfDataTree_getVecIntAttributeWithCheck" ):
1232+ dll .DpfDataTree_getVecIntAttributeWithCheck .argtypes = (ctypes .c_void_p , ctypes .POINTER (ctypes .c_char ), ctypes .POINTER (ctypes .POINTER (ctypes .c_int32 )), ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_bool ), ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
1233+ dll .DpfDataTree_getVecIntAttributeWithCheck .restype = None
1234+
1235+ if hasattr (dll , "DpfDataTree_getVecDoubleAttributeWithCheck" ):
1236+ dll .DpfDataTree_getVecDoubleAttributeWithCheck .argtypes = (ctypes .c_void_p , ctypes .POINTER (ctypes .c_char ), ctypes .POINTER (ctypes .POINTER (ctypes .c_double )), ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_bool ), ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
1237+ dll .DpfDataTree_getVecDoubleAttributeWithCheck .restype = None
1238+
12151239 if hasattr (dll , "DpfDataTree_getStringCollectionAttribute" ):
12161240 dll .DpfDataTree_getStringCollectionAttribute .argtypes = (ctypes .c_void_p , ctypes .POINTER (ctypes .c_char ), ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
12171241 dll .DpfDataTree_getStringCollectionAttribute .restype = ctypes .c_void_p
12181242
1243+ if hasattr (dll , "DpfDataTree_getStringCollectionAttributeWithCheck" ):
1244+ dll .DpfDataTree_getStringCollectionAttributeWithCheck .argtypes = (ctypes .c_void_p , ctypes .POINTER (ctypes .c_char ), ctypes .POINTER (ctypes .c_bool ), ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
1245+ dll .DpfDataTree_getStringCollectionAttributeWithCheck .restype = ctypes .c_void_p
1246+
12191247 if hasattr (dll , "DpfDataTree_setIntAttribute" ):
12201248 dll .DpfDataTree_setIntAttribute .argtypes = (ctypes .c_void_p , ctypes .POINTER (ctypes .c_char ), ctypes .c_int32 , ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
12211249 dll .DpfDataTree_setIntAttribute .restype = None
0 commit comments