On 19.04.2013 11:35, Christian Capasso wrote:
> Hi,
>
> I'm using Process.spawn_async() to launch a process that requires
> administrator privileges. This function returns the PID linked to the sudo
> command, which is different from the real PID of the command that I
> launched.
>
> For example, i
Hi.
When you have an auto-property like
public int64 minutes { get; private set; }
in your class, the generated public .vapi file gets the exact same
signature, i.e.
public int64 minutes { get; private set; }
Wouldn't it make more sense to just leave out the "private set" part
from the .vapi,
On 15.04.2013 11:15, Luca Bruno wrote:
> Il 15/04/2013 11:13, Alexander Krivács Schrøder ha scritto:
>> I noticed, after I wrote this message, that the "array_length_cname"
>> attribute only applies to "field," which makes me think that what I'm
>> try
On 15.04.2013 09:17, Luca Bruno wrote:
> Il 15/04/2013 00:32, Alexander Krivács Schrøder ha scritto:
>> public Line[] lines
>> {
>> [CCode(array_length_cname = "count")]
>> owned get
>> {
>> ...
>> }
>&
Hi.
I have a property in my class like so:
public Line[] lines
{
owned get
{
...
}
}
The signature of the generated C code looks like this:
Line** class_name_get_lines (ClassName* self, int* result_length1);
I'm not particularly fond of the "result_length1" parameter name,
On 14.04.2013 23:09, Evan Nemerson wrote:
> On Sun, 2013-04-14 at 18:38 +0200, Alexander Krivács Schrøder wrote:
>> Hi.
>>
>> I'm trying to use Glib.TimeVal with its from_iso8601() initializer, but
>> I can't get the generated C code not to contain a call to
&g
On 14.04.2013 21:31, Jonas Kulla wrote:
> 2013/4/14 Alexander Krivács Schrøder <mailto:alexsch...@gmail.com>>
>
> Hi.
>
> I'm trying to use Glib.TimeVal with its from_iso8601()
> initializer, but
> I can't get the generated C code not to co
On 30.03.2013 02:34, rastersoft wrote:
> Hi all:
>
> Several days ago, another user commented in Elementary Dev list that
> using CMake with Vala was quite hard and difficult.
>
> After thinking about it, I reached the conclusion that using CMake is
> quite boring and repetitive, so I said to mysel
Hi.
I'm trying to use Glib.TimeVal with its from_iso8601() initializer, but
I can't get the generated C code not to contain a call to
g_get_current_time() first. At first, I tried this Vala code:
string iso8601_date = "1999-05-31T11:20:00";
TimeVal time_val;
time_val.from_iso8601(iso8601_date);
= foo_new (3, 4);
fprintf (stdout, "%d\n", foo_sum (x));
_foo_destroy0 (x);
}
Which is just what your library expects, and I tried running this
code, and there are no compiler warnings and no errors:
$ valac --vapidir . --pkg foo -X -I. footest.vala libfoo.c
$ ./test
7
H
On Tue, Jan 25, 2011 at 8:39 AM, Juergen wrote:
> Hi,
>
> I am wondering if there is some kind of string.starts_with method in
> vala.
> I try to avoid a memory-allocating algorithm like
>
> if ("Hello World"[0:5] == "Hello")
>
> but do not know how to implement this without a starts_with m
Hi.
Are there plans to incorporate using aliases in Vala? It would be very
handy to have them, especially in cases where you encounter the
annoying "ambiguous reference" error. If for instance you have a class
named "Parameter" in some "Very.Long.And.Winded.Namespace" and you try
to use it, you ge
Hi. I have a question.
If you look at the documentation for the
gtk_source_completion_proposal_get_text () C function:
http://library.gnome.org/devel/gtksourceview/2.9/GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-text
It says "The returned string must be freed with g_free()
13 matches
Mail list logo