Re: Re: How gvdb_table_is_valid works on glib/dconf??



On 16 February 2011 10:50, Joshua Lee <muzili gmail com> wrote:
> I'm curious why gvdb_table_is_valid works. Here's the implementation
> of gvdb_table_is_valid.
>
> gboolean
> gvdb_table_is_valid (GvdbTable *table)
> {
>  return !!*table->data;
> }

Ah I see, sorry. This function will return 1 if table->data points to
a non-empty string, and 0 otherwise.

John


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]