[gnome-db] _get_type() functions for enums.



I read somewhere or other that you are about to freeze the libgda and
gnome-db APIs.

I'm sorry that I haven't had time to wrap libgda properly for C++ yet, and
therefore haven't tested the API quite as much as we'd like,
but here's one thing that we will probably need: adding *_get_type()
functions for enums. I can't make a patch right now because of my crappy
connection, but it would look something like this:
http://bugzilla.gnome.org/showattachment.cgi?attach_id=19723
(It's the Makefile.am that really needs changing).


Another, more imporatnt thing to watch out for: None of your _new()
functions should do anything but call g_object_new(). If they do anything
else then they should at least have a _construct() function, but it's best
to use properties instead.

Murray Cumming
murrayc usa net
www.murrayc.com 



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