~ubuntu-branches/ubuntu/trusty/glib2.0/trusty-proposed

« back to all changes in this revision

Viewing changes to glib/gvarianttypeinfo.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-03-23 19:25:52 UTC
  • mfrom: (3.4.9 experimental)
  • Revision ID: james.westby@ubuntu.com-20100323192552-istna8c33bw6harh
Tags: 2.23.6-1ubuntu1
* Resync on Debian
* debian/patches/01_gettext-desktopfiles.patch:
  - updated to use gettext for X-GNOME-Fullname too
* debian/patches/71_gio_launch_handler.patch:
  - new gio default launch handle feature required for wncksync
* debian/control.in, 
  debian/patches/80-gtester-subunit.patch:
  - gtester-report subunit support
* debian/libglib2.0-0.symbols:
  - updated the symbols list for the gio launcher handler

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
/* Hard-code the base types in a constant array */
112
112
static const GVariantTypeInfo g_variant_type_info_basic_table[24] = {
113
113
#define fixed_aligned(x)  x, x - 1
 
114
#define not_a_type             0,
114
115
#define unaligned         0, 0
115
116
#define aligned(x)        0, x - 1
116
117
  /* 'b' */ { fixed_aligned(1) },   /* boolean */
117
 
  /* 'c' */ { },
 
118
  /* 'c' */ { not_a_type },
118
119
  /* 'd' */ { fixed_aligned(8) },   /* double */
119
 
  /* 'e' */ { },
120
 
  /* 'f' */ { },
 
120
  /* 'e' */ { not_a_type },
 
121
  /* 'f' */ { not_a_type },
121
122
  /* 'g' */ { unaligned        },   /* signature string */
122
123
  /* 'h' */ { fixed_aligned(4) },   /* file handle (int32) */
123
124
  /* 'i' */ { fixed_aligned(4) },   /* int32 */
124
 
  /* 'j' */ { },
125
 
  /* 'k' */ { },
126
 
  /* 'l' */ { },
127
 
  /* 'm' */ { },
 
125
  /* 'j' */ { not_a_type },
 
126
  /* 'k' */ { not_a_type },
 
127
  /* 'l' */ { not_a_type },
 
128
  /* 'm' */ { not_a_type },
128
129
  /* 'n' */ { fixed_aligned(2) },   /* int16 */
129
130
  /* 'o' */ { unaligned        },   /* object path string */
130
 
  /* 'p' */ { },
 
131
  /* 'p' */ { not_a_type },
131
132
  /* 'q' */ { fixed_aligned(2) },   /* uint16 */
132
 
  /* 'r' */ { },
 
133
  /* 'r' */ { not_a_type },
133
134
  /* 's' */ { unaligned        },   /* string */
134
135
  /* 't' */ { fixed_aligned(8) },   /* uint64 */
135
136
  /* 'u' */ { fixed_aligned(4) },   /* uint32 */
136
137
  /* 'v' */ { aligned(8)       },   /* variant */
137
 
  /* 'w' */ { },
 
138
  /* 'w' */ { not_a_type },
138
139
  /* 'x' */ { fixed_aligned(8) },   /* int64 */
139
140
  /* 'y' */ { fixed_aligned(1) },   /* byte */
140
141
#undef fixed_aligned
 
142
#undef not_a_type
141
143
#undef unaligned
142
144
#undef aligned
143
145
};