소스 검색

Fix capsule name. (#4836)

Internal convert file was broken. Change the capsule to the correct name
Thomas Colthurst 7 년 전
부모
커밋
1ae2cc02b6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      python/google/protobuf/proto_api.h

+ 1 - 1
python/google/protobuf/proto_api.h

@@ -81,7 +81,7 @@ struct PyProto_API {
 
 inline const char* PyProtoAPICapsuleName() {
   static const char kCapsuleName[] =
-      "protobuf.python.google.protobuf.cpp._message.proto_API";
+      "google.protobuf.pyext._message.proto_API";
   return kCapsuleName;
 }