~ubuntu-branches/ubuntu/trusty/gobject-introspection/trusty

« back to all changes in this revision

Viewing changes to giscanner/sourcescanner.h

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2011-03-22 00:32:36 UTC
  • mfrom: (1.4.1 upstream) (3.3.33 multiarch)
  • Revision ID: james.westby@ubuntu.com-20110322003236-4spdgfk1vai6xay1
Tags: 0.10.4-2
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
G_BEGIN_DECLS
30
30
 
 
31
typedef struct _GISourceComment GISourceComment;
31
32
typedef struct _GISourceScanner GISourceScanner;
32
33
typedef struct _GISourceSymbol GISourceSymbol;
33
34
typedef struct _GISourceType GISourceType;
95
96
  UNARY_LOGICAL_NEGATION
96
97
} UnaryOperator;
97
98
 
 
99
struct _GISourceComment
 
100
{
 
101
  char *comment;
 
102
  char *filename;
 
103
  int line;
 
104
};
 
105
 
98
106
struct _GISourceScanner
99
107
{
100
108
  char *current_filename;
101
109
  gboolean macro_scan;
 
110
  gboolean private; /* set by gtk-doc comment <private>/<public> */
 
111
  gboolean flags; /* set by gtk-doc comment <flags> */
102
112
  GSList *symbols;
103
113
  GList *filenames;
104
 
  GSList *comments;
 
114
  GSList *comments; /* _GIComment */
105
115
  GHashTable *typedef_table;
106
116
  GHashTable *struct_or_union_or_enum_table;
107
117
};
114
124
  char *ident;
115
125
  GISourceType *base_type;
116
126
  gboolean const_int_set;
117
 
  int const_int;
 
127
  gboolean private;
 
128
  gint64 const_int; /* 64-bit we can handle signed and unsigned 32-bit values */
118
129
  char *const_string;
119
130
  gboolean const_double_set;
120
131
  double const_double;