diff options
author | reshilkin <reshilkin@yandex-team.com> | 2023-08-02 13:42:42 +0300 |
---|---|---|
committer | reshilkin <reshilkin@yandex-team.com> | 2023-08-02 13:42:42 +0300 |
commit | 9355caf367a5fa8b2658dc09120a181e17e88646 (patch) | |
tree | edb8bd5125d918304808f1161f8f9a58acd623e8 /contrib/libs/flatbuffers/grpc/src/compiler/python_generator.h | |
parent | 65d926376d67e796c234da615753ab7c16021560 (diff) | |
download | ydb-9355caf367a5fa8b2658dc09120a181e17e88646.tar.gz |
Auto code-generation for .fbs.h in arrow
Diffstat (limited to 'contrib/libs/flatbuffers/grpc/src/compiler/python_generator.h')
-rw-r--r-- | contrib/libs/flatbuffers/grpc/src/compiler/python_generator.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/contrib/libs/flatbuffers/grpc/src/compiler/python_generator.h b/contrib/libs/flatbuffers/grpc/src/compiler/python_generator.h new file mode 100644 index 0000000000..4f8f5cc806 --- /dev/null +++ b/contrib/libs/flatbuffers/grpc/src/compiler/python_generator.h @@ -0,0 +1,33 @@ +/* + * + * Copyright 2015 gRPC authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#ifndef GRPC_INTERNAL_COMPILER_PYTHON_GENERATOR_H +#define GRPC_INTERNAL_COMPILER_PYTHON_GENERATOR_H + +#include <utility> + +#include "src/compiler/config.h" +#include "src/compiler/schema_interface.h" + +namespace grpc_python_generator { + +grpc::string Generate(grpc_generator::File *file, + const grpc_generator::Service *service); +} // namespace grpc_python_generator + +#endif // GRPC_INTERNAL_COMPILER_PYTHON_GENERATOR_H |