From 41b32aa4cfe3c93ea86e6e66fb91eef136154a97 Mon Sep 17 00:00:00 2001 From: Erica Z Date: Sat, 26 Oct 2024 00:05:56 +0200 Subject: [PATCH] mpv event id to string --- src/vapi/mpv.vapi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vapi/mpv.vapi b/src/vapi/mpv.vapi index 635e647..109d55c 100644 --- a/src/vapi/mpv.vapi +++ b/src/vapi/mpv.vapi @@ -109,6 +109,9 @@ namespace Mpv { PROPERTY_CHANGE, QUEUE_OVERFLOW, HOOK, + + [CCode (cname = "mpv_event_name")] + public unowned string to_string (); } [CCode (cname = "mpv_event", destroy_function = "", has_type_id = false, has_copy_function = false)]