aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler/schema_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/schema_interface.h')
-rw-r--r--src/compiler/schema_interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/schema_interface.h b/src/compiler/schema_interface.h
index ca4722bfe1..3530950bdf 100644
--- a/src/compiler/schema_interface.h
+++ b/src/compiler/schema_interface.h
@@ -34,6 +34,8 @@
#ifndef GRPC_INTERNAL_COMPILER_SCHEMA_INTERFACE_H
#define GRPC_INTERNAL_COMPILER_SCHEMA_INTERFACE_H
+#include "src/compiler/config.h"
+
#include <memory>
#include <vector>
@@ -89,6 +91,7 @@ namespace grpc_generator {
virtual int method_count() const = 0;
virtual std::unique_ptr<const Method> method(int i) const = 0;
+ virtual std::unique_ptr<const grpc::protobuf::MethodDescriptor> get_method(int i) const = 0;
};
struct Printer {