Re: [Vala] Error in glib-2.0.vala binding of g_strdup_printf
- From: Jürg Billeter <j bitron ch>
- To: Cayle Graumann <cayle graumann gmail com>
- Cc: vala <vala paldo org>
- Subject: Re: [Vala] Error in glib-2.0.vala binding of g_strdup_printf
- Date: Thu, 21 Sep 2006 16:57:12 +0000
Hi Cayle,
On Die, 2006-09-12 at 23:01 -0500, Cayle Graumann wrote:
Thanks for all the advice. Moving everything to the vapi dir
worked well. But in duplicating one of the GenX simple demos to test
the new binding,
I discovered another small error in the glib bindings.
The binding for string.printf should be made static, since
g_strdup_printf does not take the object as it's first argument.
It depends how you look at it. Something like
"%s: %d".printf ("Hello", 5)
works perfectly fine. Have you encountered a situation where it doesn't
work at all when using string.printf as an instance method?
Jürg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]