Use std::string_view for property keys (#8844)

* string_view props API

* wip

* fix leak

* add string_view to swig

* fix comment

* add backwards incompatibilty note

* fix rebase issue

---------

Co-authored-by: Greg Landrum <greg.landrum@gmail.com>
This commit is contained in:
Ricardo Rodriguez
2025-10-09 16:14:48 +02:00
committed by GitHub
parent ad1fcb5b7b
commit 7d1e662bc7
10 changed files with 158 additions and 138 deletions

View File

@@ -35,6 +35,9 @@
#include <RDGeneral/Dict.h>
%}
// This requires SWIG 4.2 or higher
%include "std_string_view.i"
%ignore RDKit::Dict::Pair;
%ignore RDKit::PairHolder;
%include <RDGeneral/Dict.h>