diff options
| author | akastornov <[email protected]> | 2022-02-10 16:46:03 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:03 +0300 | 
| commit | 8d3a5ed3a188a34167eaee54f1691ce5c9edf2f3 (patch) | |
| tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /contrib/libs/grpc/src/cpp/codegen/codegen_init.cc | |
| parent | 3a2de774d91ca8d7325aaf81c200b1d2047725e6 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/grpc/src/cpp/codegen/codegen_init.cc')
| -rw-r--r-- | contrib/libs/grpc/src/cpp/codegen/codegen_init.cc | 34 | 
1 files changed, 17 insertions, 17 deletions
| diff --git a/contrib/libs/grpc/src/cpp/codegen/codegen_init.cc b/contrib/libs/grpc/src/cpp/codegen/codegen_init.cc index 5a0375c0652..e1e47cbb17b 100644 --- a/contrib/libs/grpc/src/cpp/codegen/codegen_init.cc +++ b/contrib/libs/grpc/src/cpp/codegen/codegen_init.cc @@ -1,30 +1,30 @@ -/*  - *  +/* + *   * Copyright 2016 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. - *  - */  -  + * + */ +  #include <grpcpp/impl/codegen/core_codegen_interface.h>  #include <grpcpp/impl/codegen/grpc_library.h> -  -/// Null-initializes the global gRPC variables for the codegen library. These  + +/// Null-initializes the global gRPC variables for the codegen library. These  /// stay null in the absence of grpc++ library. In this case, no gRPC -/// features such as the ability to perform calls will be available. Trying to  -/// perform them would result in a segmentation fault when trying to deference  -/// the following nulled globals. These should be associated with actual  -/// as part of the instantiation of a \a grpc::GrpcLibraryInitializer variable.  -  -grpc::CoreCodegenInterface* grpc::g_core_codegen_interface;  -grpc::GrpcLibraryInterface* grpc::g_glip;  +/// features such as the ability to perform calls will be available. Trying to +/// perform them would result in a segmentation fault when trying to deference +/// the following nulled globals. These should be associated with actual +/// as part of the instantiation of a \a grpc::GrpcLibraryInitializer variable. + +grpc::CoreCodegenInterface* grpc::g_core_codegen_interface; +grpc::GrpcLibraryInterface* grpc::g_glip; | 
