diff options
Diffstat (limited to 'vendor/libghostty-vt/pkg/macos/text/ext.c')
| -rw-r--r-- | vendor/libghostty-vt/pkg/macos/text/ext.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/libghostty-vt/pkg/macos/text/ext.c b/vendor/libghostty-vt/pkg/macos/text/ext.c new file mode 100644 index 00000000..55bff8a6 --- /dev/null +++ b/vendor/libghostty-vt/pkg/macos/text/ext.c @@ -0,0 +1,10 @@ +#include <CoreText/CoreText.h> + +// A wrapper to fix a Zig C ABI issue. +void zig_cabi_CTLineGetBoundsWithOptions( + CTLineRef line, + CTLineBoundsOptions options, + CGRect *result +) { + *result = CTLineGetBoundsWithOptions(line, options); +} |
