mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
23 lines
529 B
C++
23 lines
529 B
C++
// go/fastpythonproto
|
|
|
|
namespace google {
|
|
namespace protobuf {
|
|
namespace python {
|
|
|
|
// This exists solely to cause a build/link time error when both
|
|
// :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_BOTH_use_fast_cpp_protos_AND_use_pure_python() {
|
|
return 0;
|
|
}
|
|
|
|
} // extern "C"
|
|
|
|
} // namespace python
|
|
} // namespace protobuf
|
|
} // namespace google
|