Files

14 lines
466 B
Objective-C

// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
// SPDX-License-Identifier: GPL-3.0-or-later
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/// Runs `block`, turning an Objective-C exception (AVAudioEngine raises them for
/// misuse, and Swift can't catch them, so they crash the app) into a returned
/// description. Returns nil when the block finished normally.
NSString *_Nullable SPKTry(NS_NOESCAPE void (^block)(void));
NS_ASSUME_NONNULL_END