[vlc-devel] [PATCH 0/2] Libvlc formatted log callback
remi at remlab.net
Sun May 19 12:57:08 CEST 2019
Le sunnuntaina 19. toukokuuta 2019, 13.33.01 EEST Jeremy Vignelles a écrit :
> > The point is, the syntax is built around Windows, and cannot handle
> > anything else properly. As I already wrote, it fails to account for SO
> > version, and does not have a straight mapping for C, e.g. char, long or
> > bool.
> > And then, on Windows, you have only two options: write OS-specific code to
> > locate the VLC installation, or ship LibVLC. Either way, you end needing
> > platform-dependent code.
> I'm not saying there's no platform-specific code, but that code can be
> written in C# and the detection is performed at runtime.
And I'm saying that if you have run-time variants, you can handle passing
va_list from the callback to vsprintf() or whatever suits.
More information about the vlc-devel