valueWithPointer static method
Implementation
static NSValue valueWithPointer(Pointer value) {
NSObject result =
type(of: NSValue).performSync(SEL('valueWithPointer:'), args: [value]);
return NSValue.fromPointer(result.pointer);
}
static NSValue valueWithPointer(Pointer value) {
NSObject result =
type(of: NSValue).performSync(SEL('valueWithPointer:'), args: [value]);
return NSValue.fromPointer(result.pointer);
}