Re: [Vala] Why not use g_strcmp0 instead of a custom _vala_strcmp0?
- From: Jürg Billeter <j bitron ch>
- To: Julian Andres Klode <jak jak-linux org>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Why not use g_strcmp0 instead of a custom _vala_strcmp0?
- Date: Sat, 26 Sep 2009 21:05:35 +0200
On Sat, 2009-09-26 at 20:47 +0200, Julian Andres Klode wrote:
Vala currently writes a _vala_strcmp0 into almost every
C file. This function is exactly the same as glib's
g_strcmp0. Wouldn't it be better to use g_strcmp0
instead?
g_strcmp0 is available since GLib 2.16, however, Vala currently only
requires GLib 2.12. I'll consider bumping this requirement in the near
future. If we do, we should be able to drop the generated function.
Jürg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]