summaryrefslogtreecommitdiff
path: root/giscanner/sourcescanner.h
diff options
context:
space:
mode:
authorJohan Dahlin <jdahlin@async.com.br>2008-04-25 00:17:15 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-04-25 00:17:15 +0000
commit3554af8cb2e3141c9a9386018dd7b0564b2a00f5 (patch)
tree776b7a7756e526ca7a412e13ac30dbe10570e1c1 /giscanner/sourcescanner.h
parent36a587e0e6dd36bbe4956286b9ab5ec7b925ae0d (diff)
downloadgobject-introspection-3554af8cb2e3141c9a9386018dd7b0564b2a00f5.tar.gz
Add support for source/header annotations.
2008-04-24 Johan Dahlin <jdahlin@async.com.br> * giscanner/gidlwriter.py: * giscanner/girwriter.py: * giscanner/giscannermodule.c (directive_get_name), (directive_get_value), (directive_get_options), (symbol_get_directives), (symbol_set_directives), (pygi_source_scanner_parse_file), (pygi_source_scanner_lex_filename), (pygi_source_scanner_get_directives), (init_giscanner): * giscanner/sourcescanner.c (gi_source_scanner_get_directives): * giscanner/sourcescanner.h: * giscanner/sourcescanner.py: * giscanner/treebuilder.py: * tools/g-ir-scanner: Add support for source/header annotations. svn path=/trunk/; revision=224
Diffstat (limited to 'giscanner/sourcescanner.h')
-rw-r--r--giscanner/sourcescanner.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/sourcescanner.h b/giscanner/sourcescanner.h
index 496a2267..b0f4de7c 100644
--- a/giscanner/sourcescanner.h
+++ b/giscanner/sourcescanner.h
@@ -143,6 +143,8 @@ gboolean gi_source_scanner_parse_file (GISourceScanner *igener
void gi_source_scanner_set_macro_scan (GISourceScanner *scanner,
gboolean macro_scan);
GSList * gi_source_scanner_get_symbols (GISourceScanner *scanner);
+GSList * gi_source_scanner_get_directives (GISourceScanner *scanner,
+ const gchar *name);
void gi_source_scanner_free (GISourceScanner *scanner);
GISourceSymbol * gi_source_symbol_new (GISourceSymbolType type);