Re: [gnome-db] gda_client_new



On Thu, 2006-01-26 at 09:14 +0100, Vivien Malerba wrote:
2006/1/26, Bas Driessen <bas driessen xobas com>:
>  Hello,
>
>  Regarding gda_client_new(). It now expects an argument of type GdaDict.
> What is it? Do I need it? It is not clear in the documentation if I can pass
> NULL to it. I did and all appears to work OK, but would like to know if that
> is allowed. Also the example code in the doco does not reflect this new call
> yet.
>

The GdaClient inherits the GdaObject, and every GdaObject is attached
to a GdaDict object, this is the reason of the GdaDict argument of
gda_client_new().

However, there is almost no case when one would like to specify which
GdaDict to use, so I'll change the signature of that function to
GdaClient *gda_client_new();

For the moment, you can use the NULL in place of the GdaDict argument.

Thanks for info Vivian. That was helpful. You don't have to change it back, it just confirms for me that passing NULL is a safe option.




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