[Vala] How to substitude header_free_param_list() with Vala 0.12.x

2012-09-20 Thread Olivier Duchateau
Hi, With Vala = 0.14.x and libsoup-2.4 there's method, which calls 'header_free_param_list()'. I wonder how I can replace this method under Vala 0.12.x. I can't see a 'free' method for this old version of Vala. I can't upgrade Vala, because it's official version in FreeBSD's ports tree. Regards

Re: [Vala] Check conditionals versions of Vala

2013-02-08 Thread Olivier Duchateau
(USE_VALA) Thanks Am Mittwoch, den 06.02.2013, 19:09 + schrieb Olivier Duchateau: Hi, I wonder, if it exists preprocessors in Vala, or if it exists macro like GLIB_CHECK_VERSION, but known by valac ? I don't find any responses

[Vala] How to re-use external C function with pointer

2013-07-02 Thread Olivier Duchateau
Hi, I find this code in Vala program [1]. But under FreeBSD, prctl() doesn't exist. So I use setproctitle(3) [2] (see attachment), but I get this error message: /usr/ports/x11-toolkits/granite/work/granite-0.2/lib/Application.vala:95.67-95.6 7: error: syntax error, expected `)'

[Vala] Iterate in VAPI bindings

2016-12-30 Thread Olivier Duchateau
Hi, I'm trying to write Vala bindings for pkg(8), FreeBSD's packages manager. But I encounter weird behaviour in while loop. Currently I try to display name of repositories (FreeBSD and Xfce). My simple C program [1] works fine (expected result). If I use same while loop in my Vala program, I