diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2023-10-03 15:02:38 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2023-10-03 16:04:35 +0300 |
commit | 5478b8f55cc7055a4861c4030e0c401b5c72714c (patch) | |
tree | 3d003e5b4c1800297fcc491faffc9a006d174289 /library/cpp/pybind/pod.cpp | |
parent | ca778ad9bfb31839b0f05a4995753bc61db648ad (diff) | |
download | ydb-5478b8f55cc7055a4861c4030e0c401b5c72714c.tar.gz |
Intermediate changes
Diffstat (limited to 'library/cpp/pybind/pod.cpp')
-rw-r--r-- | library/cpp/pybind/pod.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/library/cpp/pybind/pod.cpp b/library/cpp/pybind/pod.cpp deleted file mode 100644 index 3cf030e537b..00000000000 --- a/library/cpp/pybind/pod.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "pod.h" - -namespace NPyBind { - class TPODAttrGetter: public TBaseAttrGetter<TPOD> { - public: - bool GetAttr(PyObject*, const TPOD& self, const TString& attr, PyObject*& res) const override { - res = self.GetAttr(attr.c_str()); - return res != nullptr; - } - }; - - TPODTraits::TPODTraits() - : MyParent("TPOD", "simple struct") - { - AddGetter("", new TPODAttrGetter); - } - -} |