diff options
author | Paul Yang <paulyang1211@gmail.com> | 2015-05-21 11:20:15 -0700 |
---|---|---|
committer | Paul Yang <paulyang1211@gmail.com> | 2015-05-21 11:20:15 -0700 |
commit | c3480926f98eb7c45224daae5cf0373e120b3b8d (patch) | |
tree | 3f57dbd6399e2496a6c797fb59a71ac00e949552 /src/google/protobuf/compiler/objectivec/objectivec_helpers.h | |
parent | 3668a224f3ea870a1b8026ba0709f964ed75d53b (diff) | |
parent | ce55ff9441753164a34f31a48572ea2f1fb38aba (diff) |
Merge pull request #402 from thomasvl/objc_on_win
Getting the ObjC generator building on Windows.
Diffstat (limited to 'src/google/protobuf/compiler/objectivec/objectivec_helpers.h')
-rw-r--r-- | src/google/protobuf/compiler/objectivec/objectivec_helpers.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/google/protobuf/compiler/objectivec/objectivec_helpers.h b/src/google/protobuf/compiler/objectivec/objectivec_helpers.h index 2701a30c..ab030d15 100644 --- a/src/google/protobuf/compiler/objectivec/objectivec_helpers.h +++ b/src/google/protobuf/compiler/objectivec/objectivec_helpers.h @@ -142,9 +142,6 @@ string BuildFlagsString(const vector<string>& strings); string BuildCommentsString(const SourceLocation& location); -bool WriteClassList(string* error); -void WriteClassNameToClassList(const string& name); - bool InitializeClassWhitelist(string* error); bool FilterClass(const string& name); @@ -154,7 +151,7 @@ class TextFormatDecodeData { public: TextFormatDecodeData() {} - void AddString(int32_t key, const string& input_for_decode, + void AddString(int32 key, const string& input_for_decode, const string& desired_output); size_t num_entries() const { return entries_.size(); } string Data() const; @@ -165,7 +162,7 @@ class TextFormatDecodeData { private: GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(TextFormatDecodeData); - typedef std::pair<int32_t, string> DataEntry; + typedef std::pair<int32, string> DataEntry; vector<DataEntry> entries_; }; |