alloc_memory
TypeScriptget alloc_memory(): (((arg0: (SDKHandle) | null, arg1: number, arg2: number) => Promise<number>)) | nullSwift declarationvar alloc_memory: BNNSAlloc?struct · SDK 27.1
struct BNNSFilterParametersget alloc_memory(): (((arg0: (SDKHandle) | null, arg1: number, arg2: number) => Promise<number>)) | nullSwift declarationvar alloc_memory: BNNSAlloc?get flags(): numberSwift declarationvar flags: UInt32set flags(value: number)Swift declarationvar flags: UInt32get free_memory(): (((arg0: (SDKHandle) | null) => Promise<void>)) | nullSwift declarationvar free_memory: BNNSFree?get n_threads(): numberSwift declarationvar n_threads: Intset n_threads(value: number)Swift declarationvar n_threads: Intget deallocator(): (((arg0: (SDKHandle) | null) => Promise<void>)) | nullSwift declarationvar deallocator: BNNSFree? { get set }The function called to deallocate memory.
get threadCount(): numberSwift declarationvar threadCount: Int { get set }The number of worker threads to execute. If 0, BNNS uses the best number of threads for the current machine.
set threadCount(value: number)Swift declarationvar threadCount: Int { get set }The number of worker threads to execute. If 0, BNNS uses the best number of threads for the current machine.
get options(): BNNSFlagsSwift declarationvar options: BNNSFlags { get set }Options that control the behavior of a filter parameter.
set options(value: BNNSFlags)Swift declarationvar options: BNNSFlags { get set }Options that control the behavior of a filter parameter.
get allocator(): (((arg0: (SDKHandle) | null, arg1: number, arg2: number) => Promise<number>)) | nullSwift declarationvar allocator: BNNSAlloc? { get set }The function called to allocate memory.
static init(): BNNSFilterParametersSwift declarationinit()6 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
BNNSFilterParameters.init(options:threadCount:allocator:deallocator:)
This output pointer cannot safely be represented by the bridge.
BNNSFilterParameters.allocator
closure property answers its caller
BNNSFilterParameters.deallocator
The iOS SDK compiler rejected this binding: a C function pointer can only be formed from a reference to a 'func' or a literal closure
BNNSFilterParameters.init(flags:n_threads:alloc_memory:free_memory:)
This output pointer cannot safely be represented by the bridge.
BNNSFilterParameters.alloc_memory
closure property answers its caller
BNNSFilterParameters.free_memory
The iOS SDK compiler rejected this binding: a C function pointer can only be formed from a reference to a 'func' or a literal closure