mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-06 07:38:21 +00:00
14 lines
445 B
Objective-C
14 lines
445 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
/// This file contains wrappers around various ObjC functions so we can catch
|
|
/// exceptions, since you can't natively catch ObjC exceptions from Swift
|
|
/// (at least at the time of writing this comment).
|
|
|
|
/// NSWindow.addTabbedWindow wrapper
|
|
FOUNDATION_EXPORT BOOL GhosttyAddTabbedWindowSafely(
|
|
id _Nonnull parent,
|
|
id _Nonnull child,
|
|
NSInteger ordered,
|
|
NSError * _Nullable * _Nullable error
|
|
);
|