[Vala] Newbie question (spawn_async_with_pipes)

2019-02-17 Thread Wolfgang Mauer
Hi all, from the valadoc of "spawn_async_with_pipes" i tried the following with ending in a "received signal SIGSEGV, Segmentation fault." I hope someone can help me understand/fix that. textView.buffer.text = ""; *<--   works fine * Process.spawn_async_with_pipes (".", spawn_arg

Re: [Vala] vala-list Digest, Vol 133, Issue 6

2019-02-17 Thread Vivien Kraus
Hi, Thank you for your answer. In fact, the_datum is a plain int. So it cannot be NULL (error: Equality operation: `null' and `int' are incompatible). However, I found a workaround. It seems that valac assumes out parameter to extern library functions are always initialized, but not when the