summaryrefslogtreecommitdiff
path: root/giscanner/sourcescanner.h
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-12-06 09:01:02 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2018-12-06 09:57:58 +0000
commit953b45b14e2749be239ff3fdb0040998106d6758 (patch)
treee9a988226cbe56f8bee67734327c18e3fb3e7bda /giscanner/sourcescanner.h
parentaaa7af50f98771efc8172c5dff7a898feda8c423 (diff)
downloadgobject-introspection-953b45b14e2749be239ff3fdb0040998106d6758.tar.gz
gi_source_scanner_parse_file: use a filename instead of a FILE struct
This allows us to get rid of the msvc hacks which are needed in case Python is built with a different msvc than g-i. By passing a filename the FILE struct never passes over library boundaries.
Diffstat (limited to 'giscanner/sourcescanner.h')
-rw-r--r--giscanner/sourcescanner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/sourcescanner.h b/giscanner/sourcescanner.h
index c3e9c655..e9fa5421 100644
--- a/giscanner/sourcescanner.h
+++ b/giscanner/sourcescanner.h
@@ -155,7 +155,7 @@ GISourceScanner * gi_source_scanner_new (void);
gboolean gi_source_scanner_lex_filename (GISourceScanner *igenerator,
const gchar *filename);
gboolean gi_source_scanner_parse_file (GISourceScanner *igenerator,
- FILE *file);
+ const gchar *filename);
void gi_source_scanner_parse_macros (GISourceScanner *scanner,
GList *filenames);
void gi_source_scanner_set_macro_scan (GISourceScanner *scanner,