[vlc-devel] [PATCH 3/3] doc: document unsigned to bool api changes

Alexandre Janniaux ajanni at videolabs.io
Mon Dec 2 15:28:53 CET 2019


Binding generators to strongly typed language will consider these
changes as API breakage because the type changed. For example, there is
no implicit conversion from int to boolean in Rust, so code generated
with bindgen will fail to upgrade smoothly.
---
 doc/libvlc/CHANGES-v3-to-v4.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/doc/libvlc/CHANGES-v3-to-v4.txt b/doc/libvlc/CHANGES-v3-to-v4.txt
index 919a41cd8b..ad861e4ce4 100644
--- a/doc/libvlc/CHANGES-v3-to-v4.txt
+++ b/doc/libvlc/CHANGES-v3-to-v4.txt
@@ -6,3 +6,5 @@ Breaking changes between libvlc 3 and libvlc 4:
 - libvlc_media_player_stop() is now asynchronous
 - libvlc_media_player_set_pause() and libvlc_media_player_set_media(), which
   could possibly stop, are now asynchronous too
+- libvlc_video_set_mouse_input() and libvlc_video_set_key_input() now take
+  bool-typed values instead of unsigned-typed boolean values
-- 
2.24.0



More information about the vlc-devel mailing list