mac/app: make const char pointers to const pointers

they were meant to be immutable. imported in swift as mutable pointer,
which leads to errors with the strict concurrency in swift 6.

make the pointers const.
This commit is contained in:
der richter
2025-01-04 13:52:01 +01:00
parent d03ce00127
commit 64aeb4273d
+2 -2
View File
@@ -49,8 +49,8 @@ static const int SWIFT_MBTN9 = MP_MBTN9;
static const int SWIFT_KEY_MOUSE_LEAVE = MP_KEY_MOUSE_LEAVE;
static const int SWIFT_KEY_MOUSE_ENTER = MP_KEY_MOUSE_ENTER;
static const char *swift_mpv_version = mpv_version;
static const char *swift_mpv_copyright = mpv_copyright;
static const char *const swift_mpv_version = mpv_version;
static const char *const swift_mpv_copyright = mpv_copyright;
NSData *app_bridge_icon(void);
void app_bridge_tarray_append(void *t, char ***a, int *i, char *s);