projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8a0a83e
)
src/Palete/VapiParser.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 6 May 2015 09:53:23 +0000
(17:53 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 6 May 2015 09:53:23 +0000
(17:53 +0800)
src/Palete/VapiParser.vala
patch
|
blob
|
history
diff --git
a/src/Palete/VapiParser.vala
b/src/Palete/VapiParser.vala
index
1eb57b5
..
fbee5d8
100644
(file)
--- a/
src/Palete/VapiParser.vala
+++ b/
src/Palete/VapiParser.vala
@@
-9,15
+9,15
@@
namespace Palete {
public class VapiParser : Vala.CodeVisitor {
public class VapiParser : Vala.CodeVisitor {
- static Gee.HashMap<string,Gir> cache = null;
+
Vala.CodeContext context;
public VapiParser() {
base();
Vala.CodeContext context;
public VapiParser() {
base();
- if (cache == null) {
- cache = new Gee.HashMap<string,Gir>();
+ if (
GirObject.
cache == null) {
+
GirObject.
cache = new Gee.HashMap<string,Gir>();
}
}
}
}
@@
-36,7
+36,7
@@
namespace Palete {
}
var g = new Gir.new_empty(element.name);
}
var g = new Gir.new_empty(element.name);
- cache.set(element.name, g);
+
GirObject.
cache.set(element.name, g);
foreach(var c in element.get_classes()) {
foreach(var c in element.get_classes()) {