On Tuesday 10 February 2009 20:33:35 Johan Dahlin wrote:
> Hi Richard,
>
> 2009/2/10 Richard Dale <rd...@foton.es>:
> > When I built a mixed C/C++ program, I had a couple of problems with the
> > argument names used in functions in the girepository.h header. There
were
> > args called 'namespace' and 'type-info' and I changed them to
> > 'gnamespace' and 'gtype-info' respectively. Please find a patch
attached.
>
> Thanks for the patch, but usually the right place for this is:
>
> http://bugzilla.gnome.org/ -> Product: glib, Component: introspection
OK thanks, I'll use that if I have any more issues.

> Perhaps just ns or nsname instead of gnamespace?
Yes that sounds fine to me - or 'name_space' even?

The 'type_info' name was used in the seed code that I was copying, and not
in
the g-i headers. But in general it seems to be a good idea to avoid using
C++
reserved words in C programs to me.

-- Richard
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to