[Vala] How to set custom free function for an array?
- From: "marcin saepia net" <marcin saepia net>
- To: vala <vala-list gnome org>
- Subject: [Vala] How to set custom free function for an array?
- Date: Sun, 12 Jun 2016 19:39:56 +0200
Hello,
I am writing bindings for JACK.
I am struggling to properly handle jack_get_ports (
http://jackaudio.org/files/docs/html/group__PortSearching.html).
It returns const char **, but has to be freed by a dedicated jack_free
function instead of generic vala free func for arrays.
How can I handle this properly in Vala?
Marcin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]