mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
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:
committed by
GitHub
parent
ad1fcb5b7b
commit
7d1e662bc7
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user