Re: gimp-vs: gdk headers missing extern "C"

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

 



Robert Pearce <rob@xxxxxxxxxxxxxxxxxxxx> wrote:

> Yes, this wrapping is normally done in the headers,
> [...] wrapped in magic  G_BEGIN_DECLS [/G_END_DECLS]
>
> Is it possible VC9 is not declaring the necessary symbol?

No, the other libs work as expected.

I checked the headers, and it seems most gdk headers have
G_BEGIN_DECLS in them, but "gdkenumtypes.h" looks like
this:

/* Generated by makeenums.pl */

#ifndef __GDK_ENUM_TYPES_H__
#define __GDK_ENUM_TYPES_H__

GType gdk_cursor_type_get_type (void);
#define GDK_TYPE_CURSOR_TYPE gdk_cursor_type_get_type ()

..the other type getters follow...

I don't know if this file is specific to vs-gimp, but I figure
makeenums.pl should be tuned to insert G_BEGIN_DECLS
and G_END_DECLS. This may also apply to makegdkalias.pl
and other perls in the makery.


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

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux