Internal change.
PiperOrigin-RevId: 249873790
This commit is contained in:
parent
f1a61d3b31
commit
83297b3b4d
@ -54,7 +54,7 @@ public final class Interpreter {
|
|||||||
TFL_InterpreterOptionsSetErrorReporter(
|
TFL_InterpreterOptionsSetErrorReporter(
|
||||||
cOptions,
|
cOptions,
|
||||||
{ (_, format, args) -> Void in
|
{ (_, format, args) -> Void in
|
||||||
// Workaround for Swift optionality bug: https://bugs.swift.org/browse/SR-3429.
|
// Workaround for optionality differences for x86_64 (non-optional) and arm64 (optional).
|
||||||
let optionalArgs: CVaListPointer? = args
|
let optionalArgs: CVaListPointer? = args
|
||||||
guard let cFormat = format,
|
guard let cFormat = format,
|
||||||
let arguments = optionalArgs,
|
let arguments = optionalArgs,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user