[vlc-devel] [PATCH] Adding metadata support to web-plugin

Rémi Denis-Courmont remi at remlab.net
Tue Sep 22 12:50:14 CEST 2009


----- Message d'origine -----
> This allows named symbols, passing an integer is not as obvious as I
> think a javascript API should be, even if it is well documented (see
> libvlc_state_t for input.state).

Passing an integer is much more logical for a C API and most proper languages (Java, C#, Python, C++..., not Javascript).

If you need strings for JS, do the conversion in the binding, not the library.

-- 
Rémi



More information about the vlc-devel mailing list