-
Hi, When I was developing a macOS project using Xcode, I found a log entry with the ID
I did not find this ID in the
Is there any special consideration when returning this ID? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
this is just a typo, on german keyboards though we don't really print that anywhere, so it must be from your end. anyway in this case a raw |
Beta Was this translation helpful? Give feedback.
this is just a typo, on german keyboards
shift+2 = "
. probably hit it twice by accident. though it won't break anything. it's only internally used as an dict index, or rather adding a string representation to thempv_event_id
struct (if you 'cast' to string, print it).though we don't really print that anywhere, so it must be from your end.
anyway in this case a raw
mpv_event
was printed withprint()
. theevent_id
struct value is of typempv_event_id
. since the string representation ofmpv_event_id
was implemented in that extension,print()
is able to pretty print it. without that extension it would look like:mpv_event(event_id: __C.mpv_event_id(rawValue: 0), error: 0, reply_userdata: 0,…