~ubuntu-branches/ubuntu/trusty/gtk-doc/trusty-proposed

« back to all changes in this revision

Viewing changes to tests/bugs/src/tester.h

  • Committer: Martin Pitt
  • Date: 2011-01-27 14:41:59 UTC
  • mfrom: (1.2.12 upstream)
  • Revision ID: martin.pitt@canonical.com-20110127144159-wagev8l04yc5b8jc
New upstream release with lots of bug fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
} Bug324535;
21
21
 
22
22
 
 
23
 
 
24
/**
 
25
 * bug_481811:
 
26
 * @x: argument
 
27
 *
 
28
 * http://bugzilla.gnome.org/show_bug.cgi?id=481811
 
29
 **/
 
30
static inline double
 
31
bug_481811(double x)
 
32
{
 
33
    return g_random_double_range(x,x*x);
 
34
}
 
35
 
 
36
 
23
37
/**
24
38
 * bug_501038:
25
39
 * @a: value
155
169
 * BUG_530758:
156
170
 *
157
171
 * <![CDATA[http://bugzilla.gnome.org/show_bug.cgi?id=530758#c1]]>
158
 
 * 
 
172
 *
159
173
 * <ulink url="http://bugzilla.gnome.org/show_bug.cgi?id=530758#c1">Test</ulink>
160
174
 */
161
175
#define BUG_530758 "dummy"
233
247
void bug_580300c_get_type();
234
248
extern int bug_580300d_get_type();
235
249
 
 
250
void bug_597937(void (*function_arg)(int arg1, char arg2, void *));
236
251
 
237
252
long int bug_602518a(void);
238
253
unsigned long int bug_602518b(void);
247
262
 */
248
263
union _Bug165425a {
249
264
  int i;
250
 
  float f; 
 
265
  float f;
251
266
};
252
267
typedef union _Bug165425a Bug165425a;
253
268
 
286
301
signed long bug_610257(const unsigned char *der, int *len);
287
302
 
288
303
 
 
304
void bug_623968a(void);
 
305
void bug_623968b(void);
 
306
void bug_623968c(void);
 
307
 
 
308
 
 
309
#define _BUG_624199(struct_type, n_structs, func) \
 
310
  (struct_type *) (__extension__ ({                     \
 
311
    gsize __n = (gsize) (n_structs);                    \
 
312
    gsize __s = sizeof (struct_type);                   \
 
313
    gpointer __p;                                       \
 
314
    if (__s == 1)                                       \
 
315
      __p = g_##func (__n);                             \
 
316
    else if (__builtin_constant_p (__n) &&                      \
 
317
             (__s == 0 || __n <= G_MAXSIZE / __s))              \
 
318
      __p = g_##func (__n * __s);                               \
 
319
    else                                                        \
 
320
      __p = g_##func##_n (__n, __s);                    \
 
321
    __p;                                                        \
 
322
  }))
 
323
 
 
324
 
 
325
const char * const * bug_624200a(void);
 
326
const char ** const bug_624200b(void);
 
327
 
 
328
 
 
329
/* internal function and macro */
 
330
gchar *_bug_000000a (const gchar *name);
 
331
#define _BUG_000000b (a) (a*a);
 
332
 
 
333
#ifndef __GTK_DOC_IGNORE__
 
334
extern int bug_512565(void);
 
335
#endif
 
336
 
 
337
void (*bug_638330) (void *arg1,
 
338
     const unsigned char *data,
 
339
     unsigned int length);
 
340
 
289
341
#endif // GTKDOC_TESTER_H
290
342