File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 1717#include < utility>
1818
1919#include " google/protobuf/message.h"
20+ #include " absl/strings/string_view.h"
2021#include " pybind11_protobuf/enum_type_caster.h"
2122#include " pybind11_protobuf/proto_caster_impl.h"
2223
@@ -57,6 +58,13 @@ namespace pybind11_protobuf {
5758// is required to be called from a PYBIND11_MODULE definition before use.
5859inline void ImportNativeProtoCasters () { InitializePybindProtoCastUtil (); }
5960
61+ inline void AllowUnknownFieldsFor (
62+ absl::string_view top_message_descriptor_full_name,
63+ absl::string_view unknown_field_parent_message_fqn) {
64+ // Preparation for cl/467099971.
65+ // TODO(240452999): Submit cl/464678844.
66+ }
67+
6068} // namespace pybind11_protobuf
6169namespace pybind11 {
6270namespace detail {
You can’t perform that action at this time.
0 commit comments