@@ -2063,6 +2063,14 @@ def load_api(path):
20632063 dll .CSField_GetEntityIndex .argtypes = (ctypes .c_void_p , ctypes .c_int32 , ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
20642064 dll .CSField_GetEntityIndex .restype = ctypes .c_int32
20652065
2066+ if hasattr (dll , "CSField_SetHeaderAsDataTree" ):
2067+ dll .CSField_SetHeaderAsDataTree .argtypes = (ctypes .c_void_p , ctypes .c_void_p , ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
2068+ dll .CSField_SetHeaderAsDataTree .restype = None
2069+
2070+ if hasattr (dll , "CSField_GetHeaderAsDataTree" ):
2071+ dll .CSField_GetHeaderAsDataTree .argtypes = (ctypes .c_void_p , ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
2072+ dll .CSField_GetHeaderAsDataTree .restype = ctypes .c_void_p
2073+
20662074 if hasattr (dll , "CSField_GetData_For_DpfVector" ):
20672075 dll .CSField_GetData_For_DpfVector .argtypes = (ctypes .c_void_p , ctypes .c_void_p , ctypes .POINTER (ctypes .POINTER (ctypes .c_double )), ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
20682076 dll .CSField_GetData_For_DpfVector .restype = None
@@ -4250,6 +4258,10 @@ def load_api(path):
42504258 dll .CSCustomTypeField_GetEntityIndex .argtypes = (ctypes .c_void_p , ctypes .c_int32 , ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
42514259 dll .CSCustomTypeField_GetEntityIndex .restype = ctypes .c_int32
42524260
4261+ if hasattr (dll , "CSCustomTypeField_SetHeaderAsDataTree" ):
4262+ dll .CSCustomTypeField_SetHeaderAsDataTree .argtypes = (ctypes .c_void_p , ctypes .c_void_p , ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
4263+ dll .CSCustomTypeField_SetHeaderAsDataTree .restype = None
4264+
42534265 if hasattr (dll , "CSCustomTypeField_new_on_client" ):
42544266 dll .CSCustomTypeField_new_on_client .argtypes = (ctypes .c_void_p , ctypes .POINTER (ctypes .c_char ), ctypes .c_int32 , ctypes .c_int32 , ctypes .c_int32 , ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
42554267 dll .CSCustomTypeField_new_on_client .restype = ctypes .c_void_p
@@ -5086,13 +5098,9 @@ def load_api(path):
50865098 dll .FbsRef_new .restype = ctypes .c_void_p
50875099
50885100 if hasattr (dll , "FbsRef_getFromDB" ):
5089- dll .FbsRef_getFromDB .argtypes = (ctypes .c_size_t , ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
5101+ dll .FbsRef_getFromDB .argtypes = (ctypes .c_void_p , ctypes . c_size_t , ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
50905102 dll .FbsRef_getFromDB .restype = ctypes .c_void_p
50915103
5092- if hasattr (dll , "FbsRef_getID" ):
5093- dll .FbsRef_getID .argtypes = (ctypes .c_void_p , ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
5094- dll .FbsRef_getID .restype = ctypes .c_size_t
5095-
50965104 if hasattr (dll , "Any_getAs_FbsRef" ):
50975105 dll .Any_getAs_FbsRef .argtypes = (ctypes .c_void_p , ctypes .c_void_p , ctypes .POINTER (ctypes .c_char ), ctypes .c_void_p , ctypes .POINTER (ctypes .c_size_t ), ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
50985106 dll .Any_getAs_FbsRef .restype = None
@@ -5101,6 +5109,18 @@ def load_api(path):
51015109 dll .FbsRef_StartOrGetThreadServer .argtypes = (ctypes .c_bool , ctypes .POINTER (ctypes .c_char ), ctypes .c_int32 , ctypes .POINTER (ctypes .c_char ), ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
51025110 dll .FbsRef_StartOrGetThreadServer .restype = ctypes .c_void_p
51035111
5112+ if hasattr (dll , "Fbs_GetBytesBufferFromSlice" ):
5113+ dll .Fbs_GetBytesBufferFromSlice .argtypes = (ctypes .c_void_p , ctypes .c_size_t , ctypes .POINTER (ctypes .c_size_t ), ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
5114+ dll .Fbs_GetBytesBufferFromSlice .restype = ctypes .c_void_p
5115+
5116+ if hasattr (dll , "Fbs_DeleteChannel" ):
5117+ dll .Fbs_DeleteChannel .argtypes = (ctypes .c_void_p , ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
5118+ dll .Fbs_DeleteChannel .restype = None
5119+
5120+ if hasattr (dll , "Fbs_DeleteSlice" ):
5121+ dll .Fbs_DeleteSlice .argtypes = (ctypes .c_void_p , ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
5122+ dll .Fbs_DeleteSlice .restype = None
5123+
51045124 if hasattr (dll , "FbsRef_new_on_client" ):
51055125 dll .FbsRef_new_on_client .argtypes = (ctypes .c_void_p , ctypes .c_void_p , ctypes .POINTER (ctypes .c_char ), ctypes .c_void_p , ctypes .c_size_t , ctypes .POINTER (ctypes .c_int32 ), ctypes .POINTER (ctypes .c_wchar_p ), )
51065126 dll .FbsRef_new_on_client .restype = ctypes .c_void_p
0 commit comments