aboutsummaryrefslogtreecommitdiffstats
path: root/symtab.h
diff options
context:
space:
mode:
authorShinichiro Hamaji <shinichiro.hamaji@gmail.com>2015-07-05 05:32:25 +0900
committerShinichiro Hamaji <shinichiro.hamaji@gmail.com>2015-07-05 05:32:25 +0900
commit94d6f2a2843a3da25498e2692b137e1f222931c8 (patch)
treeb8c71cc290b3fb5f64d95a6f799f801e87963ae8 /symtab.h
parentfda79439f78dc74fd1b297d785c3ccb3ccdd549c (diff)
downloadandroid_build_kati-94d6f2a2843a3da25498e2692b137e1f222931c8.tar.gz
android_build_kati-94d6f2a2843a3da25498e2692b137e1f222931c8.tar.bz2
android_build_kati-94d6f2a2843a3da25498e2692b137e1f222931c8.zip
[C++] Fix shell_var.mk
Diffstat (limited to 'symtab.h')
-rw-r--r--symtab.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/symtab.h b/symtab.h
index 55e1ce3..907a6eb 100644
--- a/symtab.h
+++ b/symtab.h
@@ -28,6 +28,11 @@ class Symtab;
class Symbol {
public:
+ struct IsUninitialized {};
+ explicit Symbol(IsUninitialized)
+ : v_(-1) {
+ }
+
const string& str() const {
return (*g_symbols)[v_];
}
@@ -67,6 +72,8 @@ template<> struct hash<Symbol> {
};
}
+extern Symbol kShellSym;
+
void InitSymtab();
void QuitSymtab();
Symbol Intern(StringPiece s);