Gogs bef6e57d0d first commit 3 meses atrás
..
README.md bef6e57d0d first commit 3 meses atrás
atm.h bef6e57d0d first commit 3 meses atrás
atm_gcc_atomic.h bef6e57d0d first commit 3 meses atrás
atm_gcc_sync.h bef6e57d0d first commit 3 meses atrás
atm_windows.h bef6e57d0d first commit 3 meses atrás
byte_buffer.h bef6e57d0d first commit 3 meses atrás
byte_buffer_reader.h bef6e57d0d first commit 3 meses atrás
compression_types.h bef6e57d0d first commit 3 meses atrás
connectivity_state.h bef6e57d0d first commit 3 meses atrás
fork.h bef6e57d0d first commit 3 meses atrás
gpr_slice.h bef6e57d0d first commit 3 meses atrás
gpr_types.h bef6e57d0d first commit 3 meses atrás
grpc_types.h bef6e57d0d first commit 3 meses atrás
log.h bef6e57d0d first commit 3 meses atrás
port_platform.h bef6e57d0d first commit 3 meses atrás
propagation_bits.h bef6e57d0d first commit 3 meses atrás
slice.h bef6e57d0d first commit 3 meses atrás
status.h bef6e57d0d first commit 3 meses atrás
sync.h bef6e57d0d first commit 3 meses atrás
sync_abseil.h bef6e57d0d first commit 3 meses atrás
sync_custom.h bef6e57d0d first commit 3 meses atrás
sync_generic.h bef6e57d0d first commit 3 meses atrás
sync_posix.h bef6e57d0d first commit 3 meses atrás
sync_windows.h bef6e57d0d first commit 3 meses atrás

README.md

Welcome to include/grpc/impl/codegen

Why is this directory here?

This directory exists so that generated C++ code can include selected files upon which it depends without having to depend on the entire gRPC C++ library. This directory thus exists to support include/grpcpp/impl/codegen. This constraint is particularly relevant for users of bazel, particularly if they use the multi-lingual proto_library target type. Generated code that uses this target only depends on the gRPC C++ targets associated with these header files, not the entire gRPC C++ codebase since that would make the build time of these types of targets excessively large (particularly when they are not even C++ specific).

What should user code do?

User code should not include anything from this directory. Only generated code and gRPC library code should include contents from this directory. C++ user code should instead include contents from the main grpcpp directory or its accessible subcomponents like grpcpp/support. It is possible that we may remove this directory altogether if the motivations for its existence are no longer strong enough (e.g., if the gRPC C++ library no longer has a need for an impl/codegen directory of its own).