summaryrefslogtreecommitdiffstats
path: root/video/out/mac/common.swift
diff options
context:
space:
mode:
authorder richter <der.richter@gmx.de>2024-03-27 23:22:56 +0100
committerder richter <der.richter@gmx.de>2024-03-29 14:20:40 +0100
commitba45f2004f568455a1b3f846516dc2614737eff8 (patch)
tree784e6563bb369ed9aad3ec28c678da1f69a92246 /video/out/mac/common.swift
parent7c86074a1574d6e79876ce1dd2fc5000f35a913b (diff)
downloadmpv-ba45f2004f568455a1b3f846516dc2614737eff8.tar.bz2
mpv-ba45f2004f568455a1b3f846516dc2614737eff8.tar.xz
mac: cleanup swift bridge header imports and unify them
Diffstat (limited to 'video/out/mac/common.swift')
-rw-r--r--video/out/mac/common.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/mac/common.swift b/video/out/mac/common.swift
index 2bcf9dee44..d507a388aa 100644
--- a/video/out/mac/common.swift
+++ b/video/out/mac/common.swift
@@ -626,8 +626,8 @@ class Common: NSObject {
var count: Int32 = 0
let displayName = getCurrentScreen()?.localizedName ?? "Unknown"
- SWIFT_TARRAY_STRING_APPEND(nil, &array, &count, ta_xstrdup(nil, displayName))
- SWIFT_TARRAY_STRING_APPEND(nil, &array, &count, nil)
+ app_bridge_tarray_append(nil, &array, &count, ta_xstrdup(nil, displayName))
+ app_bridge_tarray_append(nil, &array, &count, nil)
dnames.pointee = array
return VO_TRUE
case VOCTRL_GET_DISPLAY_RES: