Re: [Vala] Why not use g_strcmp0 instead of a custom _vala_strcmp0?



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]