Browse Source

Fix capsule name. (#4836)

Internal convert file was broken. Change the capsule to the correct name
Thomas Colthurst 7 năm trước cách đây
mục cha
commit
1ae2cc02b6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
 }