Fix gst_promise_new_with_change_func
authorThibault Saunier <tsaunier@igalia.com>
Sun, 9 Jun 2019 16:16:28 +0000 (12:16 -0400)
committerThibault Saunier <tsaunier@gnome.org>
Wed, 15 Jan 2020 12:22:18 +0000 (12:22 +0000)
commita7ac9ee4fbbc59666b56361a2f5039339a639d5d
tree4c3bc0ec0acb1b7058cef8dc79d924989258c5e0
parent38a0731461f470d38560f9766188f4f700987f3c
Fix gst_promise_new_with_change_func

For some reason bindinator doesn't properly detect that the `func`
passed in gst_promise_new_with_change_func is a closure and what the
destroy function is (because it is a constructor?)

Mark it manually.

From suggestion from Alex Dircksen: https://gitlab.freedesktop.org/gstreamer/gstreamer-sharp/issues/9#note_166633

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-sharp/issues/9
sources/generated/Gst/Promise.cs
sources/generated/gstreamer-sharp-api.xml
sources/gstreamer-sharp.metadata