aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/compiler/javanano/javanano_generator.h
diff options
context:
space:
mode:
authorGravatar Feng Xiao <xfxyjwf@gmail.com>2014-11-19 15:58:54 -0800
committerGravatar Feng Xiao <xfxyjwf@gmail.com>2014-11-19 15:58:54 -0800
commitcd980d1c13c736b0f9fc453843f696a93c2c2a71 (patch)
tree49fdf3f8ef0b5fff091097d9d14df3d6d5c22fd7 /src/google/protobuf/compiler/javanano/javanano_generator.h
parent6dc3924536cb4994edd5bd330da1d24424b7f8af (diff)
Prepare nano proto code to be merged into protobuf repository.
Diffstat (limited to 'src/google/protobuf/compiler/javanano/javanano_generator.h')
-rw-r--r--src/google/protobuf/compiler/javanano/javanano_generator.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/google/protobuf/compiler/javanano/javanano_generator.h b/src/google/protobuf/compiler/javanano/javanano_generator.h
index 0c1e3a41..6f9f7f2a 100644
--- a/src/google/protobuf/compiler/javanano/javanano_generator.h
+++ b/src/google/protobuf/compiler/javanano/javanano_generator.h
@@ -34,8 +34,8 @@
//
// Generates Java nano code for a given .proto file.
-#ifndef GOOGLE_PROTOBUF_COMPILER_JAVA_NANO_GENERATOR_H__
-#define GOOGLE_PROTOBUF_COMPILER_JAVA_NANO_GENERATOR_H__
+#ifndef GOOGLE_PROTOBUF_COMPILER_JAVANANO_NANO_GENERATOR_H__
+#define GOOGLE_PROTOBUF_COMPILER_JAVANANO_NANO_GENERATOR_H__
#include <string>
#include <google/protobuf/compiler/code_generator.h>
@@ -57,7 +57,7 @@ class LIBPROTOC_EXPORT JavaNanoGenerator : public CodeGenerator {
// implements CodeGenerator ----------------------------------------
bool Generate(const FileDescriptor* file,
const string& parameter,
- OutputDirectory* output_directory,
+ GeneratorContext* output_directory,
string* error) const;
private:
@@ -69,4 +69,4 @@ class LIBPROTOC_EXPORT JavaNanoGenerator : public CodeGenerator {
} // namespace protobuf
} // namespace google
-#endif // GOOGLE_PROTOBUF_COMPILER_JAVA_NANO_GENERATOR_H__
+#endif // GOOGLE_PROTOBUF_COMPILER_JAVANANO_NANO_GENERATOR_H__