mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
24 lines
547 B
C++
24 lines
547 B
C++
// go/fastpythonproto
|
|
|
|
namespace google {
|
|
namespace protobuf {
|
|
namespace python {
|
|
|
|
// This exists solely to cause a build/link time error when more than one of
|
|
// :use_upb_protos, :use_fast_cpp_protos and :use_pure_python are specified
|
|
// in a build.;
|
|
|
|
extern "C" {
|
|
|
|
// MUST match link_error_pure_python.cc's function signature.
|
|
|
|
__attribute__((noinline)) __attribute__((optnone)) int
|
|
go_SLASH_build_deps_on_multiple_python_proto_backends() {
|
|
return 1;
|
|
}
|
|
|
|
} // extern "C"
|
|
|
|
} // namespace python
|
|
} // namespace protobuf
|
|
} // namespace google
|