Explorar o código

Fix capsule name. (#4836)

Internal convert file was broken. Change the capsule to the correct name
Thomas Colthurst %!s(int64=7) %!d(string=hai) anos
pai
achega
1ae2cc02b6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 }