projects
/
gnome.gobject-introspection
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SYMBOL_LINES] Support for line numbers on Symbols
[gnome.gobject-introspection]
/
giscanner
/
sourcescanner.c
diff --git
a/giscanner/sourcescanner.c
b/giscanner/sourcescanner.c
index
79d89cd
..
14e3a3b
100644
(file)
--- a/
giscanner/sourcescanner.c
+++ b/
giscanner/sourcescanner.c
@@
-24,11
+24,12
@@
#include <string.h>
GISourceSymbol *
#include <string.h>
GISourceSymbol *
-gi_source_symbol_new (GISourceSymbolType type)
+gi_source_symbol_new (GISourceSymbolType type
, int line
)
{
GISourceSymbol *s = g_slice_new0 (GISourceSymbol);
s->ref_count = 1;
s->type = type;
{
GISourceSymbol *s = g_slice_new0 (GISourceSymbol);
s->ref_count = 1;
s->type = type;
+ s->line = line;
return s;
}
return s;
}