[vlc-devel] Announce: brand new python bindings (ctypes-based)

Sébastien Escudier sebastien-devel at celeos.eu
Fri Jul 31 10:28:21 CEST 2009


Quoting Olivier Aubert <olivier.aubert at liris.cnrs.fr>:

> Looks OK to me, except for one case: what about functions returning
> values? Your scheme works for void functions (that can then return an
> error code), for functions returning pointers (that can return NULL in
> case of error), but is not appliable to functions returning values.
> What is your plan here?

we could have special values (like negative values) for errors. We can also add
a pointer parameter to the function.



More information about the vlc-devel mailing list