Mulberry/Native/ObjCTry.h

4 lines
222 B
Objective-C

// Runs a block and returns the Objective-C exception reason it threw, or nil (Swift can't catch NSException).
#pragma once
#import <Foundation/Foundation.h>
NSString *_Nullable mulberry_try(void (^_Nonnull block)(void));