mirror of https://github.com/grpc/grpc.git
parent
c70752af76
commit
d2cfde74b9
1 changed files with 10 additions and 0 deletions
@ -0,0 +1,10 @@ |
||||
#include <google/protobuf/descriptor.h> |
||||
#include <google/protobuf/descriptor.pb.h> |
||||
|
||||
bool protobuf_test(const google::protobuf::MethodDescriptor *method) { |
||||
return method->client_streaming() || method->server_streaming(); |
||||
} |
||||
|
||||
int main() { |
||||
return 0; |
||||
} |
Loading…
Reference in new issue