diff options
author | Johan Dahlin <johan@gnome.org> | 2010-09-19 11:33:38 -0300 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2010-09-19 12:04:20 -0300 |
commit | cb61330eb495786bf8232ebcb51b0d6d9a753ce7 (patch) | |
tree | 544f43868003c027ad127e497ba9f959da12da37 /giscanner/sourcescanner.h | |
parent | 9180641a496b26b5d5a720a2f2a61c710f094d2a (diff) | |
download | gobject-introspection-cb61330eb495786bf8232ebcb51b0d6d9a753ce7.tar.gz |
Save the line number of a source comment
Diffstat (limited to 'giscanner/sourcescanner.h')
-rw-r--r-- | giscanner/sourcescanner.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/giscanner/sourcescanner.h b/giscanner/sourcescanner.h index 581b6b17..a7bc176c 100644 --- a/giscanner/sourcescanner.h +++ b/giscanner/sourcescanner.h @@ -28,6 +28,7 @@ G_BEGIN_DECLS +typedef struct _GISourceComment GISourceComment; typedef struct _GISourceScanner GISourceScanner; typedef struct _GISourceSymbol GISourceSymbol; typedef struct _GISourceType GISourceType; @@ -95,13 +96,20 @@ typedef enum UNARY_LOGICAL_NEGATION } UnaryOperator; +struct _GISourceComment +{ + char *comment; + char *filename; + int line; +}; + struct _GISourceScanner { char *current_filename; gboolean macro_scan; GSList *symbols; GList *filenames; - GSList *comments; + GSList *comments; /* _GIComment */ GHashTable *typedef_table; GHashTable *struct_or_union_or_enum_table; }; |