4 /* Generated by makegdkalias.pl */
6 #ifndef DISABLE_VISIBILITY
10 #ifdef G_HAVE_GNUC_VISIBILITY
12 #ifdef GDK_ENABLE_BROKEN
15 #define GDK_ENABLE_BROKEN
17 #ifdef GDK_MULTIHEAD_SAFE
20 #undef GDK_MULTIHEAD_SAVE
22 #ifdef GDK_DISABLE_DEPRECATED
25 #undef GDK_DISABLE_DEPRECATED
27 #ifdef G_DISABLE_DEPRECATED
30 #undef G_DISABLE_DEPRECATED
34 #ifdef GDK_WINDOWING_X11
37 #ifdef GDK_WINDOWING_WIN32
38 #include "win32/gdkwin32.h"
40 #ifdef GDK_WINDOWING_FB
41 #include "linux-fb/gdkfb.h"
47 my $in_skipped_section = 0;
73 if (!$in_skipped_section)
78 $in_skipped_section = 0;
83 if ($_ =~ /^\#ifdef\s+INCLUDE_VARIABLES/)
85 $in_skipped_section = 1;
88 if ($in_skipped_section)
93 if ($_ =~ /^\#ifdef\s+G/)
105 @words = split(/ /, $str);
106 $str = shift(@words);
108 my $alias = "IA__".$str;
110 # Drop any Win32 specific .def file syntax, but keep attributes
111 foreach $word (@words) {
112 $attributes = "$attributes $word" unless $word eq "PRIVATE";
116 extern __typeof ($str) $alias __attribute((visibility("hidden")))$attributes;
117 extern __typeof ($str) $str __attribute((alias("$alias"), visibility("default")));
126 #undef GDK_ENABLE_BROKEN
132 #define GDK_MULTIHEAD_SAFE
137 #define GDK_DISABLE_DEPRECATED
142 #define G_DISABLE_DEPRECATED
146 #endif /* G_HAVE_GNUC_VISIBILITY */
148 #endif /* DISABLE_VISIBILITY */