Files
MapLibreParticleLab/platform/darwin/src/NSException+MGLAdditions.h

4 lines
215 B
Objective-C

#import <Foundation/Foundation.h>
#define MGLAssertIsMainThread() NSAssert([[NSThread currentThread] isMainThread], @"%s must be accessed on the main thread, not %@", __PRETTY_FUNCTION__, [NSThread currentThread])