We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2ada81 commit ac273e0Copy full SHA for ac273e0
script.js
@@ -72,15 +72,13 @@ const xpc_type_uint64 = getPtr("_xpc_type_uint64");
72
const xpc_type_uuid = getPtr("_xpc_type_uuid");
73
74
// check which version of decoder we have
75
-var NSXPCDecoderDecodeMethod = null;
+var NSXPCDecoderDecodeMethod = "old"
76
var connResult = null;
77
78
var decoder = NSXPCDecoder.alloc().init();
79
80
if ((connResult = decoder["- setConnection:"]) != null) {
81
NSXPCDecoderDecodeMethod = "new";
82
-} else {
83
- NSXPCDecoderDecodeMethod = "old";
84
}
85
86
// helper function that will create new NativeFunction
0 commit comments