5
if (($#ARGV >= 0) && ($ARGV[0] eq "-def")) {
11
/* Generated by makegdkpixbufalias.pl */
13
#ifndef DISABLE_VISIBILITY
17
#ifdef G_HAVE_GNUC_VISIBILITY
24
#define IN_FILE defined
27
#define IN_HEADER(x) 1
34
#define IN_HEADER defined
40
my $in_skipped_section = 0;
66
if (!$in_skipped_section)
71
$in_skipped_section = 0;
76
if ($_ =~ /^\#ifdef\s+INCLUDE_VARIABLES|INCLUDE_INTERNAL_SYMBOLS|ALL_FILES/)
78
$in_skipped_section = 1;
81
if ($in_skipped_section)
86
if ($_ =~ /^\#ifn?def\s+G/)
93
if ($_ =~ /^\#if.*(IN_FILE|IN_HEADER|IN_FILE)/)
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";
117
extern __typeof ($str) $alias __attribute((visibility("hidden")))$attributes;
125
extern __typeof ($str) $str __attribute((alias("$alias"), visibility("default")));
133
#endif /* G_HAVE_GNUC_VISIBILITY */
134
#endif /* DISABLE_VISIBILITY */